Searched refs:AT_WRITE_REG (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_hw.c | 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() 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() 318 AT_WRITE_REG(hw, REG_MDIO_EXTN, val); in atl1c_read_phy_core() 331 AT_WRITE_REG(hw, REG_MDIO_CTRL, val); in atl1c_read_phy_core() 367 AT_WRITE_REG(hw, REG_MDIO_EXTN, val); in atl1c_write_phy_core() 380 AT_WRITE_REG(hw, REG_MDIO_CTRL, val); in atl1c_write_phy_core() [all …]
|
H A D | atl1c_main.c | 104 AT_WRITE_REG(hw, REG_MASTER_CTRL, 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() 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() 1098 AT_WRITE_REG(hw, REG_TPD_RING_SIZE, in atl1c_configure_des_ring() 1110 AT_WRITE_REG(hw, REG_RFD_RING_SIZE, in atl1c_configure_des_ring() 1112 AT_WRITE_REG(hw, REG_RX_BUF_SIZE, in atl1c_configure_des_ring() 1120 AT_WRITE_REG(hw, REG_RRD_RING_SIZE, in atl1c_configure_des_ring() 1134 AT_WRITE_REG(hw, REG_LOAD_PTR, 1); in atl1c_configure_des_ring() [all …]
|
H A D | atl1c.h | 549 #define AT_WRITE_REG(a, reg, value) ( \ macro
|
/openbmc/linux/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_main.c | 82 AT_WRITE_REG(&adapter->hw, REG_ISR, 0); 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() 899 AT_WRITE_REG(hw, REG_HOST_TX_CMB_LO, in atl1e_configure_des_ring() 926 AT_WRITE_REG(hw, REG_LOAD_PTR, 1); in atl1e_configure_des_ring() 1091 AT_WRITE_REG(hw, REG_ISR, ~0); in atl1e_configure() 1099 AT_WRITE_REG(hw, REG_WOL_CTRL, 0); in atl1e_configure() 1342 AT_WRITE_REG(hw, REG_IMR, in atl1e_intr() [all …]
|
H A D | atl1e_hw.c | 26 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 D | atl1e.h | 457 #define AT_WRITE_REG(a, reg, value) ( \ macro
|