Lines Matching defs:efx
146 static int efx_ef10_get_warm_boot_count(struct efx_nic *efx) in efx_ef10_get_warm_boot_count()
159 static unsigned int efx_ef10_pf_mem_bar(struct efx_nic *efx) in efx_ef10_pf_mem_bar()
170 static unsigned int efx_ef10_vf_mem_bar(struct efx_nic *efx) in efx_ef10_vf_mem_bar()
175 static unsigned int efx_ef10_mem_map_size(struct efx_nic *efx) in efx_ef10_mem_map_size()
183 static bool efx_ef10_is_vf(struct efx_nic *efx) in efx_ef10_is_vf()
188 static int efx_ef10_get_pf_index(struct efx_nic *efx) in efx_ef10_get_pf_index()
207 static int efx_ef10_get_vf_index(struct efx_nic *efx) in efx_ef10_get_vf_index()
226 static int efx_ef10_init_datapath_caps(struct efx_nic *efx) in efx_ef10_init_datapath_caps()
317 static void efx_ef10_read_licensed_features(struct efx_nic *efx) in efx_ef10_read_licensed_features()
336 static int efx_ef10_get_sysclk_freq(struct efx_nic *efx) in efx_ef10_get_sysclk_freq()
349 static int efx_ef10_get_timer_workarounds(struct efx_nic *efx) in efx_ef10_get_timer_workarounds()
395 static void efx_ef10_process_timer_config(struct efx_nic *efx, in efx_ef10_process_timer_config()
424 static int efx_ef10_get_timer_config(struct efx_nic *efx) in efx_ef10_get_timer_config()
459 static int efx_ef10_get_mac_address_pf(struct efx_nic *efx, u8 *mac_address) in efx_ef10_get_mac_address_pf()
479 static int efx_ef10_get_mac_address_vf(struct efx_nic *efx, u8 *mac_address) in efx_ef10_get_mac_address_vf()
511 struct efx_nic *efx = dev_get_drvdata(dev); in efx_ef10_show_link_control_flag() local
523 struct efx_nic *efx = dev_get_drvdata(dev); in efx_ef10_show_primary_flag() local
531 static struct efx_ef10_vlan *efx_ef10_find_vlan(struct efx_nic *efx, u16 vid) in efx_ef10_find_vlan()
546 static int efx_ef10_add_vlan(struct efx_nic *efx, u16 vid) in efx_ef10_add_vlan()
599 static void efx_ef10_del_vlan_internal(struct efx_nic *efx, in efx_ef10_del_vlan_internal()
616 static int efx_ef10_del_vlan(struct efx_nic *efx, u16 vid) in efx_ef10_del_vlan()
645 static void efx_ef10_cleanup_vlans(struct efx_nic *efx) in efx_ef10_cleanup_vlans()
660 static int efx_ef10_probe(struct efx_nic *efx) in efx_ef10_probe()
834 static int efx_ef10_free_vis(struct efx_nic *efx) in efx_ef10_free_vis()
852 static void efx_ef10_free_piobufs(struct efx_nic *efx) in efx_ef10_free_piobufs()
872 static int efx_ef10_alloc_piobufs(struct efx_nic *efx, unsigned int n) in efx_ef10_alloc_piobufs()
911 static int efx_ef10_link_piobufs(struct efx_nic *efx) in efx_ef10_link_piobufs()
1021 static void efx_ef10_forget_old_piobufs(struct efx_nic *efx) in efx_ef10_forget_old_piobufs()
1034 static int efx_ef10_alloc_piobufs(struct efx_nic *efx, unsigned int n) in efx_ef10_alloc_piobufs()
1039 static int efx_ef10_link_piobufs(struct efx_nic *efx) in efx_ef10_link_piobufs()
1044 static void efx_ef10_free_piobufs(struct efx_nic *efx) in efx_ef10_free_piobufs()
1048 static void efx_ef10_forget_old_piobufs(struct efx_nic *efx) in efx_ef10_forget_old_piobufs()
1054 static void efx_ef10_remove(struct efx_nic *efx) in efx_ef10_remove()
1113 static int efx_ef10_probe_pf(struct efx_nic *efx) in efx_ef10_probe_pf()
1118 int efx_ef10_vadaptor_query(struct efx_nic *efx, unsigned int port_id, in efx_ef10_vadaptor_query()
1157 int efx_ef10_vadaptor_alloc(struct efx_nic *efx, unsigned int port_id) in efx_ef10_vadaptor_alloc()
1166 int efx_ef10_vadaptor_free(struct efx_nic *efx, unsigned int port_id) in efx_ef10_vadaptor_free()
1175 int efx_ef10_vport_add_mac(struct efx_nic *efx, in efx_ef10_vport_add_mac()
1187 int efx_ef10_vport_del_mac(struct efx_nic *efx, in efx_ef10_vport_del_mac()
1200 static int efx_ef10_probe_vf(struct efx_nic *efx) in efx_ef10_probe_vf()
1252 static int efx_ef10_probe_vf(struct efx_nic *efx __attribute__ ((unused))) in efx_ef10_probe_vf()
1258 static int efx_ef10_alloc_vis(struct efx_nic *efx, in efx_ef10_alloc_vis()
1288 static int efx_ef10_dimension_resources(struct efx_nic *efx) in efx_ef10_dimension_resources()
1441 static int efx_ef10_init_nic(struct efx_nic *efx) in efx_ef10_init_nic()
1490 static void efx_ef10_reset_mc_allocations(struct efx_nic *efx) in efx_ef10_reset_mc_allocations()
1553 static int efx_ef10_reset(struct efx_nic *efx, enum reset_type reset_type) in efx_ef10_reset()
1793 static u64 efx_ef10_raw_stat_mask(struct efx_nic *efx) in efx_ef10_raw_stat_mask()
1820 static void efx_ef10_get_stat_mask(struct efx_nic *efx, unsigned long *mask) in efx_ef10_get_stat_mask()
1860 static size_t efx_ef10_describe_stats(struct efx_nic *efx, u8 *names) in efx_ef10_describe_stats()
1869 static size_t efx_ef10_update_stats_common(struct efx_nic *efx, u64 *full_stats, in efx_ef10_update_stats_common()
1938 static int efx_ef10_try_update_nic_stats_pf(struct efx_nic *efx) in efx_ef10_try_update_nic_stats_pf()
1974 static size_t efx_ef10_update_stats_pf(struct efx_nic *efx, u64 *full_stats, in efx_ef10_update_stats_pf()
1991 static int efx_ef10_try_update_nic_stats_vf(struct efx_nic *efx) in efx_ef10_try_update_nic_stats_vf()
2063 static size_t efx_ef10_update_stats_vf(struct efx_nic *efx, u64 *full_stats, in efx_ef10_update_stats_vf()
2074 struct efx_nic *efx = channel->efx; in efx_ef10_push_irq_moderation() local
2118 static void efx_ef10_get_wol_vf(struct efx_nic *efx, in efx_ef10_get_wol_vf()
2121 static int efx_ef10_set_wol_vf(struct efx_nic *efx, u32 type) in efx_ef10_set_wol_vf()
2126 static void efx_ef10_get_wol(struct efx_nic *efx, struct ethtool_wolinfo *wol) in efx_ef10_get_wol()
2133 static int efx_ef10_set_wol(struct efx_nic *efx, u32 type) in efx_ef10_set_wol()
2140 static void efx_ef10_mcdi_request(struct efx_nic *efx, in efx_ef10_mcdi_request()
2163 static bool efx_ef10_mcdi_poll_response(struct efx_nic *efx) in efx_ef10_mcdi_poll_response()
2173 efx_ef10_mcdi_read_response(struct efx_nic *efx, efx_dword_t *outbuf, in efx_ef10_mcdi_read_response()
2182 static void efx_ef10_mcdi_reboot_detected(struct efx_nic *efx) in efx_ef10_mcdi_reboot_detected()
2198 static int efx_ef10_mcdi_poll_reboot(struct efx_nic *efx) in efx_ef10_mcdi_poll_reboot()
2232 struct efx_nic *efx = context->efx; in efx_ef10_msi_interrupt() local
2251 struct efx_nic *efx = dev_id; in efx_ef10_legacy_interrupt() local
2283 static int efx_ef10_irq_test_generate(struct efx_nic *efx) in efx_ef10_irq_test_generate()
2392 static u32 efx_ef10_tso_versions(struct efx_nic *efx) in efx_ef10_tso_versions()
2413 struct efx_nic *efx = tx_queue->efx; in efx_ef10_tx_init() local
2533 struct efx_nic *efx = tx_queue->efx; in efx_ef10_tx_fini() local
2651 static int efx_ef10_get_rss_flags(struct efx_nic *efx, u32 context, u32 *flags) in efx_ef10_get_rss_flags()
2697 static void efx_ef10_set_rss_flags(struct efx_nic *efx, in efx_ef10_set_rss_flags()
2718 static int efx_ef10_alloc_rss_context(struct efx_nic *efx, bool exclusive, in efx_ef10_alloc_rss_context()
2771 static int efx_ef10_free_rss_context(struct efx_nic *efx, u32 context) in efx_ef10_free_rss_context()
2781 static int efx_ef10_populate_rss_table(struct efx_nic *efx, u32 context, in efx_ef10_populate_rss_table()
2819 static void efx_ef10_rx_free_indir_table(struct efx_nic *efx) in efx_ef10_rx_free_indir_table()
2830 static int efx_ef10_rx_push_shared_rss_config(struct efx_nic *efx, in efx_ef10_rx_push_shared_rss_config()
2845 static int efx_ef10_rx_push_exclusive_rss_config(struct efx_nic *efx, in efx_ef10_rx_push_exclusive_rss_config()
2891 static int efx_ef10_rx_push_rss_context_config(struct efx_nic *efx, in efx_ef10_rx_push_rss_context_config()
2921 static int efx_ef10_rx_pull_rss_context_config(struct efx_nic *efx, in efx_ef10_rx_pull_rss_context_config()
2973 static int efx_ef10_rx_pull_rss_config(struct efx_nic *efx) in efx_ef10_rx_pull_rss_config()
2983 static void efx_ef10_rx_restore_rss_contexts(struct efx_nic *efx) in efx_ef10_rx_restore_rss_contexts()
3010 static int efx_ef10_pf_rx_push_rss_config(struct efx_nic *efx, bool user, in efx_ef10_pf_rx_push_rss_config()
3059 static int efx_ef10_vf_rx_push_rss_config(struct efx_nic *efx, bool user, in efx_ef10_vf_rx_push_rss_config()
3087 struct efx_nic *efx = rx_queue->efx; in efx_ef10_rx_init() local
3132 struct efx_nic *efx = rx_queue->efx; in efx_ef10_rx_fini() local
3173 struct efx_nic *efx = rx_queue->efx; in efx_ef10_rx_write() local
3221 efx_ef10_rx_defer_refill_complete(struct efx_nic *efx, unsigned long cookie, in efx_ef10_rx_defer_refill_complete()
3240 struct efx_nic *efx = channel->efx; in efx_ef10_ev_fini() local
3266 struct efx_nic *efx = channel->efx; in efx_ef10_ev_init() local
3397 struct efx_nic *efx = rx_queue->efx; in efx_ef10_handle_rx_wrong_queue() local
3411 struct efx_nic *efx = rx_queue->efx; in efx_ef10_handle_rx_bad_lbits() local
3447 struct efx_nic *efx = channel->efx; in efx_ef10_handle_rx_event_errors() local
3537 struct efx_nic *efx = channel->efx; in efx_ef10_handle_rx_event() local
3686 struct efx_nic *efx = channel->efx; in efx_ef10_handle_tx_event() local
3763 struct efx_nic *efx = channel->efx; in efx_ef10_handle_driver_event() local
3788 struct efx_nic *efx = channel->efx; in efx_ef10_handle_driver_generated_event() local
3815 struct efx_nic *efx = channel->efx; in efx_ef10_ev_process() local
3884 struct efx_nic *efx = channel->efx; in efx_ef10_ev_read_ack() local
3919 struct efx_nic *efx = channel->efx; in efx_ef10_ev_test_generate() local
3947 void efx_ef10_handle_drain_event(struct efx_nic *efx) in efx_ef10_handle_drain_event()
3955 static int efx_ef10_fini_dmaq(struct efx_nic *efx) in efx_ef10_fini_dmaq()
3994 static void efx_ef10_prepare_flr(struct efx_nic *efx) in efx_ef10_prepare_flr()
4049 efx_ef10_filter_push_prep_set_match_fields(struct efx_nic *efx, in efx_ef10_filter_push_prep_set_match_fields()
4146 static void efx_ef10_filter_push_prep(struct efx_nic *efx, in efx_ef10_filter_push_prep()
4195 static int efx_ef10_filter_push(struct efx_nic *efx, in efx_ef10_filter_push()
4288 static s32 efx_ef10_filter_insert_locked(struct efx_nic *efx, in efx_ef10_filter_insert_locked()
4501 static s32 efx_ef10_filter_insert(struct efx_nic *efx, in efx_ef10_filter_insert()
4514 static void efx_ef10_filter_update_rx_scatter(struct efx_nic *efx) in efx_ef10_filter_update_rx_scatter()
4526 static int efx_ef10_filter_remove_internal(struct efx_nic *efx, in efx_ef10_filter_remove_internal()
4601 static int efx_ef10_filter_remove_safe(struct efx_nic *efx, in efx_ef10_filter_remove_safe()
4619 static void efx_ef10_filter_remove_unsafe(struct efx_nic *efx, in efx_ef10_filter_remove_unsafe()
4634 static int efx_ef10_filter_get_safe(struct efx_nic *efx, in efx_ef10_filter_get_safe()
4660 static int efx_ef10_filter_clear_rx(struct efx_nic *efx, in efx_ef10_filter_clear_rx()
4687 static u32 efx_ef10_filter_count_rx_used(struct efx_nic *efx, in efx_ef10_filter_count_rx_used()
4708 static u32 efx_ef10_filter_get_rx_id_limit(struct efx_nic *efx) in efx_ef10_filter_get_rx_id_limit()
4715 static s32 efx_ef10_filter_get_rx_ids(struct efx_nic *efx, in efx_ef10_filter_get_rx_ids()
4748 static bool efx_ef10_filter_rfs_expire_one(struct efx_nic *efx, u32 flow_id, in efx_ef10_filter_rfs_expire_one()
4873 static void efx_ef10_filter_cleanup_vlans(struct efx_nic *efx) in efx_ef10_filter_cleanup_vlans()
4909 efx_ef10_filter_table_probe_matches(struct efx_nic *efx, in efx_ef10_filter_table_probe_matches()
4957 static int efx_ef10_filter_table_probe(struct efx_nic *efx) in efx_ef10_filter_table_probe()
5030 static void efx_ef10_filter_table_restore(struct efx_nic *efx) in efx_ef10_filter_table_restore()
5126 static void efx_ef10_filter_table_remove(struct efx_nic *efx) in efx_ef10_filter_table_remove()
5172 static void efx_ef10_filter_mark_one_old(struct efx_nic *efx, uint16_t *id) in efx_ef10_filter_mark_one_old()
5191 static void _efx_ef10_filter_vlan_mark_old(struct efx_nic *efx, in _efx_ef10_filter_vlan_mark_old()
5209 static void efx_ef10_filter_mark_old(struct efx_nic *efx) in efx_ef10_filter_mark_old()
5220 static void efx_ef10_filter_uc_addr_list(struct efx_nic *efx) in efx_ef10_filter_uc_addr_list()
5242 static void efx_ef10_filter_mc_addr_list(struct efx_nic *efx) in efx_ef10_filter_mc_addr_list()
5266 static int efx_ef10_filter_insert_addr_list(struct efx_nic *efx, in efx_ef10_filter_insert_addr_list()
5347 static int efx_ef10_filter_insert_def(struct efx_nic *efx, in efx_ef10_filter_insert_def()
5495 static void efx_ef10_filter_remove_old(struct efx_nic *efx) in efx_ef10_filter_remove_old()
5527 static int efx_ef10_vport_set_mac_address(struct efx_nic *efx) in efx_ef10_vport_set_mac_address()
5596 static void efx_ef10_filter_vlan_sync_rx_mode(struct efx_nic *efx, in efx_ef10_filter_vlan_sync_rx_mode()
5708 static void efx_ef10_filter_sync_rx_mode(struct efx_nic *efx) in efx_ef10_filter_sync_rx_mode()
5748 static struct efx_ef10_filter_vlan *efx_ef10_filter_find_vlan(struct efx_nic *efx, u16 vid) in efx_ef10_filter_find_vlan()
5763 static int efx_ef10_filter_add_vlan(struct efx_nic *efx, u16 vid) in efx_ef10_filter_add_vlan()
5800 static void efx_ef10_filter_del_vlan_internal(struct efx_nic *efx, in efx_ef10_filter_del_vlan_internal()
5825 static void efx_ef10_filter_del_vlan(struct efx_nic *efx, u16 vid) in efx_ef10_filter_del_vlan()
5843 static int efx_ef10_set_mac_address(struct efx_nic *efx) in efx_ef10_set_mac_address()
5924 static int efx_ef10_mac_reconfigure(struct efx_nic *efx) in efx_ef10_mac_reconfigure()
5931 static int efx_ef10_mac_reconfigure_vf(struct efx_nic *efx) in efx_ef10_mac_reconfigure_vf()
5938 static int efx_ef10_start_bist(struct efx_nic *efx, u32 bist_type) in efx_ef10_start_bist()
5951 static int efx_ef10_poll_bist(struct efx_nic *efx) in efx_ef10_poll_bist()
5984 static int efx_ef10_run_bist(struct efx_nic *efx, u32 bist_type) in efx_ef10_run_bist()
5998 efx_ef10_test_chip(struct efx_nic *efx, struct efx_self_tests *tests) in efx_ef10_test_chip()
6051 static int efx_ef10_mtd_probe_partition(struct efx_nic *efx, in efx_ef10_mtd_probe_partition()
6122 static int efx_ef10_mtd_probe(struct efx_nic *efx) in efx_ef10_mtd_probe()
6172 static void efx_ef10_ptp_write_host_time(struct efx_nic *efx, u32 host_time) in efx_ef10_ptp_write_host_time()
6177 static void efx_ef10_ptp_write_host_time_vf(struct efx_nic *efx, in efx_ef10_ptp_write_host_time_vf()
6236 static int efx_ef10_ptp_set_ts_sync_events(struct efx_nic *efx, bool en, in efx_ef10_ptp_set_ts_sync_events()
6258 static int efx_ef10_ptp_set_ts_config_vf(struct efx_nic *efx, in efx_ef10_ptp_set_ts_config_vf()
6264 static int efx_ef10_ptp_set_ts_config(struct efx_nic *efx, in efx_ef10_ptp_set_ts_config()
6301 static int efx_ef10_get_phys_port_id(struct efx_nic *efx, in efx_ef10_get_phys_port_id()
6315 static int efx_ef10_vlan_rx_add_vid(struct efx_nic *efx, __be16 proto, u16 vid) in efx_ef10_vlan_rx_add_vid()
6323 static int efx_ef10_vlan_rx_kill_vid(struct efx_nic *efx, __be16 proto, u16 vid) in efx_ef10_vlan_rx_kill_vid()
6336 static int efx_ef10_set_udp_tnl_ports(struct efx_nic *efx, bool unloading) in efx_ef10_set_udp_tnl_ports()
6432 static int efx_ef10_udp_tnl_push_ports(struct efx_nic *efx) in efx_ef10_udp_tnl_push_ports()
6449 static struct efx_udp_tunnel *__efx_ef10_udp_tnl_lookup_port(struct efx_nic *efx, in __efx_ef10_udp_tnl_lookup_port()
6464 static int efx_ef10_udp_tnl_add_port(struct efx_nic *efx, in efx_ef10_udp_tnl_add_port()
6530 static bool efx_ef10_udp_tnl_has_port(struct efx_nic *efx, __be16 port) in efx_ef10_udp_tnl_has_port()
6547 static int efx_ef10_udp_tnl_del_port(struct efx_nic *efx, in efx_ef10_udp_tnl_del_port()