Searched refs:bitfield_replace_by_mask (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/drivers/net/ |
H A D | vsc9953.c | 231 val = bitfield_replace_by_mask(val, VSC9953_VLAN_CMD_MASK, in vsc9953_vlan_table_membership_set() 233 ~(bitfield_replace_by_mask(0, VSC9953_VLAN_PORT_MASK, in vsc9953_vlan_table_membership_set() 237 val = bitfield_replace_by_mask(val, VSC9953_VLAN_CMD_MASK, in vsc9953_vlan_table_membership_set() 239 bitfield_replace_by_mask(0, VSC9953_VLAN_PORT_MASK, in vsc9953_vlan_table_membership_set() 270 val = bitfield_replace_by_mask(val, VSC9953_ANA_TBL_VID_MASK, in vsc9953_vlan_membership_show() 309 bitfield_replace_by_mask(val, VSC9953_ANA_TBL_VID_MASK, vid)); in vsc9953_vlan_table_membership_all_set() 321 bitfield_replace_by_mask(val, VSC9953_ANA_TBL_VID_MASK, vid)); in vsc9953_vlan_table_membership_all_set() 1158 val = bitfield_replace_by_mask(val, VSC9953_AGE_PORT_MASK, in vsc9953_mac_table_show() 1162 val = bitfield_replace_by_mask(val, VSC9953_AGE_VID_MASK, in vsc9953_mac_table_show() 1372 val = bitfield_replace_by_mask(val, VSC9953_AGE_PORT_MASK, in vsc9953_mac_table_age() [all …]
|
/openbmc/u-boot/include/ |
H A D | bitfield.h | 83 static inline uint bitfield_replace_by_mask(uint reg_val, uint mask, in bitfield_replace_by_mask() function
|