Home
last modified time | relevance | path

Searched refs:efx_nic (Results 1 – 25 of 55) sorted by relevance

123

/linux/drivers/net/ethernet/sfc/
A Dnet_driver.h391 struct efx_nic *efx;
493 struct efx_nic *efx;
567 struct efx_nic *efx;
637 struct efx_nic;
950 struct efx_nic { struct
955 struct efx_nic *primary; argument
1311 int (*probe)(struct efx_nic *efx);
1312 void (*remove)(struct efx_nic *efx);
1313 int (*init)(struct efx_nic *efx);
1315 void (*fini)(struct efx_nic *efx);
[all …]
A Def10_sriov.h22 struct efx_nic *efx;
37 int efx_ef10_sriov_init(struct efx_nic *efx);
39 void efx_ef10_sriov_fini(struct efx_nic *efx);
56 int efx_ef10_vswitching_probe_pf(struct efx_nic *efx);
57 int efx_ef10_vswitching_probe_vf(struct efx_nic *efx);
58 int efx_ef10_vswitching_restore_pf(struct efx_nic *efx);
59 int efx_ef10_vswitching_restore_vf(struct efx_nic *efx);
60 void efx_ef10_vswitching_remove_pf(struct efx_nic *efx);
61 void efx_ef10_vswitching_remove_vf(struct efx_nic *efx);
62 int efx_ef10_vport_add_mac(struct efx_nic *efx,
[all …]
A Defx_common.h16 void efx_fini_io(struct efx_nic *efx);
19 void efx_fini_struct(struct efx_nic *efx);
31 void efx_start_all(struct efx_nic *efx);
32 void efx_stop_all(struct efx_nic *efx);
37 void efx_queue_reset_work(struct efx_nic *efx);
41 void efx_start_monitor(struct efx_nic *efx);
43 int __efx_reconfigure_port(struct efx_nic *efx);
44 int efx_reconfigure_port(struct efx_nic *efx);
54 int efx_try_recovery(struct efx_nic *efx);
62 int efx_port_dummy_op_int(struct efx_nic *efx);
[all …]
A Dmcdi_port_common.h32 void efx_link_set_advertising(struct efx_nic *efx,
39 u32 efx_get_mcdi_phy_flags(struct efx_nic *efx);
41 void efx_mcdi_phy_decode_link(struct efx_nic *efx,
47 bool efx_mcdi_phy_poll(struct efx_nic *efx);
48 int efx_mcdi_phy_probe(struct efx_nic *efx);
49 void efx_mcdi_phy_remove(struct efx_nic *efx);
54 int efx_mcdi_phy_test_alive(struct efx_nic *efx);
60 int efx_mcdi_set_mac(struct efx_nic *efx);
61 int efx_mcdi_set_mtu(struct efx_nic *efx);
62 int efx_mcdi_mac_init_stats(struct efx_nic *efx);
[all …]
A Dmcdi_filters.h96 void efx_mcdi_filter_table_down(struct efx_nic *efx);
97 void efx_mcdi_filter_table_remove(struct efx_nic *efx);
98 void efx_mcdi_filter_table_restore(struct efx_nic *efx);
121 void efx_mcdi_filter_sync_rx_mode(struct efx_nic *efx);
124 int efx_mcdi_filter_remove_safe(struct efx_nic *efx,
127 int efx_mcdi_filter_get_safe(struct efx_nic *efx,
131 u32 efx_mcdi_filter_count_rx_used(struct efx_nic *efx,
133 int efx_mcdi_filter_clear_rx(struct efx_nic *efx,
136 s32 efx_mcdi_filter_get_rx_ids(struct efx_nic *efx,
145 void efx_mcdi_rx_free_indir_table(struct efx_nic *efx);
[all …]
A Defx_channels.h17 int efx_probe_interrupts(struct efx_nic *efx);
18 void efx_remove_interrupts(struct efx_nic *efx);
21 int efx_enable_interrupts(struct efx_nic *efx);
37 int efx_init_channels(struct efx_nic *efx);
38 int efx_probe_channels(struct efx_nic *efx);
39 int efx_set_channels(struct efx_nic *efx);
43 void efx_fini_channels(struct efx_nic *efx);
45 void efx_start_channels(struct efx_nic *efx);
46 void efx_stop_channels(struct efx_nic *efx);
49 void efx_init_napi(struct efx_nic *efx);
[all …]
A Dnic.h14 u32 efx_farch_fpga_ver(struct efx_nic *efx);
104 struct efx_nic *efx;
371 void siena_prepare_flush(struct efx_nic *efx);
372 int efx_farch_fini_dmaq(struct efx_nic *efx);
373 void efx_farch_finish_flr(struct efx_nic *efx);
374 void siena_finish_flush(struct efx_nic *efx);
375 void falcon_start_nic_stats(struct efx_nic *efx);
376 void falcon_stop_nic_stats(struct efx_nic *efx);
377 int falcon_reset_xaui(struct efx_nic *efx);
379 void efx_farch_init_common(struct efx_nic *efx);
[all …]
A Dsiena_sriov.h41 int efx_siena_sriov_configure(struct efx_nic *efx, int num_vfs);
42 int efx_siena_sriov_init(struct efx_nic *efx);
43 void efx_siena_sriov_fini(struct efx_nic *efx);
44 int efx_siena_sriov_mac_address_changed(struct efx_nic *efx);
45 bool efx_siena_sriov_wanted(struct efx_nic *efx);
46 void efx_siena_sriov_reset(struct efx_nic *efx);
47 void efx_siena_sriov_flr(struct efx_nic *efx, unsigned flr);
50 int efx_siena_sriov_set_vf_vlan(struct efx_nic *efx, int vf,
54 int efx_siena_sriov_get_vf_config(struct efx_nic *efx, int vf,
59 static inline bool efx_siena_sriov_enabled(struct efx_nic *efx) in efx_siena_sriov_enabled()
[all …]
A Dptp.h17 void efx_ptp_defer_probe_with_channel(struct efx_nic *efx);
18 struct efx_channel *efx_ptp_channel(struct efx_nic *efx);
19 void efx_ptp_remove(struct efx_nic *efx);
24 int efx_ptp_get_mode(struct efx_nic *efx);
25 int efx_ptp_change_mode(struct efx_nic *efx, bool enable_wanted,
27 int efx_ptp_tx(struct efx_nic *efx, struct sk_buff *skb);
28 void efx_ptp_event(struct efx_nic *efx, efx_qword_t *ev);
30 size_t efx_ptp_update_stats(struct efx_nic *efx, u64 *stats);
40 void efx_ptp_start_datapath(struct efx_nic *efx);
41 void efx_ptp_stop_datapath(struct efx_nic *efx);
[all …]
A Defx.h73 static inline bool efx_rss_enabled(struct efx_nic *efx) in efx_rss_enabled()
105 static inline s32 efx_filter_insert_filter(struct efx_nic *efx, in efx_filter_insert_filter()
139 efx_filter_get_filter_safe(struct efx_nic *efx, in efx_filter_get_filter_safe()
155 static inline s32 efx_filter_get_rx_ids(struct efx_nic *efx, in efx_filter_get_rx_ids()
181 void efx_update_sw_stats(struct efx_nic *efx, u64 *stats);
187 static inline int efx_mtd_probe(struct efx_nic *efx) in efx_mtd_probe()
191 void efx_mtd_rename(struct efx_nic *efx);
192 void efx_mtd_remove(struct efx_nic *efx);
195 static inline void efx_mtd_rename(struct efx_nic *efx) {} in efx_mtd_rename()
196 static inline void efx_mtd_remove(struct efx_nic *efx) {} in efx_mtd_remove()
[all …]
A Dmcdi.h68 struct efx_nic *efx;
141 int efx_mcdi_init(struct efx_nic *efx);
142 void efx_mcdi_detach(struct efx_nic *efx);
143 void efx_mcdi_fini(struct efx_nic *efx);
180 int efx_mcdi_poll_reboot(struct efx_nic *efx);
181 void efx_mcdi_mode_poll(struct efx_nic *efx);
182 void efx_mcdi_mode_event(struct efx_nic *efx);
183 void efx_mcdi_flush_async(struct efx_nic *efx);
358 int efx_mcdi_flush_rxqs(struct efx_nic *efx);
371 int efx_mcdi_mon_probe(struct efx_nic *efx);
[all …]
A Drx_common.h26 static inline u32 efx_rx_buf_hash(struct efx_nic *efx, const u8 *eh) in efx_rx_buf_hash()
59 void efx_unmap_rx_buffer(struct efx_nic *efx, struct efx_rx_buffer *rx_buf);
61 static inline void efx_sync_rx_buffer(struct efx_nic *efx, in efx_sync_rx_buffer()
74 void efx_rx_config_page_split(struct efx_nic *efx);
81 struct efx_rss_context *efx_alloc_rss_context_entry(struct efx_nic *efx);
84 void efx_set_default_rx_indir_table(struct efx_nic *efx,
95 struct efx_arfs_rule *efx_rps_hash_find(struct efx_nic *efx,
97 struct efx_arfs_rule *efx_rps_hash_add(struct efx_nic *efx,
100 void efx_rps_hash_del(struct efx_nic *efx, const struct efx_filter_spec *spec);
107 int efx_probe_filters(struct efx_nic *efx);
[all …]
A Defx_common.c159 struct efx_nic *efx = container_of(data, struct efx_nic, mac_work); in efx_mac_work()
169 struct efx_nic *efx = netdev_priv(net_dev); in efx_set_mac_address()
326 struct efx_nic *efx = container_of(data, struct efx_nic, in efx_monitor()
527 void efx_start_all(struct efx_nic *efx) in efx_start_all()
567 void efx_stop_all(struct efx_nic *efx) in efx_stop_all()
684 int efx_try_recovery(struct efx_nic *efx) in efx_try_recovery()
876 struct efx_nic *efx = container_of(data, struct efx_nic, reset_work); in efx_reset_work()
980 int efx_init_struct(struct efx_nic *efx, in efx_init_struct()
1055 void efx_fini_struct(struct efx_nic *efx) in efx_fini_struct()
1142 void efx_fini_io(struct efx_nic *efx) in efx_fini_io()
[all …]
A Defx.c124 static int efx_probe_port(struct efx_nic *efx) in efx_probe_port()
144 static int efx_init_port(struct efx_nic *efx) in efx_init_port()
196 static bool efx_same_controller(struct efx_nic *left, struct efx_nic *right) in efx_same_controller()
205 struct efx_nic *other, *next; in efx_associate()
250 struct efx_nic *other, *next; in efx_dissociate()
264 static int efx_probe_nic(struct efx_nic *efx) in efx_probe_nic()
500 struct efx_nic *efx = netdev_priv(net_dev); in efx_ioctl()
648 struct efx_nic *efx = netdev_priv(dev); in efx_xdp()
661 struct efx_nic *efx = netdev_priv(dev); in efx_xdp_xmit()
869 struct efx_nic *efx; in efx_pci_remove()
[all …]
A Dio.h78 static inline u32 efx_reg(struct efx_nic *efx, unsigned int reg) in efx_reg()
84 static inline void _efx_writeq(struct efx_nic *efx, __le64 value, in _efx_writeq()
89 static inline __le64 _efx_readq(struct efx_nic *efx, unsigned int reg) in _efx_readq()
95 static inline void _efx_writed(struct efx_nic *efx, __le32 value, in _efx_writed()
100 static inline __le32 _efx_readd(struct efx_nic *efx, unsigned int reg) in _efx_readd()
106 static inline void efx_writeo(struct efx_nic *efx, const efx_oword_t *value, in efx_writeo()
162 static inline void efx_reado(struct efx_nic *efx, efx_oword_t *value, in efx_reado()
201 static inline void efx_readd(struct efx_nic *efx, efx_dword_t *value, in efx_readd()
212 efx_writeo_table(struct efx_nic *efx, const efx_oword_t *value, in efx_writeo_table()
268 _efx_writed_page(struct efx_nic *efx, const efx_dword_t *value, in _efx_writed_page()
[all …]
A Dnic_common.h27 static inline int efx_nic_rev(struct efx_nic *efx) in efx_nic_rev()
192 static inline void efx_sensor_event(struct efx_nic *efx, efx_qword_t *ev) in efx_sensor_event()
217 int efx_nic_init_interrupt(struct efx_nic *efx);
218 int efx_nic_irq_test_start(struct efx_nic *efx);
219 void efx_nic_fini_interrupt(struct efx_nic *efx);
225 static inline int efx_nic_irq_test_irq_cpu(struct efx_nic *efx) in efx_nic_irq_test_irq_cpu()
231 int efx_nic_alloc_buffer(struct efx_nic *efx, struct efx_buffer *buffer,
235 size_t efx_nic_get_regs_len(struct efx_nic *efx);
236 void efx_nic_get_regs(struct efx_nic *efx, void *buf);
242 int efx_nic_copy_stats(struct efx_nic *efx, __le64 *dest);
[all …]
A Dmcdi.c61 int efx_mcdi_init(struct efx_nic *efx) in efx_mcdi_init()
127 void efx_mcdi_detach(struct efx_nic *efx) in efx_mcdi_detach()
138 void efx_mcdi_fini(struct efx_nic *efx) in efx_mcdi_fini()
471 struct efx_nic *efx = mcdi->efx; in efx_mcdi_release()
502 struct efx_nic *efx = mcdi->efx; in efx_mcdi_complete_async()
1314 struct efx_nic *efx = channel->efx; in efx_mcdi_process_event()
2270 struct efx_nic *efx = mtd->priv; in efx_mcdi_mtd_read()
2293 struct efx_nic *efx = mtd->priv; in efx_mcdi_mtd_erase()
2324 struct efx_nic *efx = mtd->priv; in efx_mcdi_mtd_write()
2354 struct efx_nic *efx = mtd->priv; in efx_mcdi_mtd_sync()
[all …]
A Def10_sriov.c69 static int efx_ef10_vport_alloc(struct efx_nic *efx, in efx_ef10_vport_alloc()
113 static void efx_ef10_sriov_free_vf_vports(struct efx_nic *efx) in efx_ef10_sriov_free_vf_vports()
156 static int efx_ef10_sriov_assign_vf_vport(struct efx_nic *efx, in efx_ef10_sriov_assign_vf_vport()
261 int efx_ef10_vswitching_probe_pf(struct efx_nic *efx) in efx_ef10_vswitching_probe_pf()
306 int efx_ef10_vswitching_probe_vf(struct efx_nic *efx) in efx_ef10_vswitching_probe_vf()
311 int efx_ef10_vswitching_restore_pf(struct efx_nic *efx) in efx_ef10_vswitching_restore_pf()
332 int efx_ef10_vswitching_restore_vf(struct efx_nic *efx) in efx_ef10_vswitching_restore_vf()
348 void efx_ef10_vswitching_remove_pf(struct efx_nic *efx) in efx_ef10_vswitching_remove_pf()
372 void efx_ef10_vswitching_remove_vf(struct efx_nic *efx) in efx_ef10_vswitching_remove_vf()
438 int efx_ef10_sriov_init(struct efx_nic *efx) in efx_ef10_sriov_init()
[all …]
A Def10.c927 struct efx_nic *efx_pf; in efx_ef10_remove()
1098 struct efx_nic *efx_pf = in efx_ef10_probe_vf()
1962 struct efx_nic *efx = channel->efx; in efx_ef10_push_irq_moderation()
2120 struct efx_nic *efx = context->efx; in efx_ef10_msi_interrupt()
2139 struct efx_nic *efx = dev_id; in efx_ef10_legacy_interrupt()
2628 struct efx_nic *efx = channel->efx; in efx_ef10_ev_init()
2693 struct efx_nic *efx = channel->efx; in efx_ef10_handle_rx_event_errors()
2783 struct efx_nic *efx = channel->efx; in efx_ef10_handle_rx_event()
2932 struct efx_nic *efx = channel->efx; in efx_ef10_handle_tx_event()
3010 struct efx_nic *efx = channel->efx; in efx_ef10_handle_driver_event()
[all …]
A Dptp.c285 struct efx_nic *efx;
611 struct efx_nic *efx = tx_queue->efx; in efx_ptp_nic_to_kernel_time()
1386 struct efx_nic *efx = ptp->efx; in efx_ptp_pps_worker()
1401 struct efx_nic *efx = ptp_data->efx; in efx_ptp_worker()
1538 struct efx_nic *efx = channel->efx; in efx_ptp_probe_channel()
1617 struct efx_nic *efx = channel->efx; in efx_ptp_rx()
1968 struct efx_nic *efx = channel->efx; in efx_time_sync_event()
2005 struct efx_nic *efx = channel->efx; in __efx_rx_skb_attach_timestamp()
2064 struct efx_nic *efx = ptp_data->efx; in efx_phc_adjfreq()
2099 struct efx_nic *efx = ptp_data->efx; in efx_phc_adjtime()
[all …]
A Dmcdi_port_common.c55 void efx_link_set_advertising(struct efx_nic *efx, in efx_link_set_advertising()
234 u32 efx_get_mcdi_phy_flags(struct efx_nic *efx) in efx_get_mcdi_phy_flags()
283 void efx_mcdi_phy_decode_link(struct efx_nic *efx, in efx_mcdi_phy_decode_link()
402 bool efx_mcdi_phy_poll(struct efx_nic *efx) in efx_mcdi_phy_poll()
426 int efx_mcdi_phy_probe(struct efx_nic *efx) in efx_mcdi_phy_probe()
532 void efx_mcdi_phy_remove(struct efx_nic *efx) in efx_mcdi_phy_remove()
711 int efx_mcdi_phy_test_alive(struct efx_nic *efx) in efx_mcdi_phy_test_alive()
1095 int efx_mcdi_set_mac(struct efx_nic *efx) in efx_mcdi_set_mac()
1139 int efx_mcdi_set_mtu(struct efx_nic *efx) in efx_mcdi_set_mtu()
1206 void efx_mcdi_mac_stop_stats(struct efx_nic *efx) in efx_mcdi_mac_stop_stats()
[all …]
A Dsiena.c31 static void siena_init_wol(struct efx_nic *efx);
36 struct efx_nic *efx = channel->efx; in siena_push_irq_moderation()
58 void siena_prepare_flush(struct efx_nic *efx) in siena_prepare_flush()
64 void siena_finish_flush(struct efx_nic *efx) in siena_finish_flush()
211 static void siena_monitor(struct efx_nic *efx) in siena_monitor()
219 static int siena_probe_nvconfig(struct efx_nic *efx) in siena_probe_nvconfig()
259 static int siena_probe_nic(struct efx_nic *efx) in siena_probe_nic()
401 static int siena_init_nic(struct efx_nic *efx) in siena_init_nic()
456 static void siena_remove_nic(struct efx_nic *efx) in siena_remove_nic()
714 static void siena_init_wol(struct efx_nic *efx) in siena_init_wol()
[all …]
A Dethtool.c36 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_phys_id()
64 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_regs()
104 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_coalesce()
124 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_set_coalesce()
163 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_ringparam()
174 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_set_ringparam()
201 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_wol()
209 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_set_wol()
216 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_fec_stats()
225 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_ts_info()
A Dfarch.c372 struct efx_nic *efx = tx_queue->efx; in efx_farch_tx_probe()
385 struct efx_nic *efx = tx_queue->efx; in efx_farch_tx_init()
424 struct efx_nic *efx = tx_queue->efx; in efx_farch_flush_tx_queue()
438 struct efx_nic *efx = tx_queue->efx; in efx_farch_tx_fini()
484 struct efx_nic *efx = rx_queue->efx; in efx_farch_rx_write()
504 struct efx_nic *efx = rx_queue->efx; in efx_farch_rx_probe()
515 struct efx_nic *efx = rx_queue->efx; in efx_farch_rx_init()
779 struct efx_nic *efx = channel->efx; in efx_farch_ev_read_ack()
829 struct efx_nic *efx = channel->efx; in efx_farch_handle_tx_event()
978 struct efx_nic *efx = channel->efx; in efx_farch_handle_rx_event()
[all …]
A Def100_netdev.c26 static void ef100_update_name(struct efx_nic *efx) in ef100_update_name()
31 static int ef100_alloc_vis(struct efx_nic *efx, unsigned int *allocated_vis) in ef100_alloc_vis()
55 static int ef100_remap_bar(struct efx_nic *efx, int max_vis) in ef100_remap_bar()
82 struct efx_nic *efx = netdev_priv(net_dev); in ef100_net_stop()
105 struct efx_nic *efx = netdev_priv(net_dev); in ef100_net_open()
192 struct efx_nic *efx = netdev_priv(net_dev); in ef100_hard_start_xmit()
239 struct efx_nic *efx = container_of(this, struct efx_nic, netdev_notifier); in ef100_netdev_event()
248 int ef100_register_netdev(struct efx_nic *efx) in ef100_register_netdev()
286 void ef100_unregister_netdev(struct efx_nic *efx) in ef100_unregister_netdev()

Completed in 72 milliseconds

123