/drivers/net/ethernet/sfc/ |
H A D | efx.h | 61 extern int efx_probe_filters(struct efx_nic *efx); 62 extern void efx_restore_filters(struct efx_nic *efx); 63 extern void efx_remove_filters(struct efx_nic *efx); 64 extern s32 efx_filter_insert_filter(struct efx_nic *efx, 67 extern int efx_filter_remove_id_safe(struct efx_nic *efx, 70 extern int efx_filter_get_filter_safe(struct efx_nic *efx, 73 extern void efx_filter_clear_rx(struct efx_nic *efx, 75 extern u32 efx_filter_count_rx_used(struct efx_nic *efx, 77 extern u32 efx_filter_get_rx_id_limit(struct efx_nic *efx); 78 extern s32 efx_filter_get_rx_ids(struct efx_nic *efx, 133 efx_mtd_probe(struct efx_nic *efx) argument 134 efx_mtd_rename(struct efx_nic *efx) argument 135 efx_mtd_remove(struct efx_nic *efx) argument [all...] |
H A D | mcdi_mac.c | 11 #include "efx.h" 16 static int efx_mcdi_set_mac(struct efx_nic *efx) argument 22 efx->net_dev->dev_addr, ETH_ALEN); 25 EFX_MAX_FRAME_LEN(efx->net_dev->mtu)); 31 reject = (efx->promiscuous) ? 0 : 35 switch (efx->wanted_fc) { 46 if (efx->wanted_fc & EFX_FC_AUTO) 51 return efx_mcdi_rpc(efx, MC_CMD_SET_MAC, cmdbytes, sizeof(cmdbytes), 55 static int efx_mcdi_get_mac_faults(struct efx_nic *efx, u32 *faults) argument 63 rc = efx_mcdi_rpc(efx, MC_CMD_GET_LIN 77 efx_mcdi_mac_stats(struct efx_nic *efx, dma_addr_t dma_addr, u32 dma_len, int enable, int clear) argument 118 efx_mcdi_mac_reconfigure(struct efx_nic *efx) argument 133 efx_mcdi_mac_check_fault(struct efx_nic *efx) argument [all...] |
H A D | mdio_10g.h | 19 #include "efx.h" 25 static inline int efx_mdio_read(struct efx_nic *efx, int devad, int addr) argument 27 return efx->mdio.mdio_read(efx->net_dev, efx->mdio.prtad, devad, addr); 31 efx_mdio_write(struct efx_nic *efx, int devad, int addr, int value) argument 33 efx->mdio.mdio_write(efx->net_dev, efx->mdio.prtad, devad, addr, value); 36 static inline u32 efx_mdio_read_id(struct efx_nic *efx, in argument 43 efx_mdio_phyxgxs_lane_sync(struct efx_nic *efx) argument 103 efx_mdio_set_flag(struct efx_nic *efx, int devad, int addr, int mask, bool state) argument [all...] |
H A D | falcon_xmac.c | 13 #include "efx.h" 28 void falcon_setup_xaui(struct efx_nic *efx) argument 34 if (efx->phy_type == PHY_TYPE_NONE) 37 efx_reado(efx, &sdctl, FR_AB_XX_SD_CTL); 46 efx_writeo(efx, &sdctl, FR_AB_XX_SD_CTL); 57 efx_writeo(efx, &txdrv, FR_AB_XX_TXDRV_CTL); 60 int falcon_reset_xaui(struct efx_nic *efx) argument 62 struct falcon_nic_data *nic_data = efx->nic_data; 71 efx_writeo(efx, ®, FR_AB_XX_PWR_RST); 75 efx_reado(efx, 88 falcon_ack_status_intr(struct efx_nic *efx) argument 108 falcon_xgxs_link_ok(struct efx_nic *efx) argument 131 falcon_xmac_link_ok(struct efx_nic *efx) argument 146 falcon_reconfigure_xmac_core(struct efx_nic *efx) argument 200 falcon_reconfigure_xgxs_core(struct efx_nic *efx) argument 248 falcon_xmac_link_ok_retry(struct efx_nic *efx, int tries) argument 273 falcon_xmac_check_fault(struct efx_nic *efx) argument 278 falcon_reconfigure_xmac(struct efx_nic *efx) argument 293 falcon_update_stats_xmac(struct efx_nic *efx) argument 353 falcon_poll_xmac(struct efx_nic *efx) argument [all...] |
H A D | io.h | 65 static inline void _efx_writeq(struct efx_nic *efx, __le64 value, argument 68 __raw_writeq((__force u64)value, efx->membase + reg); 70 static inline __le64 _efx_readq(struct efx_nic *efx, unsigned int reg) argument 72 return (__force __le64)__raw_readq(efx->membase + reg); 76 static inline void _efx_writed(struct efx_nic *efx, __le32 value, argument 79 __raw_writel((__force u32)value, efx->membase + reg); 81 static inline __le32 _efx_readd(struct efx_nic *efx, unsigned int reg) argument 83 return (__force __le32)__raw_readl(efx->membase + reg); 87 static inline void efx_writeo(struct efx_nic *efx, efx_oword_t *value, argument 92 netif_vdbg(efx, h 111 efx_sram_writeq(struct efx_nic *efx, void __iomem *membase, efx_qword_t *value, unsigned int index) argument 133 efx_writed(struct efx_nic *efx, efx_dword_t *value, unsigned int reg) argument 145 efx_reado(struct efx_nic *efx, efx_oword_t *value, unsigned int reg) argument 163 efx_sram_readq(struct efx_nic *efx, void __iomem *membase, efx_qword_t *value, unsigned int index) argument 184 efx_readd(struct efx_nic *efx, efx_dword_t *value, unsigned int reg) argument 194 efx_writeo_table(struct efx_nic *efx, efx_oword_t *value, unsigned int reg, unsigned int index) argument 201 efx_reado_table(struct efx_nic *efx, efx_oword_t *value, unsigned int reg, unsigned int index) argument 208 efx_writed_table(struct efx_nic *efx, efx_dword_t *value, unsigned int reg, unsigned int index) argument 215 efx_readd_table(struct efx_nic *efx, efx_dword_t *value, unsigned int reg, unsigned int index) argument 229 _efx_writeo_page(struct efx_nic *efx, efx_oword_t *value, unsigned int reg, unsigned int page) argument 257 _efx_writed_page(struct efx_nic *efx, efx_dword_t *value, unsigned int reg, unsigned int page) argument 273 _efx_writed_page_locked(struct efx_nic *efx, efx_dword_t *value, unsigned int reg, unsigned int page) argument [all...] |
H A D | mdio_10g.c | 54 static int efx_mdio_check_mmd(struct efx_nic *efx, int mmd) argument 60 status = efx_mdio_read(efx, mmd, MDIO_STAT2); 62 netif_err(efx, hw, efx->net_dev, 75 int efx_mdio_wait_reset_mmds(struct efx_nic *efx, unsigned int mmd_mask) argument 89 stat = efx_mdio_read(efx, mmd, MDIO_CTRL1); 91 netif_err(efx, hw, efx->net_dev, 108 netif_err(efx, hw, efx 116 efx_mdio_check_mmds(struct efx_nic *efx, unsigned int mmd_mask) argument 155 efx_mdio_links_ok(struct efx_nic *efx, unsigned int mmd_mask) argument 181 efx_mdio_transmit_disable(struct efx_nic *efx) argument 188 efx_mdio_phy_reconfigure(struct efx_nic *efx) argument 201 efx_mdio_set_mmd_lpower(struct efx_nic *efx, int lpower, int mmd) argument 215 efx_mdio_set_mmds_lpower(struct efx_nic *efx, int low_power, unsigned int mmd_mask) argument 233 efx_mdio_set_settings(struct efx_nic *efx, struct ethtool_cmd *ecmd) argument 264 efx_mdio_an_reconfigure(struct efx_nic *efx) argument 287 efx_mdio_get_pause(struct efx_nic *efx) argument 301 efx_mdio_test_alive(struct efx_nic *efx) argument [all...] |
H A D | nic.h | 16 #include "efx.h" 31 static inline int efx_nic_rev(struct efx_nic *efx) argument 33 return efx->type->revision; 36 extern u32 efx_nic_fpga_ver(struct efx_nic *efx); 38 static inline bool efx_nic_has_mc(struct efx_nic *efx) argument 40 return efx_nic_rev(efx) >= EFX_REV_SIENA_A0; 43 static inline bool efx_nic_is_dual_func(struct efx_nic *efx) argument 45 return efx_nic_rev(efx) < EFX_REV_FALCON_B0; 84 void (*init_phy) (struct efx_nic *efx); 86 void (*set_id_led) (struct efx_nic *efx, enu 137 falcon_board(struct efx_nic *efx) argument [all...] |
H A D | siena.c | 19 #include "efx.h" 32 static void siena_init_wol(struct efx_nic *efx); 52 efx_writed_page_locked(channel->efx, &timer_cmd, FR_BZ_TIMER_COMMAND_P0, 56 static void siena_push_multicast_hash(struct efx_nic *efx) argument 58 WARN_ON(!mutex_is_locked(&efx->mac_lock)); 60 efx_mcdi_rpc(efx, MC_CMD_SET_MCAST_HASH, 61 efx->multicast_hash.byte, sizeof(efx->multicast_hash), 68 struct efx_nic *efx = netdev_priv(net_dev); local 72 rc = efx_mcdi_mdio_write(efx, ef 85 struct efx_nic *efx = netdev_priv(net_dev); local 101 siena_probe_port(struct efx_nic *efx) argument 134 siena_remove_port(struct efx_nic *efx) argument 169 siena_test_registers(struct efx_nic *efx) argument 212 siena_reset_hw(struct efx_nic *efx, enum reset_type method) argument 227 siena_probe_nvconfig(struct efx_nic *efx) argument 232 siena_probe_nic(struct efx_nic *efx) argument 324 siena_init_nic(struct efx_nic *efx) argument 392 siena_remove_nic(struct efx_nic *efx) argument 409 siena_try_update_nic_stats(struct efx_nic *efx) argument 507 siena_update_nic_stats(struct efx_nic *efx) argument 522 siena_start_nic_stats(struct efx_nic *efx) argument 532 siena_stop_nic_stats(struct efx_nic *efx) argument 544 siena_get_wol(struct efx_nic *efx, struct ethtool_wolinfo *wol) argument 557 siena_set_wol(struct efx_nic *efx, u32 type) argument 591 siena_init_wol(struct efx_nic *efx) argument [all...] |
H A D | mcdi_phy.c | 15 #include "efx.h" 37 efx_mcdi_get_phy_cfg(struct efx_nic *efx, struct efx_mcdi_phy_data *cfg) argument 46 rc = efx_mcdi_rpc(efx, MC_CMD_GET_PHY_CFG, NULL, 0, 73 netif_err(efx, hw, efx->net_dev, "%s: failed rc=%d\n", __func__, rc); 77 static int efx_mcdi_set_link(struct efx_nic *efx, u32 capabilities, argument 91 rc = efx_mcdi_rpc(efx, MC_CMD_SET_LINK, inbuf, sizeof(inbuf), 99 netif_err(efx, hw, efx->net_dev, "%s: failed rc=%d\n", __func__, rc); 103 static int efx_mcdi_loopback_modes(struct efx_nic *efx, u6 argument 128 efx_mcdi_mdio_read(struct efx_nic *efx, unsigned int bus, unsigned int prtad, unsigned int devad, u16 addr, u16 *value_out, u32 *status_out) argument 156 efx_mcdi_mdio_write(struct efx_nic *efx, unsigned int bus, unsigned int prtad, unsigned int devad, u16 addr, u16 value, u32 *status_out) argument 259 efx_get_mcdi_phy_flags(struct efx_nic *efx) argument 307 efx_mcdi_phy_probe(struct efx_nic *efx) argument 406 efx_mcdi_phy_reconfigure(struct efx_nic *efx) argument 417 efx_mcdi_phy_decode_link(struct efx_nic *efx, struct efx_link_state *link_state, u32 speed, u32 flags, u32 fcntl) argument 447 efx_mcdi_phy_check_fcntl(struct efx_nic *efx, u32 lpa) argument 472 efx_mcdi_phy_poll(struct efx_nic *efx) argument 499 efx_mcdi_phy_remove(struct efx_nic *efx) argument 507 efx_mcdi_phy_get_settings(struct efx_nic *efx, struct ethtool_cmd *ecmd) argument 538 efx_mcdi_phy_set_settings(struct efx_nic *efx, struct ethtool_cmd *ecmd) argument 580 efx_mcdi_phy_test_alive(struct efx_nic *efx) argument 612 efx_mcdi_bist(struct efx_nic *efx, unsigned int bist_mode, int *results) argument 676 efx_mcdi_phy_run_tests(struct efx_nic *efx, int *results, unsigned flags) argument 715 efx_mcdi_phy_test_name(struct efx_nic *efx, unsigned int index) argument [all...] |
H A D | mtd.c | 20 #include "efx.h" 52 struct efx_nic *efx; member in struct:efx_mtd 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; local 87 rc = falcon_spi_cmd(efx, spi, SPI_RDSR, -1, NULL, 101 efx_spi_unlock(struct efx_nic *efx, const struct efx_spi_device *spi) argument 108 rc = falcon_spi_cmd(efx, spi, SPI_RDSR, -1, NULL, 116 rc = falcon_spi_cmd(efx, sp 140 struct efx_nic *efx = efx_mtd->efx; local 252 efx_mtd_probe_device(struct efx_nic *efx, struct efx_mtd *efx_mtd) argument 287 efx_mtd_remove(struct efx_nic *efx) argument 297 efx_mtd_rename(struct efx_nic *efx) argument 307 efx_mtd_probe(struct efx_nic *efx) argument 323 struct efx_nic *efx = efx_mtd->efx; local 340 struct efx_nic *efx = efx_mtd->efx; local 358 struct efx_nic *efx = efx_mtd->efx; local 375 struct efx_nic *efx = efx_mtd->efx; local 392 falcon_mtd_probe(struct efx_nic *efx) argument 465 struct efx_nic *efx = efx_mtd->efx; local 489 struct efx_nic *efx = efx_mtd->efx; local 521 struct efx_nic *efx = efx_mtd->efx; local 552 struct efx_nic *efx = efx_mtd->efx; local 590 siena_mtd_probe_partition(struct efx_nic *efx, struct efx_mtd *efx_mtd, unsigned int part_id, unsigned int type) argument 626 siena_mtd_get_fw_subtypes(struct efx_nic *efx, struct efx_mtd *efx_mtd) argument 644 siena_mtd_probe(struct efx_nic *efx) argument [all...] |
H A D | qt202x_phy.c | 16 #include "efx.h" 76 static int qt2025c_wait_heartbeat(struct efx_nic *efx) argument 84 reg = efx_mdio_read(efx, MDIO_MMD_PCS, PCS_FW_HEARTBEAT_REG); 96 netif_err(efx, hw, efx->net_dev, 108 static int qt2025c_wait_fw_status_good(struct efx_nic *efx) argument 115 reg = efx_mdio_read(efx, MDIO_MMD_PCS, PCS_UC8051_STATUS_REG); 130 static void qt2025c_restart_firmware(struct efx_nic *efx) argument 133 efx_mdio_write(efx, 3, 0xe854, 0x00c0); 134 efx_mdio_write(efx, 138 qt2025c_wait_reset(struct efx_nic *efx) argument 163 qt2025c_firmware_id(struct efx_nic *efx) argument 183 qt2025c_bug17190_workaround(struct efx_nic *efx) argument 216 qt2025c_select_phy_mode(struct efx_nic *efx) argument 309 qt202x_reset_phy(struct efx_nic *efx) argument 342 qt202x_phy_probe(struct efx_nic *efx) argument 360 qt202x_phy_init(struct efx_nic *efx) argument 383 qt202x_link_ok(struct efx_nic *efx) argument 388 qt202x_phy_poll(struct efx_nic *efx) argument 403 qt202x_phy_reconfigure(struct efx_nic *efx) argument 440 qt202x_phy_get_settings(struct efx_nic *efx, struct ethtool_cmd *ecmd) argument 445 qt202x_phy_remove(struct efx_nic *efx) argument [all...] |
H A D | rx.c | 22 #include "efx.h" 95 static inline unsigned int efx_rx_buf_offset(struct efx_nic *efx, argument 102 efx->type->rx_buffer_hash_size); 104 static inline unsigned int efx_rx_buf_size(struct efx_nic *efx) argument 106 return PAGE_SIZE << efx->rx_buffer_order; 109 static u8 *efx_rx_buf_eh(struct efx_nic *efx, struct efx_rx_buffer *buf) argument 112 return page_address(buf->u.page) + efx_rx_buf_offset(efx, buf); 115 efx->type->rx_buffer_hash_size); 144 struct efx_nic *efx = rx_queue->efx; local 193 struct efx_nic *efx = rx_queue->efx; local 248 efx_unmap_rx_buffer(struct efx_nic *efx, struct efx_rx_buffer *rx_buf) argument 267 efx_free_rx_buffer(struct efx_nic *efx, struct efx_rx_buffer *rx_buf) argument 322 struct efx_nic *efx = channel->efx; local 417 struct efx_nic *efx = rx_queue->efx; local 466 struct efx_nic *efx = channel->efx; local 514 struct efx_nic *efx = rx_queue->efx; local 576 struct efx_nic *efx = channel->efx; local 654 struct efx_nic *efx = rx_queue->efx; local 684 struct efx_nic *efx = rx_queue->efx; local [all...] |
H A D | selftest.c | 24 #include "efx.h" 58 #define INT_MODE(efx) \ 59 STRING_TABLE_LOOKUP(efx->interrupt_mode, efx_interrupt_mode) 87 static int efx_test_phy_alive(struct efx_nic *efx, struct efx_self_tests *tests) argument 91 if (efx->phy_op->test_alive) { 92 rc = efx->phy_op->test_alive(efx); 99 static int efx_test_nvram(struct efx_nic *efx, struct efx_self_tests *tests) argument 103 if (efx->type->test_nvram) { 104 rc = efx 111 efx_test_chip(struct efx_nic *efx, struct efx_self_tests *tests) argument 131 efx_test_interrupts(struct efx_nic *efx, struct efx_self_tests *tests) argument 164 struct efx_nic *efx = channel->efx; local 217 efx_test_phy(struct efx_nic *efx, struct efx_self_tests *tests, unsigned flags) argument 241 efx_loopback_rx_packet(struct efx_nic *efx, const char *buf_ptr, int pkt_len) argument 333 efx_iterate_state(struct efx_nic *efx) argument 370 struct efx_nic *efx = tx_queue->efx; local 420 efx_poll_loopback(struct efx_nic *efx) argument 437 struct efx_nic *efx = tx_queue->efx; local 498 struct efx_nic *efx = tx_queue->efx; local 551 efx_wait_for_link(struct efx_nic *efx) argument 587 efx_test_loopbacks(struct efx_nic *efx, struct efx_self_tests *tests, unsigned int loopback_modes) argument 659 efx_selftest(struct efx_nic *efx, struct efx_self_tests *tests, unsigned flags) argument [all...] |
H A D | filter.c | 12 #include "efx.h" 112 static void efx_filter_push_rx_limits(struct efx_nic *efx) argument 114 struct efx_filter_state *state = efx->filter_state; 118 efx_reado(efx, &filter_ctl, FR_BZ_RX_FILTER_CTL); 146 efx_writeo(efx, &filter_ctl, FR_BZ_RX_FILTER_CTL); 482 u32 efx_filter_get_rx_id_limit(struct efx_nic *efx) argument 484 struct efx_filter_state *state = efx->filter_state; 498 * @efx: NIC in which to insert the filter 506 s32 efx_filter_insert_filter(struct efx_nic *efx, struct efx_filter_spec *spec, argument 509 struct efx_filter_state *state = efx 568 efx_filter_table_clear_entry(struct efx_nic *efx, struct efx_filter_table *table, unsigned int filter_idx) argument 593 efx_filter_remove_id_safe(struct efx_nic *efx, enum efx_filter_priority priority, u32 filter_id) argument 644 efx_filter_get_filter_safe(struct efx_nic *efx, enum efx_filter_priority priority, u32 filter_id, struct efx_filter_spec *spec_buf) argument 683 efx_filter_table_clear(struct efx_nic *efx, enum efx_filter_table_id table_id, enum efx_filter_priority priority) argument 707 efx_filter_clear_rx(struct efx_nic *efx, enum efx_filter_priority priority) argument 713 efx_filter_count_rx_used(struct efx_nic *efx, enum efx_filter_priority priority) argument 740 efx_filter_get_rx_ids(struct efx_nic *efx, enum efx_filter_priority priority, u32 *buf, u32 size) argument 776 efx_restore_filters(struct efx_nic *efx) argument 802 efx_probe_filters(struct efx_nic *efx) argument 859 efx_remove_filters(struct efx_nic *efx) argument 879 struct efx_nic *efx = netdev_priv(net_dev); local 925 __efx_filter_rfs_expire(struct efx_nic *efx, unsigned quota) argument [all...] |
H A D | tx.c | 21 #include "efx.h" 39 struct pci_dev *pci_dev = tx_queue->efx->pci_dev; 57 netif_vdbg(tx_queue->efx, tx_done, tx_queue->efx->net_dev, 105 efx_max_tx_len(struct efx_nic *efx, dma_addr_t dma_addr) argument 116 if (EFX_WORKAROUND_5391(efx) && (dma_addr & 0xf)) 140 struct efx_nic *efx = tx_queue->efx; local 141 struct pci_dev *pci_dev = efx->pci_dev; 160 if (EFX_WORKAROUND_15592(efx) 307 struct efx_nic *efx = tx_queue->efx; local 344 struct efx_nic *efx = netdev_priv(net_dev); local 363 struct efx_nic *efx = tx_queue->efx; local 375 struct efx_nic *efx = netdev_priv(net_dev); local 433 struct efx_nic *efx = tx_queue->efx; local 468 struct efx_nic *efx = tx_queue->efx; local 785 struct efx_nic *efx = tx_queue->efx; local 938 tso_get_fragment(struct tso_state *st, struct efx_nic *efx, skb_frag_t *frag) argument 953 tso_get_head_fragment(struct tso_state *st, struct efx_nic *efx, const struct sk_buff *skb) argument 1120 struct efx_nic *efx = tx_queue->efx; local [all...] |
H A D | ethtool.c | 18 #include "efx.h" 184 struct efx_nic *efx = netdev_priv(net_dev); local 201 efx->type->set_id_led(efx, mode); 209 struct efx_nic *efx = netdev_priv(net_dev); local 210 struct efx_link_state *link_state = &efx->link_state; 212 mutex_lock(&efx->mac_lock); 213 efx->phy_op->get_settings(efx, ecmd); 214 mutex_unlock(&efx 233 struct efx_nic *efx = netdev_priv(net_dev); local 253 struct efx_nic *efx = netdev_priv(net_dev); local 271 struct efx_nic *efx = netdev_priv(net_dev); local 279 struct efx_nic *efx = netdev_priv(net_dev); local 285 struct efx_nic *efx = netdev_priv(net_dev); local 343 efx_fill_loopback_test(struct efx_nic *efx, struct efx_loopback_self_tests *lb_tests, enum efx_loopback_mode mode, unsigned int test_index, struct ethtool_string *strings, u64 *data) argument 381 efx_ethtool_fill_self_tests(struct efx_nic *efx, struct efx_self_tests *tests, struct ethtool_string *strings, u64 *data) argument 461 struct efx_nic *efx = netdev_priv(net_dev); local 487 struct efx_nic *efx = netdev_priv(net_dev); local 533 struct efx_nic *efx = netdev_priv(net_dev); local 584 struct efx_nic *efx = netdev_priv(net_dev); local 621 struct efx_nic *efx = netdev_priv(net_dev); local 639 struct efx_nic *efx = netdev_priv(net_dev); local 681 struct efx_nic *efx = netdev_priv(net_dev); local 692 struct efx_nic *efx = netdev_priv(net_dev); local 713 struct efx_nic *efx = netdev_priv(net_dev); local 786 struct efx_nic *efx = netdev_priv(net_dev); local 797 struct efx_nic *efx = netdev_priv(net_dev); local 805 struct efx_nic *efx = netdev_priv(net_dev); local 811 struct efx_nic *efx = netdev_priv(net_dev); local 821 efx_ethtool_get_class_rule(struct efx_nic *efx, struct ethtool_rx_flow_spec *rule) argument 874 struct efx_nic *efx = netdev_priv(net_dev); local 946 efx_ethtool_set_class_rule(struct efx_nic *efx, struct ethtool_rx_flow_spec *rule) argument 1051 struct efx_nic *efx = netdev_priv(net_dev); local 1071 struct efx_nic *efx = netdev_priv(net_dev); local 1079 struct efx_nic *efx = netdev_priv(net_dev); local 1088 struct efx_nic *efx = netdev_priv(net_dev); local [all...] |
H A D | falcon.c | 21 #include "efx.h" 56 struct efx_nic *efx = (struct efx_nic *)data; local 59 efx_reado(efx, ®, FR_AB_GPIO_CTL); 61 efx_writeo(efx, ®, FR_AB_GPIO_CTL); 66 struct efx_nic *efx = (struct efx_nic *)data; local 69 efx_reado(efx, ®, FR_AB_GPIO_CTL); 71 efx_writeo(efx, ®, FR_AB_GPIO_CTL); 76 struct efx_nic *efx = (struct efx_nic *)data; local 79 efx_reado(efx, ®, FR_AB_GPIO_CTL); 85 struct efx_nic *efx local 105 struct efx_nic *efx = channel->efx; local 129 falcon_prepare_flush(struct efx_nic *efx) argument 149 falcon_irq_ack_a1(struct efx_nic *efx) argument 161 struct efx_nic *efx = dev_id; local 212 falcon_spi_poll(struct efx_nic *efx) argument 220 falcon_spi_wait(struct efx_nic *efx) argument 247 falcon_spi_cmd(struct efx_nic *efx, const struct efx_spi_device *spi, unsigned int command, int address, const void *in, void *out, size_t len) argument 319 falcon_spi_wait_write(struct efx_nic *efx, const struct efx_spi_device *spi) argument 343 falcon_spi_read(struct efx_nic *efx, const struct efx_spi_device *spi, loff_t start, size_t len, size_t *retlen, u8 *buffer) argument 374 falcon_spi_write(struct efx_nic *efx, const struct efx_spi_device *spi, loff_t start, size_t len, size_t *retlen, const u8 *buffer) argument 429 falcon_push_multicast_hash(struct efx_nic *efx) argument 439 falcon_reset_macs(struct efx_nic *efx) argument 503 falcon_drain_tx_fifo(struct efx_nic *efx) argument 519 falcon_deconfigure_mac_wrapper(struct efx_nic *efx) argument 535 falcon_reconfigure_mac_wrapper(struct efx_nic *efx) argument 581 falcon_stats_request(struct efx_nic *efx) argument 606 falcon_stats_complete(struct efx_nic *efx) argument 625 struct efx_nic *efx = (struct efx_nic *)context; local 637 falcon_loopback_link_poll(struct efx_nic *efx) argument 652 falcon_reconfigure_port(struct efx_nic *efx) argument 692 falcon_gmii_wait(struct efx_nic *efx) argument 721 struct efx_nic *efx = netdev_priv(net_dev); local 774 struct efx_nic *efx = netdev_priv(net_dev); local 823 falcon_probe_port(struct efx_nic *efx) argument 880 falcon_remove_port(struct efx_nic *efx) argument 890 struct efx_nic *efx = channel->efx; local 928 falcon_read_nvram(struct efx_nic *efx, struct falcon_nvconfig *nvconfig_out) argument 999 falcon_test_nvram(struct efx_nic *efx) argument 1043 falcon_b0_test_registers(struct efx_nic *efx) argument 1101 __falcon_reset_hw(struct efx_nic *efx, enum reset_type method) argument 1182 falcon_reset_hw(struct efx_nic *efx, enum reset_type method) argument 1194 falcon_monitor(struct efx_nic *efx) argument 1235 falcon_reset_sram(struct efx_nic *efx) argument 1275 falcon_spi_device_init(struct efx_nic *efx, struct efx_spi_device *spi_device, unsigned int device_id, u32 device_type) argument 1301 falcon_probe_nvconfig(struct efx_nic *efx) argument 1343 falcon_probe_spi_devices(struct efx_nic *efx) argument 1386 falcon_probe_nic(struct efx_nic *efx) argument 1518 falcon_init_rx_cfg(struct efx_nic *efx) argument 1568 falcon_init_nic(struct efx_nic *efx) argument 1635 falcon_remove_nic(struct efx_nic *efx) argument 1663 falcon_update_nic_stats(struct efx_nic *efx) argument 1683 falcon_start_nic_stats(struct efx_nic *efx) argument 1693 falcon_stop_nic_stats(struct efx_nic *efx) argument 1719 falcon_set_id_led(struct efx_nic *efx, enum efx_led_mode mode) argument 1731 falcon_get_wol(struct efx_nic *efx, struct ethtool_wolinfo *wol) argument 1738 falcon_set_wol(struct efx_nic *efx, u32 type) argument [all...] |
H A D | falcon_boards.c | 14 #include "efx.h" 90 static int efx_init_lm87(struct efx_nic *efx, struct i2c_board_info *info, argument 93 struct falcon_board *board = falcon_board(efx); 119 static void efx_fini_lm87(struct efx_nic *efx) argument 121 i2c_unregister_device(falcon_board(efx)->hwmon_client); 124 static int efx_check_lm87(struct efx_nic *efx, unsigned mask) argument 126 struct i2c_client *client = falcon_board(efx)->hwmon_client; 132 if (EFX_WORKAROUND_7884(efx) && efx->link_state.up) 164 netif_err(efx, h 182 efx_init_lm87(struct efx_nic *efx, struct i2c_board_info *info, const u8 *reg_values) argument 187 efx_fini_lm87(struct efx_nic *efx) argument 190 efx_check_lm87(struct efx_nic *efx, unsigned mask) argument 258 sfe4001_poweroff(struct efx_nic *efx) argument 272 sfe4001_poweron(struct efx_nic *efx) argument 363 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); local 371 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); local 404 sfe4001_fini(struct efx_nic *efx) argument 416 sfe4001_check_hw(struct efx_nic *efx) argument 453 sfe4001_init(struct efx_nic *efx) argument 540 sfe4002_init_phy(struct efx_nic *efx) argument 551 sfe4002_set_id_led(struct efx_nic *efx, enum efx_led_mode mode) argument 558 sfe4002_check_hw(struct efx_nic *efx) argument 571 sfe4002_init(struct efx_nic *efx) argument 602 sfn4112f_init_phy(struct efx_nic *efx) argument 610 sfn4112f_set_id_led(struct efx_nic *efx, enum efx_led_mode mode) argument 629 sfn4112f_check_hw(struct efx_nic *efx) argument 635 sfn4112f_init(struct efx_nic *efx) argument 666 sfe4003_set_id_led(struct efx_nic *efx, enum efx_led_mode mode) argument 679 sfe4003_init_phy(struct efx_nic *efx) argument 691 sfe4003_check_hw(struct efx_nic *efx) argument 704 sfe4003_init(struct efx_nic *efx) argument 752 falcon_probe_board(struct efx_nic *efx, u16 revision_info) argument [all...] |
H A D | mcdi.c | 35 #define MCDI_PDU(efx) \ 36 (efx_port_num(efx) ? CMD_PDU_PORT1 : CMD_PDU_PORT0) 37 #define MCDI_DOORBELL(efx) \ 38 (efx_port_num(efx) ? CMD_NOTIFY_PORT1 : CMD_NOTIFY_PORT0) 39 #define MCDI_REBOOT_FLAG(efx) \ 40 (efx_port_num(efx) ? REBOOT_FLAG_PORT1 : REBOOT_FLAG_PORT0) 45 static inline struct efx_mcdi_iface *efx_mcdi(struct efx_nic *efx) argument 48 EFX_BUG_ON_PARANOID(efx_nic_rev(efx) < EFX_REV_SIENA_A0); 49 nic_data = efx->nic_data; 53 void efx_mcdi_init(struct efx_nic *efx) argument 69 efx_mcdi_copyin(struct efx_nic *efx, unsigned cmd, const u8 *inbuf, size_t inlen) argument 107 efx_mcdi_copyout(struct efx_nic *efx, u8 *outbuf, size_t outlen) argument 120 efx_mcdi_poll(struct efx_nic *efx) argument 211 efx_mcdi_poll_reboot(struct efx_nic *efx) argument 246 efx_mcdi_await_completion(struct efx_nic *efx) argument 294 efx_mcdi_ev_cpl(struct efx_nic *efx, unsigned int seqno, unsigned int datalen, unsigned int errno) argument 325 efx_mcdi_rpc(struct efx_nic *efx, unsigned cmd, const u8 *inbuf, size_t inlen, u8 *outbuf, size_t outlen, size_t *outlen_actual) argument 393 efx_mcdi_mode_poll(struct efx_nic *efx) argument 417 efx_mcdi_mode_event(struct efx_nic *efx) argument 441 efx_mcdi_ev_death(struct efx_nic *efx, int rc) argument 482 efx_mcdi_process_link_change(struct efx_nic *efx, efx_qword_t *ev) argument 528 efx_mcdi_sensor_event(struct efx_nic *efx, efx_qword_t *ev) argument 552 struct efx_nic *efx = channel->efx; local 605 efx_mcdi_print_fwver(struct efx_nic *efx, char *buf, size_t len) argument 635 efx_mcdi_drv_attach(struct efx_nic *efx, bool driver_operating, bool *was_attached) argument 665 efx_mcdi_get_board_cfg(struct efx_nic *efx, u8 *mac_address, u16 *fw_subtype_list) argument 705 efx_mcdi_log_ctrl(struct efx_nic *efx, bool evq, bool uart, u32 dest_evq) argument 733 efx_mcdi_nvram_types(struct efx_nic *efx, u32 *nvram_types_out) argument 759 efx_mcdi_nvram_info(struct efx_nic *efx, unsigned int type, size_t *size_out, size_t *erase_size_out, bool *protected_out) argument 790 efx_mcdi_nvram_update_start(struct efx_nic *efx, unsigned int type) argument 811 efx_mcdi_nvram_read(struct efx_nic *efx, unsigned int type, loff_t offset, u8 *buffer, size_t length) argument 836 efx_mcdi_nvram_write(struct efx_nic *efx, unsigned int type, loff_t offset, const u8 *buffer, size_t length) argument 862 efx_mcdi_nvram_erase(struct efx_nic *efx, unsigned int type, loff_t offset, size_t length) argument 886 efx_mcdi_nvram_update_finish(struct efx_nic *efx, unsigned int type) argument 907 efx_mcdi_nvram_test(struct efx_nic *efx, unsigned int type) argument 929 efx_mcdi_nvram_test_all(struct efx_nic *efx) argument 960 efx_mcdi_read_assertion(struct efx_nic *efx) argument 1016 efx_mcdi_exit_assertion(struct efx_nic *efx) argument 1028 efx_mcdi_handle_assertion(struct efx_nic *efx) argument 1041 efx_mcdi_set_id_led(struct efx_nic *efx, enum efx_led_mode mode) argument 1061 efx_mcdi_reset_port(struct efx_nic *efx) argument 1070 efx_mcdi_reset_mc(struct efx_nic *efx) argument 1088 efx_mcdi_wol_filter_set(struct efx_nic *efx, u32 type, const u8 *mac, int *id_out) argument 1124 efx_mcdi_wol_filter_set_magic(struct efx_nic *efx, const u8 *mac, int *id_out) argument 1130 efx_mcdi_wol_filter_get_magic(struct efx_nic *efx, int *id_out) argument 1157 efx_mcdi_wol_filter_remove(struct efx_nic *efx, int id) argument 1177 efx_mcdi_wol_filter_reset(struct efx_nic *efx) argument [all...] |
H A D | tenxpress.c | 14 #include "efx.h" 151 static int tenxpress_init(struct efx_nic *efx) argument 154 efx_mdio_write(efx, MDIO_MMD_PCS, PCS_TEST_SELECT_REG, 158 efx_mdio_set_flag(efx, MDIO_MMD_PMAPMD, PMA_PMD_LED_CTRL_REG, 160 efx_mdio_write(efx, MDIO_MMD_PMAPMD, PMA_PMD_LED_OVERR_REG, 166 static int tenxpress_phy_probe(struct efx_nic *efx) argument 174 efx->phy_data = phy_data; 175 phy_data->phy_mode = efx->phy_mode; 177 efx->mdio.mmds = TENXPRESS_REQUIRED_DEVS; 178 efx 188 tenxpress_phy_init(struct efx_nic *efx) argument 223 tenxpress_special_reset(struct efx_nic *efx) argument 256 sfx7101_check_bad_lp(struct efx_nic *efx, bool link_ok) argument 300 sfx7101_link_ok(struct efx_nic *efx) argument 308 tenxpress_ext_loopback(struct efx_nic *efx) argument 315 tenxpress_low_power(struct efx_nic *efx) argument 322 tenxpress_phy_reconfigure(struct efx_nic *efx) argument 358 tenxpress_phy_poll(struct efx_nic *efx) argument 372 sfx7101_phy_fini(struct efx_nic *efx) argument 386 tenxpress_phy_remove(struct efx_nic *efx) argument 394 tenxpress_set_id_led(struct efx_nic *efx, enum efx_led_mode mode) argument 421 sfx7101_test_name(struct efx_nic *efx, unsigned int index) argument 429 sfx7101_run_tests(struct efx_nic *efx, int *results, unsigned flags) argument 446 tenxpress_get_settings(struct efx_nic *efx, struct ethtool_cmd *ecmd) argument 466 tenxpress_set_settings(struct efx_nic *efx, struct ethtool_cmd *ecmd) argument 474 sfx7101_set_npage_adv(struct efx_nic *efx, u32 advertising) argument [all...] |
H A D | txc43128_phy.c | 17 #include "efx.h" 171 static void txc_reset_logic(struct efx_nic *efx); 174 void falcon_txc_set_gpio_val(struct efx_nic *efx, int pin, int on) argument 176 efx_mdio_set_flag(efx, MDIO_MMD_PHYXS, TXC_GPIO_OUTPUT, 1 << pin, on); 180 void falcon_txc_set_gpio_dir(struct efx_nic *efx, int pin, int dir) argument 182 efx_mdio_set_flag(efx, MDIO_MMD_PHYXS, TXC_GPIO_DIR, 1 << pin, dir); 187 static int txc_reset_phy(struct efx_nic *efx) argument 189 int rc = efx_mdio_reset_mmd(efx, MDIO_MMD_PMAPMD, 196 rc = efx_mdio_check_mmds(efx, TXC_REQUIRED_DEVS); 203 netif_err(efx, h 208 txc_bist_one(struct efx_nic *efx, int mmd, int test) argument 273 txc_bist(struct efx_nic *efx) argument 280 txc_apply_defaults(struct efx_nic *efx) argument 324 txc43128_phy_probe(struct efx_nic *efx) argument 344 txc43128_phy_init(struct efx_nic *efx) argument 362 txc_glrgs_lane_power(struct efx_nic *efx, int mmd) argument 376 txc_analog_lane_power(struct efx_nic *efx, int mmd) argument 397 txc_set_power(struct efx_nic *efx) argument 414 txc_reset_logic_mmd(struct efx_nic *efx, int mmd) argument 434 txc_reset_logic(struct efx_nic *efx) argument 442 txc43128_phy_read_link(struct efx_nic *efx) argument 447 txc43128_phy_reconfigure(struct efx_nic *efx) argument 478 txc43128_phy_fini(struct efx_nic *efx) argument 484 txc43128_phy_remove(struct efx_nic *efx) argument 492 txc43128_phy_poll(struct efx_nic *efx) argument 519 txc43128_test_name(struct efx_nic *efx, unsigned int index) argument 526 txc43128_run_tests(struct efx_nic *efx, int *results, unsigned flags) argument 543 txc43128_get_settings(struct efx_nic *efx, struct ethtool_cmd *ecmd) argument [all...] |
H A D | efx.c | 26 #include "efx.h" 198 static void efx_remove_channels(struct efx_nic *efx); 199 static void efx_remove_port(struct efx_nic *efx); 200 static void efx_init_napi(struct efx_nic *efx); 201 static void efx_fini_napi(struct efx_nic *efx); 203 static void efx_fini_struct(struct efx_nic *efx); 204 static void efx_start_all(struct efx_nic *efx); 205 static void efx_stop_all(struct efx_nic *efx); 207 #define EFX_ASSERT_RESET_SERIALISED(efx) \ 209 if ((efx 229 struct efx_nic *efx = channel->efx; local 279 struct efx_nic *efx = channel->efx; local 335 struct efx_nic *efx = channel->efx; local 373 struct efx_nic *efx = channel->efx; local 424 efx_alloc_channel(struct efx_nic *efx, int i, struct efx_channel *old_channel) argument 516 efx_set_channel_names(struct efx_nic *efx) argument 538 efx_probe_channels(struct efx_nic *efx) argument 568 efx_init_channels(struct efx_nic *efx) argument 648 efx_fini_channels(struct efx_nic *efx) argument 701 efx_remove_channels(struct efx_nic *efx) argument 710 efx_realloc_channels(struct efx_nic *efx, u32 rxq_entries, u32 txq_entries) argument 789 efx_link_status_changed(struct efx_nic *efx) argument 822 efx_link_set_advertising(struct efx_nic *efx, u32 advertising) argument 835 efx_link_set_wanted_fc(struct efx_nic *efx, u8 wanted_fc) argument 859 __efx_reconfigure_port(struct efx_nic *efx) argument 889 efx_reconfigure_port(struct efx_nic *efx) argument 907 struct efx_nic *efx = container_of(data, struct efx_nic, mac_work); local 917 efx_probe_port(struct efx_nic *efx) argument 956 efx_init_port(struct efx_nic *efx) argument 989 efx_start_port(struct efx_nic *efx) argument 1006 efx_stop_port(struct efx_nic *efx) argument 1021 efx_fini_port(struct efx_nic *efx) argument 1035 efx_remove_port(struct efx_nic *efx) argument 1049 efx_init_io(struct efx_nic *efx) argument 1130 efx_fini_io(struct efx_nic *efx) argument 1178 efx_init_rx_cpu_rmap(struct efx_nic *efx, struct msix_entry *xentries) argument 1202 efx_probe_interrupts(struct efx_nic *efx) argument 1286 efx_remove_interrupts(struct efx_nic *efx) argument 1300 efx_set_channels(struct efx_nic *efx) argument 1318 efx_probe_nic(struct efx_nic *efx) argument 1357 efx_remove_nic(struct efx_nic *efx) argument 1371 efx_probe_all(struct efx_nic *efx) argument 1416 efx_start_all(struct efx_nic *efx) argument 1473 efx_flush_all(struct efx_nic *efx) argument 1486 efx_stop_all(struct efx_nic *efx) argument 1533 efx_remove_all(struct efx_nic *efx) argument 1557 efx_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs, unsigned int rx_usecs, bool rx_adaptive, bool rx_may_override_tx) argument 1589 efx_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs, unsigned int *rx_usecs, bool *rx_adaptive) argument 1616 struct efx_nic *efx = container_of(data, struct efx_nic, local 1648 struct efx_nic *efx = netdev_priv(net_dev); local 1667 efx_init_napi(struct efx_nic *efx) argument 1685 efx_fini_napi(struct efx_nic *efx) argument 1707 struct efx_nic *efx = netdev_priv(net_dev); local 1725 struct efx_nic *efx = netdev_priv(net_dev); local 1752 struct efx_nic *efx = netdev_priv(net_dev); local 1770 struct efx_nic *efx = netdev_priv(net_dev); local 1805 struct efx_nic *efx = netdev_priv(net_dev); local 1818 struct efx_nic *efx = netdev_priv(net_dev); local 1847 struct efx_nic *efx = netdev_priv(net_dev); local 1873 struct efx_nic *efx = netdev_priv(net_dev); local 1906 struct efx_nic *efx = netdev_priv(net_dev); local 1936 efx_update_name(struct efx_nic *efx) argument 1962 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); local 1967 efx_register_netdev(struct efx_nic *efx) argument 2023 efx_unregister_netdev(struct efx_nic *efx) argument 2056 efx_reset_down(struct efx_nic *efx, enum reset_type method) argument 2074 efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok) argument 2122 efx_reset(struct efx_nic *efx, enum reset_type method) argument 2176 struct efx_nic *efx = container_of(data, struct efx_nic, reset_work); local 2195 efx_schedule_reset(struct efx_nic *efx, enum reset_type type) argument 2255 efx_port_dummy_op_int(struct efx_nic *efx) argument 2259 efx_port_dummy_op_void(struct efx_nic *efx) argument 2261 efx_port_dummy_op_poll(struct efx_nic *efx) argument 2282 efx_init_struct(struct efx_nic *efx, const struct efx_nic_type *type, struct pci_dev *pci_dev, struct net_device *net_dev) argument 2336 efx_fini_struct(struct efx_nic *efx) argument 2358 efx_pci_remove_main(struct efx_nic *efx) argument 2377 struct efx_nic *efx; local 2414 efx_pci_probe_main(struct efx_nic *efx) argument 2473 struct efx_nic *efx; local 2574 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); local 2588 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); local 2615 struct efx_nic *efx = pci_get_drvdata(pci_dev); local 2629 struct efx_nic *efx = pci_get_drvdata(pci_dev); local [all...] |
H A D | nic.c | 19 #include "efx.h" 77 static inline void efx_write_buf_tbl(struct efx_nic *efx, efx_qword_t *value, argument 80 efx_sram_writeq(efx, efx->membase + efx->type->buf_tbl_base, 115 int efx_nic_test_registers(struct efx_nic *efx, argument 123 WARN_ON(!LOOPBACK_INTERNAL(efx)); 130 efx_reado(efx, &original, address); 141 efx_writeo(efx, ®, address); 142 efx_reado(efx, 187 efx_init_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) argument 213 efx_fini_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) argument 242 efx_alloc_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer, unsigned int len) argument 274 efx_free_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) argument 299 efx_nic_alloc_buffer(struct efx_nic *efx, struct efx_buffer *buffer, unsigned int len) argument 311 efx_nic_free_buffer(struct efx_nic *efx, struct efx_buffer *buffer) argument 420 struct efx_nic *efx = tx_queue->efx; local 430 struct efx_nic *efx = tx_queue->efx; local 488 struct efx_nic *efx = tx_queue->efx; local 502 struct efx_nic *efx = tx_queue->efx; local 558 struct efx_nic *efx = rx_queue->efx; local 578 struct efx_nic *efx = rx_queue->efx; local 589 struct efx_nic *efx = rx_queue->efx; local 625 struct efx_nic *efx = rx_queue->efx; local 641 struct efx_nic *efx = rx_queue->efx; local 676 struct efx_nic *efx = channel->efx; local 710 struct efx_nic *efx = channel->efx; local 754 struct efx_nic *efx = rx_queue->efx; local 828 struct efx_nic *efx = rx_queue->efx; local 907 struct efx_nic *efx = channel->efx; local 927 struct efx_nic *efx = channel->efx; local 995 struct efx_nic *efx = channel->efx; local 1074 struct efx_nic *efx = channel->efx; local 1085 struct efx_nic *efx = channel->efx; local 1120 struct efx_nic *efx = channel->efx; local 1169 efx_poll_flush_events(struct efx_nic *efx) argument 1224 efx_nic_flush_queues(struct efx_nic *efx) argument 1308 efx_nic_interrupts(struct efx_nic *efx, bool enabled, bool force) argument 1320 efx_nic_enable_interrupts(struct efx_nic *efx) argument 1336 efx_nic_disable_interrupts(struct efx_nic *efx) argument 1346 efx_nic_generate_interrupt(struct efx_nic *efx) argument 1354 efx_nic_fatal_interrupt(struct efx_nic *efx) argument 1412 struct efx_nic *efx = dev_id; local 1487 struct efx_nic *efx = channel->efx; local 1513 efx_nic_push_rx_indir_table(struct efx_nic *efx) argument 1534 efx_nic_init_interrupt(struct efx_nic *efx) argument 1579 efx_nic_fini_interrupt(struct efx_nic *efx) argument 1601 efx_nic_fpga_ver(struct efx_nic *efx) argument 1608 efx_nic_init_common(struct efx_nic *efx) argument 1890 efx_nic_get_regs_len(struct efx_nic *efx) argument 1913 efx_nic_get_regs(struct efx_nic *efx, void *buf) argument [all...] |
H A D | net_driver.h | 137 * @efx: The associated Efx NIC 180 struct efx_nic *efx ____cacheline_aligned_in_smp; 249 * @efx: The associated Efx NIC 270 struct efx_nic *efx; member in struct:efx_rx_queue 320 * @efx: Associated Efx NIC 349 struct efx_nic *efx; member in struct:efx_channel 400 #define LOOPBACK_MODE(efx) \ 401 STRING_TABLE_LOOKUP((efx)->loopback_mode, efx_loopback_mode) 483 int (*reconfigure) (struct efx_nic *efx); 484 void (*update_stats) (struct efx_nic *efx); 804 efx_dev_registered(struct efx_nic *efx) argument 813 efx_dev_name(struct efx_nic *efx) argument 818 efx_port_num(struct efx_nic *efx) argument 921 efx_get_channel(struct efx_nic *efx, unsigned index) argument 935 efx_get_tx_queue(struct efx_nic *efx, unsigned index, unsigned type) argument 979 efx_get_rx_queue(struct efx_nic *efx, unsigned index) argument [all...] |