Searched refs:AT_WRITE_REG (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_hw.c | 102 AT_WRITE_REG(hw, REG_OTP_CTRL, otp_ctrl_data); in atl1c_get_permanent_address() 121 AT_WRITE_REG(hw, REG_TWSI_CTRL, twsi_ctrl_data); in atl1c_get_permanent_address() 134 AT_WRITE_REG(hw, REG_OTP_CTRL, otp_ctrl_data); in atl1c_get_permanent_address() 166 AT_WRITE_REG(hw, REG_OTP_CTRL, in atl1c_read_eeprom() 169 AT_WRITE_REG(hw, REG_EEPROM_DATA_LO, 0); in atl1c_read_eeprom() 171 AT_WRITE_REG(hw, REG_EEPROM_CTRL, control); in atl1c_read_eeprom() 187 AT_WRITE_REG(hw, REG_OTP_CTRL, otp_ctrl_data); in atl1c_read_eeprom() 283 AT_WRITE_REG(hw, REG_MDIO_CTRL, 0); in atl1c_stop_phy_polling() 299 AT_WRITE_REG(hw, REG_MDIO_CTRL, val); in atl1c_start_phy_polling() 303 AT_WRITE_REG(hw, REG_MDIO_CTRL, val); in atl1c_start_phy_polling() [all …]
|
D | atl1c_main.c | 82 AT_WRITE_REG(hw, REG_MASTER_CTRL, mst_data); in atl1c_pcie_patch() 88 AT_WRITE_REG(hw, REG_PCIE_PHYMISC, data); in atl1c_pcie_patch() 91 AT_WRITE_REG(hw, REG_MASTER_CTRL, in atl1c_pcie_patch() 101 AT_WRITE_REG(hw, REG_PCIE_PHYMISC2, data); in atl1c_pcie_patch() 105 AT_WRITE_REG(hw, REG_LINK_CTRL, data); in atl1c_pcie_patch() 111 AT_WRITE_REG(hw, REG_PM_CTRL, data); in atl1c_pcie_patch() 114 AT_WRITE_REG(hw, REG_DMA_DBG, data & ~DMA_DBG_VENDOR_MSG); in atl1c_pcie_patch() 133 AT_WRITE_REG(hw, PCI_COMMAND, pci_cmd); in atl1c_reset_pcie() 142 AT_WRITE_REG(hw, REG_WOL_CTRL, 0); in atl1c_reset_pcie() 162 AT_WRITE_REG(hw, REG_LTSSM_ID_CTRL, data); in atl1c_reset_pcie() [all …]
|
D | atl1c.h | 560 #define AT_WRITE_REG(a, reg, value) ( \ macro
|
/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 99 AT_WRITE_REG(&adapter->hw, REG_ISR, 0); in atl1e_irq_enable() 100 AT_WRITE_REG(&adapter->hw, REG_IMR, IMR_NORMAL_MASK); in atl1e_irq_enable() 112 AT_WRITE_REG(&adapter->hw, REG_IMR, 0); in atl1e_irq_disable() 124 AT_WRITE_REG(&adapter->hw, REG_ISR, 0); in atl1e_irq_reset() 125 AT_WRITE_REG(&adapter->hw, REG_IMR, 0); in atl1e_irq_reset() 180 AT_WRITE_REG(hw, REG_MAC_CTRL, value); in atl1e_check_link() 303 AT_WRITE_REG(hw, REG_MAC_CTRL, mac_ctrl_data); in atl1e_set_multi() 306 AT_WRITE_REG(hw, REG_RX_HASH_TABLE, 0); in atl1e_set_multi() 339 AT_WRITE_REG(&adapter->hw, REG_MAC_CTRL, mac_ctrl_data); in atl1e_rx_mode() 366 AT_WRITE_REG(&adapter->hw, REG_MAC_CTRL, mac_ctrl_data); in atl1e_vlan_mode() [all …]
|
D | atl1e_hw.c | 39 AT_WRITE_REG(hw, REG_SPI_FLASH_CTRL, value); in atl1e_check_eeprom_exist() 85 AT_WRITE_REG(hw, REG_TWSI_CTRL, twsi_ctrl_data); in atl1e_get_permanent_address() 123 AT_WRITE_REG(hw, REG_VPD_DATA, 0); in atl1e_read_eeprom() 125 AT_WRITE_REG(hw, REG_VPD_CAP, control); in atl1e_read_eeprom() 222 AT_WRITE_REG(hw, REG_MDIO_CTRL, val); in atl1e_read_phy_reg() 258 AT_WRITE_REG(hw, REG_MDIO_CTRL, val); in atl1e_write_phy_reg() 289 AT_WRITE_REG(hw, 0x1008, value); in atl1e_init_pcie() 540 AT_WRITE_REG(hw, REG_MASTER_CTRL, in atl1e_reset_hw() 581 AT_WRITE_REG(hw, REG_RX_HASH_TABLE, 0); in atl1e_init_hw()
|
D | atl1e.h | 471 #define AT_WRITE_REG(a, reg, value) ( \ macro
|