Lines Matching refs:efx_nic

220 static int efx_soft_enable_interrupts(struct efx_nic *efx);
221 static void efx_soft_disable_interrupts(struct efx_nic *efx);
223 static void efx_remove_channels(struct efx_nic *efx);
225 static void efx_remove_port(struct efx_nic *efx);
227 static void efx_fini_napi(struct efx_nic *efx);
229 static void efx_fini_struct(struct efx_nic *efx);
230 static void efx_start_all(struct efx_nic *efx);
231 static void efx_stop_all(struct efx_nic *efx);
241 static int efx_check_disabled(struct efx_nic *efx) in efx_check_disabled()
312 static void efx_update_irq_mod(struct efx_nic *efx, struct efx_channel *channel) in efx_update_irq_mod()
337 struct efx_nic *efx = channel->efx; in efx_poll()
377 struct efx_nic *efx = channel->efx; in efx_probe_eventq()
395 struct efx_nic *efx = channel->efx; in efx_init_eventq()
464 efx_alloc_channel(struct efx_nic *efx, int i, struct efx_channel *old_channel) in efx_alloc_channel()
580 struct efx_nic *efx = channel->efx; in efx_get_channel_name()
596 static void efx_set_channel_names(struct efx_nic *efx) in efx_set_channel_names()
606 static int efx_probe_channels(struct efx_nic *efx) in efx_probe_channels()
641 static void efx_start_datapath(struct efx_nic *efx) in efx_start_datapath()
735 static void efx_stop_datapath(struct efx_nic *efx) in efx_stop_datapath()
798 static void efx_remove_channels(struct efx_nic *efx) in efx_remove_channels()
807 efx_realloc_channels(struct efx_nic *efx, u32 rxq_entries, u32 txq_entries) in efx_realloc_channels()
956 void efx_link_status_changed(struct efx_nic *efx) in efx_link_status_changed()
986 void efx_link_set_advertising(struct efx_nic *efx, in efx_link_set_advertising()
1004 void efx_link_clear_advertising(struct efx_nic *efx) in efx_link_clear_advertising()
1010 void efx_link_set_wanted_fc(struct efx_nic *efx, u8 wanted_fc) in efx_link_set_wanted_fc()
1025 static void efx_fini_port(struct efx_nic *efx);
1030 void efx_mac_reconfigure(struct efx_nic *efx) in efx_mac_reconfigure()
1044 int __efx_reconfigure_port(struct efx_nic *efx) in __efx_reconfigure_port()
1068 int efx_reconfigure_port(struct efx_nic *efx) in efx_reconfigure_port()
1086 struct efx_nic *efx = container_of(data, struct efx_nic, mac_work); in efx_mac_work()
1094 static int efx_probe_port(struct efx_nic *efx) in efx_probe_port()
1114 static int efx_init_port(struct efx_nic *efx) in efx_init_port()
1147 static void efx_start_port(struct efx_nic *efx) in efx_start_port()
1166 static void efx_stop_port(struct efx_nic *efx) in efx_stop_port()
1185 static void efx_fini_port(struct efx_nic *efx) in efx_fini_port()
1199 static void efx_remove_port(struct efx_nic *efx) in efx_remove_port()
1215 static bool efx_same_controller(struct efx_nic *left, struct efx_nic *right) in efx_same_controller()
1222 static void efx_associate(struct efx_nic *efx) in efx_associate()
1224 struct efx_nic *other, *next; in efx_associate()
1267 static void efx_dissociate(struct efx_nic *efx) in efx_dissociate()
1269 struct efx_nic *other, *next; in efx_dissociate()
1284 static int efx_init_io(struct efx_nic *efx) in efx_init_io()
1355 static void efx_fini_io(struct efx_nic *efx) in efx_fini_io()
1377 void efx_set_default_rx_indir_table(struct efx_nic *efx, in efx_set_default_rx_indir_table()
1387 static unsigned int efx_wanted_parallelism(struct efx_nic *efx) in efx_wanted_parallelism()
1444 static int efx_probe_interrupts(struct efx_nic *efx) in efx_probe_interrupts()
1566 static void efx_set_interrupt_affinity(struct efx_nic *efx) in efx_set_interrupt_affinity()
1578 static void efx_clear_interrupt_affinity(struct efx_nic *efx) in efx_clear_interrupt_affinity()
1587 efx_set_interrupt_affinity(struct efx_nic *efx __attribute__ ((unused))) in efx_set_interrupt_affinity()
1592 efx_clear_interrupt_affinity(struct efx_nic *efx __attribute__ ((unused))) in efx_clear_interrupt_affinity()
1597 static int efx_soft_enable_interrupts(struct efx_nic *efx) in efx_soft_enable_interrupts()
1632 static void efx_soft_disable_interrupts(struct efx_nic *efx) in efx_soft_disable_interrupts()
1660 static int efx_enable_interrupts(struct efx_nic *efx) in efx_enable_interrupts()
1702 static void efx_disable_interrupts(struct efx_nic *efx) in efx_disable_interrupts()
1716 static void efx_remove_interrupts(struct efx_nic *efx) in efx_remove_interrupts()
1730 static void efx_set_channels(struct efx_nic *efx) in efx_set_channels()
1755 static int efx_probe_nic(struct efx_nic *efx) in efx_probe_nic()
1817 static void efx_remove_nic(struct efx_nic *efx) in efx_remove_nic()
1825 static int efx_probe_filters(struct efx_nic *efx) in efx_probe_filters()
1873 static void efx_remove_filters(struct efx_nic *efx) in efx_remove_filters()
1893 static int efx_probe_all(struct efx_nic *efx) in efx_probe_all()
1958 static void efx_start_all(struct efx_nic *efx) in efx_start_all()
1997 static void efx_stop_all(struct efx_nic *efx) in efx_stop_all()
2026 static void efx_remove_all(struct efx_nic *efx) in efx_remove_all()
2042 unsigned int efx_usecs_to_ticks(struct efx_nic *efx, unsigned int usecs) in efx_usecs_to_ticks()
2051 unsigned int efx_ticks_to_usecs(struct efx_nic *efx, unsigned int ticks) in efx_ticks_to_usecs()
2060 int efx_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs, in efx_init_irq_moderation()
2093 void efx_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs, in efx_get_irq_moderation()
2122 struct efx_nic *efx = container_of(data, struct efx_nic, in efx_monitor()
2154 struct efx_nic *efx = netdev_priv(net_dev); in efx_ioctl()
2178 struct efx_nic *efx = channel->efx; in efx_init_napi_channel()
2185 static void efx_init_napi(struct efx_nic *efx) in efx_init_napi()
2201 static void efx_fini_napi(struct efx_nic *efx) in efx_fini_napi()
2218 struct efx_nic *efx = netdev_priv(net_dev); in efx_net_open()
2249 struct efx_nic *efx = netdev_priv(net_dev); in efx_net_stop()
2264 struct efx_nic *efx = netdev_priv(net_dev); in efx_net_stats()
2274 struct efx_nic *efx = netdev_priv(net_dev); in efx_watchdog()
2287 struct efx_nic *efx = netdev_priv(net_dev); in efx_change_mtu()
2311 struct efx_nic *efx = netdev_priv(net_dev); in efx_set_mac_address()
2346 struct efx_nic *efx = netdev_priv(net_dev); in efx_set_rx_mode()
2355 struct efx_nic *efx = netdev_priv(net_dev); in efx_set_features()
2382 struct efx_nic *efx = netdev_priv(net_dev); in efx_get_phys_port_id()
2393 struct efx_nic *efx = netdev_priv(net_dev); in efx_get_phys_port_name()
2402 struct efx_nic *efx = netdev_priv(net_dev); in efx_vlan_rx_add_vid()
2412 struct efx_nic *efx = netdev_priv(net_dev); in efx_vlan_rx_kill_vid()
2434 struct efx_nic *efx = netdev_priv(dev); in efx_udp_tunnel_add()
2451 struct efx_nic *efx = netdev_priv(dev); in efx_udp_tunnel_del()
2497 static void efx_update_name(struct efx_nic *efx) in efx_update_name()
2523 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); in show_phy_type()
2532 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); in show_mcdi_log()
2540 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); in set_mcdi_log()
2550 static int efx_register_netdev(struct efx_nic *efx) in efx_register_netdev()
2635 static void efx_unregister_netdev(struct efx_nic *efx) in efx_unregister_netdev()
2660 void efx_reset_down(struct efx_nic *efx, enum reset_type method) in efx_reset_down()
2684 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok) in efx_reset_up()
2758 int efx_reset(struct efx_nic *efx, enum reset_type method) in efx_reset()
2817 int efx_try_recovery(struct efx_nic *efx) in efx_try_recovery()
2836 static void efx_wait_for_bist_end(struct efx_nic *efx) in efx_wait_for_bist_end()
2859 struct efx_nic *efx = container_of(data, struct efx_nic, reset_work); in efx_reset_work()
2889 void efx_schedule_reset(struct efx_nic *efx, enum reset_type type) in efx_schedule_reset()
2978 int efx_port_dummy_op_int(struct efx_nic *efx) in efx_port_dummy_op_int()
2982 void efx_port_dummy_op_void(struct efx_nic *efx) {} in efx_port_dummy_op_void()
2984 static bool efx_port_dummy_op_poll(struct efx_nic *efx) in efx_port_dummy_op_poll()
3005 static int efx_init_struct(struct efx_nic *efx, in efx_init_struct()
3085 static void efx_fini_struct(struct efx_nic *efx) in efx_fini_struct()
3104 void efx_update_sw_stats(struct efx_nic *efx, u64 *stats) in efx_update_sw_stats()
3165 struct hlist_head *efx_rps_hash_bucket(struct efx_nic *efx, in efx_rps_hash_bucket()
3176 struct efx_arfs_rule *efx_rps_hash_find(struct efx_nic *efx, in efx_rps_hash_find()
3194 struct efx_arfs_rule *efx_rps_hash_add(struct efx_nic *efx, in efx_rps_hash_add()
3221 void efx_rps_hash_del(struct efx_nic *efx, const struct efx_filter_spec *spec) in efx_rps_hash_del()
3254 struct efx_rss_context *efx_alloc_rss_context_entry(struct efx_nic *efx) in efx_alloc_rss_context_entry()
3287 struct efx_rss_context *efx_find_rss_context_entry(struct efx_nic *efx, u32 id) in efx_find_rss_context_entry()
3315 static void efx_pci_remove_main(struct efx_nic *efx) in efx_pci_remove_main()
3338 struct efx_nic *efx; in efx_pci_remove()
3376 static void efx_probe_vpd_strings(struct efx_nic *efx) in efx_probe_vpd_strings()
3446 static int efx_pci_probe_main(struct efx_nic *efx) in efx_pci_probe_main()
3498 static int efx_pci_probe_post_io(struct efx_nic *efx) in efx_pci_probe_post_io()
3559 struct efx_nic *efx; in efx_pci_probe()
3649 struct efx_nic *efx = pci_get_drvdata(dev); in efx_pci_sriov_configure()
3664 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); in efx_pm_freeze()
3685 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); in efx_pm_thaw()
3723 struct efx_nic *efx = pci_get_drvdata(pci_dev); in efx_pm_poweroff()
3737 struct efx_nic *efx = pci_get_drvdata(pci_dev); in efx_pm_resume()
3788 struct efx_nic *efx = pci_get_drvdata(pdev); in efx_io_error_detected()
3822 struct efx_nic *efx = pci_get_drvdata(pdev); in efx_io_slot_reset()
3845 struct efx_nic *efx = pci_get_drvdata(pdev); in efx_io_resume()