/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, 134 efx_mtd_probe(struct efx_nic *efx) argument 135 efx_mtd_rename(struct efx_nic *efx) argument 136 efx_mtd_remove(struct efx_nic *efx) argument [all...] |
H A D | mcdi_mac.c | 11 #include "efx.h" 15 int efx_mcdi_set_mac(struct efx_nic *efx) argument 21 efx->net_dev->dev_addr, ETH_ALEN); 24 EFX_MAX_FRAME_LEN(efx->net_dev->mtu)); 30 reject = (efx->promiscuous) ? 0 : 34 switch (efx->wanted_fc) { 45 if (efx->wanted_fc & EFX_FC_AUTO) 47 if (efx->fc_disable) 52 return efx_mcdi_rpc(efx, MC_CMD_SET_MAC, cmdbytes, sizeof(cmdbytes), 56 bool efx_mcdi_mac_check_fault(struct efx_nic *efx) argument 75 efx_mcdi_mac_stats(struct efx_nic *efx, dma_addr_t dma_addr, u32 dma_len, int enable, int clear) argument 116 efx_mcdi_mac_reconfigure(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" 27 void falcon_setup_xaui(struct efx_nic *efx) argument 33 if (efx->phy_type == PHY_TYPE_NONE) 36 efx_reado(efx, &sdctl, FR_AB_XX_SD_CTL); 45 efx_writeo(efx, &sdctl, FR_AB_XX_SD_CTL); 56 efx_writeo(efx, &txdrv, FR_AB_XX_TXDRV_CTL); 59 int falcon_reset_xaui(struct efx_nic *efx) argument 61 struct falcon_nic_data *nic_data = efx->nic_data; 70 efx_writeo(efx, ®, FR_AB_XX_PWR_RST); 74 efx_reado(efx, 87 falcon_ack_status_intr(struct efx_nic *efx) argument 107 falcon_xgxs_link_ok(struct efx_nic *efx) argument 130 falcon_xmac_link_ok(struct efx_nic *efx) argument 145 falcon_reconfigure_xmac_core(struct efx_nic *efx) argument 199 falcon_reconfigure_xgxs_core(struct efx_nic *efx) argument 247 falcon_xmac_link_ok_retry(struct efx_nic *efx, int tries) argument 272 falcon_xmac_check_fault(struct efx_nic *efx) argument 277 falcon_reconfigure_xmac(struct efx_nic *efx) argument 292 falcon_update_stats_xmac(struct efx_nic *efx) argument 352 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 | mcdi.h | 68 extern void efx_mcdi_init(struct efx_nic *efx); 70 extern int efx_mcdi_rpc(struct efx_nic *efx, unsigned cmd, const u8 *inbuf, 74 extern int efx_mcdi_poll_reboot(struct efx_nic *efx); 75 extern void efx_mcdi_mode_poll(struct efx_nic *efx); 76 extern void efx_mcdi_mode_event(struct efx_nic *efx); 80 extern void efx_mcdi_sensor_event(struct efx_nic *efx, efx_qword_t *ev); 116 extern void efx_mcdi_print_fwver(struct efx_nic *efx, char *buf, size_t len); 117 extern int efx_mcdi_drv_attach(struct efx_nic *efx, bool driver_operating, 119 extern int efx_mcdi_get_board_cfg(struct efx_nic *efx, u8 *mac_address, 121 extern int efx_mcdi_log_ctrl(struct efx_nic *efx, boo 160 efx_mcdi_mon_probe(struct efx_nic *efx) argument 161 efx_mcdi_mon_remove(struct efx_nic *efx) argument [all...] |
H A D | mcdi_mon.c | 59 void efx_mcdi_sensor_event(struct efx_nic *efx, efx_qword_t *ev) argument 77 netif_err(efx, hw, efx->net_dev, 92 static int efx_mcdi_mon_update(struct efx_nic *efx) argument 94 struct efx_mcdi_mon *hwmon = efx_mcdi_mon(efx); 103 rc = efx_mcdi_rpc(efx, MC_CMD_READ_SENSORS, 120 struct efx_nic *efx = dev_get_drvdata(dev); local 121 struct efx_mcdi_mon *hwmon = efx_mcdi_mon(efx); 132 rc = efx_mcdi_mon_update(efx); 211 efx_mcdi_mon_add_attr(struct efx_nic *efx, cons argument 234 efx_mcdi_mon_probe(struct efx_nic *efx) argument 400 efx_mcdi_mon_remove(struct efx_nic *efx) 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 | siena.c | 19 #include "efx.h" 31 static void siena_init_wol(struct efx_nic *efx); 49 efx_writed_page_locked(channel->efx, &timer_cmd, FR_BZ_TIMER_COMMAND_P0, 56 struct efx_nic *efx = netdev_priv(net_dev); local 60 rc = efx_mcdi_mdio_write(efx, efx->mdio_bus, prtad, devad, 73 struct efx_nic *efx = netdev_priv(net_dev); local 78 rc = efx_mcdi_mdio_read(efx, efx->mdio_bus, prtad, devad, 89 static int siena_probe_port(struct efx_nic *efx) argument 122 siena_remove_port(struct efx_nic *efx) argument 157 siena_test_registers(struct efx_nic *efx) argument 200 siena_reset_hw(struct efx_nic *efx, enum reset_type method) argument 215 siena_probe_nvconfig(struct efx_nic *efx) argument 228 siena_dimension_resources(struct efx_nic *efx) argument 237 siena_probe_nic(struct efx_nic *efx) argument 335 siena_init_nic(struct efx_nic *efx) argument 403 siena_remove_nic(struct efx_nic *efx) argument 421 siena_try_update_nic_stats(struct efx_nic *efx) argument 519 siena_update_nic_stats(struct efx_nic *efx) argument 534 siena_start_nic_stats(struct efx_nic *efx) argument 544 siena_stop_nic_stats(struct efx_nic *efx) argument 556 siena_get_wol(struct efx_nic *efx, struct ethtool_wolinfo *wol) argument 569 siena_set_wol(struct efx_nic *efx, u32 type) argument 603 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 643 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); 114 return (u8 *)buf->u.skb->data + efx->type->rx_buffer_hash_size; 143 struct efx_nic *efx = rx_queue->efx; local 192 struct efx_nic *efx = rx_queue->efx; local 247 efx_unmap_rx_buffer(struct efx_nic *efx, struct efx_rx_buffer *rx_buf) argument 266 efx_free_rx_buffer(struct efx_nic *efx, struct efx_rx_buffer *rx_buf) argument 321 struct efx_nic *efx = channel->efx; local 417 struct efx_nic *efx = rx_queue->efx; local 463 struct efx_nic *efx = channel->efx; local 511 struct efx_nic *efx = rx_queue->efx; local 589 struct efx_nic *efx = channel->efx; local 653 struct efx_nic *efx = rx_queue->efx; local 683 struct efx_nic *efx = rx_queue->efx; local [all...] |
H A D | selftest.c | 23 #include "efx.h" 67 #define INT_MODE(efx) \ 68 STRING_TABLE_LOOKUP(efx->interrupt_mode, efx_interrupt_mode) 99 static int efx_test_phy_alive(struct efx_nic *efx, struct efx_self_tests *tests) argument 103 if (efx->phy_op->test_alive) { 104 rc = efx->phy_op->test_alive(efx); 111 static int efx_test_nvram(struct efx_nic *efx, struct efx_self_tests *tests) argument 115 if (efx->type->test_nvram) { 116 rc = efx 123 efx_test_chip(struct efx_nic *efx, struct efx_self_tests *tests) argument 143 efx_test_interrupts(struct efx_nic *efx, struct efx_self_tests *tests) argument 177 efx_test_eventq_irq(struct efx_nic *efx, struct efx_self_tests *tests) argument 259 efx_test_phy(struct efx_nic *efx, struct efx_self_tests *tests, unsigned flags) argument 283 efx_loopback_rx_packet(struct efx_nic *efx, const char *buf_ptr, int pkt_len) argument 375 efx_iterate_state(struct efx_nic *efx) argument 412 struct efx_nic *efx = tx_queue->efx; local 460 efx_poll_loopback(struct efx_nic *efx) argument 477 struct efx_nic *efx = tx_queue->efx; local 536 struct efx_nic *efx = tx_queue->efx; local 589 efx_wait_for_link(struct efx_nic *efx) argument 625 efx_test_loopbacks(struct efx_nic *efx, struct efx_self_tests *tests, unsigned int loopback_modes) argument 697 efx_selftest(struct efx_nic *efx, struct efx_self_tests *tests, unsigned flags) argument 799 efx_selftest_async_start(struct efx_nic *efx) argument 808 efx_selftest_async_cancel(struct efx_nic *efx) argument 815 struct efx_nic *efx = container_of(data, struct efx_nic, local [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); 39 static inline bool efx_nic_is_dual_func(struct efx_nic *efx) argument 41 return efx_nic_rev(efx) < EFX_REV_FALCON_B0; 81 void (*init_phy) (struct efx_nic *efx); 83 void (*set_id_led) (struct efx_nic *efx, enum efx_led_mode mode); 134 static inline struct falcon_board *falcon_board(struct efx_nic *efx) argument 136 struct falcon_nic_data *data = efx 155 efx_mcdi_mon(struct efx_nic *efx) argument 195 efx_sriov_wanted(struct efx_nic *efx) argument 199 efx_sriov_enabled(struct efx_nic *efx) argument 203 efx_vf_size(struct efx_nic *efx) argument 223 efx_sriov_wanted(struct efx_nic *efx) argument 224 efx_sriov_enabled(struct efx_nic *efx) argument 225 efx_vf_size(struct efx_nic *efx) argument 228 efx_sriov_probe(struct efx_nic *efx) argument 229 efx_sriov_init(struct efx_nic *efx) argument 230 efx_sriov_mac_address_changed(struct efx_nic *efx) argument 231 efx_sriov_tx_flush_done(struct efx_nic *efx, efx_qword_t *event) argument 233 efx_sriov_rx_flush_done(struct efx_nic *efx, efx_qword_t *event) argument 237 efx_sriov_desc_fetch_err(struct efx_nic *efx, unsigned dmaq) argument 238 efx_sriov_flr(struct efx_nic *efx, unsigned flr) argument 239 efx_sriov_reset(struct efx_nic *efx) argument 240 efx_sriov_fini(struct efx_nic *efx) argument 312 efx_nic_irq_test_irq_cpu(struct efx_nic *efx) 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 466 struct efx_nic *efx = tx_queue->efx; local 783 struct efx_nic *efx = tx_queue->efx; local 936 tso_get_fragment(struct tso_state *st, struct efx_nic *efx, skb_frag_t *frag) argument 951 tso_get_head_fragment(struct tso_state *st, struct efx_nic *efx, const struct sk_buff *skb) argument 1118 struct efx_nic *efx = tx_queue->efx; local [all...] |
H A D | ethtool.c | 18 #include "efx.h" 175 struct efx_nic *efx = netdev_priv(net_dev); local 192 efx->type->set_id_led(efx, mode); 200 struct efx_nic *efx = netdev_priv(net_dev); local 201 struct efx_link_state *link_state = &efx->link_state; 203 mutex_lock(&efx->mac_lock); 204 efx->phy_op->get_settings(efx, ecmd); 205 mutex_unlock(&efx 224 struct efx_nic *efx = netdev_priv(net_dev); local 244 struct efx_nic *efx = netdev_priv(net_dev); local 262 struct efx_nic *efx = netdev_priv(net_dev); local 270 struct efx_nic *efx = netdev_priv(net_dev); local 276 struct efx_nic *efx = netdev_priv(net_dev); local 334 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 372 efx_ethtool_fill_self_tests(struct efx_nic *efx, struct efx_self_tests *tests, struct ethtool_string *strings, u64 *data) argument 448 struct efx_nic *efx = netdev_priv(net_dev); local 474 struct efx_nic *efx = netdev_priv(net_dev); local 523 struct efx_nic *efx = netdev_priv(net_dev); local 574 struct efx_nic *efx = netdev_priv(net_dev); local 611 struct efx_nic *efx = netdev_priv(net_dev); local 629 struct efx_nic *efx = netdev_priv(net_dev); local 671 struct efx_nic *efx = netdev_priv(net_dev); local 682 struct efx_nic *efx = netdev_priv(net_dev); local 703 struct efx_nic *efx = netdev_priv(net_dev); local 776 struct efx_nic *efx = netdev_priv(net_dev); local 787 struct efx_nic *efx = netdev_priv(net_dev); local 795 struct efx_nic *efx = netdev_priv(net_dev); local 801 struct efx_nic *efx = netdev_priv(net_dev); local 814 efx_ethtool_get_class_rule(struct efx_nic *efx, struct ethtool_rx_flow_spec *rule) argument 876 struct efx_nic *efx = netdev_priv(net_dev); local 948 efx_ethtool_set_class_rule(struct efx_nic *efx, struct ethtool_rx_flow_spec *rule) argument 1066 struct efx_nic *efx = netdev_priv(net_dev); local 1086 struct efx_nic *efx = netdev_priv(net_dev); local 1095 struct efx_nic *efx = netdev_priv(net_dev); local 1104 struct efx_nic *efx = netdev_priv(net_dev); local [all...] |
H A D | falcon.c | 21 #include "efx.h" 55 struct efx_nic *efx = (struct efx_nic *)data; local 58 efx_reado(efx, ®, FR_AB_GPIO_CTL); 60 efx_writeo(efx, ®, FR_AB_GPIO_CTL); 65 struct efx_nic *efx = (struct efx_nic *)data; local 68 efx_reado(efx, ®, FR_AB_GPIO_CTL); 70 efx_writeo(efx, ®, FR_AB_GPIO_CTL); 75 struct efx_nic *efx = (struct efx_nic *)data; local 78 efx_reado(efx, ®, FR_AB_GPIO_CTL); 84 struct efx_nic *efx local 104 struct efx_nic *efx = channel->efx; local 126 falcon_prepare_flush(struct efx_nic *efx) argument 146 falcon_irq_ack_a1(struct efx_nic *efx) argument 158 struct efx_nic *efx = dev_id; local 206 falcon_spi_poll(struct efx_nic *efx) argument 214 falcon_spi_wait(struct efx_nic *efx) argument 241 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 313 falcon_spi_wait_write(struct efx_nic *efx, const struct efx_spi_device *spi) argument 337 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 368 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 423 falcon_push_multicast_hash(struct efx_nic *efx) argument 433 falcon_reset_macs(struct efx_nic *efx) argument 497 falcon_drain_tx_fifo(struct efx_nic *efx) argument 513 falcon_deconfigure_mac_wrapper(struct efx_nic *efx) argument 529 falcon_reconfigure_mac_wrapper(struct efx_nic *efx) argument 575 falcon_stats_request(struct efx_nic *efx) argument 600 falcon_stats_complete(struct efx_nic *efx) argument 619 struct efx_nic *efx = (struct efx_nic *)context; local 631 falcon_loopback_link_poll(struct efx_nic *efx) argument 646 falcon_reconfigure_port(struct efx_nic *efx) argument 686 falcon_gmii_wait(struct efx_nic *efx) argument 715 struct efx_nic *efx = netdev_priv(net_dev); local 768 struct efx_nic *efx = netdev_priv(net_dev); local 817 falcon_probe_port(struct efx_nic *efx) argument 874 falcon_remove_port(struct efx_nic *efx) argument 884 struct efx_nic *efx = channel->efx; local 922 falcon_read_nvram(struct efx_nic *efx, struct falcon_nvconfig *nvconfig_out) argument 993 falcon_test_nvram(struct efx_nic *efx) argument 1037 falcon_b0_test_registers(struct efx_nic *efx) argument 1095 __falcon_reset_hw(struct efx_nic *efx, enum reset_type method) argument 1176 falcon_reset_hw(struct efx_nic *efx, enum reset_type method) argument 1188 falcon_monitor(struct efx_nic *efx) argument 1229 falcon_reset_sram(struct efx_nic *efx) argument 1269 falcon_spi_device_init(struct efx_nic *efx, struct efx_spi_device *spi_device, unsigned int device_id, u32 device_type) argument 1295 falcon_probe_nvconfig(struct efx_nic *efx) argument 1336 falcon_dimension_resources(struct efx_nic *efx) argument 1343 falcon_probe_spi_devices(struct efx_nic *efx) argument 1386 falcon_probe_nic(struct efx_nic *efx) argument 1520 falcon_init_rx_cfg(struct efx_nic *efx) argument 1570 falcon_init_nic(struct efx_nic *efx) argument 1637 falcon_remove_nic(struct efx_nic *efx) argument 1665 falcon_update_nic_stats(struct efx_nic *efx) argument 1685 falcon_start_nic_stats(struct efx_nic *efx) argument 1695 falcon_stop_nic_stats(struct efx_nic *efx) argument 1721 falcon_set_id_led(struct efx_nic *efx, enum efx_led_mode mode) argument 1733 falcon_get_wol(struct efx_nic *efx, struct ethtool_wolinfo *wol) argument 1740 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, const 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, const 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 744 falcon_probe_board(struct efx_nic *efx, u16 revision_info) argument [all...] |
H A D | filter.c | 12 #include "efx.h" 121 static void efx_filter_push_rx_config(struct efx_nic *efx) argument 123 struct efx_filter_state *state = efx->filter_state; 127 efx_reado(efx, &filter_ctl, FR_BZ_RX_FILTER_CTL); 181 efx_writeo(efx, &filter_ctl, FR_BZ_RX_FILTER_CTL); 184 static void efx_filter_push_tx_limits(struct efx_nic *efx) argument 186 struct efx_filter_state *state = efx->filter_state; 190 efx_reado(efx, &tx_cfg, FR_AZ_TX_CFG); 204 efx_writeo(efx, &tx_cfg, FR_AZ_TX_CFG); 415 static void efx_filter_reset_rx_def(struct efx_nic *efx, unsigne argument 633 efx_filter_get_rx_id_limit(struct efx_nic *efx) argument 658 efx_filter_insert_filter(struct efx_nic *efx, struct efx_filter_spec *spec, bool replace) argument 728 efx_filter_table_clear_entry(struct efx_nic *efx, struct efx_filter_table *table, unsigned int filter_idx) argument 757 efx_filter_remove_id_safe(struct efx_nic *efx, enum efx_filter_priority priority, u32 filter_id) argument 809 efx_filter_get_filter_safe(struct efx_nic *efx, enum efx_filter_priority priority, u32 filter_id, struct efx_filter_spec *spec_buf) argument 849 efx_filter_table_clear(struct efx_nic *efx, enum efx_filter_table_id table_id, enum efx_filter_priority priority) argument 873 efx_filter_clear_rx(struct efx_nic *efx, enum efx_filter_priority priority) argument 879 efx_filter_count_rx_used(struct efx_nic *efx, enum efx_filter_priority priority) argument 906 efx_filter_get_rx_ids(struct efx_nic *efx, enum efx_filter_priority priority, u32 *buf, u32 size) argument 942 efx_restore_filters(struct efx_nic *efx) argument 974 efx_probe_filters(struct efx_nic *efx) argument 1050 efx_remove_filters(struct efx_nic *efx) argument 1070 struct efx_nic *efx = netdev_priv(net_dev); local 1116 __efx_filter_rfs_expire(struct efx_nic *efx, unsigned quota) argument [all...] |
H A D | mcdi.c | 27 #define MCDI_PDU(efx) \ 28 (efx_port_num(efx) ? MC_SMEM_P1_PDU_OFST : MC_SMEM_P0_PDU_OFST) 29 #define MCDI_DOORBELL(efx) \ 30 (efx_port_num(efx) ? MC_SMEM_P1_DOORBELL_OFST : MC_SMEM_P0_DOORBELL_OFST) 31 #define MCDI_STATUS(efx) \ 32 (efx_port_num(efx) ? MC_SMEM_P1_STATUS_OFST : MC_SMEM_P0_STATUS_OFST) 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 398 efx_mcdi_mode_poll(struct efx_nic *efx) argument 422 efx_mcdi_mode_event(struct efx_nic *efx) argument 446 efx_mcdi_ev_death(struct efx_nic *efx, int rc) argument 497 efx_mcdi_process_link_change(struct efx_nic *efx, efx_qword_t *ev) argument 524 struct efx_nic *efx = channel->efx; local 580 efx_mcdi_print_fwver(struct efx_nic *efx, char *buf, size_t len) argument 610 efx_mcdi_drv_attach(struct efx_nic *efx, bool driver_operating, bool *was_attached) argument 640 efx_mcdi_get_board_cfg(struct efx_nic *efx, u8 *mac_address, u16 *fw_subtype_list, u32 *capabilities) argument 689 efx_mcdi_log_ctrl(struct efx_nic *efx, bool evq, bool uart, u32 dest_evq) argument 717 efx_mcdi_nvram_types(struct efx_nic *efx, u32 *nvram_types_out) argument 743 efx_mcdi_nvram_info(struct efx_nic *efx, unsigned int type, size_t *size_out, size_t *erase_size_out, bool *protected_out) argument 774 efx_mcdi_nvram_update_start(struct efx_nic *efx, unsigned int type) argument 795 efx_mcdi_nvram_read(struct efx_nic *efx, unsigned int type, loff_t offset, u8 *buffer, size_t length) argument 820 efx_mcdi_nvram_write(struct efx_nic *efx, unsigned int type, loff_t offset, const u8 *buffer, size_t length) argument 846 efx_mcdi_nvram_erase(struct efx_nic *efx, unsigned int type, loff_t offset, size_t length) argument 870 efx_mcdi_nvram_update_finish(struct efx_nic *efx, unsigned int type) argument 891 efx_mcdi_nvram_test(struct efx_nic *efx, unsigned int type) argument 913 efx_mcdi_nvram_test_all(struct efx_nic *efx) argument 944 efx_mcdi_read_assertion(struct efx_nic *efx) argument 1000 efx_mcdi_exit_assertion(struct efx_nic *efx) argument 1012 efx_mcdi_handle_assertion(struct efx_nic *efx) argument 1025 efx_mcdi_set_id_led(struct efx_nic *efx, enum efx_led_mode mode) argument 1045 efx_mcdi_reset_port(struct efx_nic *efx) argument 1054 efx_mcdi_reset_mc(struct efx_nic *efx) argument 1072 efx_mcdi_wol_filter_set(struct efx_nic *efx, u32 type, const u8 *mac, int *id_out) argument 1108 efx_mcdi_wol_filter_set_magic(struct efx_nic *efx, const u8 *mac, int *id_out) argument 1114 efx_mcdi_wol_filter_get_magic(struct efx_nic *efx, int *id_out) argument 1141 efx_mcdi_wol_filter_remove(struct efx_nic *efx, int id) argument 1160 efx_mcdi_flush_rxqs(struct efx_nic *efx) argument 1192 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" 190 static void efx_start_interrupts(struct efx_nic *efx, bool may_keep_eventq); 191 static void efx_stop_interrupts(struct efx_nic *efx, bool may_keep_eventq); 193 static void efx_remove_channels(struct efx_nic *efx); 195 static void efx_remove_port(struct efx_nic *efx); 197 static void efx_fini_napi(struct efx_nic *efx); 199 static void efx_fini_struct(struct efx_nic *efx); 200 static void efx_start_all(struct efx_nic *efx); 201 static void efx_stop_all(struct efx_nic *efx); 203 #define EFX_ASSERT_RESET_SERIALISED(efx) \ 275 struct efx_nic *efx = channel->efx; local 331 struct efx_nic *efx = channel->efx; local 369 struct efx_nic *efx = channel->efx; local 447 efx_alloc_channel(struct efx_nic *efx, int i, struct efx_channel *old_channel) argument 555 struct efx_nic *efx = channel->efx; local 571 efx_set_channel_names(struct efx_nic *efx) argument 581 efx_probe_channels(struct efx_nic *efx) argument 616 efx_start_datapath(struct efx_nic *efx) argument 654 efx_stop_datapath(struct efx_nic *efx) argument 714 efx_remove_channels(struct efx_nic *efx) argument 723 efx_realloc_channels(struct efx_nic *efx, u32 rxq_entries, u32 txq_entries) argument 846 efx_link_status_changed(struct efx_nic *efx) argument 877 efx_link_set_advertising(struct efx_nic *efx, u32 advertising) argument 890 efx_link_set_wanted_fc(struct efx_nic *efx, u8 wanted_fc) argument 914 __efx_reconfigure_port(struct efx_nic *efx) argument 942 efx_reconfigure_port(struct efx_nic *efx) argument 960 struct efx_nic *efx = container_of(data, struct efx_nic, mac_work); local 968 efx_probe_port(struct efx_nic *efx) argument 988 efx_init_port(struct efx_nic *efx) argument 1021 efx_start_port(struct efx_nic *efx) argument 1037 efx_stop_port(struct efx_nic *efx) argument 1050 efx_fini_port(struct efx_nic *efx) argument 1064 efx_remove_port(struct efx_nic *efx) argument 1078 efx_init_io(struct efx_nic *efx) argument 1161 efx_fini_io(struct efx_nic *efx) argument 1178 efx_wanted_parallelism(struct efx_nic *efx) argument 1222 efx_init_rx_cpu_rmap(struct efx_nic *efx, struct msix_entry *xentries) argument 1247 efx_probe_interrupts(struct efx_nic *efx) argument 1359 efx_start_interrupts(struct efx_nic *efx, bool may_keep_eventq) argument 1376 efx_stop_interrupts(struct efx_nic *efx, bool may_keep_eventq) argument 1398 efx_remove_interrupts(struct efx_nic *efx) argument 1412 efx_set_channels(struct efx_nic *efx) argument 1430 efx_probe_nic(struct efx_nic *efx) argument 1471 efx_remove_nic(struct efx_nic *efx) argument 1485 efx_probe_all(struct efx_nic *efx) argument 1531 efx_start_all(struct efx_nic *efx) argument 1566 efx_flush_all(struct efx_nic *efx) argument 1580 efx_stop_all(struct efx_nic *efx) argument 1601 efx_remove_all(struct efx_nic *efx) argument 1625 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 1663 efx_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs, unsigned int *rx_usecs, bool *rx_adaptive) argument 1697 struct efx_nic *efx = container_of(data, struct efx_nic, local 1729 struct efx_nic *efx = netdev_priv(net_dev); local 1750 struct efx_nic *efx = channel->efx; local 1757 efx_init_napi(struct efx_nic *efx) argument 1772 efx_fini_napi(struct efx_nic *efx) argument 1794 struct efx_nic *efx = netdev_priv(net_dev); local 1812 struct efx_nic *efx = netdev_priv(net_dev); local 1840 struct efx_nic *efx = netdev_priv(net_dev); local 1857 struct efx_nic *efx = netdev_priv(net_dev); local 1894 struct efx_nic *efx = netdev_priv(net_dev); local 1907 struct efx_nic *efx = netdev_priv(net_dev); local 1931 struct efx_nic *efx = netdev_priv(net_dev); local 1958 struct efx_nic *efx = netdev_priv(net_dev); local 1991 struct efx_nic *efx = netdev_priv(net_dev); local 2027 efx_update_name(struct efx_nic *efx) argument 2053 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); local 2058 efx_register_netdev(struct efx_nic *efx) argument 2110 efx_unregister_netdev(struct efx_nic *efx) argument 2141 efx_reset_down(struct efx_nic *efx, enum reset_type method) argument 2159 efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok) argument 2208 efx_reset(struct efx_nic *efx, enum reset_type method) argument 2262 struct efx_nic *efx = container_of(data, struct efx_nic, reset_work); local 2281 efx_schedule_reset(struct efx_nic *efx, enum reset_type type) argument 2341 efx_port_dummy_op_int(struct efx_nic *efx) argument 2345 efx_port_dummy_op_void(struct efx_nic *efx) argument 2347 efx_port_dummy_op_poll(struct efx_nic *efx) argument 2368 efx_init_struct(struct efx_nic *efx, const struct efx_nic_type *type, struct pci_dev *pci_dev, struct net_device *net_dev) argument 2423 efx_fini_struct(struct efx_nic *efx) argument 2445 efx_pci_remove_main(struct efx_nic *efx) argument 2464 struct efx_nic *efx; local 2506 efx_print_product_vpd(struct efx_nic *efx) argument 2554 efx_pci_probe_main(struct efx_nic *efx) argument 2611 struct efx_nic *efx; local 2706 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); local 2720 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); local 2747 struct efx_nic *efx = pci_get_drvdata(pci_dev); local 2761 struct efx_nic *efx = pci_get_drvdata(pci_dev); local [all...] |
H A D | nic.c | 19 #include "efx.h" 82 static inline void efx_write_buf_tbl(struct efx_nic *efx, efx_qword_t *value, argument 85 efx_sram_writeq(efx, efx->membase + efx->type->buf_tbl_base, 120 int efx_nic_test_registers(struct efx_nic *efx, argument 128 WARN_ON(!LOOPBACK_INTERNAL(efx)); 135 efx_reado(efx, &original, address); 146 efx_writeo(efx, ®, address); 147 efx_reado(efx, 192 efx_init_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) argument 218 efx_fini_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) argument 247 efx_alloc_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer, unsigned int len) argument 283 efx_free_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) argument 308 efx_nic_alloc_buffer(struct efx_nic *efx, struct efx_buffer *buffer, unsigned int len) argument 320 efx_nic_free_buffer(struct efx_nic *efx, struct efx_buffer *buffer) argument 429 struct efx_nic *efx = tx_queue->efx; local 439 struct efx_nic *efx = tx_queue->efx; local 495 struct efx_nic *efx = tx_queue->efx; local 506 struct efx_nic *efx = tx_queue->efx; local 559 struct efx_nic *efx = rx_queue->efx; local 579 struct efx_nic *efx = rx_queue->efx; local 590 struct efx_nic *efx = rx_queue->efx; local 624 struct efx_nic *efx = rx_queue->efx; local 637 struct efx_nic *efx = rx_queue->efx; local 663 efx_flush_wake(struct efx_nic *efx) argument 676 efx_nic_flush_queues(struct efx_nic *efx) argument 766 struct efx_nic *efx = channel->efx; local 775 efx_generate_event(struct efx_nic *efx, unsigned int evq, efx_qword_t *event) argument 811 struct efx_nic *efx = channel->efx; local 853 struct efx_nic *efx = rx_queue->efx; local 928 struct efx_nic *efx = rx_queue->efx; local 957 struct efx_nic *efx = channel->efx; local 1012 efx_handle_tx_flush_done(struct efx_nic *efx, efx_qword_t *event) argument 1032 efx_handle_rx_flush_done(struct efx_nic *efx, efx_qword_t *event) argument 1065 struct efx_nic *efx = channel->efx; local 1076 struct efx_nic *efx = channel->efx; local 1107 struct efx_nic *efx = channel->efx; local 1187 struct efx_nic *efx = channel->efx; local 1269 struct efx_nic *efx = channel->efx; local 1280 struct efx_nic *efx = channel->efx; local 1315 struct efx_nic *efx = channel->efx; local 1357 efx_nic_interrupts(struct efx_nic *efx, bool enabled, bool force) argument 1369 efx_nic_enable_interrupts(struct efx_nic *efx) argument 1377 efx_nic_disable_interrupts(struct efx_nic *efx) argument 1387 efx_nic_irq_test_start(struct efx_nic *efx) argument 1397 efx_nic_fatal_interrupt(struct efx_nic *efx) argument 1455 struct efx_nic *efx = dev_id; local 1529 struct efx_nic *efx = channel->efx; local 1555 efx_nic_push_rx_indir_table(struct efx_nic *efx) argument 1576 efx_nic_init_interrupt(struct efx_nic *efx) argument 1621 efx_nic_fini_interrupt(struct efx_nic *efx) argument 1652 efx_nic_dimension_resources(struct efx_nic *efx, unsigned sram_lim_qw) argument 1695 efx_nic_fpga_ver(struct efx_nic *efx) argument 1702 efx_nic_init_common(struct efx_nic *efx) argument 1982 efx_nic_get_regs_len(struct efx_nic *efx) argument 2005 efx_nic_get_regs(struct efx_nic *efx, void *buf) argument [all...] |