Lines Matching refs:efx_nic
42 static int efx_ef10_set_udp_tnl_ports(struct efx_nic *efx, bool unloading);
45 static int efx_ef10_get_warm_boot_count(struct efx_nic *efx) in efx_ef10_get_warm_boot_count()
58 static unsigned int efx_ef10_pf_mem_bar(struct efx_nic *efx) in efx_ef10_pf_mem_bar()
69 static unsigned int efx_ef10_vf_mem_bar(struct efx_nic *efx) in efx_ef10_vf_mem_bar()
74 static unsigned int efx_ef10_mem_map_size(struct efx_nic *efx) in efx_ef10_mem_map_size()
82 static bool efx_ef10_is_vf(struct efx_nic *efx) in efx_ef10_is_vf()
88 static int efx_ef10_get_vf_index(struct efx_nic *efx) in efx_ef10_get_vf_index()
107 static int efx_ef10_init_datapath_caps(struct efx_nic *efx) in efx_ef10_init_datapath_caps()
183 static void efx_ef10_read_licensed_features(struct efx_nic *efx) in efx_ef10_read_licensed_features()
202 static int efx_ef10_get_sysclk_freq(struct efx_nic *efx) in efx_ef10_get_sysclk_freq()
215 static int efx_ef10_get_timer_workarounds(struct efx_nic *efx) in efx_ef10_get_timer_workarounds()
261 static void efx_ef10_process_timer_config(struct efx_nic *efx, in efx_ef10_process_timer_config()
290 static int efx_ef10_get_timer_config(struct efx_nic *efx) in efx_ef10_get_timer_config()
325 static int efx_ef10_get_mac_address_pf(struct efx_nic *efx, u8 *mac_address) in efx_ef10_get_mac_address_pf()
345 static int efx_ef10_get_mac_address_vf(struct efx_nic *efx, u8 *mac_address) in efx_ef10_get_mac_address_vf()
377 struct efx_nic *efx = dev_get_drvdata(dev); in efx_ef10_show_link_control_flag()
389 struct efx_nic *efx = dev_get_drvdata(dev); in efx_ef10_show_primary_flag()
397 static struct efx_ef10_vlan *efx_ef10_find_vlan(struct efx_nic *efx, u16 vid) in efx_ef10_find_vlan()
412 static int efx_ef10_add_vlan(struct efx_nic *efx, u16 vid) in efx_ef10_add_vlan()
465 static void efx_ef10_del_vlan_internal(struct efx_nic *efx, in efx_ef10_del_vlan_internal()
482 static int efx_ef10_del_vlan(struct efx_nic *efx, u16 vid) in efx_ef10_del_vlan()
511 static void efx_ef10_cleanup_vlans(struct efx_nic *efx) in efx_ef10_cleanup_vlans()
526 static int efx_ef10_probe(struct efx_nic *efx) in efx_ef10_probe()
655 struct efx_nic *efx_pf = pci_get_drvdata(pci_dev_pf); in efx_ef10_probe()
716 static void efx_ef10_free_piobufs(struct efx_nic *efx) in efx_ef10_free_piobufs()
736 static int efx_ef10_alloc_piobufs(struct efx_nic *efx, unsigned int n) in efx_ef10_alloc_piobufs()
775 static int efx_ef10_link_piobufs(struct efx_nic *efx) in efx_ef10_link_piobufs()
887 static void efx_ef10_forget_old_piobufs(struct efx_nic *efx) in efx_ef10_forget_old_piobufs()
900 static int efx_ef10_alloc_piobufs(struct efx_nic *efx, unsigned int n) in efx_ef10_alloc_piobufs()
905 static int efx_ef10_link_piobufs(struct efx_nic *efx) in efx_ef10_link_piobufs()
910 static void efx_ef10_free_piobufs(struct efx_nic *efx) in efx_ef10_free_piobufs()
914 static void efx_ef10_forget_old_piobufs(struct efx_nic *efx) in efx_ef10_forget_old_piobufs()
920 static void efx_ef10_remove(struct efx_nic *efx) in efx_ef10_remove()
928 struct efx_nic *efx_pf; in efx_ef10_remove()
979 static int efx_ef10_probe_pf(struct efx_nic *efx) in efx_ef10_probe_pf()
984 int efx_ef10_vadaptor_query(struct efx_nic *efx, unsigned int port_id, in efx_ef10_vadaptor_query()
1023 int efx_ef10_vadaptor_alloc(struct efx_nic *efx, unsigned int port_id) in efx_ef10_vadaptor_alloc()
1032 int efx_ef10_vadaptor_free(struct efx_nic *efx, unsigned int port_id) in efx_ef10_vadaptor_free()
1041 int efx_ef10_vport_add_mac(struct efx_nic *efx, in efx_ef10_vport_add_mac()
1053 int efx_ef10_vport_del_mac(struct efx_nic *efx, in efx_ef10_vport_del_mac()
1066 static int efx_ef10_probe_vf(struct efx_nic *efx) in efx_ef10_probe_vf()
1077 struct efx_nic *efx_pf = pci_get_drvdata(pci_dev_pf); in efx_ef10_probe_vf()
1098 struct efx_nic *efx_pf = in efx_ef10_probe_vf()
1118 static int efx_ef10_probe_vf(struct efx_nic *efx __attribute__ ((unused))) in efx_ef10_probe_vf()
1124 static int efx_ef10_alloc_vis(struct efx_nic *efx, in efx_ef10_alloc_vis()
1136 static int efx_ef10_dimension_resources(struct efx_nic *efx) in efx_ef10_dimension_resources()
1296 static void efx_ef10_fini_nic(struct efx_nic *efx) in efx_ef10_fini_nic()
1304 static int efx_ef10_init_nic(struct efx_nic *efx) in efx_ef10_init_nic()
1374 static void efx_ef10_table_reset_mc_allocations(struct efx_nic *efx) in efx_ef10_table_reset_mc_allocations()
1436 static int efx_ef10_reset(struct efx_nic *efx, enum reset_type reset_type) in efx_ef10_reset()
1674 static u64 efx_ef10_raw_stat_mask(struct efx_nic *efx) in efx_ef10_raw_stat_mask()
1701 static void efx_ef10_get_stat_mask(struct efx_nic *efx, unsigned long *mask) in efx_ef10_get_stat_mask()
1741 static size_t efx_ef10_describe_stats(struct efx_nic *efx, u8 *names) in efx_ef10_describe_stats()
1750 static size_t efx_ef10_update_stats_common(struct efx_nic *efx, u64 *full_stats, in efx_ef10_update_stats_common()
1819 static size_t efx_ef10_update_stats_pf(struct efx_nic *efx, u64 *full_stats, in efx_ef10_update_stats_pf()
1859 static int efx_ef10_try_update_nic_stats_vf(struct efx_nic *efx) in efx_ef10_try_update_nic_stats_vf()
1926 static size_t efx_ef10_update_stats_vf(struct efx_nic *efx, u64 *full_stats, in efx_ef10_update_stats_vf()
1935 static size_t efx_ef10_update_stats_atomic_vf(struct efx_nic *efx, u64 *full_stats, in efx_ef10_update_stats_atomic_vf()
1949 struct efx_nic *efx = channel->efx; in efx_ef10_push_irq_moderation()
1993 static void efx_ef10_get_wol_vf(struct efx_nic *efx, in efx_ef10_get_wol_vf()
1996 static int efx_ef10_set_wol_vf(struct efx_nic *efx, u32 type) in efx_ef10_set_wol_vf()
2001 static void efx_ef10_get_wol(struct efx_nic *efx, struct ethtool_wolinfo *wol) in efx_ef10_get_wol()
2008 static int efx_ef10_set_wol(struct efx_nic *efx, u32 type) in efx_ef10_set_wol()
2015 static void efx_ef10_mcdi_request(struct efx_nic *efx, in efx_ef10_mcdi_request()
2038 static bool efx_ef10_mcdi_poll_response(struct efx_nic *efx) in efx_ef10_mcdi_poll_response()
2048 efx_ef10_mcdi_read_response(struct efx_nic *efx, efx_dword_t *outbuf, in efx_ef10_mcdi_read_response()
2057 static void efx_ef10_mcdi_reboot_detected(struct efx_nic *efx) in efx_ef10_mcdi_reboot_detected()
2073 static int efx_ef10_mcdi_poll_reboot(struct efx_nic *efx) in efx_ef10_mcdi_poll_reboot()
2107 struct efx_nic *efx = context->efx; in efx_ef10_msi_interrupt()
2126 struct efx_nic *efx = dev_id; in efx_ef10_legacy_interrupt()
2158 static int efx_ef10_irq_test_generate(struct efx_nic *efx) in efx_ef10_irq_test_generate()
2293 static u32 efx_ef10_tso_versions(struct efx_nic *efx) in efx_ef10_tso_versions()
2312 struct efx_nic *efx = tx_queue->efx; in efx_ef10_tx_init()
2462 static int efx_ef10_probe_multicast_chaining(struct efx_nic *efx) in efx_ef10_probe_multicast_chaining()
2517 static int efx_ef10_filter_table_probe(struct efx_nic *efx) in efx_ef10_filter_table_probe()
2558 struct efx_nic *efx = rx_queue->efx; in efx_ef10_rx_write()
2606 efx_ef10_rx_defer_refill_complete(struct efx_nic *efx, unsigned long cookie, in efx_ef10_rx_defer_refill_complete()
2615 struct efx_nic *efx = channel->efx; in efx_ef10_ev_init()
2630 struct efx_nic *efx = rx_queue->efx; in efx_ef10_handle_rx_wrong_queue()
2644 struct efx_nic *efx = rx_queue->efx; in efx_ef10_handle_rx_bad_lbits()
2680 struct efx_nic *efx = channel->efx; in efx_ef10_handle_rx_event_errors()
2770 struct efx_nic *efx = channel->efx; in efx_ef10_handle_rx_event()
2919 struct efx_nic *efx = channel->efx; in efx_ef10_handle_tx_event()
2997 struct efx_nic *efx = channel->efx; in efx_ef10_handle_driver_event()
3022 struct efx_nic *efx = channel->efx; in efx_ef10_handle_driver_generated_event()
3049 struct efx_nic *efx = channel->efx; in efx_ef10_ev_process()
3118 struct efx_nic *efx = channel->efx; in efx_ef10_ev_read_ack()
3153 struct efx_nic *efx = channel->efx; in efx_ef10_ev_test_generate()
3181 static void efx_ef10_prepare_flr(struct efx_nic *efx) in efx_ef10_prepare_flr()
3186 static int efx_ef10_vport_set_mac_address(struct efx_nic *efx) in efx_ef10_vport_set_mac_address()
3252 static int efx_ef10_set_mac_address(struct efx_nic *efx) in efx_ef10_set_mac_address()
3263 struct efx_nic *efx_pf = pci_get_drvdata(efx->pci_dev->physfn); in efx_ef10_set_mac_address()
3323 static int efx_ef10_mac_reconfigure(struct efx_nic *efx, bool mtu_only) in efx_ef10_mac_reconfigure()
3334 static int efx_ef10_start_bist(struct efx_nic *efx, u32 bist_type) in efx_ef10_start_bist()
3347 static int efx_ef10_poll_bist(struct efx_nic *efx) in efx_ef10_poll_bist()
3380 static int efx_ef10_run_bist(struct efx_nic *efx, u32 bist_type) in efx_ef10_run_bist()
3394 efx_ef10_test_chip(struct efx_nic *efx, struct efx_self_tests *tests) in efx_ef10_test_chip()
3447 static int efx_ef10_mtd_probe_partition(struct efx_nic *efx, in efx_ef10_mtd_probe_partition()
3518 static int efx_ef10_mtd_probe(struct efx_nic *efx) in efx_ef10_mtd_probe()
3573 static void efx_ef10_ptp_write_host_time(struct efx_nic *efx, u32 host_time) in efx_ef10_ptp_write_host_time()
3578 static void efx_ef10_ptp_write_host_time_vf(struct efx_nic *efx, in efx_ef10_ptp_write_host_time_vf()
3637 static int efx_ef10_ptp_set_ts_sync_events(struct efx_nic *efx, bool en, in efx_ef10_ptp_set_ts_sync_events()
3659 static int efx_ef10_ptp_set_ts_config_vf(struct efx_nic *efx, in efx_ef10_ptp_set_ts_config_vf()
3665 static int efx_ef10_ptp_set_ts_config(struct efx_nic *efx, in efx_ef10_ptp_set_ts_config()
3702 static int efx_ef10_get_phys_port_id(struct efx_nic *efx, in efx_ef10_get_phys_port_id()
3716 static int efx_ef10_vlan_rx_add_vid(struct efx_nic *efx, __be16 proto, u16 vid) in efx_ef10_vlan_rx_add_vid()
3724 static int efx_ef10_vlan_rx_kill_vid(struct efx_nic *efx, __be16 proto, u16 vid) in efx_ef10_vlan_rx_kill_vid()
3737 static int efx_ef10_set_udp_tnl_ports(struct efx_nic *efx, bool unloading) in efx_ef10_set_udp_tnl_ports()
3833 static int efx_ef10_udp_tnl_push_ports(struct efx_nic *efx) in efx_ef10_udp_tnl_push_ports()
3854 struct efx_nic *efx = netdev_priv(dev); in efx_ef10_udp_tnl_set_port()
3886 static bool efx_ef10_udp_tnl_has_port(struct efx_nic *efx, __be16 port) in efx_ef10_udp_tnl_has_port()
3914 struct efx_nic *efx = netdev_priv(dev); in efx_ef10_udp_tnl_unset_port()
3949 static size_t efx_ef10_print_additional_fwver(struct efx_nic *efx, char *buf, in efx_ef10_print_additional_fwver()
3959 static unsigned int ef10_check_caps(const struct efx_nic *efx, in ef10_check_caps()