Searched refs:vlnctrl (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/wangxun/libwx/ |
D | wx_hw.c | 1313 u32 fctrl, vmolr, vlnctrl; in wx_set_rx_mode() local 1326 vlnctrl = rd32(wx, WX_PSR_VLAN_CTL); in wx_set_rx_mode() 1327 vlnctrl &= ~(WX_PSR_VLAN_CTL_VFE | WX_PSR_VLAN_CTL_CFIEN); in wx_set_rx_mode() 1334 vlnctrl |= WX_PSR_VLAN_CTL_VFE; in wx_set_rx_mode() 1342 vlnctrl &= ~WX_PSR_VLAN_CTL_VFE; in wx_set_rx_mode() 1352 vlnctrl &= ~WX_PSR_VLAN_CTL_VFE; in wx_set_rx_mode() 1381 wr32(wx, WX_PSR_VLAN_CTL, vlnctrl); in wx_set_rx_mode()
|
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 4514 u32 vlnctrl; in ixgbe_vlan_strip_disable() local 4519 vlnctrl = IXGBE_READ_REG(hw, IXGBE_VLNCTRL); in ixgbe_vlan_strip_disable() 4520 vlnctrl &= ~IXGBE_VLNCTRL_VME; in ixgbe_vlan_strip_disable() 4521 IXGBE_WRITE_REG(hw, IXGBE_VLNCTRL, vlnctrl); in ixgbe_vlan_strip_disable() 4535 vlnctrl = IXGBE_READ_REG(hw, IXGBE_RXDCTL(j)); in ixgbe_vlan_strip_disable() 4536 vlnctrl &= ~IXGBE_RXDCTL_VME; in ixgbe_vlan_strip_disable() 4537 IXGBE_WRITE_REG(hw, IXGBE_RXDCTL(j), vlnctrl); in ixgbe_vlan_strip_disable() 4552 u32 vlnctrl; in ixgbe_vlan_strip_enable() local 4557 vlnctrl = IXGBE_READ_REG(hw, IXGBE_VLNCTRL); in ixgbe_vlan_strip_enable() 4558 vlnctrl |= IXGBE_VLNCTRL_VME; in ixgbe_vlan_strip_enable() [all …]
|