Home
last modified time | relevance | path

Searched refs:bitindex (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82598.c843 u32 bitindex; in ixgbe_set_vfta_82598() local
855 bitindex = (vlan & 0x7) << 2; /* lower 3 bits indicate nibble */ in ixgbe_set_vfta_82598()
859 bits &= (~(0x0F << bitindex)); in ixgbe_set_vfta_82598()
860 bits |= (vind << bitindex); in ixgbe_set_vfta_82598()
864 bitindex = vlan & 0x1F; /* lower five bits */ in ixgbe_set_vfta_82598()
869 bits |= BIT(bitindex); in ixgbe_set_vfta_82598()
872 bits &= ~BIT(bitindex); in ixgbe_set_vfta_82598()
/linux-6.12.1/drivers/net/ethernet/wangxun/libwx/
Dwx_hw.c2107 u32 bitindex, vfta, targetbit; in wx_set_vfta() local
2123 bitindex = vlan & 0x1F; in wx_set_vfta()
2124 targetbit = (1 << bitindex); in wx_set_vfta()