Lines Matching full:features
208 static void __atlx_vlan_mode(netdev_features_t features, u32 *ctrl) in __atlx_vlan_mode() argument
210 if (features & NETIF_F_HW_VLAN_CTAG_RX) { in __atlx_vlan_mode()
220 netdev_features_t features) in atlx_vlan_mode() argument
229 __atlx_vlan_mode(features, &ctrl); in atlx_vlan_mode()
237 atlx_vlan_mode(adapter->netdev, adapter->netdev->features); in atlx_restore_vlan()
241 netdev_features_t features) in atlx_fix_features() argument
247 if (features & NETIF_F_HW_VLAN_CTAG_RX) in atlx_fix_features()
248 features |= NETIF_F_HW_VLAN_CTAG_TX; in atlx_fix_features()
250 features &= ~NETIF_F_HW_VLAN_CTAG_TX; in atlx_fix_features()
252 return features; in atlx_fix_features()
256 netdev_features_t features) in atlx_set_features() argument
258 netdev_features_t changed = netdev->features ^ features; in atlx_set_features()
261 atlx_vlan_mode(netdev, features); in atlx_set_features()