Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/sfc/
Dnic.h28 static inline int efx_nic_rev(struct efx_nic *efx) in efx_nic_rev()
33 u32 efx_farch_fpga_ver(struct efx_nic *efx);
36 static inline bool efx_nic_is_dual_func(struct efx_nic *efx) in efx_nic_is_dual_func()
175 int (*init) (struct efx_nic *nic);
176 void (*init_phy) (struct efx_nic *efx);
177 void (*fini) (struct efx_nic *nic);
178 void (*set_id_led) (struct efx_nic *efx, enum efx_led_mode mode);
179 int (*monitor) (struct efx_nic *nic);
312 static inline struct falcon_board *falcon_board(struct efx_nic *efx) in falcon_board()
393 struct efx_nic *efx;
[all …]
Defx.h31 unsigned int efx_tx_max_skb_descs(struct efx_nic *efx);
35 void efx_rx_config_page_split(struct efx_nic *efx);
99 static inline s32 efx_filter_insert_filter(struct efx_nic *efx, in efx_filter_insert_filter()
115 static inline int efx_filter_remove_id_safe(struct efx_nic *efx, in efx_filter_remove_id_safe()
133 efx_filter_get_filter_safe(struct efx_nic *efx, in efx_filter_get_filter_safe()
140 static inline u32 efx_filter_count_rx_used(struct efx_nic *efx, in efx_filter_count_rx_used()
145 static inline u32 efx_filter_get_rx_id_limit(struct efx_nic *efx) in efx_filter_get_rx_id_limit()
149 static inline s32 efx_filter_get_rx_ids(struct efx_nic *efx, in efx_filter_get_rx_ids()
158 bool __efx_filter_rfs_expire(struct efx_nic *efx, unsigned quota);
175 int efx_realloc_channels(struct efx_nic *efx, u32 rxq_entries, u32 txq_entries);
[all …]
Dnet_driver.h228 struct efx_nic *efx ____cacheline_aligned_in_smp;
339 struct efx_nic *efx;
423 struct efx_nic *efx;
620 struct efx_nic *efx;
639 void (*handle_no_channel)(struct efx_nic *);
684 struct efx_nic;
731 int (*probe) (struct efx_nic *efx);
732 int (*init) (struct efx_nic *efx);
733 void (*fini) (struct efx_nic *efx);
734 void (*remove) (struct efx_nic *efx);
[all …]
Dmcdi.h63 struct efx_nic *efx;
114 static inline struct efx_mcdi_iface *efx_mcdi(struct efx_nic *efx) in efx_mcdi()
121 static inline struct efx_mcdi_mon *efx_mcdi_mon(struct efx_nic *efx) in efx_mcdi_mon()
128 int efx_mcdi_init(struct efx_nic *efx);
129 void efx_mcdi_fini(struct efx_nic *efx);
131 int efx_mcdi_rpc(struct efx_nic *efx, unsigned cmd, const efx_dword_t *inbuf,
134 int efx_mcdi_rpc_quiet(struct efx_nic *efx, unsigned cmd,
139 int efx_mcdi_rpc_start(struct efx_nic *efx, unsigned cmd,
141 int efx_mcdi_rpc_finish(struct efx_nic *efx, unsigned cmd, size_t inlen,
144 int efx_mcdi_rpc_finish_quiet(struct efx_nic *efx, unsigned cmd,
[all …]
Dmdio_10g.h25 static inline int efx_mdio_read(struct efx_nic *efx, int devad, int addr) in efx_mdio_read()
31 efx_mdio_write(struct efx_nic *efx, int devad, int addr, int value) in efx_mdio_write()
36 static inline u32 efx_mdio_read_id(struct efx_nic *efx, int mmd) in efx_mdio_read_id()
43 static inline bool efx_mdio_phyxgxs_lane_sync(struct efx_nic *efx) in efx_mdio_phyxgxs_lane_sync()
67 int efx_mdio_reset_mmd(struct efx_nic *efx, int mmd, int spins, int spintime);
70 int efx_mdio_check_mmds(struct efx_nic *efx, unsigned int mmd_mask);
73 bool efx_mdio_links_ok(struct efx_nic *efx, unsigned int mmd_mask);
76 void efx_mdio_transmit_disable(struct efx_nic *efx);
79 void efx_mdio_phy_reconfigure(struct efx_nic *efx);
82 void efx_mdio_set_mmds_lpower(struct efx_nic *efx, int low_power,
[all …]
Dtenxpress.c151 static int tenxpress_init(struct efx_nic *efx) in tenxpress_init()
166 static int tenxpress_phy_probe(struct efx_nic *efx) in tenxpress_phy_probe()
188 static int tenxpress_phy_init(struct efx_nic *efx) in tenxpress_phy_init()
223 static int tenxpress_special_reset(struct efx_nic *efx) in tenxpress_special_reset()
256 static void sfx7101_check_bad_lp(struct efx_nic *efx, bool link_ok) in sfx7101_check_bad_lp()
300 static bool sfx7101_link_ok(struct efx_nic *efx) in sfx7101_link_ok()
308 static void tenxpress_ext_loopback(struct efx_nic *efx) in tenxpress_ext_loopback()
315 static void tenxpress_low_power(struct efx_nic *efx) in tenxpress_low_power()
322 static int tenxpress_phy_reconfigure(struct efx_nic *efx) in tenxpress_phy_reconfigure()
355 tenxpress_get_settings(struct efx_nic *efx, struct ethtool_cmd *ecmd);
[all …]
Dtxc43128_phy.c171 static void txc_reset_logic(struct efx_nic *efx);
174 void falcon_txc_set_gpio_val(struct efx_nic *efx, int pin, int on) in falcon_txc_set_gpio_val()
180 void falcon_txc_set_gpio_dir(struct efx_nic *efx, int pin, int dir) in falcon_txc_set_gpio_dir()
187 static int txc_reset_phy(struct efx_nic *efx) in txc_reset_phy()
208 static int txc_bist_one(struct efx_nic *efx, int mmd, int test) in txc_bist_one()
273 static int txc_bist(struct efx_nic *efx) in txc_bist()
280 static void txc_apply_defaults(struct efx_nic *efx) in txc_apply_defaults()
324 static int txc43128_phy_probe(struct efx_nic *efx) in txc43128_phy_probe()
344 static int txc43128_phy_init(struct efx_nic *efx) in txc43128_phy_init()
362 static void txc_glrgs_lane_power(struct efx_nic *efx, int mmd) in txc_glrgs_lane_power()
[all …]
Dfalcon_boards.c90 static int efx_init_lm87(struct efx_nic *efx, const struct i2c_board_info *info, in efx_init_lm87()
119 static void efx_fini_lm87(struct efx_nic *efx) in efx_fini_lm87()
124 static int efx_check_lm87(struct efx_nic *efx, unsigned mask) in efx_check_lm87()
182 efx_init_lm87(struct efx_nic *efx, const struct i2c_board_info *info, in efx_init_lm87()
187 static inline void efx_fini_lm87(struct efx_nic *efx) in efx_fini_lm87()
190 static inline int efx_check_lm87(struct efx_nic *efx, unsigned mask) in efx_check_lm87()
258 static void sfe4001_poweroff(struct efx_nic *efx) in sfe4001_poweroff()
272 static int sfe4001_poweron(struct efx_nic *efx) in sfe4001_poweron()
363 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); in show_phy_flash_cfg()
371 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); in set_phy_flash_cfg()
[all …]
Dqt202x_phy.c53 void falcon_qt202x_set_led(struct efx_nic *p, int led, int mode) in falcon_qt202x_set_led()
76 static int qt2025c_wait_heartbeat(struct efx_nic *efx) in qt2025c_wait_heartbeat()
108 static int qt2025c_wait_fw_status_good(struct efx_nic *efx) in qt2025c_wait_fw_status_good()
130 static void qt2025c_restart_firmware(struct efx_nic *efx) in qt2025c_restart_firmware()
138 static int qt2025c_wait_reset(struct efx_nic *efx) in qt2025c_wait_reset()
163 static void qt2025c_firmware_id(struct efx_nic *efx) in qt2025c_firmware_id()
183 static void qt2025c_bug17190_workaround(struct efx_nic *efx) in qt2025c_bug17190_workaround()
216 static int qt2025c_select_phy_mode(struct efx_nic *efx) in qt2025c_select_phy_mode()
309 static int qt202x_reset_phy(struct efx_nic *efx) in qt202x_reset_phy()
342 static int qt202x_phy_probe(struct efx_nic *efx) in qt202x_phy_probe()
[all …]
Dio.h82 static inline void _efx_writeq(struct efx_nic *efx, __le64 value, in _efx_writeq()
87 static inline __le64 _efx_readq(struct efx_nic *efx, unsigned int reg) in _efx_readq()
93 static inline void _efx_writed(struct efx_nic *efx, __le32 value, in _efx_writed()
98 static inline __le32 _efx_readd(struct efx_nic *efx, unsigned int reg) in _efx_readd()
104 static inline void efx_writeo(struct efx_nic *efx, const efx_oword_t *value, in efx_writeo()
128 static inline void efx_sram_writeq(struct efx_nic *efx, void __iomem *membase, in efx_sram_writeq()
150 static inline void efx_writed(struct efx_nic *efx, const efx_dword_t *value, in efx_writed()
162 static inline void efx_reado(struct efx_nic *efx, efx_oword_t *value, in efx_reado()
180 static inline void efx_sram_readq(struct efx_nic *efx, void __iomem *membase, in efx_sram_readq()
201 static inline void efx_readd(struct efx_nic *efx, efx_dword_t *value, in efx_readd()
[all …]
Defx.c200 static int efx_soft_enable_interrupts(struct efx_nic *efx);
201 static void efx_soft_disable_interrupts(struct efx_nic *efx);
203 static void efx_remove_channels(struct efx_nic *efx);
205 static void efx_remove_port(struct efx_nic *efx);
207 static void efx_fini_napi(struct efx_nic *efx);
209 static void efx_fini_struct(struct efx_nic *efx);
210 static void efx_start_all(struct efx_nic *efx);
211 static void efx_stop_all(struct efx_nic *efx);
221 static int efx_check_disabled(struct efx_nic *efx) in efx_check_disabled()
272 struct efx_nic *efx = channel->efx; in efx_poll()
[all …]
Dmcdi.c52 static int efx_mcdi_drv_attach(struct efx_nic *efx, bool driver_operating,
54 static bool efx_mcdi_poll_once(struct efx_nic *efx);
55 static void efx_mcdi_abandon(struct efx_nic *efx);
57 int efx_mcdi_init(struct efx_nic *efx) in efx_mcdi_init()
107 void efx_mcdi_fini(struct efx_nic *efx) in efx_mcdi_fini()
120 static void efx_mcdi_send_request(struct efx_nic *efx, unsigned cmd, in efx_mcdi_send_request()
205 static void efx_mcdi_read_response_header(struct efx_nic *efx) in efx_mcdi_read_response_header()
243 static bool efx_mcdi_poll_once(struct efx_nic *efx) in efx_mcdi_poll_once()
258 static int efx_mcdi_poll(struct efx_nic *efx) in efx_mcdi_poll()
307 int efx_mcdi_poll_reboot(struct efx_nic *efx) in efx_mcdi_poll_reboot()
[all …]
Dfalcon.c302 static int falcon_reset_hw(struct efx_nic *efx, enum reset_type method);
303 static void falcon_reconfigure_mac_wrapper(struct efx_nic *efx);
329 struct efx_nic *efx = (struct efx_nic *)data; in falcon_setsda()
339 struct efx_nic *efx = (struct efx_nic *)data; in falcon_setscl()
349 struct efx_nic *efx = (struct efx_nic *)data; in falcon_getsda()
358 struct efx_nic *efx = (struct efx_nic *)data; in falcon_getscl()
378 struct efx_nic *efx = channel->efx; in falcon_push_irq_moderation()
398 static void falcon_deconfigure_mac_wrapper(struct efx_nic *efx);
400 static void falcon_prepare_flush(struct efx_nic *efx) in falcon_prepare_flush()
420 static inline void falcon_irq_ack_a1(struct efx_nic *efx) in falcon_irq_ack_a1()
[all …]
Dmdio_10g.c34 int efx_mdio_reset_mmd(struct efx_nic *port, int mmd, in efx_mdio_reset_mmd()
54 static int efx_mdio_check_mmd(struct efx_nic *efx, int mmd) in efx_mdio_check_mmd()
75 int efx_mdio_wait_reset_mmds(struct efx_nic *efx, unsigned int mmd_mask) in efx_mdio_wait_reset_mmds()
116 int efx_mdio_check_mmds(struct efx_nic *efx, unsigned int mmd_mask) in efx_mdio_check_mmds()
155 bool efx_mdio_links_ok(struct efx_nic *efx, unsigned int mmd_mask) in efx_mdio_links_ok()
181 void efx_mdio_transmit_disable(struct efx_nic *efx) in efx_mdio_transmit_disable()
188 void efx_mdio_phy_reconfigure(struct efx_nic *efx) in efx_mdio_phy_reconfigure()
201 static void efx_mdio_set_mmd_lpower(struct efx_nic *efx, in efx_mdio_set_mmd_lpower()
215 void efx_mdio_set_mmds_lpower(struct efx_nic *efx, in efx_mdio_set_mmds_lpower()
233 int efx_mdio_set_settings(struct efx_nic *efx, struct ethtool_cmd *ecmd) in efx_mdio_set_settings()
[all …]
Dphy.h18 void tenxpress_set_id_led(struct efx_nic *efx, enum efx_led_mode mode);
37 void falcon_qt202x_set_led(struct efx_nic *p, int led, int state);
47 void falcon_txc_set_gpio_dir(struct efx_nic *efx, int pin, int dir);
48 void falcon_txc_set_gpio_val(struct efx_nic *efx, int pin, int val);
Dselftest.h47 void efx_loopback_rx_packet(struct efx_nic *efx, const char *buf_ptr,
49 int efx_selftest(struct efx_nic *efx, struct efx_self_tests *tests,
51 void efx_selftest_async_start(struct efx_nic *efx);
52 void efx_selftest_async_cancel(struct efx_nic *efx);
Dmcdi_port.c37 efx_mcdi_get_phy_cfg(struct efx_nic *efx, struct efx_mcdi_phy_data *cfg) in efx_mcdi_get_phy_cfg()
77 static int efx_mcdi_set_link(struct efx_nic *efx, u32 capabilities, in efx_mcdi_set_link()
96 static int efx_mcdi_loopback_modes(struct efx_nic *efx, u64 *loopback_modes) in efx_mcdi_loopback_modes()
125 struct efx_nic *efx = netdev_priv(net_dev); in efx_mcdi_mdio_read()
151 struct efx_nic *efx = netdev_priv(net_dev); in efx_mcdi_mdio_write()
260 static u32 efx_get_mcdi_phy_flags(struct efx_nic *efx) in efx_get_mcdi_phy_flags()
309 static void efx_mcdi_phy_decode_link(struct efx_nic *efx, in efx_mcdi_phy_decode_link()
336 static int efx_mcdi_phy_probe(struct efx_nic *efx) in efx_mcdi_phy_probe()
435 int efx_mcdi_port_reconfigure(struct efx_nic *efx) in efx_mcdi_port_reconfigure()
449 static void efx_mcdi_phy_check_fcntl(struct efx_nic *efx, u32 lpa) in efx_mcdi_phy_check_fcntl()
[all …]
Dptp.c269 struct efx_nic *efx;
357 size_t efx_ptp_describe_stats(struct efx_nic *efx, u8 *strings) in efx_ptp_describe_stats()
366 size_t efx_ptp_update_stats(struct efx_nic *efx, u64 *stats) in efx_ptp_update_stats()
478 static int efx_ptp_get_attributes(struct efx_nic *efx) in efx_ptp_get_attributes()
531 static int efx_ptp_get_timestamp_corrections(struct efx_nic *efx) in efx_ptp_get_timestamp_corrections()
568 static int efx_ptp_enable(struct efx_nic *efx) in efx_ptp_enable()
596 static int efx_ptp_disable(struct efx_nic *efx) in efx_ptp_disable()
625 static void efx_ptp_handle_no_channel(struct efx_nic *efx) in efx_ptp_handle_no_channel()
635 static void efx_ptp_send_times(struct efx_nic *efx, in efx_ptp_send_times()
703 efx_ptp_process_times(struct efx_nic *efx, MCDI_DECLARE_STRUCT_PTR(synch_buf), in efx_ptp_process_times()
[all …]
Dsiena.c31 static void siena_init_wol(struct efx_nic *efx);
53 void siena_prepare_flush(struct efx_nic *efx) in siena_prepare_flush()
59 void siena_finish_flush(struct efx_nic *efx) in siena_finish_flush()
94 static int siena_test_chip(struct efx_nic *efx, struct efx_self_tests *tests) in siena_test_chip()
126 static void siena_ptp_write_host_time(struct efx_nic *efx, u32 host_time) in siena_ptp_write_host_time()
132 static int siena_ptp_set_ts_config(struct efx_nic *efx, in siena_ptp_set_ts_config()
206 static void siena_monitor(struct efx_nic *efx) in siena_monitor()
214 static int siena_probe_nvconfig(struct efx_nic *efx) in siena_probe_nvconfig()
227 static int siena_dimension_resources(struct efx_nic *efx) in siena_dimension_resources()
237 static unsigned int siena_mem_map_size(struct efx_nic *efx) in siena_mem_map_size()
[all …]
Dethtool.c99 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_phys_id()
124 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_settings()
146 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_set_settings()
166 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_drvinfo()
184 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_regs()
192 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_msglevel()
198 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_set_msglevel()
257 static int efx_fill_loopback_test(struct efx_nic *efx, in efx_fill_loopback_test()
302 static int efx_ethtool_fill_self_tests(struct efx_nic *efx, in efx_ethtool_fill_self_tests()
362 static size_t efx_describe_per_queue_stats(struct efx_nic *efx, u8 *strings) in efx_describe_per_queue_stats()
[all …]
Def10.c80 static void efx_ef10_rx_push_rss_config(struct efx_nic *efx);
81 static void efx_ef10_rx_free_indir_table(struct efx_nic *efx);
82 static void efx_ef10_filter_table_remove(struct efx_nic *efx);
84 static int efx_ef10_get_warm_boot_count(struct efx_nic *efx) in efx_ef10_get_warm_boot_count()
93 static unsigned int efx_ef10_mem_map_size(struct efx_nic *efx) in efx_ef10_mem_map_size()
98 static int efx_ef10_init_datapath_caps(struct efx_nic *efx) in efx_ef10_init_datapath_caps()
137 static int efx_ef10_get_sysclk_freq(struct efx_nic *efx) in efx_ef10_get_sysclk_freq()
150 static int efx_ef10_get_mac_address(struct efx_nic *efx, u8 *mac_address) in efx_ef10_get_mac_address()
170 static int efx_ef10_probe(struct efx_nic *efx) in efx_ef10_probe()
282 static int efx_ef10_free_vis(struct efx_nic *efx) in efx_ef10_free_vis()
[all …]
Dfarch.c87 static inline void efx_write_buf_tbl(struct efx_nic *efx, efx_qword_t *value, in efx_write_buf_tbl()
101 int efx_farch_test_registers(struct efx_nic *efx, in efx_farch_test_registers()
170 efx_init_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) in efx_init_special_buffer()
196 efx_fini_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) in efx_fini_special_buffer()
225 static int efx_alloc_special_buffer(struct efx_nic *efx, in efx_alloc_special_buffer()
258 efx_free_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) in efx_free_special_buffer()
359 struct efx_nic *efx = tx_queue->efx; in efx_farch_tx_probe()
369 struct efx_nic *efx = tx_queue->efx; in efx_farch_tx_init()
425 struct efx_nic *efx = tx_queue->efx; in efx_farch_flush_tx_queue()
439 struct efx_nic *efx = tx_queue->efx; in efx_farch_tx_fini()
[all …]
Dsiena_sriov.c87 struct efx_nic *efx;
197 static int efx_siena_sriov_cmd(struct efx_nic *efx, bool enable, in efx_siena_sriov_cmd()
230 static void efx_siena_sriov_usrev(struct efx_nic *efx, bool enabled) in efx_siena_sriov_usrev()
241 static int efx_siena_sriov_memcpy(struct efx_nic *efx, in efx_siena_sriov_memcpy()
304 struct efx_nic *efx = vf->efx; in efx_siena_sriov_reset_tx_filter()
348 struct efx_nic *efx = vf->efx; in efx_siena_sriov_reset_rx_filter()
387 struct efx_nic *efx = vf->efx; in __efx_siena_sriov_update_vf_addr()
402 struct efx_nic *efx = vf->efx; in __efx_siena_sriov_push_vf_status()
478 static void efx_siena_sriov_bufs(struct efx_nic *efx, unsigned offset, in efx_siena_sriov_bufs()
495 static bool bad_vf_index(struct efx_nic *efx, unsigned index) in bad_vf_index()
[all …]
Dselftest.c99 static int efx_test_phy_alive(struct efx_nic *efx, struct efx_self_tests *tests) in efx_test_phy_alive()
111 static int efx_test_nvram(struct efx_nic *efx, struct efx_self_tests *tests) in efx_test_nvram()
130 static int efx_test_interrupts(struct efx_nic *efx, in efx_test_interrupts()
164 static int efx_test_eventq_irq(struct efx_nic *efx, in efx_test_eventq_irq()
245 static int efx_test_phy(struct efx_nic *efx, struct efx_self_tests *tests, in efx_test_phy()
269 void efx_loopback_rx_packet(struct efx_nic *efx, in efx_loopback_rx_packet()
361 static void efx_iterate_state(struct efx_nic *efx) in efx_iterate_state()
398 struct efx_nic *efx = tx_queue->efx; in efx_begin_loopback()
446 static int efx_poll_loopback(struct efx_nic *efx) in efx_poll_loopback()
456 struct efx_nic *efx = tx_queue->efx; in efx_end_loopback()
[all …]
Dmtd.c26 struct efx_nic *efx = mtd->priv; in efx_mtd_erase()
43 struct efx_nic *efx = mtd->priv; in efx_mtd_sync()
66 int efx_mtd_add(struct efx_nic *efx, struct efx_mtd_partition *parts, in efx_mtd_add()
107 void efx_mtd_remove(struct efx_nic *efx) in efx_mtd_remove()
125 void efx_mtd_rename(struct efx_nic *efx) in efx_mtd_rename()
Drx.c65 static inline u32 efx_rx_buf_hash(struct efx_nic *efx, const u8 *eh) in efx_rx_buf_hash()
87 static inline void efx_sync_rx_buffer(struct efx_nic *efx, in efx_sync_rx_buffer()
95 void efx_rx_config_page_split(struct efx_nic *efx) in efx_rx_config_page_split()
111 struct efx_nic *efx = rx_queue->efx; in efx_reuse_page()
154 struct efx_nic *efx = rx_queue->efx; in efx_init_rx_buffers()
213 static void efx_unmap_rx_buffer(struct efx_nic *efx, in efx_unmap_rx_buffer()
249 struct efx_nic *efx = rx_queue->efx; in efx_recycle_rx_page()
329 struct efx_nic *efx = rx_queue->efx; in efx_fast_push_rx_descriptors()
392 struct efx_nic *efx = rx_queue->efx; in efx_rx_packet__check_len()
431 struct efx_nic *efx = channel->efx; in efx_rx_packet_gro()
[all …]
Dtx.c97 efx_max_tx_len(struct efx_nic *efx, dma_addr_t dma_addr) in efx_max_tx_len()
114 unsigned int efx_tx_max_skb_descs(struct efx_nic *efx) in efx_tx_max_skb_descs()
139 struct efx_nic *efx = txq1->efx; in efx_tx_maybe_stop_queue()
186 static void efx_memcpy_toio_aligned(struct efx_nic *efx, u8 __iomem **piobuf, in efx_memcpy_toio_aligned()
208 static void efx_memcpy_toio_aligned_cb(struct efx_nic *efx, u8 __iomem **piobuf, in efx_memcpy_toio_aligned_cb()
235 static void efx_flush_copy_buffer(struct efx_nic *efx, u8 __iomem *piobuf, in efx_flush_copy_buffer()
247 static void efx_skb_copy_bits_to_pio(struct efx_nic *efx, struct sk_buff *skb, in efx_skb_copy_bits_to_pio()
335 struct efx_nic *efx = tx_queue->efx; in efx_enqueue_skb()
493 struct efx_nic *efx = tx_queue->efx; in efx_dequeue_buffers()
530 struct efx_nic *efx = netdev_priv(net_dev); in efx_hard_start_xmit()
[all …]
Dnic.c34 int efx_nic_alloc_buffer(struct efx_nic *efx, struct efx_buffer *buffer, in efx_nic_alloc_buffer()
45 void efx_nic_free_buffer(struct efx_nic *efx, struct efx_buffer *buffer) in efx_nic_free_buffer()
69 void efx_nic_irq_test_start(struct efx_nic *efx) in efx_nic_irq_test_start()
79 int efx_nic_init_interrupt(struct efx_nic *efx) in efx_nic_init_interrupt()
150 void efx_nic_fini_interrupt(struct efx_nic *efx) in efx_nic_fini_interrupt()
371 size_t efx_nic_get_regs_len(struct efx_nic *efx) in efx_nic_get_regs_len()
394 void efx_nic_get_regs(struct efx_nic *efx, void *buf) in efx_nic_get_regs()
525 void efx_nic_fix_nodesc_drop_stat(struct efx_nic *efx, u64 *rx_nodesc_drops) in efx_nic_fix_nodesc_drop_stat()
Dmcdi_mon.c106 void efx_mcdi_sensor_event(struct efx_nic *efx, efx_qword_t *ev) in efx_mcdi_sensor_event()
147 static int efx_mcdi_mon_update(struct efx_nic *efx) in efx_mcdi_mon_update()
167 struct efx_nic *efx = dev_get_drvdata(dev->parent); in efx_mcdi_mon_get_entry()
282 efx_mcdi_mon_add_attr(struct efx_nic *efx, const char *name, in efx_mcdi_mon_add_attr()
306 int efx_mcdi_mon_probe(struct efx_nic *efx) in efx_mcdi_mon_probe()
523 void efx_mcdi_mon_remove(struct efx_nic *efx) in efx_mcdi_mon_remove()
/linux-4.1.27/Documentation/i2c/
Dinstantiating-devices108 int sfe4001_init(struct efx_nic *efx)