Home
last modified time | relevance | path

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

123

/linux/drivers/net/ethernet/sfc/siena/
H A Defx_common.c124 void efx_siena_queue_reset_work(struct efx_nic *efx) in efx_siena_queue_reset_work()
129 void efx_siena_flush_reset_workqueue(struct efx_nic *efx) in efx_siena_flush_reset_workqueue()
145 void efx_siena_mac_reconfigure(struct efx_nic *efx, bool mtu_only) in efx_siena_mac_reconfigure()
160 struct efx_nic *efx = container_of(data, struct efx_nic, mac_work); in efx_mac_work() local
170 struct efx_nic *efx = netdev_priv(net_dev); in efx_siena_set_mac_address() local
205 struct efx_nic *efx = netdev_priv(net_dev); in efx_siena_set_rx_mode() local
214 struct efx_nic *efx = netdev_priv(net_dev); in efx_siena_set_features() local
242 void efx_siena_link_status_changed(struct efx_nic *efx) in efx_siena_link_status_changed()
273 unsigned int efx_siena_xdp_max_mtu(struct efx_nic *efx) in efx_siena_xdp_max_mtu()
288 struct efx_nic *efx = netdev_priv(net_dev); in efx_siena_change_mtu() local
[all …]
H A Defx.c111 #define EFX_ASSERT_RESET_SERIALISED(efx) \ argument
127 static int efx_probe_port(struct efx_nic *efx) in efx_probe_port()
147 static int efx_init_port(struct efx_nic *efx) in efx_init_port()
170 static void efx_fini_port(struct efx_nic *efx) in efx_fini_port()
183 static void efx_remove_port(struct efx_nic *efx) in efx_remove_port()
206 static void efx_associate(struct efx_nic *efx) in efx_associate()
251 static void efx_dissociate(struct efx_nic *efx) in efx_dissociate()
267 static int efx_probe_nic(struct efx_nic *efx) in efx_probe_nic()
328 static void efx_remove_nic(struct efx_nic *efx) in efx_remove_nic()
342 static int efx_probe_all(struct efx_nic *efx) in efx_probe_all()
[all …]
H A Defx.h47 #define EFX_TXQ_MIN_ENT(efx) (2 * efx_siena_tx_max_skb_descs(efx)) argument
52 #define EFX_TXQ_MAX_ENT(efx) (EFX_WORKAROUND_EF10(efx) ? \ argument
55 static inline bool efx_rss_enabled(struct efx_nic *efx) in efx_rss_enabled()
87 static inline s32 efx_filter_insert_filter(struct efx_nic *efx, in efx_filter_insert_filter()
103 static inline int efx_filter_remove_id_safe(struct efx_nic *efx, in efx_filter_remove_id_safe()
121 efx_filter_get_filter_safe(struct efx_nic *efx, in efx_filter_get_filter_safe()
128 static inline u32 efx_filter_count_rx_used(struct efx_nic *efx, in efx_filter_count_rx_used()
133 static inline u32 efx_filter_get_rx_id_limit(struct efx_nic *efx) in efx_filter_get_rx_id_limit()
137 static inline s32 efx_filter_get_rx_ids(struct efx_nic *efx, in efx_filter_get_rx_ids()
168 static inline int efx_mtd_probe(struct efx_nic *efx) in efx_mtd_probe()
[all …]
H A Dmcdi.c62 int efx_siena_mcdi_init(struct efx_nic *efx) in efx_siena_mcdi_init()
128 void efx_siena_mcdi_detach(struct efx_nic *efx) in efx_siena_mcdi_detach()
139 void efx_siena_mcdi_fini(struct efx_nic *efx) in efx_siena_mcdi_fini()
151 static void efx_mcdi_send_request(struct efx_nic *efx, unsigned cmd, in efx_mcdi_send_request()
266 static void efx_mcdi_read_response_header(struct efx_nic *efx) in efx_mcdi_read_response_header()
341 static bool efx_mcdi_poll_once(struct efx_nic *efx) in efx_mcdi_poll_once()
356 static int efx_mcdi_poll(struct efx_nic *efx) in efx_mcdi_poll()
405 int efx_siena_mcdi_poll_reboot(struct efx_nic *efx) in efx_siena_mcdi_poll_reboot()
431 static int efx_mcdi_await_completion(struct efx_nic *efx) in efx_mcdi_await_completion()
472 struct efx_nic *efx = mcdi->efx; in efx_mcdi_release() local
[all …]
H 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()
129 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()
[all …]
H A Dmcdi_port_common.c15 static int efx_mcdi_get_phy_cfg(struct efx_nic *efx, in efx_mcdi_get_phy_cfg()
56 void efx_siena_link_set_advertising(struct efx_nic *efx, in efx_siena_link_set_advertising()
71 static int efx_mcdi_set_link(struct efx_nic *efx, u32 capabilities, in efx_mcdi_set_link()
87 static int efx_mcdi_loopback_modes(struct efx_nic *efx, u64 *loopback_modes) in efx_mcdi_loopback_modes()
233 static u32 efx_get_mcdi_phy_flags(struct efx_nic *efx) in efx_get_mcdi_phy_flags()
282 static void efx_mcdi_phy_decode_link(struct efx_nic *efx, in efx_mcdi_phy_decode_link()
375 static void efx_mcdi_phy_check_fcntl(struct efx_nic *efx, u32 lpa) in efx_mcdi_phy_check_fcntl()
401 bool efx_siena_mcdi_phy_poll(struct efx_nic *efx) in efx_siena_mcdi_phy_poll()
425 int efx_siena_mcdi_phy_probe(struct efx_nic *efx) in efx_siena_mcdi_phy_probe()
531 void efx_siena_mcdi_phy_remove(struct efx_nic *efx) in efx_siena_mcdi_phy_remove()
[all …]
H A Defx_channels.c55 static unsigned int count_online_cores(struct efx_nic *efx, bool local_node) in count_online_cores()
83 static unsigned int efx_wanted_parallelism(struct efx_nic *efx) in efx_wanted_parallelism()
125 static int efx_allocate_msix_channels(struct efx_nic *efx, in efx_allocate_msix_channels()
248 int efx_siena_probe_interrupts(struct efx_nic *efx) in efx_siena_probe_interrupts()
364 void efx_siena_set_interrupt_affinity(struct efx_nic *efx) in efx_siena_set_interrupt_affinity()
383 void efx_siena_clear_interrupt_affinity(struct efx_nic *efx) in efx_siena_clear_interrupt_affinity()
402 void efx_siena_remove_interrupts(struct efx_nic *efx) in efx_siena_remove_interrupts()
427 struct efx_nic *efx = channel->efx; in efx_probe_eventq() local
446 struct efx_nic *efx = channel->efx; in efx_init_eventq() local
532 static struct efx_channel *efx_alloc_channel(struct efx_nic *efx, int i) in efx_alloc_channel()
[all …]
H A Dfarch.c88 static inline void efx_write_buf_tbl(struct efx_nic *efx, efx_qword_t *value, in efx_write_buf_tbl()
102 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()
373 struct efx_nic *efx = tx_queue->efx; in efx_farch_tx_probe() local
386 struct efx_nic *efx = tx_queue->efx; in efx_farch_tx_init() local
425 struct efx_nic *efx = tx_queue->efx; in efx_farch_flush_tx_queue() local
439 struct efx_nic *efx = tx_queue->efx; in efx_farch_tx_fini() local
[all …]
H A Dselftest.c72 #define INT_MODE(efx) \ argument
104 static int efx_test_phy_alive(struct efx_nic *efx, struct efx_self_tests *tests) in efx_test_phy_alive()
114 static int efx_test_nvram(struct efx_nic *efx, struct efx_self_tests *tests) in efx_test_nvram()
136 static int efx_test_interrupts(struct efx_nic *efx, in efx_test_interrupts()
178 static int efx_test_eventq_irq(struct efx_nic *efx, in efx_test_eventq_irq()
259 static int efx_test_phy(struct efx_nic *efx, struct efx_self_tests *tests, in efx_test_phy()
286 void efx_siena_loopback_rx_packet(struct efx_nic *efx, in efx_siena_loopback_rx_packet()
380 static void efx_iterate_state(struct efx_nic *efx) in efx_iterate_state()
418 struct efx_nic *efx = tx_queue->efx; in efx_begin_loopback() local
469 static int efx_poll_loopback(struct efx_nic *efx) in efx_poll_loopback()
[all …]
/linux/drivers/net/ethernet/sfc/
H A Defx.c118 static int efx_probe_port(struct efx_nic *efx) in efx_probe_port()
138 static int efx_init_port(struct efx_nic *efx) in efx_init_port()
161 static void efx_fini_port(struct efx_nic *efx) in efx_fini_port()
174 static void efx_remove_port(struct efx_nic *efx) in efx_remove_port()
197 static void efx_associate(struct efx_nic *efx) in efx_associate()
242 static void efx_dissociate(struct efx_nic *efx) in efx_dissociate()
258 static int efx_probe_nic(struct efx_nic *efx) in efx_probe_nic()
319 static void efx_remove_nic(struct efx_nic *efx) in efx_remove_nic()
333 static int efx_probe_all(struct efx_nic *efx) in efx_probe_all()
392 static void efx_remove_all(struct efx_nic *efx) in efx_remove_all()
[all …]
H A Def10.c45 static int efx_ef10_get_warm_boot_count(struct efx_nic *efx) in efx_ef10_get_warm_boot_count()
58 static unsigned int efx_ef10_pf_mem_bar(struct efx_nic *efx) in efx_ef10_pf_mem_bar()
69 static unsigned int efx_ef10_vf_mem_bar(struct efx_nic *efx) in efx_ef10_vf_mem_bar()
74 static unsigned int efx_ef10_mem_map_size(struct efx_nic *efx) in efx_ef10_mem_map_size()
82 static bool efx_ef10_is_vf(struct efx_nic *efx) in efx_ef10_is_vf()
88 static int efx_ef10_get_vf_index(struct efx_nic *efx) in efx_ef10_get_vf_index()
107 static int efx_ef10_init_datapath_caps(struct efx_nic *efx) in efx_ef10_init_datapath_caps()
183 static void efx_ef10_read_licensed_features(struct efx_nic *efx) in efx_ef10_read_licensed_features()
202 static int efx_ef10_get_sysclk_freq(struct efx_nic *efx) in efx_ef10_get_sysclk_freq()
215 static int efx_ef10_get_timer_workarounds(struct efx_nic *efx) in efx_ef10_get_timer_workarounds()
[all …]
H A 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()
147 static void efx_ef10_sriov_free_vf_vswitching(struct efx_nic *efx) in efx_ef10_sriov_free_vf_vswitching()
156 static int efx_ef10_sriov_assign_vf_vport(struct efx_nic *efx, in efx_ef10_sriov_assign_vf_vport()
186 static int efx_ef10_sriov_alloc_vf_vswitching(struct efx_nic *efx) in efx_ef10_sriov_alloc_vf_vswitching()
213 static int efx_ef10_sriov_restore_vf_vswitching(struct efx_nic *efx) in efx_ef10_sriov_restore_vf_vswitching()
[all …]
H A Dmcdi_port_common.c15 int efx_mcdi_get_phy_cfg(struct efx_nic *efx, struct efx_mcdi_phy_data *cfg) in efx_mcdi_get_phy_cfg()
55 void efx_link_set_advertising(struct efx_nic *efx, in efx_link_set_advertising()
70 int efx_mcdi_set_link(struct efx_nic *efx, u32 capabilities, in efx_mcdi_set_link()
86 int efx_mcdi_loopback_modes(struct efx_nic *efx, u64 *loopback_modes) in efx_mcdi_loopback_modes()
232 u32 efx_get_mcdi_phy_flags(struct efx_nic *efx) in efx_get_mcdi_phy_flags()
281 void efx_mcdi_phy_decode_link(struct efx_nic *efx, in efx_mcdi_phy_decode_link()
374 void efx_mcdi_phy_check_fcntl(struct efx_nic *efx, u32 lpa) in efx_mcdi_phy_check_fcntl()
400 bool efx_mcdi_phy_poll(struct efx_nic *efx) in efx_mcdi_phy_poll()
424 int efx_mcdi_phy_probe(struct efx_nic *efx) in efx_mcdi_phy_probe()
530 void efx_mcdi_phy_remove(struct efx_nic *efx) in efx_mcdi_phy_remove()
[all …]
H A Defx_channels.c55 static unsigned int count_online_cores(struct efx_nic *efx, bool local_node) in count_online_cores()
83 static unsigned int efx_wanted_parallelism(struct efx_nic *efx) in efx_wanted_parallelism()
124 static int efx_allocate_msix_channels(struct efx_nic *efx, in efx_allocate_msix_channels()
247 int efx_probe_interrupts(struct efx_nic *efx) in efx_probe_interrupts()
363 void efx_set_interrupt_affinity(struct efx_nic *efx) in efx_set_interrupt_affinity()
382 void efx_clear_interrupt_affinity(struct efx_nic *efx) in efx_clear_interrupt_affinity()
391 efx_set_interrupt_affinity(struct efx_nic *efx __attribute__ ((unused))) in efx_set_interrupt_affinity()
396 efx_clear_interrupt_affinity(struct efx_nic *efx __attribute__ ((unused))) in efx_clear_interrupt_affinity()
401 void efx_remove_interrupts(struct efx_nic *efx) in efx_remove_interrupts()
426 struct efx_nic *efx = channel->efx; in efx_probe_eventq() local
[all …]
H A Dmcdi_filters.c93 efx_mcdi_filter_push_prep_set_match_fields(struct efx_nic *efx, in efx_mcdi_filter_push_prep_set_match_fields()
194 static void efx_mcdi_filter_push_prep(struct efx_nic *efx, in efx_mcdi_filter_push_prep()
246 static int efx_mcdi_filter_push(struct efx_nic *efx, in efx_mcdi_filter_push()
343 static s32 efx_mcdi_filter_insert_locked(struct efx_nic *efx, in efx_mcdi_filter_insert_locked()
556 s32 efx_mcdi_filter_insert(struct efx_nic *efx, struct efx_filter_spec *spec, in efx_mcdi_filter_insert()
576 static int efx_mcdi_filter_remove_internal(struct efx_nic *efx, in efx_mcdi_filter_remove_internal()
652 static void efx_mcdi_filter_remove_old(struct efx_nic *efx) in efx_mcdi_filter_remove_old()
684 int efx_mcdi_filter_remove_safe(struct efx_nic *efx, in efx_mcdi_filter_remove_safe()
702 static void efx_mcdi_filter_remove_unsafe(struct efx_nic *efx, in efx_mcdi_filter_remove_unsafe()
717 int efx_mcdi_filter_get_safe(struct efx_nic *efx, in efx_mcdi_filter_get_safe()
[all …]
H A Dtc.c42 struct efx_rep *efx_tc_flower_lookup_efv(struct efx_nic *efx, in efx_tc_flower_lookup_efv()
65 static s64 efx_tc_flower_internal_mport(struct efx_nic *efx, struct efx_rep *efv) in efx_tc_flower_internal_mport()
79 s64 efx_tc_flower_external_mport(struct efx_nic *efx, struct efx_rep *efv) in efx_tc_flower_external_mport()
122 static struct efx_tc_mac_pedit_action *efx_tc_flower_get_mac(struct efx_nic *efx, in efx_tc_flower_get_mac()
163 static void efx_tc_flower_put_mac(struct efx_nic *efx, in efx_tc_flower_put_mac()
174 static void efx_tc_free_action_set(struct efx_nic *efx, in efx_tc_free_action_set()
206 static void efx_tc_free_action_set_list(struct efx_nic *efx, in efx_tc_free_action_set_list()
238 static int efx_tc_flower_parse_match(struct efx_nic *efx, in efx_tc_flower_parse_match()
464 static void efx_tc_flower_release_encap_match(struct efx_nic *efx, in efx_tc_flower_release_encap_match()
489 static int efx_tc_flower_record_encap_match(struct efx_nic *efx, in efx_tc_flower_record_encap_match()
[all …]
H A Def100_netdev.c30 static void ef100_update_name(struct efx_nic *efx) in ef100_update_name()
35 static int ef100_alloc_vis(struct efx_nic *efx, unsigned int *allocated_vis) in ef100_alloc_vis()
66 static int ef100_remap_bar(struct efx_nic *efx, int max_vis) in ef100_remap_bar()
93 struct efx_nic *efx = efx_netdev_priv(net_dev); in ef100_net_stop() local
119 struct efx_nic *efx = efx_netdev_priv(net_dev); in ef100_net_open() local
242 struct efx_nic *efx = efx_netdev_priv(net_dev); in ef100_hard_start_xmit() local
248 struct efx_nic *efx, in __ef100_hard_start_xmit()
302 struct efx_nic *efx = container_of(this, struct efx_nic, netdev_notifier); in ef100_netdev_event() local
323 struct efx_nic *efx = container_of(this, struct efx_nic, netevent_notifier); in ef100_netevent_event() local
336 static int ef100_register_netdev(struct efx_nic *efx) in ef100_register_netdev()
[all …]
H A Dptp.c294 struct efx_nic *efx; member
364 bool efx_ptp_use_mac_tx_timestamps(struct efx_nic *efx) in efx_ptp_use_mac_tx_timestamps()
402 size_t efx_ptp_describe_stats(struct efx_nic *efx, u8 **strings) in efx_ptp_describe_stats()
411 size_t efx_ptp_update_stats(struct efx_nic *efx, u64 *stats) in efx_ptp_update_stats()
526 struct efx_channel *efx_ptp_channel(struct efx_nic *efx) in efx_ptp_channel()
531 void efx_ptp_update_channel(struct efx_nic *efx, struct efx_channel *channel) in efx_ptp_update_channel()
537 static u32 last_sync_timestamp_major(struct efx_nic *efx) in last_sync_timestamp_major()
551 efx_ptp_mac_nic_to_ktime_correction(struct efx_nic *efx, in efx_ptp_mac_nic_to_ktime_correction()
604 struct efx_nic *efx = tx_queue->efx; in efx_ptp_nic_to_kernel_time() local
622 static int efx_ptp_get_attributes(struct efx_nic *efx) in efx_ptp_get_attributes()
[all …]
H A Dselftest.c71 #define INT_MODE(efx) \ argument
103 static int efx_test_phy_alive(struct efx_nic *efx, struct efx_self_tests *tests) in efx_test_phy_alive()
113 static int efx_test_nvram(struct efx_nic *efx, struct efx_self_tests *tests) in efx_test_nvram()
135 static int efx_test_interrupts(struct efx_nic *efx, in efx_test_interrupts()
177 static int efx_test_eventq_irq(struct efx_nic *efx, in efx_test_eventq_irq()
258 static int efx_test_phy(struct efx_nic *efx, struct efx_self_tests *tests, in efx_test_phy()
285 void efx_loopback_rx_packet(struct efx_nic *efx, in efx_loopback_rx_packet()
379 static void efx_iterate_state(struct efx_nic *efx) in efx_iterate_state()
417 struct efx_nic *efx = tx_queue->efx; in efx_begin_loopback() local
468 static int efx_poll_loopback(struct efx_nic *efx) in efx_poll_loopback()
[all …]
H A Dtc_conntrack.c33 struct efx_nic *efx = zone->efx; in efx_tc_ct_zone_free() local
46 struct efx_nic *efx = arg; in efx_tc_ct_free() local
59 int efx_tc_init_conntrack(struct efx_nic *efx) in efx_tc_init_conntrack()
79 void efx_tc_destroy_conntrack(struct efx_nic *efx) in efx_tc_destroy_conntrack()
85 void efx_tc_fini_conntrack(struct efx_nic *efx) in efx_tc_fini_conntrack()
93 static int efx_tc_ct_parse_match(struct efx_nic *efx, struct flow_rule *fr, in efx_tc_ct_parse_match()
290 static int efx_tc_ct_mangle(struct efx_nic *efx, struct efx_tc_ct_entry *conn, in efx_tc_ct_mangle()
358 struct efx_nic *efx = ct_zone->efx; in efx_tc_ct_replace() local
456 static void efx_tc_ct_remove(struct efx_nic *efx, struct efx_tc_ct_entry *conn) in efx_tc_ct_remove()
475 static void efx_tc_ct_remove_finish(struct efx_nic *efx, struct efx_tc_ct_entry *conn) in efx_tc_ct_remove_finish()
[all …]
/linux/drivers/net/ethernet/sfc/falcon/
H A 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 …]
H A 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 …]
H A 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 phy_flash_cfg_show() local
368 struct ef4_nic *efx = dev_get_drvdata(dev); in phy_flash_cfg_store() local
[all …]
H A 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 …]
H A Dselftest.c69 #define INT_MODE(efx) \ argument
101 static int ef4_test_phy_alive(struct ef4_nic *efx, struct ef4_self_tests *tests) in ef4_test_phy_alive()
113 static int ef4_test_nvram(struct ef4_nic *efx, struct ef4_self_tests *tests) in ef4_test_nvram()
135 static int ef4_test_interrupts(struct ef4_nic *efx, in ef4_test_interrupts()
177 static int ef4_test_eventq_irq(struct ef4_nic *efx, in ef4_test_eventq_irq()
258 static int ef4_test_phy(struct ef4_nic *efx, struct ef4_self_tests *tests, in ef4_test_phy()
288 void ef4_loopback_rx_packet(struct ef4_nic *efx, in ef4_loopback_rx_packet()
382 static void ef4_iterate_state(struct ef4_nic *efx) in ef4_iterate_state()
420 struct ef4_nic *efx = tx_queue->efx; in ef4_begin_loopback() local
471 static int ef4_poll_loopback(struct ef4_nic *efx) in ef4_poll_loopback()
[all …]

123