/Linux-v5.15/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_ethtool.c | 150 u32 *regs_buff = p; in atl1e_get_regs() local 157 regs_buff[0] = AT_READ_REG(hw, REG_VPD_CAP); in atl1e_get_regs() 158 regs_buff[1] = AT_READ_REG(hw, REG_SPI_FLASH_CTRL); in atl1e_get_regs() 159 regs_buff[2] = AT_READ_REG(hw, REG_SPI_FLASH_CONFIG); in atl1e_get_regs() 160 regs_buff[3] = AT_READ_REG(hw, REG_TWSI_CTRL); in atl1e_get_regs() 161 regs_buff[4] = AT_READ_REG(hw, REG_PCIE_DEV_MISC_CTRL); in atl1e_get_regs() 162 regs_buff[5] = AT_READ_REG(hw, REG_MASTER_CTRL); in atl1e_get_regs() 163 regs_buff[6] = AT_READ_REG(hw, REG_MANUAL_TIMER_INIT); in atl1e_get_regs() 164 regs_buff[7] = AT_READ_REG(hw, REG_IRQ_MODU_TIMER_INIT); in atl1e_get_regs() 165 regs_buff[8] = AT_READ_REG(hw, REG_GPHY_CTRL); in atl1e_get_regs() [all …]
|
/Linux-v5.15/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ethtool.c | 631 u32 *regs_buff = p; in ixgbe_get_regs() local 640 regs_buff[0] = IXGBE_READ_REG(hw, IXGBE_CTRL); in ixgbe_get_regs() 641 regs_buff[1] = IXGBE_READ_REG(hw, IXGBE_STATUS); in ixgbe_get_regs() 642 regs_buff[2] = IXGBE_READ_REG(hw, IXGBE_CTRL_EXT); in ixgbe_get_regs() 643 regs_buff[3] = IXGBE_READ_REG(hw, IXGBE_ESDP); in ixgbe_get_regs() 644 regs_buff[4] = IXGBE_READ_REG(hw, IXGBE_EODSDP); in ixgbe_get_regs() 645 regs_buff[5] = IXGBE_READ_REG(hw, IXGBE_LEDCTL); in ixgbe_get_regs() 646 regs_buff[6] = IXGBE_READ_REG(hw, IXGBE_FRTIMER); in ixgbe_get_regs() 647 regs_buff[7] = IXGBE_READ_REG(hw, IXGBE_TCPTIMER); in ixgbe_get_regs() 650 regs_buff[8] = IXGBE_READ_REG(hw, IXGBE_EEC(hw)); in ixgbe_get_regs() [all …]
|
/Linux-v5.15/drivers/net/ethernet/intel/igc/ |
D | igc_ethtool.c | 171 u32 *regs_buff = p; in igc_ethtool_get_regs() local 179 regs_buff[0] = rd32(IGC_CTRL); in igc_ethtool_get_regs() 180 regs_buff[1] = rd32(IGC_STATUS); in igc_ethtool_get_regs() 181 regs_buff[2] = rd32(IGC_CTRL_EXT); in igc_ethtool_get_regs() 182 regs_buff[3] = rd32(IGC_MDIC); in igc_ethtool_get_regs() 183 regs_buff[4] = rd32(IGC_CONNSW); in igc_ethtool_get_regs() 186 regs_buff[5] = rd32(IGC_EECD); in igc_ethtool_get_regs() 192 regs_buff[6] = rd32(IGC_EICS); in igc_ethtool_get_regs() 193 regs_buff[7] = rd32(IGC_EICS); in igc_ethtool_get_regs() 194 regs_buff[8] = rd32(IGC_EIMS); in igc_ethtool_get_regs() [all …]
|
/Linux-v5.15/drivers/net/ethernet/intel/igb/ |
D | igb_ethtool.c | 469 u32 *regs_buff = p; in igb_get_regs() local 477 regs_buff[0] = rd32(E1000_CTRL); in igb_get_regs() 478 regs_buff[1] = rd32(E1000_STATUS); in igb_get_regs() 479 regs_buff[2] = rd32(E1000_CTRL_EXT); in igb_get_regs() 480 regs_buff[3] = rd32(E1000_MDIC); in igb_get_regs() 481 regs_buff[4] = rd32(E1000_SCTL); in igb_get_regs() 482 regs_buff[5] = rd32(E1000_CONNSW); in igb_get_regs() 483 regs_buff[6] = rd32(E1000_VET); in igb_get_regs() 484 regs_buff[7] = rd32(E1000_LEDCTL); in igb_get_regs() 485 regs_buff[8] = rd32(E1000_PBA); in igb_get_regs() [all …]
|
/Linux-v5.15/drivers/net/fjes/ |
D | fjes_ethtool.c | 187 u32 *regs_buff = p; in fjes_get_regs() local 194 regs_buff[0] = rd32(XSCT_OWNER_EPID); in fjes_get_regs() 195 regs_buff[1] = rd32(XSCT_MAX_EP); in fjes_get_regs() 198 regs_buff[4] = rd32(XSCT_DCTL); in fjes_get_regs() 201 regs_buff[8] = rd32(XSCT_CR); in fjes_get_regs() 202 regs_buff[9] = rd32(XSCT_CS); in fjes_get_regs() 203 regs_buff[10] = rd32(XSCT_SHSTSAL); in fjes_get_regs() 204 regs_buff[11] = rd32(XSCT_SHSTSAH); in fjes_get_regs() 206 regs_buff[13] = rd32(XSCT_REQBL); in fjes_get_regs() 207 regs_buff[14] = rd32(XSCT_REQBAL); in fjes_get_regs() [all …]
|
/Linux-v5.15/drivers/net/ethernet/agere/ |
D | et131x.c | 2802 u32 *regs_buff = regs_data; in et131x_get_regs() local 2813 regs_buff[num++] = tmp; in et131x_get_regs() 2815 regs_buff[num++] = tmp; in et131x_get_regs() 2817 regs_buff[num++] = tmp; in et131x_get_regs() 2819 regs_buff[num++] = tmp; in et131x_get_regs() 2821 regs_buff[num++] = tmp; in et131x_get_regs() 2823 regs_buff[num++] = tmp; in et131x_get_regs() 2825 regs_buff[num++] = tmp; in et131x_get_regs() 2828 regs_buff[num++] = tmp; in et131x_get_regs() 2831 regs_buff[num++] = tmp; in et131x_get_regs() [all …]
|
/Linux-v5.15/drivers/net/ethernet/intel/ixgbevf/ |
D | ethtool.c | 147 u32 *regs_buff = p; in ixgbevf_get_regs() local 157 regs_buff[0] = IXGBE_READ_REG(hw, IXGBE_VFCTRL); in ixgbevf_get_regs() 158 regs_buff[1] = IXGBE_READ_REG(hw, IXGBE_VFSTATUS); in ixgbevf_get_regs() 159 regs_buff[2] = IXGBE_READ_REG(hw, IXGBE_VFLINKS); in ixgbevf_get_regs() 160 regs_buff[3] = IXGBE_READ_REG(hw, IXGBE_VFRXMEMWRAP); in ixgbevf_get_regs() 161 regs_buff[4] = IXGBE_READ_REG(hw, IXGBE_VFFRTIMER); in ixgbevf_get_regs() 167 regs_buff[5] = IXGBE_READ_REG(hw, IXGBE_VTEICS); in ixgbevf_get_regs() 168 regs_buff[6] = IXGBE_READ_REG(hw, IXGBE_VTEICS); in ixgbevf_get_regs() 169 regs_buff[7] = IXGBE_READ_REG(hw, IXGBE_VTEIMS); in ixgbevf_get_regs() 170 regs_buff[8] = IXGBE_READ_REG(hw, IXGBE_VTEIMC); in ixgbevf_get_regs() [all …]
|
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_rcb.c | 853 u64 *regs_buff = data; in hns_rcb_get_stats() local 858 regs_buff[0] = hw_stats->tx_pkts; in hns_rcb_get_stats() 859 regs_buff[1] = hw_stats->ppe_tx_ok_pkts; in hns_rcb_get_stats() 860 regs_buff[2] = hw_stats->ppe_tx_drop_pkts; in hns_rcb_get_stats() 861 regs_buff[3] = in hns_rcb_get_stats() 864 regs_buff[4] = queue->tx_ring.stats.tx_pkts; in hns_rcb_get_stats() 865 regs_buff[5] = queue->tx_ring.stats.tx_bytes; in hns_rcb_get_stats() 866 regs_buff[6] = queue->tx_ring.stats.tx_err_cnt; in hns_rcb_get_stats() 867 regs_buff[7] = queue->tx_ring.stats.io_err_cnt; in hns_rcb_get_stats() 868 regs_buff[8] = queue->tx_ring.stats.sw_err_cnt; in hns_rcb_get_stats() [all …]
|
D | hns_dsaf_ppe.c | 485 u64 *regs_buff = data; in hns_ppe_get_stats() local 488 regs_buff[0] = hw_stats->rx_pkts_from_sw; in hns_ppe_get_stats() 489 regs_buff[1] = hw_stats->rx_pkts; in hns_ppe_get_stats() 490 regs_buff[2] = hw_stats->rx_drop_no_bd; in hns_ppe_get_stats() 491 regs_buff[3] = hw_stats->rx_alloc_buf_fail; in hns_ppe_get_stats() 492 regs_buff[4] = hw_stats->rx_alloc_buf_wait; in hns_ppe_get_stats() 493 regs_buff[5] = hw_stats->rx_drop_no_buf; in hns_ppe_get_stats() 494 regs_buff[6] = hw_stats->rx_err_fifo_full; in hns_ppe_get_stats() 496 regs_buff[7] = hw_stats->tx_bd_form_rcb; in hns_ppe_get_stats() 497 regs_buff[8] = hw_stats->tx_pkts_from_rcb; in hns_ppe_get_stats() [all …]
|
/Linux-v5.15/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_ethtool.c | 289 u32 *regs_buff = p; in netxen_nic_get_regs() local 301 regs_buff[i++] = NXRD32(adapter, CRB_CMDPEG_STATE); in netxen_nic_get_regs() 302 regs_buff[i++] = NXRD32(adapter, CRB_RCVPEG_STATE); in netxen_nic_get_regs() 303 regs_buff[i++] = NXRD32(adapter, CRB_FW_CAPABILITIES_1); in netxen_nic_get_regs() 304 regs_buff[i++] = NXRDIO(adapter, adapter->crb_int_state_reg); in netxen_nic_get_regs() 305 regs_buff[i++] = NXRD32(adapter, NX_CRB_DEV_REF_COUNT); in netxen_nic_get_regs() 306 regs_buff[i++] = NXRD32(adapter, NX_CRB_DEV_STATE); in netxen_nic_get_regs() 307 regs_buff[i++] = NXRD32(adapter, NETXEN_PEG_ALIVE_COUNTER); in netxen_nic_get_regs() 308 regs_buff[i++] = NXRD32(adapter, NETXEN_PEG_HALT_STATUS1); in netxen_nic_get_regs() 309 regs_buff[i++] = NXRD32(adapter, NETXEN_PEG_HALT_STATUS2); in netxen_nic_get_regs() [all …]
|
/Linux-v5.15/drivers/net/ethernet/intel/e1000/ |
D | e1000_ethtool.c | 329 u32 *regs_buff = p; in e1000_get_regs() local 336 regs_buff[0] = er32(CTRL); in e1000_get_regs() 337 regs_buff[1] = er32(STATUS); in e1000_get_regs() 339 regs_buff[2] = er32(RCTL); in e1000_get_regs() 340 regs_buff[3] = er32(RDLEN); in e1000_get_regs() 341 regs_buff[4] = er32(RDH); in e1000_get_regs() 342 regs_buff[5] = er32(RDT); in e1000_get_regs() 343 regs_buff[6] = er32(RDTR); in e1000_get_regs() 345 regs_buff[7] = er32(TCTL); in e1000_get_regs() 346 regs_buff[8] = er32(TDLEN); in e1000_get_regs() [all …]
|
D | e1000_main.c | 3289 u32 *regs_buff = regs; in e1000_regdump() local 3304 regs_buff[0] = er32(CTRL); in e1000_regdump() 3305 regs_buff[1] = er32(STATUS); in e1000_regdump() 3307 regs_buff[2] = er32(RCTL); in e1000_regdump() 3308 regs_buff[3] = er32(RDLEN); in e1000_regdump() 3309 regs_buff[4] = er32(RDH); in e1000_regdump() 3310 regs_buff[5] = er32(RDT); in e1000_regdump() 3311 regs_buff[6] = er32(RDTR); in e1000_regdump() 3313 regs_buff[7] = er32(TCTL); in e1000_regdump() 3314 regs_buff[8] = er32(TDBAL); in e1000_regdump() [all …]
|
/Linux-v5.15/drivers/net/ethernet/atheros/atlx/ |
D | atl2.c | 1813 u32 *regs_buff = p; in atl2_get_regs() local 1820 regs_buff[0] = ATL2_READ_REG(hw, REG_VPD_CAP); in atl2_get_regs() 1821 regs_buff[1] = ATL2_READ_REG(hw, REG_SPI_FLASH_CTRL); in atl2_get_regs() 1822 regs_buff[2] = ATL2_READ_REG(hw, REG_SPI_FLASH_CONFIG); in atl2_get_regs() 1823 regs_buff[3] = ATL2_READ_REG(hw, REG_TWSI_CTRL); in atl2_get_regs() 1824 regs_buff[4] = ATL2_READ_REG(hw, REG_PCIE_DEV_MISC_CTRL); in atl2_get_regs() 1825 regs_buff[5] = ATL2_READ_REG(hw, REG_MASTER_CTRL); in atl2_get_regs() 1826 regs_buff[6] = ATL2_READ_REG(hw, REG_MANUAL_TIMER_INIT); in atl2_get_regs() 1827 regs_buff[7] = ATL2_READ_REG(hw, REG_IRQ_MODU_TIMER_INIT); in atl2_get_regs() 1828 regs_buff[8] = ATL2_READ_REG(hw, REG_PHY_ENABLE); in atl2_get_regs() [all …]
|
/Linux-v5.15/drivers/net/ethernet/intel/igbvf/ |
D | ethtool.c | 130 u32 *regs_buff = p; in igbvf_get_regs() local 138 regs_buff[0] = er32(CTRL); in igbvf_get_regs() 139 regs_buff[1] = er32(STATUS); in igbvf_get_regs() 141 regs_buff[2] = er32(RDLEN(0)); in igbvf_get_regs() 142 regs_buff[3] = er32(RDH(0)); in igbvf_get_regs() 143 regs_buff[4] = er32(RDT(0)); in igbvf_get_regs() 145 regs_buff[5] = er32(TDLEN(0)); in igbvf_get_regs() 146 regs_buff[6] = er32(TDH(0)); in igbvf_get_regs() 147 regs_buff[7] = er32(TDT(0)); in igbvf_get_regs()
|
/Linux-v5.15/drivers/net/ethernet/intel/e1000e/ |
D | ethtool.c | 440 u32 *regs_buff = p; in e1000_get_regs() local 451 regs_buff[0] = er32(CTRL); in e1000_get_regs() 452 regs_buff[1] = er32(STATUS); in e1000_get_regs() 454 regs_buff[2] = er32(RCTL); in e1000_get_regs() 455 regs_buff[3] = er32(RDLEN(0)); in e1000_get_regs() 456 regs_buff[4] = er32(RDH(0)); in e1000_get_regs() 457 regs_buff[5] = er32(RDT(0)); in e1000_get_regs() 458 regs_buff[6] = er32(RDTR); in e1000_get_regs() 460 regs_buff[7] = er32(TCTL); in e1000_get_regs() 461 regs_buff[8] = er32(TDLEN(0)); in e1000_get_regs() [all …]
|
/Linux-v5.15/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_ethtool.c | 515 u32 *regs_buff) in qlcnic_82xx_get_registers() argument 520 regs_buff[i] = QLC_SHARED_REG_RD32(adapter, diag_registers[j]); in qlcnic_82xx_get_registers() 523 regs_buff[i++] = QLCRD32(adapter, ext_diag_registers[j++], in qlcnic_82xx_get_registers() 536 u32 *regs_buff = p; in qlcnic_get_regs() local 544 regs_buff[0] = (0xcafe0000 | (QLCNIC_DEV_INFO_SIZE & 0xffff)); in qlcnic_get_regs() 545 regs_buff[1] = QLCNIC_MGMT_API_VERSION; in qlcnic_get_regs() 548 regs_buff[2] = adapter->ahw->max_vnic_func; in qlcnic_get_regs() 551 i = qlcnic_82xx_get_registers(adapter, regs_buff); in qlcnic_get_regs() 553 i = qlcnic_83xx_get_registers(adapter, regs_buff); in qlcnic_get_regs() 559 regs_buff[i++] = 0xFFEFCDAB; in qlcnic_get_regs() [all …]
|
/Linux-v5.15/drivers/net/ethernet/qualcomm/ |
D | qca_debug.c | 233 u32 *regs_buff = p; in qcaspi_get_regs() local 237 memset(regs_buff, 0, sizeof(u32) * QCASPI_MAX_REGS); in qcaspi_get_regs() 244 regs_buff[offset] = value; in qcaspi_get_regs()
|
/Linux-v5.15/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_ethtool.c | 131 u32 *regs_buff = p; in atl1c_get_regs() local 161 regs_buff[AT_REGS_LEN/sizeof(u32) - 2] = (u32) phy_data; in atl1c_get_regs() 163 regs_buff[AT_REGS_LEN/sizeof(u32) - 1] = (u32) phy_data; in atl1c_get_regs()
|
/Linux-v5.15/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_ethtool.c | 190 u32 *regs_buff = p; in pch_gbe_get_regs() local 195 *regs_buff++ = ioread32(&hw->reg->INT_ST + i); in pch_gbe_get_regs() 199 *regs_buff++ = tmp; in pch_gbe_get_regs()
|
/Linux-v5.15/drivers/net/ethernet/cadence/ |
D | macb_main.c | 3011 u32 *regs_buff = p; in macb_get_regs() local 3019 regs_buff[0] = macb_readl(bp, NCR); in macb_get_regs() 3020 regs_buff[1] = macb_or_gem_readl(bp, NCFGR); in macb_get_regs() 3021 regs_buff[2] = macb_readl(bp, NSR); in macb_get_regs() 3022 regs_buff[3] = macb_readl(bp, TSR); in macb_get_regs() 3023 regs_buff[4] = macb_readl(bp, RBQP); in macb_get_regs() 3024 regs_buff[5] = macb_readl(bp, TBQP); in macb_get_regs() 3025 regs_buff[6] = macb_readl(bp, RSR); in macb_get_regs() 3026 regs_buff[7] = macb_readl(bp, IMR); in macb_get_regs() 3028 regs_buff[8] = tail; in macb_get_regs() [all …]
|
/Linux-v5.15/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_hw.h | 297 u32 *regs_buff);
|
D | aq_nic.c | 847 u32 *regs_buff = p; in aq_nic_get_regs() local 857 regs_buff); in aq_nic_get_regs()
|
/Linux-v5.15/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
D | hw_atl_utils.c | 930 u32 *regs_buff) in hw_atl_utils_hw_get_regs() argument 935 regs_buff[i] = aq_hw_read_reg(self, in hw_atl_utils_hw_get_regs()
|
D | hw_atl_utils.h | 610 u32 *regs_buff);
|
/Linux-v5.15/drivers/net/ethernet/ |
D | ethoc.c | 943 u32 *regs_buff = p; in ethoc_get_regs() local 948 regs_buff[i] = ethoc_read(priv, i * sizeof(u32)); in ethoc_get_regs()
|