/linux-5.19.10/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_ethtool.c | 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() 166 regs_buff[9] = AT_READ_REG(hw, REG_CMBDISDMA_TIMER); in atl1e_get_regs() [all …]
|
D | atl1e_hw.c | 23 value = AT_READ_REG(hw, REG_SPI_FLASH_CTRL); in atl1e_check_eeprom_exist() 70 twsi_ctrl_data = AT_READ_REG(hw, REG_TWSI_CTRL); in atl1e_get_permanent_address() 75 twsi_ctrl_data = AT_READ_REG(hw, REG_TWSI_CTRL); in atl1e_get_permanent_address() 84 addr[0] = AT_READ_REG(hw, REG_MAC_STA_ADDR); in atl1e_get_permanent_address() 85 addr[1] = AT_READ_REG(hw, REG_MAC_STA_ADDR + 4); in atl1e_get_permanent_address() 116 control = AT_READ_REG(hw, REG_VPD_CAP); in atl1e_read_eeprom() 121 *p_value = AT_READ_REG(hw, REG_VPD_DATA); in atl1e_read_eeprom() 215 val = AT_READ_REG(hw, REG_MDIO_CTRL); in atl1e_read_phy_reg() 250 val = AT_READ_REG(hw, REG_MDIO_CTRL); in atl1e_write_phy_reg() 274 value = AT_READ_REG(hw, 0x1008); in atl1e_init_pcie() [all …]
|
D | atl1e_main.c | 160 value = AT_READ_REG(hw, REG_MAC_CTRL); in atl1e_check_link() 275 mac_ctrl_data = AT_READ_REG(hw, REG_MAC_CTRL); in atl1e_set_multi() 320 mac_ctrl_data = AT_READ_REG(&adapter->hw, REG_MAC_CTRL); in atl1e_rx_mode() 347 mac_ctrl_data = AT_READ_REG(&adapter->hw, REG_MAC_CTRL); in atl1e_vlan_mode() 581 phy_status_data = AT_READ_REG(hw, REG_PHY_STATUS); in atl1e_sw_init() 592 phy_status_data = AT_READ_REG(hw, REG_PHY_STATUS); in atl1e_sw_init() 948 dev_ctrl_data = AT_READ_REG(hw, REG_DEVICE_CTRL); in atl1e_configure_tx() 985 rxf_len = AT_READ_REG(hw, REG_SRAM_RXF_LEN); in atl1e_configure_rx() 1134 intr_status_data = AT_READ_REG(hw, REG_ISR); in atl1e_configure() 1204 *stats_item += AT_READ_REG(&adapter->hw, hw_reg_addr); in atl1e_update_hw_stats() [all …]
|
D | atl1e.h | 463 #define AT_READ_REG(a, reg) ( \ macro
|
/linux-5.19.10/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_ethtool.c | 137 AT_READ_REG(hw, REG_PM_CTRL, p++); in atl1c_get_regs() 138 AT_READ_REG(hw, REG_MAC_HALF_DUPLX_CTRL, p++); in atl1c_get_regs() 139 AT_READ_REG(hw, REG_TWSI_CTRL, p++); in atl1c_get_regs() 140 AT_READ_REG(hw, REG_PCIE_DEV_MISC_CTRL, p++); in atl1c_get_regs() 141 AT_READ_REG(hw, REG_MASTER_CTRL, p++); in atl1c_get_regs() 142 AT_READ_REG(hw, REG_MANUAL_TIMER_INIT, p++); in atl1c_get_regs() 143 AT_READ_REG(hw, REG_IRQ_MODRT_TIMER_INIT, p++); in atl1c_get_regs() 144 AT_READ_REG(hw, REG_GPHY_CTRL, p++); in atl1c_get_regs() 145 AT_READ_REG(hw, REG_LINK_CTRL, p++); in atl1c_get_regs() 146 AT_READ_REG(hw, REG_IDLE_STATUS, p++); in atl1c_get_regs() [all …]
|
D | atl1c_hw.c | 23 AT_READ_REG(hw, REG_TWSI_DEBUG, &data); in atl1c_check_eeprom_exist() 27 AT_READ_REG(hw, REG_MASTER_CTRL, &data); in atl1c_check_eeprom_exist() 57 AT_READ_REG(hw, REG_MAC_STA_ADDR, &addr[0]); in atl1c_read_current_addr() 58 AT_READ_REG(hw, REG_MAC_STA_ADDR + 4, &addr[1]); in atl1c_read_current_addr() 83 AT_READ_REG(hw, REG_OTP_CTRL, &otp_ctrl_data); in atl1c_get_permanent_address() 106 AT_READ_REG(hw, REG_TWSI_CTRL, &twsi_ctrl_data); in atl1c_get_permanent_address() 111 AT_READ_REG(hw, REG_TWSI_CTRL, &twsi_ctrl_data); in atl1c_get_permanent_address() 151 AT_READ_REG(hw, REG_OTP_CTRL, &otp_ctrl_data); in atl1c_read_eeprom() 162 AT_READ_REG(hw, REG_EEPROM_CTRL, &control); in atl1c_read_eeprom() 167 AT_READ_REG(hw, REG_EEPROM_CTRL, &data); in atl1c_read_eeprom() [all …]
|
D | atl1c_main.c | 93 AT_READ_REG(hw, REG_MASTER_CTRL, &mst_data); in atl1c_pcie_patch() 99 AT_READ_REG(hw, REG_PCIE_PHYMISC, &data); in atl1c_pcie_patch() 109 AT_READ_REG(hw, REG_PCIE_PHYMISC2, &data); in atl1c_pcie_patch() 116 AT_READ_REG(hw, REG_LINK_CTRL, &data); in atl1c_pcie_patch() 122 AT_READ_REG(hw, REG_PM_CTRL, &data); in atl1c_pcie_patch() 126 AT_READ_REG(hw, REG_DMA_DBG, &data); in atl1c_pcie_patch() 142 AT_READ_REG(hw, PCI_COMMAND, &pci_cmd); in atl1c_reset_pcie() 154 AT_READ_REG(hw, REG_WOL_CTRL, &data); in atl1c_reset_pcie() 173 AT_READ_REG(hw, REG_LTSSM_ID_CTRL, &data); in atl1c_reset_pcie() 230 AT_READ_REG(hw, REG_IDLE_STATUS, &data); in atl1c_wait_until_idle() [all …]
|
D | atl1c.h | 558 #define AT_READ_REG(a, reg, pdata) do { \ macro
|