Lines Matching defs:efx
94 static int efx_ef10_get_warm_boot_count(struct efx_nic *efx) in efx_ef10_get_warm_boot_count()
103 static unsigned int efx_ef10_mem_map_size(struct efx_nic *efx) in efx_ef10_mem_map_size()
111 static bool efx_ef10_is_vf(struct efx_nic *efx) in efx_ef10_is_vf()
116 static int efx_ef10_get_pf_index(struct efx_nic *efx) in efx_ef10_get_pf_index()
135 static int efx_ef10_get_vf_index(struct efx_nic *efx) in efx_ef10_get_vf_index()
154 static int efx_ef10_init_datapath_caps(struct efx_nic *efx) in efx_ef10_init_datapath_caps()
200 static int efx_ef10_get_sysclk_freq(struct efx_nic *efx) in efx_ef10_get_sysclk_freq()
213 static int efx_ef10_get_mac_address_pf(struct efx_nic *efx, u8 *mac_address) in efx_ef10_get_mac_address_pf()
233 static int efx_ef10_get_mac_address_vf(struct efx_nic *efx, u8 *mac_address) in efx_ef10_get_mac_address_vf()
265 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); in efx_ef10_show_link_control_flag() local
277 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); in efx_ef10_show_primary_flag() local
289 static int efx_ef10_probe(struct efx_nic *efx) in efx_ef10_probe()
447 static int efx_ef10_free_vis(struct efx_nic *efx) in efx_ef10_free_vis()
465 static void efx_ef10_free_piobufs(struct efx_nic *efx) in efx_ef10_free_piobufs()
485 static int efx_ef10_alloc_piobufs(struct efx_nic *efx, unsigned int n) in efx_ef10_alloc_piobufs()
517 static int efx_ef10_link_piobufs(struct efx_nic *efx) in efx_ef10_link_piobufs()
622 static void efx_ef10_forget_old_piobufs(struct efx_nic *efx) in efx_ef10_forget_old_piobufs()
635 static int efx_ef10_alloc_piobufs(struct efx_nic *efx, unsigned int n) in efx_ef10_alloc_piobufs()
640 static int efx_ef10_link_piobufs(struct efx_nic *efx) in efx_ef10_link_piobufs()
645 static void efx_ef10_free_piobufs(struct efx_nic *efx) in efx_ef10_free_piobufs()
649 static void efx_ef10_forget_old_piobufs(struct efx_nic *efx) in efx_ef10_forget_old_piobufs()
655 static void efx_ef10_remove(struct efx_nic *efx) in efx_ef10_remove()
702 static int efx_ef10_probe_pf(struct efx_nic *efx) in efx_ef10_probe_pf()
707 int efx_ef10_vadaptor_alloc(struct efx_nic *efx, unsigned int port_id) in efx_ef10_vadaptor_alloc()
716 int efx_ef10_vadaptor_free(struct efx_nic *efx, unsigned int port_id) in efx_ef10_vadaptor_free()
725 int efx_ef10_vport_add_mac(struct efx_nic *efx, in efx_ef10_vport_add_mac()
737 int efx_ef10_vport_del_mac(struct efx_nic *efx, in efx_ef10_vport_del_mac()
750 static int efx_ef10_probe_vf(struct efx_nic *efx) in efx_ef10_probe_vf()
802 static int efx_ef10_probe_vf(struct efx_nic *efx __attribute__ ((unused))) in efx_ef10_probe_vf()
808 static int efx_ef10_alloc_vis(struct efx_nic *efx, in efx_ef10_alloc_vis()
838 static int efx_ef10_dimension_resources(struct efx_nic *efx) in efx_ef10_dimension_resources()
983 static int efx_ef10_init_nic(struct efx_nic *efx) in efx_ef10_init_nic()
1025 static void efx_ef10_reset_mc_allocations(struct efx_nic *efx) in efx_ef10_reset_mc_allocations()
1087 static int efx_ef10_reset(struct efx_nic *efx, enum reset_type reset_type) in efx_ef10_reset()
1268 static u64 efx_ef10_raw_stat_mask(struct efx_nic *efx) in efx_ef10_raw_stat_mask()
1290 static void efx_ef10_get_stat_mask(struct efx_nic *efx, unsigned long *mask) in efx_ef10_get_stat_mask()
1317 static size_t efx_ef10_describe_stats(struct efx_nic *efx, u8 *names) in efx_ef10_describe_stats()
1326 static size_t efx_ef10_update_stats_common(struct efx_nic *efx, u64 *full_stats, in efx_ef10_update_stats_common()
1395 static int efx_ef10_try_update_nic_stats_pf(struct efx_nic *efx) in efx_ef10_try_update_nic_stats_pf()
1432 static size_t efx_ef10_update_stats_pf(struct efx_nic *efx, u64 *full_stats, in efx_ef10_update_stats_pf()
1449 static int efx_ef10_try_update_nic_stats_vf(struct efx_nic *efx) in efx_ef10_try_update_nic_stats_vf()
1521 static size_t efx_ef10_update_stats_vf(struct efx_nic *efx, u64 *full_stats, in efx_ef10_update_stats_vf()
1532 struct efx_nic *efx = channel->efx; in efx_ef10_push_irq_moderation() local
1559 static void efx_ef10_get_wol_vf(struct efx_nic *efx, in efx_ef10_get_wol_vf()
1562 static int efx_ef10_set_wol_vf(struct efx_nic *efx, u32 type) in efx_ef10_set_wol_vf()
1567 static void efx_ef10_get_wol(struct efx_nic *efx, struct ethtool_wolinfo *wol) in efx_ef10_get_wol()
1574 static int efx_ef10_set_wol(struct efx_nic *efx, u32 type) in efx_ef10_set_wol()
1581 static void efx_ef10_mcdi_request(struct efx_nic *efx, in efx_ef10_mcdi_request()
1604 static bool efx_ef10_mcdi_poll_response(struct efx_nic *efx) in efx_ef10_mcdi_poll_response()
1614 efx_ef10_mcdi_read_response(struct efx_nic *efx, efx_dword_t *outbuf, in efx_ef10_mcdi_read_response()
1623 static void efx_ef10_mcdi_reboot_detected(struct efx_nic *efx) in efx_ef10_mcdi_reboot_detected()
1639 static int efx_ef10_mcdi_poll_reboot(struct efx_nic *efx) in efx_ef10_mcdi_poll_reboot()
1673 struct efx_nic *efx = context->efx; in efx_ef10_msi_interrupt() local
1692 struct efx_nic *efx = dev_id; in efx_ef10_legacy_interrupt() local
1724 static void efx_ef10_irq_test_generate(struct efx_nic *efx) in efx_ef10_irq_test_generate()
1764 struct efx_nic *efx = tx_queue->efx; in efx_ef10_tx_init() local
1830 struct efx_nic *efx = tx_queue->efx; in efx_ef10_tx_fini() local
1910 static int efx_ef10_alloc_rss_context(struct efx_nic *efx, u32 *context, in efx_ef10_alloc_rss_context()
1954 static void efx_ef10_free_rss_context(struct efx_nic *efx, u32 context) in efx_ef10_free_rss_context()
1967 static int efx_ef10_populate_rss_table(struct efx_nic *efx, u32 context, in efx_ef10_populate_rss_table()
2001 static void efx_ef10_rx_free_indir_table(struct efx_nic *efx) in efx_ef10_rx_free_indir_table()
2010 static int efx_ef10_rx_push_shared_rss_config(struct efx_nic *efx, in efx_ef10_rx_push_shared_rss_config()
2027 static int efx_ef10_rx_push_exclusive_rss_config(struct efx_nic *efx, in efx_ef10_rx_push_exclusive_rss_config()
2068 static int efx_ef10_pf_rx_push_rss_config(struct efx_nic *efx, bool user, in efx_ef10_pf_rx_push_rss_config()
2112 static int efx_ef10_vf_rx_push_rss_config(struct efx_nic *efx, bool user, in efx_ef10_vf_rx_push_rss_config()
2140 struct efx_nic *efx = rx_queue->efx; in efx_ef10_rx_init() local
2185 struct efx_nic *efx = rx_queue->efx; in efx_ef10_rx_fini() local
2226 struct efx_nic *efx = rx_queue->efx; in efx_ef10_rx_write() local
2274 efx_ef10_rx_defer_refill_complete(struct efx_nic *efx, unsigned long cookie, in efx_ef10_rx_defer_refill_complete()
2293 struct efx_nic *efx = channel->efx; in efx_ef10_ev_fini() local
2319 struct efx_nic *efx = channel->efx; in efx_ef10_ev_init() local
2420 struct efx_nic *efx = rx_queue->efx; in efx_ef10_handle_rx_wrong_queue() local
2434 struct efx_nic *efx = rx_queue->efx; in efx_ef10_handle_rx_bad_lbits() local
2468 struct efx_nic *efx = channel->efx; in efx_ef10_handle_rx_event() local
2577 struct efx_nic *efx = channel->efx; in efx_ef10_handle_tx_event() local
2604 struct efx_nic *efx = channel->efx; in efx_ef10_handle_driver_event() local
2629 struct efx_nic *efx = channel->efx; in efx_ef10_handle_driver_generated_event() local
2656 struct efx_nic *efx = channel->efx; in efx_ef10_ev_process() local
2732 struct efx_nic *efx = channel->efx; in efx_ef10_ev_read_ack() local
2767 struct efx_nic *efx = channel->efx; in efx_ef10_ev_test_generate() local
2795 void efx_ef10_handle_drain_event(struct efx_nic *efx) in efx_ef10_handle_drain_event()
2803 static int efx_ef10_fini_dmaq(struct efx_nic *efx) in efx_ef10_fini_dmaq()
2842 static void efx_ef10_prepare_flr(struct efx_nic *efx) in efx_ef10_prepare_flr()
2919 static void efx_ef10_filter_push_prep(struct efx_nic *efx, in efx_ef10_filter_push_prep()
2997 static int efx_ef10_filter_push(struct efx_nic *efx, in efx_ef10_filter_push()
3029 static s32 efx_ef10_filter_insert(struct efx_nic *efx, in efx_ef10_filter_insert()
3248 static void efx_ef10_filter_update_rx_scatter(struct efx_nic *efx) in efx_ef10_filter_update_rx_scatter()
3258 static int efx_ef10_filter_remove_internal(struct efx_nic *efx, in efx_ef10_filter_remove_internal()
3356 static int efx_ef10_filter_remove_safe(struct efx_nic *efx, in efx_ef10_filter_remove_safe()
3364 static u32 efx_ef10_filter_get_unsafe_id(struct efx_nic *efx, u32 filter_id) in efx_ef10_filter_get_unsafe_id()
3369 static int efx_ef10_filter_remove_unsafe(struct efx_nic *efx, in efx_ef10_filter_remove_unsafe()
3377 static int efx_ef10_filter_get_safe(struct efx_nic *efx, in efx_ef10_filter_get_safe()
3400 static int efx_ef10_filter_clear_rx(struct efx_nic *efx, in efx_ef10_filter_clear_rx()
3420 static u32 efx_ef10_filter_count_rx_used(struct efx_nic *efx, in efx_ef10_filter_count_rx_used()
3438 static u32 efx_ef10_filter_get_rx_id_limit(struct efx_nic *efx) in efx_ef10_filter_get_rx_id_limit()
3445 static s32 efx_ef10_filter_get_rx_ids(struct efx_nic *efx, in efx_ef10_filter_get_rx_ids()
3476 static s32 efx_ef10_filter_rfs_insert(struct efx_nic *efx, in efx_ef10_filter_rfs_insert()
3579 efx_ef10_filter_rfs_insert_complete(struct efx_nic *efx, unsigned long cookie, in efx_ef10_filter_rfs_insert_complete()
3616 static bool efx_ef10_filter_rfs_expire_one(struct efx_nic *efx, u32 flow_id, in efx_ef10_filter_rfs_expire_one()
3646 efx_ef10_filter_rfs_expire_complete(struct efx_nic *efx, in efx_ef10_filter_rfs_expire_complete()
3699 static int efx_ef10_filter_table_probe(struct efx_nic *efx) in efx_ef10_filter_table_probe()
3766 static void efx_ef10_filter_table_restore(struct efx_nic *efx) in efx_ef10_filter_table_restore()
3819 static void efx_ef10_filter_table_remove(struct efx_nic *efx) in efx_ef10_filter_table_remove()
3862 static void efx_ef10_filter_mark_old(struct efx_nic *efx) in efx_ef10_filter_mark_old()
3883 static void efx_ef10_filter_uc_addr_list(struct efx_nic *efx, bool *promisc) in efx_ef10_filter_uc_addr_list()
3909 static void efx_ef10_filter_mc_addr_list(struct efx_nic *efx, bool *promisc) in efx_ef10_filter_mc_addr_list()
3936 static int efx_ef10_filter_insert_addr_list(struct efx_nic *efx, in efx_ef10_filter_insert_addr_list()
4014 static int efx_ef10_filter_insert_def(struct efx_nic *efx, bool multicast, in efx_ef10_filter_insert_def()
4076 static void efx_ef10_filter_remove_old(struct efx_nic *efx) in efx_ef10_filter_remove_old()
4094 static int efx_ef10_vport_set_mac_address(struct efx_nic *efx) in efx_ef10_vport_set_mac_address()
4163 static void efx_ef10_filter_sync_rx_mode(struct efx_nic *efx) in efx_ef10_filter_sync_rx_mode()
4241 static int efx_ef10_set_mac_address(struct efx_nic *efx) in efx_ef10_set_mac_address()
4318 static int efx_ef10_mac_reconfigure(struct efx_nic *efx) in efx_ef10_mac_reconfigure()
4325 static int efx_ef10_mac_reconfigure_vf(struct efx_nic *efx) in efx_ef10_mac_reconfigure_vf()
4332 static int efx_ef10_start_bist(struct efx_nic *efx, u32 bist_type) in efx_ef10_start_bist()
4345 static int efx_ef10_poll_bist(struct efx_nic *efx) in efx_ef10_poll_bist()
4378 static int efx_ef10_run_bist(struct efx_nic *efx, u32 bist_type) in efx_ef10_run_bist()
4392 efx_ef10_test_chip(struct efx_nic *efx, struct efx_self_tests *tests) in efx_ef10_test_chip()
4437 static int efx_ef10_mtd_probe_partition(struct efx_nic *efx, in efx_ef10_mtd_probe_partition()
4489 static int efx_ef10_mtd_probe(struct efx_nic *efx) in efx_ef10_mtd_probe()
4536 static void efx_ef10_ptp_write_host_time(struct efx_nic *efx, u32 host_time) in efx_ef10_ptp_write_host_time()
4541 static void efx_ef10_ptp_write_host_time_vf(struct efx_nic *efx, in efx_ef10_ptp_write_host_time_vf()
4600 static int efx_ef10_ptp_set_ts_sync_events(struct efx_nic *efx, bool en, in efx_ef10_ptp_set_ts_sync_events()
4621 static int efx_ef10_ptp_set_ts_config_vf(struct efx_nic *efx, in efx_ef10_ptp_set_ts_config_vf()
4627 static int efx_ef10_ptp_set_ts_config(struct efx_nic *efx, in efx_ef10_ptp_set_ts_config()