Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/sfc/
Def10_sriov.h25 struct efx_nic *efx;
34 static inline bool efx_ef10_sriov_wanted(struct efx_nic *efx) in efx_ef10_sriov_wanted()
39 int efx_ef10_sriov_configure(struct efx_nic *efx, int num_vfs);
40 int efx_ef10_sriov_init(struct efx_nic *efx);
41 static inline void efx_ef10_sriov_reset(struct efx_nic *efx) {} in efx_ef10_sriov_reset()
42 void efx_ef10_sriov_fini(struct efx_nic *efx);
43 static inline void efx_ef10_sriov_flr(struct efx_nic *efx, unsigned vf_i) {} in efx_ef10_sriov_flr()
45 int efx_ef10_sriov_set_vf_mac(struct efx_nic *efx, int vf, u8 *mac);
47 int efx_ef10_sriov_set_vf_vlan(struct efx_nic *efx, int vf_i,
50 int efx_ef10_sriov_set_vf_spoofchk(struct efx_nic *efx, int vf,
[all …]
Dnet_driver.h229 struct efx_nic *efx ____cacheline_aligned_in_smp;
342 struct efx_nic *efx;
426 struct efx_nic *efx;
606 struct efx_nic *efx;
625 void (*handle_no_channel)(struct efx_nic *);
670 struct efx_nic;
717 int (*probe) (struct efx_nic *efx);
718 int (*init) (struct efx_nic *efx);
719 void (*fini) (struct efx_nic *efx);
720 void (*remove) (struct efx_nic *efx);
[all …]
Defx.h36 unsigned int efx_tx_max_skb_descs(struct efx_nic *efx);
41 void efx_set_default_rx_indir_table(struct efx_nic *efx);
42 void efx_rx_config_page_split(struct efx_nic *efx);
79 static inline bool efx_rss_enabled(struct efx_nic *efx) in efx_rss_enabled()
86 void efx_mac_reconfigure(struct efx_nic *efx);
113 static inline s32 efx_filter_insert_filter(struct efx_nic *efx, in efx_filter_insert_filter()
129 static inline int efx_filter_remove_id_safe(struct efx_nic *efx, in efx_filter_remove_id_safe()
147 efx_filter_get_filter_safe(struct efx_nic *efx, in efx_filter_get_filter_safe()
154 static inline u32 efx_filter_count_rx_used(struct efx_nic *efx, in efx_filter_count_rx_used()
159 static inline u32 efx_filter_get_rx_id_limit(struct efx_nic *efx) in efx_filter_get_rx_id_limit()
[all …]
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()
394 struct efx_nic *efx;
[all …]
Dsiena_sriov.h44 int efx_siena_sriov_configure(struct efx_nic *efx, int num_vfs);
45 int efx_siena_sriov_init(struct efx_nic *efx);
46 void efx_siena_sriov_fini(struct efx_nic *efx);
47 int efx_siena_sriov_mac_address_changed(struct efx_nic *efx);
48 bool efx_siena_sriov_wanted(struct efx_nic *efx);
49 void efx_siena_sriov_reset(struct efx_nic *efx);
50 void efx_siena_sriov_flr(struct efx_nic *efx, unsigned flr);
52 int efx_siena_sriov_set_vf_mac(struct efx_nic *efx, int vf, u8 *mac);
53 int efx_siena_sriov_set_vf_vlan(struct efx_nic *efx, int vf,
55 int efx_siena_sriov_set_vf_spoofchk(struct efx_nic *efx, int vf,
[all …]
Dmcdi.h65 struct efx_nic *efx;
120 static inline struct efx_mcdi_iface *efx_mcdi(struct efx_nic *efx) in efx_mcdi()
127 static inline struct efx_mcdi_mon *efx_mcdi_mon(struct efx_nic *efx) in efx_mcdi_mon()
134 int efx_mcdi_init(struct efx_nic *efx);
135 void efx_mcdi_fini(struct efx_nic *efx);
137 int efx_mcdi_rpc(struct efx_nic *efx, unsigned cmd, const efx_dword_t *inbuf,
140 int efx_mcdi_rpc_quiet(struct efx_nic *efx, unsigned cmd,
145 int efx_mcdi_rpc_start(struct efx_nic *efx, unsigned cmd,
147 int efx_mcdi_rpc_finish(struct efx_nic *efx, unsigned cmd, size_t inlen,
150 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 …]
Defx.c202 static int efx_soft_enable_interrupts(struct efx_nic *efx);
203 static void efx_soft_disable_interrupts(struct efx_nic *efx);
205 static void efx_remove_channels(struct efx_nic *efx);
207 static void efx_remove_port(struct efx_nic *efx);
209 static void efx_fini_napi(struct efx_nic *efx);
211 static void efx_fini_struct(struct efx_nic *efx);
212 static void efx_start_all(struct efx_nic *efx);
213 static void efx_stop_all(struct efx_nic *efx);
223 static int efx_check_disabled(struct efx_nic *efx) in efx_check_disabled()
288 struct efx_nic *efx = channel->efx; in efx_poll()
[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 …]
Def10_sriov.c17 static int efx_ef10_evb_port_assign(struct efx_nic *efx, unsigned int port_id, in efx_ef10_evb_port_assign()
32 static int efx_ef10_vswitch_alloc(struct efx_nic *efx, unsigned int port_id, in efx_ef10_vswitch_alloc()
61 static int efx_ef10_vswitch_free(struct efx_nic *efx, unsigned int port_id) in efx_ef10_vswitch_free()
71 static int efx_ef10_vport_alloc(struct efx_nic *efx, in efx_ef10_vport_alloc()
105 static int efx_ef10_vport_free(struct efx_nic *efx, unsigned int port_id) in efx_ef10_vport_free()
115 static void efx_ef10_sriov_free_vf_vports(struct efx_nic *efx) in efx_ef10_sriov_free_vf_vports()
150 static void efx_ef10_sriov_free_vf_vswitching(struct efx_nic *efx) in efx_ef10_sriov_free_vf_vswitching()
159 static int efx_ef10_sriov_assign_vf_vport(struct efx_nic *efx, in efx_ef10_sriov_assign_vf_vport()
189 static int efx_ef10_sriov_alloc_vf_vswitching(struct efx_nic *efx) in efx_ef10_sriov_alloc_vf_vswitching()
218 static int efx_ef10_sriov_restore_vf_vswitching(struct efx_nic *efx) in efx_ef10_sriov_restore_vf_vswitching()
[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 …]
Dmcdi.c53 static int efx_mcdi_drv_attach(struct efx_nic *efx, bool driver_operating,
55 static bool efx_mcdi_poll_once(struct efx_nic *efx);
56 static void efx_mcdi_abandon(struct efx_nic *efx);
65 int efx_mcdi_init(struct efx_nic *efx) in efx_mcdi_init()
131 void efx_mcdi_fini(struct efx_nic *efx) in efx_mcdi_fini()
148 static void efx_mcdi_send_request(struct efx_nic *efx, unsigned cmd, in efx_mcdi_send_request()
261 static void efx_mcdi_read_response_header(struct efx_nic *efx) in efx_mcdi_read_response_header()
335 static bool efx_mcdi_poll_once(struct efx_nic *efx) in efx_mcdi_poll_once()
350 static int efx_mcdi_poll(struct efx_nic *efx) in efx_mcdi_poll()
399 int efx_mcdi_poll_reboot(struct efx_nic *efx) in efx_mcdi_poll_reboot()
[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 …]
Dsriov.c16 struct efx_nic *efx = netdev_priv(net_dev); in efx_sriov_set_vf_mac()
27 struct efx_nic *efx = netdev_priv(net_dev); in efx_sriov_set_vf_vlan()
43 struct efx_nic *efx = netdev_priv(net_dev); in efx_sriov_set_vf_spoofchk()
54 struct efx_nic *efx = netdev_priv(net_dev); in efx_sriov_get_vf_config()
65 struct efx_nic *efx = netdev_priv(net_dev); in efx_sriov_set_vf_link_state()
77 struct efx_nic *efx = netdev_priv(net_dev); in efx_sriov_get_phys_port_id()
Def10.c91 static void efx_ef10_rx_free_indir_table(struct efx_nic *efx);
92 static void efx_ef10_filter_table_remove(struct efx_nic *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()
[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()
475 static int efx_ptp_get_attributes(struct efx_nic *efx) in efx_ptp_get_attributes()
534 static int efx_ptp_get_timestamp_corrections(struct efx_nic *efx) in efx_ptp_get_timestamp_corrections()
573 static int efx_ptp_enable(struct efx_nic *efx) in efx_ptp_enable()
601 static int efx_ptp_disable(struct efx_nic *efx) in efx_ptp_disable()
635 static void efx_ptp_handle_no_channel(struct efx_nic *efx) in efx_ptp_handle_no_channel()
645 static void efx_ptp_send_times(struct efx_nic *efx, in efx_ptp_send_times()
713 efx_ptp_process_times(struct efx_nic *efx, MCDI_DECLARE_STRUCT_PTR(synch_buf), in efx_ptp_process_times()
[all …]
Dsiena.c32 static void siena_init_wol(struct efx_nic *efx);
54 void siena_prepare_flush(struct efx_nic *efx) in siena_prepare_flush()
60 void siena_finish_flush(struct efx_nic *efx) in siena_finish_flush()
95 static int siena_test_chip(struct efx_nic *efx, struct efx_self_tests *tests) in siena_test_chip()
127 static void siena_ptp_write_host_time(struct efx_nic *efx, u32 host_time) in siena_ptp_write_host_time()
133 static int siena_ptp_set_ts_config(struct efx_nic *efx, in siena_ptp_set_ts_config()
207 static void siena_monitor(struct efx_nic *efx) in siena_monitor()
215 static int siena_probe_nvconfig(struct efx_nic *efx) in siena_probe_nvconfig()
228 static int siena_dimension_resources(struct efx_nic *efx) in siena_dimension_resources()
238 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 …]
Dfarch.c89 static inline void efx_write_buf_tbl(struct efx_nic *efx, efx_qword_t *value, in efx_write_buf_tbl()
103 int efx_farch_test_registers(struct efx_nic *efx, in efx_farch_test_registers()
172 efx_init_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) in efx_init_special_buffer()
198 efx_fini_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) in efx_fini_special_buffer()
227 static int efx_alloc_special_buffer(struct efx_nic *efx, in efx_alloc_special_buffer()
260 efx_free_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) in efx_free_special_buffer()
361 struct efx_nic *efx = tx_queue->efx; in efx_farch_tx_probe()
371 struct efx_nic *efx = tx_queue->efx; in efx_farch_tx_init()
427 struct efx_nic *efx = tx_queue->efx; in efx_farch_flush_tx_queue()
441 struct efx_nic *efx = tx_queue->efx; in efx_farch_tx_fini()
[all …]
Dsiena_sriov.c88 struct efx_nic *efx;
198 static int efx_siena_sriov_cmd(struct efx_nic *efx, bool enable, in efx_siena_sriov_cmd()
231 static void efx_siena_sriov_usrev(struct efx_nic *efx, bool enabled) in efx_siena_sriov_usrev()
242 static int efx_siena_sriov_memcpy(struct efx_nic *efx, in efx_siena_sriov_memcpy()
305 struct efx_nic *efx = vf->efx; in efx_siena_sriov_reset_tx_filter()
349 struct efx_nic *efx = vf->efx; in efx_siena_sriov_reset_rx_filter()
388 struct efx_nic *efx = vf->efx; in __efx_siena_sriov_update_vf_addr()
403 struct efx_nic *efx = vf->efx; in __efx_siena_sriov_push_vf_status()
479 static void efx_siena_sriov_bufs(struct efx_nic *efx, unsigned offset, in efx_siena_sriov_bufs()
496 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()
133 static int efx_test_interrupts(struct efx_nic *efx, in efx_test_interrupts()
167 static int efx_test_eventq_irq(struct efx_nic *efx, in efx_test_eventq_irq()
248 static int efx_test_phy(struct efx_nic *efx, struct efx_self_tests *tests, in efx_test_phy()
278 void efx_loopback_rx_packet(struct efx_nic *efx, in efx_loopback_rx_packet()
370 static void efx_iterate_state(struct efx_nic *efx) in efx_iterate_state()
407 struct efx_nic *efx = tx_queue->efx; in efx_begin_loopback()
455 static int efx_poll_loopback(struct efx_nic *efx) in efx_poll_loopback()
465 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.4.14/Documentation/i2c/
Dinstantiating-devices108 int sfe4001_init(struct efx_nic *efx)