Lines Matching defs:bits
1014 u32 bits;
1025 regindex = (vlan >> 5) & 0x7F; /* upper seven bits */
1028 vftabyte = ((vlan >> 3) & 0x03); /* bits (4:3) indicating byte array */
1029 bitindex = (vlan & 0x7) << 2; /* lower 3 bits indicate nibble */
1032 bits = IXGBE_READ_REG(hw, IXGBE_VFTAVIND(vftabyte, regindex));
1033 bits &= (~(0x0F << bitindex));
1034 bits |= (vind << bitindex);
1035 IXGBE_WRITE_REG(hw, IXGBE_VFTAVIND(vftabyte, regindex), bits);
1038 bitindex = vlan & 0x1F; /* lower five bits */
1040 bits = IXGBE_READ_REG(hw, IXGBE_VFTA(regindex));
1043 bits |= (1 << bitindex);
1046 bits &= ~(1 << bitindex);
1047 IXGBE_WRITE_REG(hw, IXGBE_VFTA(regindex), bits);