Lines Matching refs:features

316 static void __atl1e_rx_mode(netdev_features_t features, u32 *mac_ctrl_data)  in __atl1e_rx_mode()  argument
319 if (features & NETIF_F_RXALL) { in __atl1e_rx_mode()
329 netdev_features_t features) in atl1e_rx_mode() argument
338 __atl1e_rx_mode(features, &mac_ctrl_data); in atl1e_rx_mode()
344 static void __atl1e_vlan_mode(netdev_features_t features, u32 *mac_ctrl_data) in __atl1e_vlan_mode() argument
346 if (features & NETIF_F_HW_VLAN_CTAG_RX) { in __atl1e_vlan_mode()
356 netdev_features_t features) in atl1e_vlan_mode() argument
365 __atl1e_vlan_mode(features, &mac_ctrl_data); in atl1e_vlan_mode()
373 atl1e_vlan_mode(adapter->netdev, adapter->netdev->features); in atl1e_restore_vlan()
403 netdev_features_t features) in atl1e_fix_features() argument
409 if (features & NETIF_F_HW_VLAN_CTAG_RX) in atl1e_fix_features()
410 features |= NETIF_F_HW_VLAN_CTAG_TX; in atl1e_fix_features()
412 features &= ~NETIF_F_HW_VLAN_CTAG_TX; in atl1e_fix_features()
414 return features; in atl1e_fix_features()
418 netdev_features_t features) in atl1e_set_features() argument
420 netdev_features_t changed = netdev->features ^ features; in atl1e_set_features()
423 atl1e_vlan_mode(netdev, features); in atl1e_set_features()
426 atl1e_rx_mode(netdev, features); in atl1e_set_features()
1082 __atl1e_vlan_mode(netdev->features, &value); in atl1e_setup_mac_ctrl()
1089 if (netdev->features & NETIF_F_RXALL) in atl1e_setup_mac_ctrl()
1447 !(netdev->features & NETIF_F_RXALL)) { in atl1e_clean_rx_irq()
1461 if (likely(!(netdev->features & NETIF_F_RXFCS))) in atl1e_clean_rx_irq()
2164 __atl1e_vlan_mode(netdev->features, &mac_ctrl_data); in atl1e_suspend()
2288 netdev->features = netdev->hw_features | NETIF_F_LLTX | in atl1e_init_netdev()