Home
last modified time | relevance | path

Searched defs:efx (Results 1 – 25 of 47) sorted by relevance

12

/Linux-v5.4/drivers/net/ethernet/sfc/
Defx.c230 #define EFX_ASSERT_RESET_SERIALISED(efx) \ argument
238 static int efx_check_disabled(struct efx_nic *efx) in efx_check_disabled()
309 static void efx_update_irq_mod(struct efx_nic *efx, struct efx_channel *channel) in efx_update_irq_mod()
334 struct efx_nic *efx = channel->efx; in efx_poll() local
374 struct efx_nic *efx = channel->efx; in efx_probe_eventq() local
392 struct efx_nic *efx = channel->efx; in efx_init_eventq() local
461 efx_alloc_channel(struct efx_nic *efx, int i, struct efx_channel *old_channel) in efx_alloc_channel()
577 struct efx_nic *efx = channel->efx; in efx_get_channel_name() local
593 static void efx_set_channel_names(struct efx_nic *efx) in efx_set_channel_names()
603 static int efx_probe_channels(struct efx_nic *efx) in efx_probe_channels()
[all …]
Dsiena.c33 struct efx_nic *efx = channel->efx; in siena_push_irq_moderation() local
55 void siena_prepare_flush(struct efx_nic *efx) in siena_prepare_flush()
61 void siena_finish_flush(struct efx_nic *efx) in siena_finish_flush()
96 static int siena_test_chip(struct efx_nic *efx, struct efx_self_tests *tests) in siena_test_chip()
128 static void siena_ptp_write_host_time(struct efx_nic *efx, u32 host_time) in siena_ptp_write_host_time()
134 static int siena_ptp_set_ts_config(struct efx_nic *efx, in siena_ptp_set_ts_config()
208 static void siena_monitor(struct efx_nic *efx) in siena_monitor()
216 static int siena_probe_nvconfig(struct efx_nic *efx) in siena_probe_nvconfig()
232 static int siena_dimension_resources(struct efx_nic *efx) in siena_dimension_resources()
245 static unsigned int siena_mem_bar(struct efx_nic *efx) in siena_mem_bar()
[all …]
Def10_sriov.c15 static int efx_ef10_evb_port_assign(struct efx_nic *efx, unsigned int port_id, in efx_ef10_evb_port_assign()
30 static int efx_ef10_vswitch_alloc(struct efx_nic *efx, unsigned int port_id, in efx_ef10_vswitch_alloc()
59 static int efx_ef10_vswitch_free(struct efx_nic *efx, unsigned int port_id) in efx_ef10_vswitch_free()
69 static int efx_ef10_vport_alloc(struct efx_nic *efx, in efx_ef10_vport_alloc()
103 static int efx_ef10_vport_free(struct efx_nic *efx, unsigned int port_id) in efx_ef10_vport_free()
113 static void efx_ef10_sriov_free_vf_vports(struct efx_nic *efx) in efx_ef10_sriov_free_vf_vports()
148 static void efx_ef10_sriov_free_vf_vswitching(struct efx_nic *efx) in efx_ef10_sriov_free_vf_vswitching()
157 static int efx_ef10_sriov_assign_vf_vport(struct efx_nic *efx, in efx_ef10_sriov_assign_vf_vport()
187 static int efx_ef10_sriov_alloc_vf_vswitching(struct efx_nic *efx) in efx_ef10_sriov_alloc_vf_vswitching()
216 static int efx_ef10_sriov_restore_vf_vswitching(struct efx_nic *efx) in efx_ef10_sriov_restore_vf_vswitching()
[all …]
Dio.h79 static inline void _efx_writeq(struct efx_nic *efx, __le64 value, in _efx_writeq()
84 static inline __le64 _efx_readq(struct efx_nic *efx, unsigned int reg) in _efx_readq()
90 static inline void _efx_writed(struct efx_nic *efx, __le32 value, in _efx_writed()
95 static inline __le32 _efx_readd(struct efx_nic *efx, unsigned int reg) in _efx_readd()
101 static inline void efx_writeo(struct efx_nic *efx, const efx_oword_t *value, in efx_writeo()
124 static inline void efx_sram_writeq(struct efx_nic *efx, void __iomem *membase, in efx_sram_writeq()
145 static inline void efx_writed(struct efx_nic *efx, const efx_dword_t *value, in efx_writed()
157 static inline void efx_reado(struct efx_nic *efx, efx_oword_t *value, in efx_reado()
175 static inline void efx_sram_readq(struct efx_nic *efx, void __iomem *membase, in efx_sram_readq()
196 static inline void efx_readd(struct efx_nic *efx, efx_dword_t *value, in efx_readd()
[all …]
Defx.h68 #define EFX_TXQ_MIN_ENT(efx) (2 * efx_tx_max_skb_descs(efx)) argument
73 #define EFX_TXQ_MAX_ENT(efx) (EFX_WORKAROUND_EF10(efx) ? \ argument
76 static inline bool efx_rss_enabled(struct efx_nic *efx) in efx_rss_enabled()
110 static inline s32 efx_filter_insert_filter(struct efx_nic *efx, in efx_filter_insert_filter()
126 static inline int efx_filter_remove_id_safe(struct efx_nic *efx, in efx_filter_remove_id_safe()
144 efx_filter_get_filter_safe(struct efx_nic *efx, in efx_filter_get_filter_safe()
151 static inline u32 efx_filter_count_rx_used(struct efx_nic *efx, in efx_filter_count_rx_used()
156 static inline u32 efx_filter_get_rx_id_limit(struct efx_nic *efx) in efx_filter_get_rx_id_limit()
160 static inline s32 efx_filter_get_rx_ids(struct efx_nic *efx, in efx_filter_get_rx_ids()
257 static inline int efx_mtd_probe(struct efx_nic *efx) in efx_mtd_probe()
[all …]
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()
150 static void efx_mcdi_send_request(struct efx_nic *efx, unsigned cmd, in efx_mcdi_send_request()
263 static void efx_mcdi_read_response_header(struct efx_nic *efx) in efx_mcdi_read_response_header()
338 static bool efx_mcdi_poll_once(struct efx_nic *efx) in efx_mcdi_poll_once()
353 static int efx_mcdi_poll(struct efx_nic *efx) in efx_mcdi_poll()
402 int efx_mcdi_poll_reboot(struct efx_nic *efx) in efx_mcdi_poll_reboot()
428 static int efx_mcdi_await_completion(struct efx_nic *efx) in efx_mcdi_await_completion()
469 struct efx_nic *efx = mcdi->efx; in efx_mcdi_release() local
[all …]
Def10.c146 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()
[all …]
Dmcdi_port.c33 efx_mcdi_get_phy_cfg(struct efx_nic *efx, struct efx_mcdi_phy_data *cfg) in efx_mcdi_get_phy_cfg()
73 static int efx_mcdi_set_link(struct efx_nic *efx, u32 capabilities, in efx_mcdi_set_link()
92 static int efx_mcdi_loopback_modes(struct efx_nic *efx, u64 *loopback_modes) in efx_mcdi_loopback_modes()
121 struct efx_nic *efx = netdev_priv(net_dev); in efx_mcdi_mdio_read() local
147 struct efx_nic *efx = netdev_priv(net_dev); in efx_mcdi_mdio_write() local
276 static u32 efx_get_mcdi_phy_flags(struct efx_nic *efx) in efx_get_mcdi_phy_flags()
325 static void efx_mcdi_phy_decode_link(struct efx_nic *efx, in efx_mcdi_phy_decode_link()
411 static int efx_mcdi_phy_probe(struct efx_nic *efx) in efx_mcdi_phy_probe()
517 int efx_mcdi_port_reconfigure(struct efx_nic *efx) in efx_mcdi_port_reconfigure()
533 static void efx_mcdi_phy_check_fcntl(struct efx_nic *efx, u32 lpa) in efx_mcdi_phy_check_fcntl()
[all …]
Dfarch.c86 static inline void efx_write_buf_tbl(struct efx_nic *efx, efx_qword_t *value, in efx_write_buf_tbl()
100 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()
371 struct efx_nic *efx = tx_queue->efx; in efx_farch_tx_probe() local
382 struct efx_nic *efx = tx_queue->efx; in efx_farch_tx_init() local
419 struct efx_nic *efx = tx_queue->efx; in efx_farch_flush_tx_queue() local
433 struct efx_nic *efx = tx_queue->efx; in efx_farch_tx_fini() local
[all …]
Dethtool.c103 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_phys_id() local
129 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_link_ksettings() local
159 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_set_link_ksettings() local
179 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_drvinfo() local
196 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_regs() local
204 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_msglevel() local
210 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_set_msglevel() local
269 static int efx_fill_loopback_test(struct efx_nic *efx, in efx_fill_loopback_test()
314 static int efx_ethtool_fill_self_tests(struct efx_nic *efx, in efx_ethtool_fill_self_tests()
374 static size_t efx_describe_per_queue_stats(struct efx_nic *efx, u8 *strings) in efx_describe_per_queue_stats()
[all …]
Dselftest.c64 #define INT_MODE(efx) \ argument
96 static int efx_test_phy_alive(struct efx_nic *efx, struct efx_self_tests *tests) in efx_test_phy_alive()
108 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()
172 static int efx_test_eventq_irq(struct efx_nic *efx, in efx_test_eventq_irq()
253 static int efx_test_phy(struct efx_nic *efx, struct efx_self_tests *tests, in efx_test_phy()
283 void efx_loopback_rx_packet(struct efx_nic *efx, in efx_loopback_rx_packet()
375 static void efx_iterate_state(struct efx_nic *efx) in efx_iterate_state()
412 struct efx_nic *efx = tx_queue->efx; in efx_begin_loopback() local
459 static int efx_poll_loopback(struct efx_nic *efx) in efx_poll_loopback()
[all …]
Dworkarounds.h15 #define EFX_WORKAROUND_SIENA(efx) (efx_nic_rev(efx) == EFX_REV_SIENA_A0) argument
16 #define EFX_WORKAROUND_EF10(efx) (efx_nic_rev(efx) >= EFX_REV_HUNT_A0) argument
17 #define EFX_WORKAROUND_10G(efx) 1 argument
25 #define EFX_EF10_WORKAROUND_35388(efx) \ argument
27 #define EFX_WORKAROUND_35388(efx) \ argument
31 #define EFX_EF10_WORKAROUND_61265(efx) \ argument
Dsiena_sriov.c85 struct efx_nic *efx; member
195 static int efx_siena_sriov_cmd(struct efx_nic *efx, bool enable, in efx_siena_sriov_cmd()
228 static void efx_siena_sriov_usrev(struct efx_nic *efx, bool enabled) in efx_siena_sriov_usrev()
239 static int efx_siena_sriov_memcpy(struct efx_nic *efx, in efx_siena_sriov_memcpy()
302 struct efx_nic *efx = vf->efx; in efx_siena_sriov_reset_tx_filter() local
346 struct efx_nic *efx = vf->efx; in efx_siena_sriov_reset_rx_filter() local
385 struct efx_nic *efx = vf->efx; in __efx_siena_sriov_update_vf_addr() local
400 struct efx_nic *efx = vf->efx; in __efx_siena_sriov_push_vf_status() local
476 static void efx_siena_sriov_bufs(struct efx_nic *efx, unsigned offset, in efx_siena_sriov_bufs()
493 static bool bad_vf_index(struct efx_nic *efx, unsigned index) in bad_vf_index()
[all …]
Dptp.c280 struct efx_nic *efx; member
353 bool efx_ptp_use_mac_tx_timestamps(struct efx_nic *efx) in efx_ptp_use_mac_tx_timestamps()
396 size_t efx_ptp_describe_stats(struct efx_nic *efx, u8 *strings) in efx_ptp_describe_stats()
405 size_t efx_ptp_update_stats(struct efx_nic *efx, u64 *stats) in efx_ptp_update_stats()
539 struct efx_channel *efx_ptp_channel(struct efx_nic *efx) in efx_ptp_channel()
544 static u32 last_sync_timestamp_major(struct efx_nic *efx) in last_sync_timestamp_major()
558 efx_ptp_mac_nic_to_ktime_correction(struct efx_nic *efx, in efx_ptp_mac_nic_to_ktime_correction()
579 struct efx_nic *efx = tx_queue->efx; in efx_ptp_nic_to_kernel_time() local
597 static int efx_ptp_get_attributes(struct efx_nic *efx) in efx_ptp_get_attributes()
696 static int efx_ptp_get_timestamp_corrections(struct efx_nic *efx) in efx_ptp_get_timestamp_corrections()
[all …]
/Linux-v5.4/drivers/net/ethernet/sfc/falcon/
Defx.c207 #define EF4_ASSERT_RESET_SERIALISED(efx) \ argument
215 static int ef4_check_disabled(struct ef4_nic *efx) in ef4_check_disabled()
276 static void ef4_update_irq_mod(struct ef4_nic *efx, struct ef4_channel *channel) in ef4_update_irq_mod()
301 struct ef4_nic *efx = channel->efx; in ef4_poll() local
338 struct ef4_nic *efx = channel->efx; in ef4_probe_eventq() local
356 struct ef4_nic *efx = channel->efx; in ef4_init_eventq() local
425 ef4_alloc_channel(struct ef4_nic *efx, int i, struct ef4_channel *old_channel) in ef4_alloc_channel()
532 struct ef4_nic *efx = channel->efx; in ef4_get_channel_name() local
548 static void ef4_set_channel_names(struct ef4_nic *efx) in ef4_set_channel_names()
558 static int ef4_probe_channels(struct ef4_nic *efx) in ef4_probe_channels()
[all …]
Dio.h67 static inline void _ef4_writeq(struct ef4_nic *efx, __le64 value, in _ef4_writeq()
72 static inline __le64 _ef4_readq(struct ef4_nic *efx, unsigned int reg) in _ef4_readq()
78 static inline void _ef4_writed(struct ef4_nic *efx, __le32 value, in _ef4_writed()
83 static inline __le32 _ef4_readd(struct ef4_nic *efx, unsigned int reg) in _ef4_readd()
89 static inline void ef4_writeo(struct ef4_nic *efx, const ef4_oword_t *value, in ef4_writeo()
112 static inline void ef4_sram_writeq(struct ef4_nic *efx, void __iomem *membase, in ef4_sram_writeq()
133 static inline void ef4_writed(struct ef4_nic *efx, const ef4_dword_t *value, in ef4_writed()
145 static inline void ef4_reado(struct ef4_nic *efx, ef4_oword_t *value, in ef4_reado()
163 static inline void ef4_sram_readq(struct ef4_nic *efx, void __iomem *membase, in ef4_sram_readq()
184 static inline void ef4_readd(struct ef4_nic *efx, ef4_dword_t *value, in ef4_readd()
[all …]
Dfalcon.c133 #define FALCON_XMAC_STATS_DMA_FLAG(efx) \ argument
328 struct ef4_nic *efx = (struct ef4_nic *)data; in falcon_setsda() local
338 struct ef4_nic *efx = (struct ef4_nic *)data; in falcon_setscl() local
348 struct ef4_nic *efx = (struct ef4_nic *)data; in falcon_getsda() local
357 struct ef4_nic *efx = (struct ef4_nic *)data; in falcon_getscl() local
377 struct ef4_nic *efx = channel->efx; in falcon_push_irq_moderation() local
402 static void falcon_prepare_flush(struct ef4_nic *efx) in falcon_prepare_flush()
422 static inline void falcon_irq_ack_a1(struct ef4_nic *efx) in falcon_irq_ack_a1()
433 struct ef4_nic *efx = dev_id; in falcon_legacy_interrupt_a1() local
482 static int dummy_rx_push_rss_config(struct ef4_nic *efx, bool user, in dummy_rx_push_rss_config()
[all …]
Defx.h71 #define EF4_TXQ_MIN_ENT(efx) (2 * ef4_tx_max_skb_descs(efx)) argument
73 static inline bool ef4_rss_enabled(struct ef4_nic *efx) in ef4_rss_enabled()
107 static inline s32 ef4_filter_insert_filter(struct ef4_nic *efx, in ef4_filter_insert_filter()
123 static inline int ef4_filter_remove_id_safe(struct ef4_nic *efx, in ef4_filter_remove_id_safe()
141 ef4_filter_get_filter_safe(struct ef4_nic *efx, in ef4_filter_get_filter_safe()
148 static inline u32 ef4_filter_count_rx_used(struct ef4_nic *efx, in ef4_filter_count_rx_used()
153 static inline u32 ef4_filter_get_rx_id_limit(struct ef4_nic *efx) in ef4_filter_get_rx_id_limit()
157 static inline s32 ef4_filter_get_rx_ids(struct ef4_nic *efx, in ef4_filter_get_rx_ids()
221 static inline int ef4_mtd_probe(struct ef4_nic *efx) in ef4_mtd_probe()
228 static inline int ef4_mtd_probe(struct ef4_nic *efx) { return 0; } in ef4_mtd_probe()
[all …]
Dfarch.c84 static inline void ef4_write_buf_tbl(struct ef4_nic *efx, ef4_qword_t *value, in ef4_write_buf_tbl()
98 int ef4_farch_test_registers(struct ef4_nic *efx, in ef4_farch_test_registers()
168 ef4_init_special_buffer(struct ef4_nic *efx, struct ef4_special_buffer *buffer) in ef4_init_special_buffer()
194 ef4_fini_special_buffer(struct ef4_nic *efx, struct ef4_special_buffer *buffer) in ef4_fini_special_buffer()
223 static int ef4_alloc_special_buffer(struct ef4_nic *efx, in ef4_alloc_special_buffer()
249 ef4_free_special_buffer(struct ef4_nic *efx, struct ef4_special_buffer *buffer) in ef4_free_special_buffer()
365 struct ef4_nic *efx = tx_queue->efx; in ef4_farch_tx_probe() local
375 struct ef4_nic *efx = tx_queue->efx; in ef4_farch_tx_init() local
431 struct ef4_nic *efx = tx_queue->efx; in ef4_farch_flush_tx_queue() local
445 struct ef4_nic *efx = tx_queue->efx; in ef4_farch_tx_fini() local
[all …]
Dqt202x_phy.c73 static int qt2025c_wait_heartbeat(struct ef4_nic *efx) in qt2025c_wait_heartbeat()
105 static int qt2025c_wait_fw_status_good(struct ef4_nic *efx) in qt2025c_wait_fw_status_good()
127 static void qt2025c_restart_firmware(struct ef4_nic *efx) in qt2025c_restart_firmware()
135 static int qt2025c_wait_reset(struct ef4_nic *efx) in qt2025c_wait_reset()
160 static void qt2025c_firmware_id(struct ef4_nic *efx) in qt2025c_firmware_id()
180 static void qt2025c_bug17190_workaround(struct ef4_nic *efx) in qt2025c_bug17190_workaround()
213 static int qt2025c_select_phy_mode(struct ef4_nic *efx) in qt2025c_select_phy_mode()
306 static int qt202x_reset_phy(struct ef4_nic *efx) in qt202x_reset_phy()
339 static int qt202x_phy_probe(struct ef4_nic *efx) in qt202x_phy_probe()
357 static int qt202x_phy_init(struct ef4_nic *efx) in qt202x_phy_init()
[all …]
Dethtool.c93 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_phys_id() local
119 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_get_link_ksettings() local
143 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_set_link_ksettings() local
163 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_get_drvinfo() local
178 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_get_regs() local
186 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_get_msglevel() local
192 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_set_msglevel() local
251 static int ef4_fill_loopback_test(struct ef4_nic *efx, in ef4_fill_loopback_test()
296 static int ef4_ethtool_fill_self_tests(struct ef4_nic *efx, in ef4_ethtool_fill_self_tests()
356 static size_t ef4_describe_per_queue_stats(struct ef4_nic *efx, u8 *strings) in ef4_describe_per_queue_stats()
[all …]
Dtxc43128_phy.c171 void falcon_txc_set_gpio_val(struct ef4_nic *efx, int pin, int on) in falcon_txc_set_gpio_val()
177 void falcon_txc_set_gpio_dir(struct ef4_nic *efx, int pin, int dir) in falcon_txc_set_gpio_dir()
184 static int txc_reset_phy(struct ef4_nic *efx) in txc_reset_phy()
205 static int txc_bist_one(struct ef4_nic *efx, int mmd, int test) in txc_bist_one()
270 static int txc_bist(struct ef4_nic *efx) in txc_bist()
277 static void txc_apply_defaults(struct ef4_nic *efx) in txc_apply_defaults()
321 static int txc43128_phy_probe(struct ef4_nic *efx) in txc43128_phy_probe()
341 static int txc43128_phy_init(struct ef4_nic *efx) in txc43128_phy_init()
359 static void txc_glrgs_lane_power(struct ef4_nic *efx, int mmd) in txc_glrgs_lane_power()
373 static void txc_analog_lane_power(struct ef4_nic *efx, int mmd) in txc_analog_lane_power()
[all …]
Dfalcon_boards.c87 static int ef4_init_lm87(struct ef4_nic *efx, const struct i2c_board_info *info, in ef4_init_lm87()
116 static void ef4_fini_lm87(struct ef4_nic *efx) in ef4_fini_lm87()
121 static int ef4_check_lm87(struct ef4_nic *efx, unsigned mask) in ef4_check_lm87()
179 ef4_init_lm87(struct ef4_nic *efx, const struct i2c_board_info *info, in ef4_init_lm87()
184 static inline void ef4_fini_lm87(struct ef4_nic *efx) in ef4_fini_lm87()
187 static inline int ef4_check_lm87(struct ef4_nic *efx, unsigned mask) in ef4_check_lm87()
255 static void sfe4001_poweroff(struct ef4_nic *efx) in sfe4001_poweroff()
269 static int sfe4001_poweron(struct ef4_nic *efx) in sfe4001_poweron()
360 struct ef4_nic *efx = dev_get_drvdata(dev); in show_phy_flash_cfg() local
368 struct ef4_nic *efx = dev_get_drvdata(dev); in set_phy_flash_cfg() local
[all …]
Dmdio_10g.c51 static int ef4_mdio_check_mmd(struct ef4_nic *efx, int mmd) in ef4_mdio_check_mmd()
72 int ef4_mdio_wait_reset_mmds(struct ef4_nic *efx, unsigned int mmd_mask) in ef4_mdio_wait_reset_mmds()
113 int ef4_mdio_check_mmds(struct ef4_nic *efx, unsigned int mmd_mask) in ef4_mdio_check_mmds()
152 bool ef4_mdio_links_ok(struct ef4_nic *efx, unsigned int mmd_mask) in ef4_mdio_links_ok()
178 void ef4_mdio_transmit_disable(struct ef4_nic *efx) in ef4_mdio_transmit_disable()
185 void ef4_mdio_phy_reconfigure(struct ef4_nic *efx) in ef4_mdio_phy_reconfigure()
198 static void ef4_mdio_set_mmd_lpower(struct ef4_nic *efx, in ef4_mdio_set_mmd_lpower()
212 void ef4_mdio_set_mmds_lpower(struct ef4_nic *efx, in ef4_mdio_set_mmds_lpower()
230 int ef4_mdio_set_link_ksettings(struct ef4_nic *efx, in ef4_mdio_set_link_ksettings()
273 void ef4_mdio_an_reconfigure(struct ef4_nic *efx) in ef4_mdio_an_reconfigure()
[all …]
Dselftest.c64 #define INT_MODE(efx) \ argument
96 static int ef4_test_phy_alive(struct ef4_nic *efx, struct ef4_self_tests *tests) in ef4_test_phy_alive()
108 static int ef4_test_nvram(struct ef4_nic *efx, struct ef4_self_tests *tests) in ef4_test_nvram()
130 static int ef4_test_interrupts(struct ef4_nic *efx, in ef4_test_interrupts()
172 static int ef4_test_eventq_irq(struct ef4_nic *efx, in ef4_test_eventq_irq()
253 static int ef4_test_phy(struct ef4_nic *efx, struct ef4_self_tests *tests, in ef4_test_phy()
283 void ef4_loopback_rx_packet(struct ef4_nic *efx, in ef4_loopback_rx_packet()
375 static void ef4_iterate_state(struct ef4_nic *efx) in ef4_iterate_state()
412 struct ef4_nic *efx = tx_queue->efx; in ef4_begin_loopback() local
459 static int ef4_poll_loopback(struct ef4_nic *efx) in ef4_poll_loopback()
[all …]

12