Home
last modified time | relevance | path

Searched refs:ef4_nic (Results 1 - 25 of 42) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
H A Defx.h34 unsigned int ef4_tx_max_skb_descs(struct ef4_nic *efx);
38 void ef4_set_default_rx_indir_table(struct ef4_nic *efx);
39 void ef4_rx_config_page_split(struct ef4_nic *efx);
73 static inline bool ef4_rss_enabled(struct ef4_nic *efx) in ef4_rss_enabled()
80 void ef4_mac_reconfigure(struct ef4_nic *efx);
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 *ef in ef4_filter_count_rx_used()
[all...]
H A Dnet_driver.h214 struct ef4_nic *efx ____cacheline_aligned_in_smp;
329 struct ef4_nic *efx;
405 struct ef4_nic *efx;
458 struct ef4_nic *efx;
477 void (*handle_no_channel)(struct ef4_nic *);
522 struct ef4_nic;
569 int (*probe) (struct ef4_nic *efx);
570 int (*init) (struct ef4_nic *efx);
571 void (*fini) (struct ef4_nic *efx);
572 void (*remove) (struct ef4_nic *ef
763 struct ef4_nic { global() struct
[all...]
H 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);
30 static inline bool ef4_nic_is_dual_func(struct ef4_nic *efx) in ef4_nic_is_dual_func()
155 int (*init) (struct ef4_nic *nic);
156 void (*init_phy) (struct ef4_nic *efx);
157 void (*fini) (struct ef4_nic *nic);
158 void (*set_id_led) (struct ef4_nic *efx, enum ef4_led_mode mode);
159 int (*monitor) (struct ef4_nic *nic);
267 * @efx: ef4_nic pointer
281 struct ef4_nic *ef
[all...]
H A Dmdio_10g.h22 static inline int ef4_mdio_read(struct ef4_nic *efx, int devad, int addr) in ef4_mdio_read()
28 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()
64 int ef4_mdio_reset_mmd(struct ef4_nic *efx, int mmd, int spins, int spintime);
67 int ef4_mdio_check_mmds(struct ef4_nic *efx, unsigned int mmd_mask);
70 bool ef4_mdio_links_ok(struct ef4_nic *efx, unsigned int mmd_mask);
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 *ef
[all...]
H 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()
253 static void sfx7101_check_bad_lp(struct ef4_nic *efx, bool link_ok) in sfx7101_check_bad_lp()
297 static bool sfx7101_link_ok(struct ef4_nic *efx) in sfx7101_link_ok()
305 static void tenxpress_ext_loopback(struct ef4_nic *efx) in tenxpress_ext_loopback()
312 static void tenxpress_low_power(struct ef4_nic *efx) in tenxpress_low_power()
319 static int tenxpress_phy_reconfigure(struct ef4_nic *efx) in tenxpress_phy_reconfigure()
352 static bool tenxpress_phy_poll(struct ef4_nic *ef
[all...]
H A Defx.c194 static int ef4_soft_enable_interrupts(struct ef4_nic *efx);
195 static void ef4_soft_disable_interrupts(struct ef4_nic *efx);
197 static void ef4_remove_channels(struct ef4_nic *efx);
199 static void ef4_remove_port(struct ef4_nic *efx);
201 static void ef4_fini_napi(struct ef4_nic *efx);
203 static void ef4_fini_struct(struct ef4_nic *efx);
204 static void ef4_start_all(struct ef4_nic *efx);
205 static void ef4_stop_all(struct ef4_nic *efx);
215 static int ef4_check_disabled(struct ef4_nic *efx) in ef4_check_disabled()
276 static void ef4_update_irq_mod(struct ef4_nic *ef
[all...]
H A Dtxc43128_phy.c168 static void txc_reset_logic(struct ef4_nic *efx);
171 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 *ef
[all...]
H A Dio.h32 * ef4_nic::biu_lock for this.
67 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 *ef
[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 show_phy_flash_cfg()
368 struct ef4_nic *ef in set_phy_flash_cfg()
[all...]
H A Dfalcon.c301 static int falcon_reset_hw(struct ef4_nic *efx, enum reset_type method);
302 static void falcon_reconfigure_mac_wrapper(struct ef4_nic *efx);
328 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 *)dat in falcon_getscl()
[all...]
H 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()
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 *ef
[all...]
H A Dqt202x_phy.c50 void falcon_qt202x_set_led(struct ef4_nic *p, int led, int mode) in falcon_qt202x_set_led()
73 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 *ef
[all...]
H 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);
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/
H A Defx.h34 unsigned int ef4_tx_max_skb_descs(struct ef4_nic *efx);
38 void ef4_set_default_rx_indir_table(struct ef4_nic *efx);
39 void ef4_rx_config_page_split(struct ef4_nic *efx);
73 static inline bool ef4_rss_enabled(struct ef4_nic *efx) in ef4_rss_enabled()
80 void ef4_mac_reconfigure(struct ef4_nic *efx);
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 *ef in ef4_filter_count_rx_used()
[all...]
H A Dnet_driver.h214 struct ef4_nic *efx ____cacheline_aligned_in_smp;
329 struct ef4_nic *efx;
405 struct ef4_nic *efx;
458 struct ef4_nic *efx;
477 void (*handle_no_channel)(struct ef4_nic *);
522 struct ef4_nic;
569 int (*probe) (struct ef4_nic *efx);
570 int (*init) (struct ef4_nic *efx);
571 void (*fini) (struct ef4_nic *efx);
572 void (*remove) (struct ef4_nic *ef
763 struct ef4_nic { global() struct
[all...]
H 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);
30 static inline bool ef4_nic_is_dual_func(struct ef4_nic *efx) in ef4_nic_is_dual_func()
155 int (*init) (struct ef4_nic *nic);
156 void (*init_phy) (struct ef4_nic *efx);
157 void (*fini) (struct ef4_nic *nic);
158 void (*set_id_led) (struct ef4_nic *efx, enum ef4_led_mode mode);
159 int (*monitor) (struct ef4_nic *nic);
267 * @efx: ef4_nic pointer
281 struct ef4_nic *ef
[all...]
H A Dmdio_10g.h22 static inline int ef4_mdio_read(struct ef4_nic *efx, int devad, int addr) in ef4_mdio_read()
28 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()
64 int ef4_mdio_reset_mmd(struct ef4_nic *efx, int mmd, int spins, int spintime);
67 int ef4_mdio_check_mmds(struct ef4_nic *efx, unsigned int mmd_mask);
70 bool ef4_mdio_links_ok(struct ef4_nic *efx, unsigned int mmd_mask);
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 *ef
[all...]
H 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()
253 static void sfx7101_check_bad_lp(struct ef4_nic *efx, bool link_ok) in sfx7101_check_bad_lp()
297 static bool sfx7101_link_ok(struct ef4_nic *efx) in sfx7101_link_ok()
305 static void tenxpress_ext_loopback(struct ef4_nic *efx) in tenxpress_ext_loopback()
312 static void tenxpress_low_power(struct ef4_nic *efx) in tenxpress_low_power()
319 static int tenxpress_phy_reconfigure(struct ef4_nic *efx) in tenxpress_phy_reconfigure()
352 static bool tenxpress_phy_poll(struct ef4_nic *ef
[all...]
H A Defx.c188 static int ef4_soft_enable_interrupts(struct ef4_nic *efx);
189 static void ef4_soft_disable_interrupts(struct ef4_nic *efx);
191 static void ef4_remove_channels(struct ef4_nic *efx);
193 static void ef4_remove_port(struct ef4_nic *efx);
195 static void ef4_fini_napi(struct ef4_nic *efx);
197 static void ef4_fini_struct(struct ef4_nic *efx);
198 static void ef4_start_all(struct ef4_nic *efx);
199 static void ef4_stop_all(struct ef4_nic *efx);
209 static int ef4_check_disabled(struct ef4_nic *efx) in ef4_check_disabled()
270 static void ef4_update_irq_mod(struct ef4_nic *ef
[all...]
H A Dtxc43128_phy.c168 static void txc_reset_logic(struct ef4_nic *efx);
171 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 *ef
[all...]
H A Dio.h32 * ef4_nic::biu_lock for this.
67 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 *ef
[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()
368 struct ef4_nic *ef in phy_flash_cfg_store()
[all...]
H A Dfalcon.c301 static int falcon_reset_hw(struct ef4_nic *efx, enum reset_type method);
302 static void falcon_reconfigure_mac_wrapper(struct ef4_nic *efx);
328 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 *)dat in falcon_getscl()
[all...]
H 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()
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 *ef
[all...]
H A Dqt202x_phy.c50 void falcon_qt202x_set_led(struct ef4_nic *p, int led, int mode) in falcon_qt202x_set_led()
73 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 *ef
[all...]

Completed in 24 milliseconds

12