Lines Matching refs:features
221 static void __atlx_vlan_mode(netdev_features_t features, u32 *ctrl) in __atlx_vlan_mode() argument
223 if (features & NETIF_F_HW_VLAN_CTAG_RX) { in __atlx_vlan_mode()
233 netdev_features_t features) in atlx_vlan_mode() argument
242 __atlx_vlan_mode(features, &ctrl); in atlx_vlan_mode()
250 atlx_vlan_mode(adapter->netdev, adapter->netdev->features); in atlx_restore_vlan()
254 netdev_features_t features) in atlx_fix_features() argument
260 if (features & NETIF_F_HW_VLAN_CTAG_RX) in atlx_fix_features()
261 features |= NETIF_F_HW_VLAN_CTAG_TX; in atlx_fix_features()
263 features &= ~NETIF_F_HW_VLAN_CTAG_TX; in atlx_fix_features()
265 return features; in atlx_fix_features()
269 netdev_features_t features) in atlx_set_features() argument
271 netdev_features_t changed = netdev->features ^ features; in atlx_set_features()
274 atlx_vlan_mode(netdev, features); in atlx_set_features()