Home
last modified time | relevance | path

Searched refs:AT_WRITE_REG (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_hw.c89 AT_WRITE_REG(hw, REG_OTP_CTRL, otp_ctrl_data); in atl1c_get_permanent_address()
108 AT_WRITE_REG(hw, REG_TWSI_CTRL, twsi_ctrl_data); in atl1c_get_permanent_address()
121 AT_WRITE_REG(hw, REG_OTP_CTRL, otp_ctrl_data); in atl1c_get_permanent_address()
153 AT_WRITE_REG(hw, REG_OTP_CTRL, in atl1c_read_eeprom()
156 AT_WRITE_REG(hw, REG_EEPROM_DATA_LO, 0); in atl1c_read_eeprom()
158 AT_WRITE_REG(hw, REG_EEPROM_CTRL, control); in atl1c_read_eeprom()
174 AT_WRITE_REG(hw, REG_OTP_CTRL, otp_ctrl_data); in atl1c_read_eeprom()
270 AT_WRITE_REG(hw, REG_MDIO_CTRL, 0); in atl1c_stop_phy_polling()
286 AT_WRITE_REG(hw, REG_MDIO_CTRL, val); in atl1c_start_phy_polling()
290 AT_WRITE_REG(hw, REG_MDIO_CTRL, val); in atl1c_start_phy_polling()
[all …]
H A Datl1c_main.c95 AT_WRITE_REG(hw, REG_MASTER_CTRL, mst_data); in atl1c_pcie_patch()
101 AT_WRITE_REG(hw, REG_PCIE_PHYMISC, data); in atl1c_pcie_patch()
104 AT_WRITE_REG(hw, REG_MASTER_CTRL, in atl1c_pcie_patch()
114 AT_WRITE_REG(hw, REG_PCIE_PHYMISC2, data); in atl1c_pcie_patch()
118 AT_WRITE_REG(hw, REG_LINK_CTRL, data); in atl1c_pcie_patch()
124 AT_WRITE_REG(hw, REG_PM_CTRL, data); in atl1c_pcie_patch()
127 AT_WRITE_REG(hw, REG_DMA_DBG, data & ~DMA_DBG_VENDOR_MSG); in atl1c_pcie_patch()
146 AT_WRITE_REG(hw, PCI_COMMAND, pci_cmd); in atl1c_reset_pcie()
155 AT_WRITE_REG(hw, REG_WOL_CTRL, 0); in atl1c_reset_pcie()
175 AT_WRITE_REG(hw, REG_LTSSM_ID_CTRL, data); in atl1c_reset_pcie()
[all …]
H A Datl1c.h549 #define AT_WRITE_REG(a, reg, value) ( \ macro
/linux/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_main.c82 AT_WRITE_REG(&adapter->hw, REG_ISR, 0); in atl1e_irq_enable()
83 AT_WRITE_REG(&adapter->hw, REG_IMR, IMR_NORMAL_MASK); in atl1e_irq_enable()
95 AT_WRITE_REG(&adapter->hw, REG_IMR, 0); in atl1e_irq_disable()
107 AT_WRITE_REG(&adapter->hw, REG_ISR, 0); in atl1e_irq_reset()
108 AT_WRITE_REG(&adapter->hw, REG_IMR, 0); in atl1e_irq_reset()
162 AT_WRITE_REG(hw, REG_MAC_CTRL, value); in atl1e_check_link()
286 AT_WRITE_REG(hw, REG_MAC_CTRL, mac_ctrl_data); in atl1e_set_multi()
289 AT_WRITE_REG(hw, REG_RX_HASH_TABLE, 0); in atl1e_set_multi()
322 AT_WRITE_REG(&adapter->hw, REG_MAC_CTRL, mac_ctrl_data); in atl1e_rx_mode()
349 AT_WRITE_REG(&adapter->hw, REG_MAC_CTRL, mac_ctrl_data); in atl1e_vlan_mode()
[all …]
H A Datl1e_hw.c26 AT_WRITE_REG(hw, REG_SPI_FLASH_CTRL, value); in atl1e_check_eeprom_exist()
72 AT_WRITE_REG(hw, REG_TWSI_CTRL, twsi_ctrl_data); in atl1e_get_permanent_address()
110 AT_WRITE_REG(hw, REG_VPD_DATA, 0); in atl1e_read_eeprom()
112 AT_WRITE_REG(hw, REG_VPD_CAP, control); in atl1e_read_eeprom()
209 AT_WRITE_REG(hw, REG_MDIO_CTRL, val); in atl1e_read_phy_reg()
245 AT_WRITE_REG(hw, REG_MDIO_CTRL, val); in atl1e_write_phy_reg()
276 AT_WRITE_REG(hw, 0x1008, value); in atl1e_init_pcie()
527 AT_WRITE_REG(hw, REG_MASTER_CTRL, in atl1e_reset_hw()
568 AT_WRITE_REG(hw, REG_RX_HASH_TABLE, 0); in atl1e_init_hw()
H A Datl1e.h457 #define AT_WRITE_REG(a, reg, value) ( \ macro