Home
last modified time | relevance | path

Searched refs:hw_reg_addr (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_main.c1200 u16 hw_reg_addr = 0; in atl1e_update_hw_stats() local
1204 hw_reg_addr = REG_MAC_RX_STATUS_BIN; in atl1e_update_hw_stats()
1206 while (hw_reg_addr <= REG_MAC_RX_STATUS_END) { in atl1e_update_hw_stats()
1207 *stats_item += AT_READ_REG(&adapter->hw, hw_reg_addr); in atl1e_update_hw_stats()
1209 hw_reg_addr += 4; in atl1e_update_hw_stats()
1212 hw_reg_addr = REG_MAC_TX_STATUS_BIN; in atl1e_update_hw_stats()
1214 while (hw_reg_addr <= REG_MAC_TX_STATUS_END) { in atl1e_update_hw_stats()
1215 *stats_item += AT_READ_REG(&adapter->hw, hw_reg_addr); in atl1e_update_hw_stats()
1217 hw_reg_addr += 4; in atl1e_update_hw_stats()
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c1503 u16 hw_reg_addr = 0; in atl1c_update_hw_stats() local
1508 hw_reg_addr = REG_MAC_RX_STATUS_BIN; in atl1c_update_hw_stats()
1510 while (hw_reg_addr <= REG_MAC_RX_STATUS_END) { in atl1c_update_hw_stats()
1511 AT_READ_REG(&adapter->hw, hw_reg_addr, &data); in atl1c_update_hw_stats()
1514 hw_reg_addr += 4; in atl1c_update_hw_stats()
1517 hw_reg_addr = REG_MAC_TX_STATUS_BIN; in atl1c_update_hw_stats()
1519 while (hw_reg_addr <= REG_MAC_TX_STATUS_END) { in atl1c_update_hw_stats()
1520 AT_READ_REG(&adapter->hw, hw_reg_addr, &data); in atl1c_update_hw_stats()
1523 hw_reg_addr += 4; in atl1c_update_hw_stats()