Searched refs:efx_nic (Results 1 - 25 of 28) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/sfc/
H A Dmac.h19 extern void falcon_reconfigure_xmac_core(struct efx_nic *efx);
20 extern int efx_mcdi_mac_stats(struct efx_nic *efx, dma_addr_t dma_addr,
H A Dphy.h19 extern void tenxpress_set_id_led(struct efx_nic *efx, enum efx_led_mode mode);
23 extern int sft9001_wait_boot(struct efx_nic *efx);
42 extern void falcon_qt202x_set_led(struct efx_nic *p, int led, int state);
49 extern int efx_mcdi_mdio_read(struct efx_nic *efx, unsigned int bus,
52 extern int efx_mcdi_mdio_write(struct efx_nic *efx, unsigned int bus,
55 extern void efx_mcdi_phy_decode_link(struct efx_nic *efx,
58 extern int efx_mcdi_phy_reconfigure(struct efx_nic *efx);
59 extern void efx_mcdi_phy_check_fcntl(struct efx_nic *efx, u32 lpa);
H A Dmdio_10g.h25 static inline int efx_mdio_read(struct efx_nic *efx, int devad, int addr)
31 efx_mdio_write(struct efx_nic *efx, int devad, int addr, int value)
36 static inline u32 efx_mdio_read_id(struct efx_nic *efx, int mmd)
43 static inline bool efx_mdio_phyxgxs_lane_sync(struct efx_nic *efx)
67 extern int efx_mdio_reset_mmd(struct efx_nic *efx, int mmd,
71 int efx_mdio_check_mmds(struct efx_nic *efx,
75 extern bool efx_mdio_links_ok(struct efx_nic *efx, unsigned int mmd_mask);
78 extern void efx_mdio_transmit_disable(struct efx_nic *efx);
81 extern void efx_mdio_phy_reconfigure(struct efx_nic *efx);
84 extern void efx_mdio_set_mmds_lpower(struct efx_nic *ef
[all...]
H A Defx.h65 extern int efx_reconfigure_port(struct efx_nic *efx);
66 extern int __efx_reconfigure_port(struct efx_nic *efx);
76 extern int efx_reset(struct efx_nic *efx, enum reset_type method);
77 extern void efx_reset_down(struct efx_nic *efx, enum reset_type method);
78 extern int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok);
81 extern void efx_schedule_reset(struct efx_nic *efx, enum reset_type type);
82 extern void efx_init_irq_moderation(struct efx_nic *efx, int tx_usecs,
84 extern int efx_request_power(struct efx_nic *efx, int mw, const char *name);
88 extern int efx_port_dummy_op_int(struct efx_nic *efx);
89 extern void efx_port_dummy_op_void(struct efx_nic *ef
[all...]
H A Dmcdi.h59 extern void efx_mcdi_init(struct efx_nic *efx);
61 extern int efx_mcdi_rpc(struct efx_nic *efx, unsigned cmd, const u8 *inbuf,
65 extern int efx_mcdi_poll_reboot(struct efx_nic *efx);
66 extern void efx_mcdi_mode_poll(struct efx_nic *efx);
67 extern void efx_mcdi_mode_event(struct efx_nic *efx);
96 extern int efx_mcdi_fwver(struct efx_nic *efx, u64 *version, u32 *build);
97 extern int efx_mcdi_drv_attach(struct efx_nic *efx, bool driver_operating,
99 extern int efx_mcdi_get_board_cfg(struct efx_nic *efx, u8 *mac_address,
101 extern int efx_mcdi_log_ctrl(struct efx_nic *efx, bool evq, bool uart,
103 extern int efx_mcdi_nvram_types(struct efx_nic *ef
[all...]
H A Dnic.h30 static inline int efx_nic_rev(struct efx_nic *efx)
35 extern u32 efx_nic_fpga_ver(struct efx_nic *efx);
37 static inline bool efx_nic_has_mc(struct efx_nic *efx)
42 static inline bool efx_nic_is_dual_func(struct efx_nic *efx)
82 int (*init) (struct efx_nic *nic);
83 void (*init_phy) (struct efx_nic *efx);
84 void (*fini) (struct efx_nic *nic);
85 void (*set_id_led) (struct efx_nic *efx, enum efx_led_mode mode);
86 int (*monitor) (struct efx_nic *nic);
126 static inline struct falcon_board *falcon_board(struct efx_nic *ef
[all...]
H A Dnet_driver.h167 struct efx_nic *efx ____cacheline_aligned_in_smp;
170 struct efx_nic *nic;
252 struct efx_nic *efx;
335 struct efx_nic *efx;
440 struct efx_nic;
477 int (*reconfigure) (struct efx_nic *efx);
478 void (*update_stats) (struct efx_nic *efx);
479 bool (*check_fault)(struct efx_nic *efx);
501 int (*probe) (struct efx_nic *efx);
502 int (*init) (struct efx_nic *ef
707 struct efx_nic { struct
[all...]
H A Dselftest.h47 extern void efx_loopback_rx_packet(struct efx_nic *efx,
49 extern int efx_selftest(struct efx_nic *efx,
H A Dio.h54 static inline void _efx_writeq(struct efx_nic *efx, __le64 value,
59 static inline __le64 _efx_readq(struct efx_nic *efx, unsigned int reg)
65 static inline void _efx_writed(struct efx_nic *efx, __le32 value,
70 static inline __le32 _efx_readd(struct efx_nic *efx, unsigned int reg)
76 static inline void efx_writeo(struct efx_nic *efx, efx_oword_t *value,
103 static inline void efx_sram_writeq(struct efx_nic *efx, void __iomem *membase,
131 static inline void efx_writed(struct efx_nic *efx, efx_dword_t *value,
148 static inline void efx_reado(struct efx_nic *efx, efx_oword_t *value,
168 static inline void efx_sram_readq(struct efx_nic *efx, void __iomem *membase,
190 static inline void efx_readd(struct efx_nic *ef
[all...]
H A Dspi.h64 int falcon_spi_cmd(struct efx_nic *efx,
67 int falcon_spi_wait_write(struct efx_nic *efx,
69 int falcon_spi_read(struct efx_nic *efx,
72 int falcon_spi_write(struct efx_nic *efx,
H A Dmcdi_mac.c16 static int efx_mcdi_set_mac(struct efx_nic *efx)
55 static int efx_mcdi_get_mac_faults(struct efx_nic *efx, u32 *faults)
77 int efx_mcdi_mac_stats(struct efx_nic *efx, dma_addr_t dma_addr,
118 static int efx_mcdi_mac_reconfigure(struct efx_nic *efx)
133 static bool efx_mcdi_mac_check_fault(struct efx_nic *efx)
H A Dfalcon_boards.c60 static int efx_init_lm87(struct efx_nic *efx, struct i2c_board_info *info,
86 static void efx_fini_lm87(struct efx_nic *efx)
91 static int efx_check_lm87(struct efx_nic *efx, unsigned mask)
129 efx_init_lm87(struct efx_nic *efx, struct i2c_board_info *info,
134 static inline void efx_fini_lm87(struct efx_nic *efx)
137 static inline int efx_check_lm87(struct efx_nic *efx, unsigned mask)
205 static void sfe4001_poweroff(struct efx_nic *efx)
219 static int sfe4001_poweron(struct efx_nic *efx)
307 static int sfn4111t_reset(struct efx_nic *efx)
338 struct efx_nic *ef
[all...]
H A Defx.c205 static void efx_remove_port(struct efx_nic *efx);
206 static void efx_fini_napi(struct efx_nic *efx);
207 static void efx_fini_channels(struct efx_nic *efx);
231 struct efx_nic *efx = channel->efx;
282 struct efx_nic *efx = channel->efx;
335 struct efx_nic *efx = channel->efx;
446 static void efx_set_channel_names(struct efx_nic *efx)
471 static void efx_init_channels(struct efx_nic *efx)
551 static void efx_fini_channels(struct efx_nic *efx)
619 void efx_link_status_changed(struct efx_nic *ef
[all...]
H A Dtenxpress.c191 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev));
202 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev));
222 int sft9001_wait_boot(struct efx_nic *efx)
274 static int tenxpress_init(struct efx_nic *efx)
307 static int tenxpress_phy_probe(struct efx_nic *efx)
357 static int tenxpress_phy_init(struct efx_nic *efx)
402 static int tenxpress_special_reset(struct efx_nic *efx)
435 static void sfx7101_check_bad_lp(struct efx_nic *efx, bool link_ok)
479 static bool sfx7101_link_ok(struct efx_nic *efx)
487 static bool sft9001_link_ok(struct efx_nic *ef
[all...]
H A Dmdio_10g.c35 int efx_mdio_reset_mmd(struct efx_nic *port, int mmd,
55 static int efx_mdio_check_mmd(struct efx_nic *efx, int mmd, int fault_fatal)
93 int efx_mdio_wait_reset_mmds(struct efx_nic *efx, unsigned int mmd_mask)
134 int efx_mdio_check_mmds(struct efx_nic *efx,
178 bool efx_mdio_links_ok(struct efx_nic *efx, unsigned int mmd_mask)
204 void efx_mdio_transmit_disable(struct efx_nic *efx)
211 void efx_mdio_phy_reconfigure(struct efx_nic *efx)
224 static void efx_mdio_set_mmd_lpower(struct efx_nic *efx,
238 void efx_mdio_set_mmds_lpower(struct efx_nic *efx,
256 int efx_mdio_set_settings(struct efx_nic *ef
[all...]
H A Dmcdi.c45 static inline struct efx_mcdi_iface *efx_mcdi(struct efx_nic *efx)
53 void efx_mcdi_init(struct efx_nic *efx)
69 static void efx_mcdi_copyin(struct efx_nic *efx, unsigned cmd,
107 static void efx_mcdi_copyout(struct efx_nic *efx, u8 *outbuf, size_t outlen)
120 static int efx_mcdi_poll(struct efx_nic *efx)
211 int efx_mcdi_poll_reboot(struct efx_nic *efx)
246 static int efx_mcdi_await_completion(struct efx_nic *efx)
294 static void efx_mcdi_ev_cpl(struct efx_nic *efx, unsigned int seqno,
325 int efx_mcdi_rpc(struct efx_nic *efx, unsigned cmd,
393 void efx_mcdi_mode_poll(struct efx_nic *ef
[all...]
H A Dqt202x_phy.c51 void falcon_qt202x_set_led(struct efx_nic *p, int led, int mode)
74 static int qt2025c_wait_heartbeat(struct efx_nic *efx)
106 static int qt2025c_wait_fw_status_good(struct efx_nic *efx)
128 static void qt2025c_restart_firmware(struct efx_nic *efx)
136 static int qt2025c_wait_reset(struct efx_nic *efx)
161 static void qt2025c_firmware_id(struct efx_nic *efx)
181 static void qt2025c_bug17190_workaround(struct efx_nic *efx)
214 static int qt2025c_select_phy_mode(struct efx_nic *efx)
303 static int qt202x_reset_phy(struct efx_nic *efx)
336 static int qt202x_phy_probe(struct efx_nic *ef
[all...]
H A Dmtd.c52 struct efx_nic *efx;
68 static int falcon_mtd_probe(struct efx_nic *efx);
69 static int siena_mtd_probe(struct efx_nic *efx);
78 struct efx_nic *efx = efx_mtd->efx;
101 efx_spi_unlock(struct efx_nic *efx, const struct efx_spi_device *spi)
140 struct efx_nic *efx = efx_mtd->efx;
252 static int efx_mtd_probe_device(struct efx_nic *efx, struct efx_mtd *efx_mtd)
287 void efx_mtd_remove(struct efx_nic *efx)
297 void efx_mtd_rename(struct efx_nic *efx)
307 int efx_mtd_probe(struct efx_nic *ef
[all...]
H A Dfalcon.c57 struct efx_nic *efx = (struct efx_nic *)data;
67 struct efx_nic *efx = (struct efx_nic *)data;
77 struct efx_nic *efx = (struct efx_nic *)data;
86 struct efx_nic *efx = (struct efx_nic *)data;
106 struct efx_nic *efx = channel->efx;
126 static void falcon_deconfigure_mac_wrapper(struct efx_nic *ef
[all...]
H A Dethtool.c174 struct efx_nic *efx = netdev_priv(net_dev);
192 struct efx_nic *efx = netdev_priv(net_dev);
216 struct efx_nic *efx = netdev_priv(net_dev);
235 struct efx_nic *efx = netdev_priv(net_dev);
253 struct efx_nic *efx = netdev_priv(net_dev);
261 struct efx_nic *efx = netdev_priv(net_dev);
267 struct efx_nic *efx = netdev_priv(net_dev);
325 static int efx_fill_loopback_test(struct efx_nic *efx,
362 static int efx_ethtool_fill_self_tests(struct efx_nic *efx,
442 struct efx_nic *ef
[all...]
H A Dsiena.c32 static void siena_init_wol(struct efx_nic *efx);
54 static void siena_push_multicast_hash(struct efx_nic *efx)
66 struct efx_nic *efx = netdev_priv(net_dev);
83 struct efx_nic *efx = netdev_priv(net_dev);
99 static int siena_probe_port(struct efx_nic *efx)
132 void siena_remove_port(struct efx_nic *efx)
167 static int siena_test_registers(struct efx_nic *efx)
180 static int siena_reset_hw(struct efx_nic *efx, enum reset_type method)
195 static int siena_probe_nvconfig(struct efx_nic *efx)
206 static int siena_probe_nic(struct efx_nic *ef
[all...]
H A Dmcdi_phy.c38 efx_mcdi_get_phy_cfg(struct efx_nic *efx, struct efx_mcdi_phy_data *cfg)
78 static int efx_mcdi_set_link(struct efx_nic *efx, u32 capabilities,
104 static int efx_mcdi_loopback_modes(struct efx_nic *efx, u64 *loopback_modes)
129 int efx_mcdi_mdio_read(struct efx_nic *efx, unsigned int bus,
157 int efx_mcdi_mdio_write(struct efx_nic *efx, unsigned int bus,
260 static u32 efx_get_mcdi_phy_flags(struct efx_nic *efx)
308 static int efx_mcdi_phy_probe(struct efx_nic *efx)
407 int efx_mcdi_phy_reconfigure(struct efx_nic *efx)
418 void efx_mcdi_phy_decode_link(struct efx_nic *efx,
448 void efx_mcdi_phy_check_fcntl(struct efx_nic *ef
[all...]
H A Dfalcon_xmac.c29 void falcon_setup_xaui(struct efx_nic *efx)
61 int falcon_reset_xaui(struct efx_nic *efx)
89 static void falcon_ack_status_intr(struct efx_nic *efx)
108 static bool falcon_xgxs_link_ok(struct efx_nic *efx)
131 static bool falcon_xmac_link_ok(struct efx_nic *efx)
146 void falcon_reconfigure_xmac_core(struct efx_nic *efx)
200 static void falcon_reconfigure_xgxs_core(struct efx_nic *efx)
248 static bool falcon_xmac_link_ok_retry(struct efx_nic *efx, int tries)
273 static bool falcon_xmac_check_fault(struct efx_nic *efx)
278 static int falcon_reconfigure_xmac(struct efx_nic *ef
[all...]
H A Dnic.c96 static inline void efx_write_buf_tbl(struct efx_nic *efx, efx_qword_t *value,
133 int efx_nic_test_registers(struct efx_nic *efx,
205 efx_init_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer)
231 efx_fini_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer)
260 static int efx_alloc_special_buffer(struct efx_nic *efx,
292 efx_free_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer)
317 int efx_nic_alloc_buffer(struct efx_nic *efx, struct efx_buffer *buffer,
329 void efx_nic_free_buffer(struct efx_nic *efx, struct efx_buffer *buffer)
400 struct efx_nic *efx = tx_queue->efx;
410 struct efx_nic *ef
[all...]
H A Dselftest.c77 static int efx_test_phy_alive(struct efx_nic *efx, struct efx_self_tests *tests)
89 static int efx_test_nvram(struct efx_nic *efx, struct efx_self_tests *tests)
101 static int efx_test_chip(struct efx_nic *efx, struct efx_self_tests *tests)
121 static int efx_test_interrupts(struct efx_nic *efx,
165 struct efx_nic *efx = channel->efx;
222 static int efx_test_phy(struct efx_nic *efx, struct efx_self_tests *tests,
246 void efx_loopback_rx_packet(struct efx_nic *efx,
338 static void efx_iterate_state(struct efx_nic *efx)
375 struct efx_nic *efx = tx_queue->efx;
425 static int efx_poll_loopback(struct efx_nic *ef
[all...]

Completed in 331 milliseconds

12