Home
last modified time | relevance | path

Searched refs:ef4_nic (Results 1 – 21 of 21) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/sfc/falcon/
A Defx.h39 void ef4_rx_config_page_split(struct ef4_nic *efx);
80 void ef4_mac_reconfigure(struct ef4_nic *efx);
141 ef4_filter_get_filter_safe(struct ef4_nic *efx, in ef4_filter_get_filter_safe()
186 int ef4_reconfigure_port(struct ef4_nic *efx);
187 int __ef4_reconfigure_port(struct ef4_nic *efx);
196 int ef4_try_recovery(struct ef4_nic *efx);
211 int ef4_port_dummy_op_int(struct ef4_nic *efx);
212 void ef4_port_dummy_op_void(struct ef4_nic *efx);
225 void ef4_mtd_rename(struct ef4_nic *efx);
226 void ef4_mtd_remove(struct ef4_nic *efx);
[all …]
A Dnet_driver.h329 struct ef4_nic *efx;
405 struct ef4_nic *efx;
458 struct ef4_nic *efx;
522 struct ef4_nic;
569 int (*probe) (struct ef4_nic *efx);
570 int (*init) (struct ef4_nic *efx);
763 struct ef4_nic { struct
768 struct ef4_nic *primary; argument
1043 int (*probe)(struct ef4_nic *efx);
1045 int (*init)(struct ef4_nic *efx);
[all …]
A Dnic.h22 static inline int ef4_nic_rev(struct ef4_nic *efx) in ef4_nic_rev()
27 u32 ef4_farch_fpga_ver(struct ef4_nic *efx);
155 int (*init) (struct ef4_nic *nic);
156 void (*init_phy) (struct ef4_nic *efx);
157 void (*fini) (struct ef4_nic *nic);
159 int (*monitor) (struct ef4_nic *nic);
281 struct ef4_nic *efx;
474 int ef4_nic_flush_queues(struct ef4_nic *efx);
475 int ef4_farch_fini_dmaq(struct ef4_nic *efx);
476 void ef4_farch_finish_flr(struct ef4_nic *efx);
[all …]
A Dmdio_10g.h28 ef4_mdio_write(struct ef4_nic *efx, int devad, int addr, int value) in ef4_mdio_write()
33 static inline u32 ef4_mdio_read_id(struct ef4_nic *efx, int mmd) in ef4_mdio_read_id()
40 static inline bool ef4_mdio_phyxgxs_lane_sync(struct ef4_nic *efx) in ef4_mdio_phyxgxs_lane_sync()
73 void ef4_mdio_transmit_disable(struct ef4_nic *efx);
76 void ef4_mdio_phy_reconfigure(struct ef4_nic *efx);
79 void ef4_mdio_set_mmds_lpower(struct ef4_nic *efx, int low_power,
83 int ef4_mdio_set_link_ksettings(struct ef4_nic *efx,
87 void ef4_mdio_an_reconfigure(struct ef4_nic *efx);
92 u8 ef4_mdio_get_pause(struct ef4_nic *efx);
99 ef4_mdio_set_flag(struct ef4_nic *efx, int devad, int addr, in ef4_mdio_set_flag()
[all …]
A Defx.c296 struct ef4_nic *efx = channel->efx; in ef4_poll()
333 struct ef4_nic *efx = channel->efx; in ef4_probe_eventq()
351 struct ef4_nic *efx = channel->efx; in ef4_init_eventq()
1015 struct ef4_nic *efx = container_of(data, struct ef4_nic, mac_work); in ef4_mac_work()
1144 static bool ef4_same_controller(struct ef4_nic *left, struct ef4_nic *right) in ef4_same_controller()
1153 struct ef4_nic *other, *next; in ef4_associate()
1198 struct ef4_nic *other, *next; in ef4_dissociate()
1961 struct ef4_nic *efx = container_of(data, struct ef4_nic, in ef4_monitor()
2502 struct ef4_nic *efx = container_of(data, struct ef4_nic, reset_work); in ef4_reset_work()
2743 struct ef4_nic *efx; in ef4_pci_remove()
[all …]
A Dtxc43128_phy.c168 static void txc_reset_logic(struct ef4_nic *efx);
184 static int txc_reset_phy(struct ef4_nic *efx) in txc_reset_phy()
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()
394 static void txc_set_power(struct ef4_nic *efx) in txc_set_power()
431 static void txc_reset_logic(struct ef4_nic *efx) in txc_reset_logic()
475 static void txc43128_phy_fini(struct ef4_nic *efx) in txc43128_phy_fini()
481 static void txc43128_phy_remove(struct ef4_nic *efx) in txc43128_phy_remove()
[all …]
A Dtenxpress.c148 static int tenxpress_init(struct ef4_nic *efx) in tenxpress_init()
163 static int tenxpress_phy_probe(struct ef4_nic *efx) in tenxpress_phy_probe()
185 static int tenxpress_phy_init(struct ef4_nic *efx) in tenxpress_phy_init()
220 static int tenxpress_special_reset(struct ef4_nic *efx) in tenxpress_special_reset()
297 static bool sfx7101_link_ok(struct ef4_nic *efx) in sfx7101_link_ok()
312 static void tenxpress_low_power(struct ef4_nic *efx) in tenxpress_low_power()
352 static bool tenxpress_phy_poll(struct ef4_nic *efx) in tenxpress_phy_poll()
366 static void sfx7101_phy_fini(struct ef4_nic *efx) in sfx7101_phy_fini()
380 static void tenxpress_phy_remove(struct ef4_nic *efx) in tenxpress_phy_remove()
440 tenxpress_get_link_ksettings(struct ef4_nic *efx, in tenxpress_get_link_ksettings()
[all …]
A Dfalcon_boards.c116 static void ef4_fini_lm87(struct ef4_nic *efx) in ef4_fini_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()
368 struct ef4_nic *efx = dev_get_drvdata(dev); in phy_flash_cfg_store()
401 static void sfe4001_fini(struct ef4_nic *efx) in sfe4001_fini()
413 static int sfe4001_check_hw(struct ef4_nic *efx) in sfe4001_check_hw()
450 static int sfe4001_init(struct ef4_nic *efx) in sfe4001_init()
568 static int sfe4002_init(struct ef4_nic *efx) in sfe4002_init()
632 static int sfn4112f_init(struct ef4_nic *efx) in sfn4112f_init()
[all …]
A Dqt202x_phy.c73 static int qt2025c_wait_heartbeat(struct ef4_nic *efx) in qt2025c_wait_heartbeat()
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()
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()
380 static int qt202x_link_ok(struct ef4_nic *efx) in qt202x_link_ok()
385 static bool qt202x_phy_poll(struct ef4_nic *efx) in qt202x_phy_poll()
400 static int qt202x_phy_reconfigure(struct ef4_nic *efx) in qt202x_phy_reconfigure()
[all …]
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()
145 static inline void ef4_reado(struct ef4_nic *efx, ef4_oword_t *value, in ef4_reado()
184 static inline void ef4_readd(struct ef4_nic *efx, ef4_dword_t *value, in ef4_readd()
195 ef4_writeo_table(struct ef4_nic *efx, const ef4_oword_t *value, in ef4_writeo_table()
202 static inline void ef4_reado_table(struct ef4_nic *efx, ef4_oword_t *value, in ef4_reado_table()
245 _ef4_writed_page(struct ef4_nic *efx, const ef4_dword_t *value, in _ef4_writed_page()
[all …]
A Dfalcon.c328 struct ef4_nic *efx = (struct ef4_nic *)data; in falcon_setsda()
338 struct ef4_nic *efx = (struct ef4_nic *)data; in falcon_setscl()
348 struct ef4_nic *efx = (struct ef4_nic *)data; in falcon_getsda()
357 struct ef4_nic *efx = (struct ef4_nic *)data; in falcon_getscl()
377 struct ef4_nic *efx = channel->efx; in falcon_push_irq_moderation()
433 struct ef4_nic *efx = dev_id; in falcon_legacy_interrupt_a1()
863 struct ef4_nic *efx = mtd->priv; in falcon_mtd_read()
879 struct ef4_nic *efx = mtd->priv; in falcon_mtd_erase()
895 struct ef4_nic *efx = mtd->priv; in falcon_mtd_write()
911 struct ef4_nic *efx = mtd->priv; in falcon_mtd_sync()
[all …]
A Dmdio_10g.c31 int ef4_mdio_reset_mmd(struct ef4_nic *port, int mmd, in ef4_mdio_reset_mmd()
51 static int ef4_mdio_check_mmd(struct ef4_nic *efx, int mmd) in ef4_mdio_check_mmd()
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()
296 u8 ef4_mdio_get_pause(struct ef4_nic *efx) in ef4_mdio_get_pause()
[all …]
A Dfarch.c365 struct ef4_nic *efx = tx_queue->efx; in ef4_farch_tx_probe()
375 struct ef4_nic *efx = tx_queue->efx; in ef4_farch_tx_init()
431 struct ef4_nic *efx = tx_queue->efx; in ef4_farch_flush_tx_queue()
445 struct ef4_nic *efx = tx_queue->efx; in ef4_farch_tx_fini()
491 struct ef4_nic *efx = rx_queue->efx; in ef4_farch_rx_write()
511 struct ef4_nic *efx = rx_queue->efx; in ef4_farch_rx_probe()
522 struct ef4_nic *efx = rx_queue->efx; in ef4_farch_rx_init()
781 struct ef4_nic *efx = channel->efx; in ef4_farch_ev_read_ack()
831 struct ef4_nic *efx = channel->efx; in ef4_farch_handle_tx_event()
987 struct ef4_nic *efx = channel->efx; in ef4_farch_handle_rx_event()
[all …]
A Dphy.h15 void tenxpress_set_id_led(struct ef4_nic *efx, enum ef4_led_mode mode);
34 void falcon_qt202x_set_led(struct ef4_nic *p, int led, int state);
44 void falcon_txc_set_gpio_dir(struct ef4_nic *efx, int pin, int dir);
45 void falcon_txc_set_gpio_val(struct ef4_nic *efx, int pin, int val);
A Dselftest.h44 void ef4_loopback_rx_packet(struct ef4_nic *efx, const char *buf_ptr,
46 int ef4_selftest(struct ef4_nic *efx, struct ef4_self_tests *tests,
48 void ef4_selftest_async_start(struct ef4_nic *efx);
49 void ef4_selftest_async_cancel(struct ef4_nic *efx);
A Dethtool.c93 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_phys_id()
119 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_get_link_ksettings()
143 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_set_link_ksettings()
163 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_get_drvinfo()
178 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_get_regs()
186 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_get_msglevel()
192 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_set_msglevel()
390 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_get_sset_count()
407 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_get_strings()
434 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_get_stats()
[all …]
A Dselftest.c130 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()
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()
459 static int ef4_poll_loopback(struct ef4_nic *efx) in ef4_poll_loopback()
469 struct ef4_nic *efx = tx_queue->efx; in ef4_end_loopback()
528 struct ef4_nic *efx = tx_queue->efx; in ef4_test_loopback()
581 static int ef4_wait_for_link(struct ef4_nic *efx) in ef4_wait_for_link()
772 void ef4_selftest_async_start(struct ef4_nic *efx) in ef4_selftest_async_start()
[all …]
A Dmtd.c23 struct ef4_nic *efx = mtd->priv; in ef4_mtd_erase()
31 struct ef4_nic *efx = mtd->priv; in ef4_mtd_sync()
54 int ef4_mtd_add(struct ef4_nic *efx, struct ef4_mtd_partition *parts, in ef4_mtd_add()
95 void ef4_mtd_remove(struct ef4_nic *efx) in ef4_mtd_remove()
113 void ef4_mtd_rename(struct ef4_nic *efx) in ef4_mtd_rename()
A Drx.c108 struct ef4_nic *efx = rx_queue->efx; in ef4_reuse_page()
154 struct ef4_nic *efx = rx_queue->efx; in ef4_init_rx_buffers()
249 struct ef4_nic *efx = rx_queue->efx; in ef4_recycle_rx_page()
333 struct ef4_nic *efx = rx_queue->efx; in ef4_fast_push_rx_descriptors()
396 struct ef4_nic *efx = rx_queue->efx; in ef4_rx_packet__check_len()
434 struct ef4_nic *efx = channel->efx; in ef4_rx_packet_gro()
478 struct ef4_nic *efx = channel->efx; in ef4_rx_mk_skb()
533 struct ef4_nic *efx = rx_queue->efx; in ef4_rx_packet()
650 struct ef4_nic *efx = channel->efx; in __ef4_rx_packet()
688 struct ef4_nic *efx = rx_queue->efx; in ef4_probe_rx_queue()
[all …]
A Dtx.c81 unsigned int ef4_tx_max_skb_descs(struct ef4_nic *efx) in ef4_tx_max_skb_descs()
111 struct ef4_nic *efx = txq1->efx; in ef4_tx_maybe_stop_queue()
209 struct ef4_nic *efx = tx_queue->efx; in ef4_tx_map_data()
360 struct ef4_nic *efx = tx_queue->efx; in ef4_dequeue_buffers()
397 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_hard_start_xmit()
416 struct ef4_nic *efx = tx_queue->efx; in ef4_init_tx_queue_core_txq()
429 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_setup_tc()
495 struct ef4_nic *efx = tx_queue->efx; in ef4_xmit_done()
541 struct ef4_nic *efx = tx_queue->efx; in ef4_probe_tx_queue()
585 struct ef4_nic *efx = tx_queue->efx; in ef4_init_tx_queue()
A Dnic.c30 int ef4_nic_alloc_buffer(struct ef4_nic *efx, struct ef4_buffer *buffer, in ef4_nic_alloc_buffer()
41 void ef4_nic_free_buffer(struct ef4_nic *efx, struct ef4_buffer *buffer) in ef4_nic_free_buffer()
65 int ef4_nic_irq_test_start(struct ef4_nic *efx) in ef4_nic_irq_test_start()
75 int ef4_nic_init_interrupt(struct ef4_nic *efx) in ef4_nic_init_interrupt()
146 void ef4_nic_fini_interrupt(struct ef4_nic *efx) in ef4_nic_fini_interrupt()
361 size_t ef4_nic_get_regs_len(struct ef4_nic *efx) in ef4_nic_get_regs_len()
384 void ef4_nic_get_regs(struct ef4_nic *efx, void *buf) in ef4_nic_get_regs()
515 void ef4_nic_fix_nodesc_drop_stat(struct ef4_nic *efx, u64 *rx_nodesc_drops) in ef4_nic_fix_nodesc_drop_stat()

Completed in 48 milliseconds