Lines Matching refs:alx_read_mem32

52 		val = alx_read_mem32(hw, ALX_MDIO);  in alx_wait_mdio_idle()
93 val = alx_read_mem32(hw, ALX_MDIO); in alx_read_phy_core()
242 val = alx_read_mem32(hw, ALX_PHY_CTRL); in alx_get_phy_config()
247 val = alx_read_mem32(hw, ALX_DRV); in alx_get_phy_config()
265 read = alx_read_mem32(hw, reg); in alx_wait_reg()
281 mac0 = alx_read_mem32(hw, ALX_STAD0); in alx_read_macaddr()
282 mac1 = alx_read_mem32(hw, ALX_STAD1); in alx_read_macaddr()
309 val = alx_read_mem32(hw, ALX_EFLD); in alx_get_perm_macaddr()
340 val = alx_read_mem32(hw, ALX_MISC3); in alx_reset_osc()
348 val = alx_read_mem32(hw, ALX_MISC); in alx_reset_osc()
359 val2 = alx_read_mem32(hw, ALX_MSIC2); in alx_reset_osc()
381 rxq = alx_read_mem32(hw, ALX_RXQ0); in alx_stop_mac()
383 txq = alx_read_mem32(hw, ALX_TXQ0); in alx_stop_mac()
392 val = alx_read_mem32(hw, ALX_MAC_STS); in alx_stop_mac()
426 pmctrl = alx_read_mem32(hw, ALX_PMCTRL); in alx_reset_mac()
434 val = alx_read_mem32(hw, ALX_MASTER); in alx_reset_mac()
441 val = alx_read_mem32(hw, ALX_RFD_PIDX); in alx_reset_mac()
447 val = alx_read_mem32(hw, ALX_MASTER); in alx_reset_mac()
468 val = alx_read_mem32(hw, ALX_MISC3); in alx_reset_mac()
472 val = alx_read_mem32(hw, ALX_MISC); in alx_reset_mac()
482 val = alx_read_mem32(hw, ALX_SERDES); in alx_reset_mac()
497 val = alx_read_mem32(hw, ALX_PHY_CTRL); in alx_reset_phy()
519 val = alx_read_mem32(hw, ALX_LPI_CTRL); in alx_reset_phy()
574 val = alx_read_mem32(hw, ALX_WOL0); in alx_reset_pcie()
577 val = alx_read_mem32(hw, ALX_PDLL_TRNS1); in alx_reset_pcie()
581 val = alx_read_mem32(hw, ALX_UE_SVRT); in alx_reset_pcie()
586 val = alx_read_mem32(hw, ALX_MASTER); in alx_reset_pcie()
611 rxq = alx_read_mem32(hw, ALX_RXQ0); in alx_start_mac()
613 txq = alx_read_mem32(hw, ALX_TXQ0); in alx_start_mac()
649 pmctrl = alx_read_mem32(hw, ALX_PMCTRL); in alx_enable_aspm()
729 val = alx_read_mem32(hw, ALX_DRV); in alx_setup_speed_duplex()
925 u32 ctrl = alx_read_mem32(hw, ALX_RXQ0); in alx_disable_rss()
948 val = alx_read_mem32(hw, ALX_MASTER); in alx_configure_basic()
992 val = alx_read_mem32(hw, ALX_SRAM5); in alx_configure_basic()
1016 val = alx_read_mem32(hw, ALX_DMA); in alx_configure_basic()
1071 hw->stats.rx_ok += alx_read_mem32(hw, ALX_MIB_RX_OK); in alx_update_hw_stats()
1072 hw->stats.rx_bcast += alx_read_mem32(hw, ALX_MIB_RX_BCAST); in alx_update_hw_stats()
1073 hw->stats.rx_mcast += alx_read_mem32(hw, ALX_MIB_RX_MCAST); in alx_update_hw_stats()
1074 hw->stats.rx_pause += alx_read_mem32(hw, ALX_MIB_RX_PAUSE); in alx_update_hw_stats()
1075 hw->stats.rx_ctrl += alx_read_mem32(hw, ALX_MIB_RX_CTRL); in alx_update_hw_stats()
1076 hw->stats.rx_fcs_err += alx_read_mem32(hw, ALX_MIB_RX_FCS_ERR); in alx_update_hw_stats()
1077 hw->stats.rx_len_err += alx_read_mem32(hw, ALX_MIB_RX_LEN_ERR); in alx_update_hw_stats()
1078 hw->stats.rx_byte_cnt += alx_read_mem32(hw, ALX_MIB_RX_BYTE_CNT); in alx_update_hw_stats()
1079 hw->stats.rx_runt += alx_read_mem32(hw, ALX_MIB_RX_RUNT); in alx_update_hw_stats()
1080 hw->stats.rx_frag += alx_read_mem32(hw, ALX_MIB_RX_FRAG); in alx_update_hw_stats()
1081 hw->stats.rx_sz_64B += alx_read_mem32(hw, ALX_MIB_RX_SZ_64B); in alx_update_hw_stats()
1082 hw->stats.rx_sz_127B += alx_read_mem32(hw, ALX_MIB_RX_SZ_127B); in alx_update_hw_stats()
1083 hw->stats.rx_sz_255B += alx_read_mem32(hw, ALX_MIB_RX_SZ_255B); in alx_update_hw_stats()
1084 hw->stats.rx_sz_511B += alx_read_mem32(hw, ALX_MIB_RX_SZ_511B); in alx_update_hw_stats()
1085 hw->stats.rx_sz_1023B += alx_read_mem32(hw, ALX_MIB_RX_SZ_1023B); in alx_update_hw_stats()
1086 hw->stats.rx_sz_1518B += alx_read_mem32(hw, ALX_MIB_RX_SZ_1518B); in alx_update_hw_stats()
1087 hw->stats.rx_sz_max += alx_read_mem32(hw, ALX_MIB_RX_SZ_MAX); in alx_update_hw_stats()
1088 hw->stats.rx_ov_sz += alx_read_mem32(hw, ALX_MIB_RX_OV_SZ); in alx_update_hw_stats()
1089 hw->stats.rx_ov_rxf += alx_read_mem32(hw, ALX_MIB_RX_OV_RXF); in alx_update_hw_stats()
1090 hw->stats.rx_ov_rrd += alx_read_mem32(hw, ALX_MIB_RX_OV_RRD); in alx_update_hw_stats()
1091 hw->stats.rx_align_err += alx_read_mem32(hw, ALX_MIB_RX_ALIGN_ERR); in alx_update_hw_stats()
1092 hw->stats.rx_bc_byte_cnt += alx_read_mem32(hw, ALX_MIB_RX_BCCNT); in alx_update_hw_stats()
1093 hw->stats.rx_mc_byte_cnt += alx_read_mem32(hw, ALX_MIB_RX_MCCNT); in alx_update_hw_stats()
1094 hw->stats.rx_err_addr += alx_read_mem32(hw, ALX_MIB_RX_ERRADDR); in alx_update_hw_stats()
1097 hw->stats.tx_ok += alx_read_mem32(hw, ALX_MIB_TX_OK); in alx_update_hw_stats()
1098 hw->stats.tx_bcast += alx_read_mem32(hw, ALX_MIB_TX_BCAST); in alx_update_hw_stats()
1099 hw->stats.tx_mcast += alx_read_mem32(hw, ALX_MIB_TX_MCAST); in alx_update_hw_stats()
1100 hw->stats.tx_pause += alx_read_mem32(hw, ALX_MIB_TX_PAUSE); in alx_update_hw_stats()
1101 hw->stats.tx_exc_defer += alx_read_mem32(hw, ALX_MIB_TX_EXC_DEFER); in alx_update_hw_stats()
1102 hw->stats.tx_ctrl += alx_read_mem32(hw, ALX_MIB_TX_CTRL); in alx_update_hw_stats()
1103 hw->stats.tx_defer += alx_read_mem32(hw, ALX_MIB_TX_DEFER); in alx_update_hw_stats()
1104 hw->stats.tx_byte_cnt += alx_read_mem32(hw, ALX_MIB_TX_BYTE_CNT); in alx_update_hw_stats()
1105 hw->stats.tx_sz_64B += alx_read_mem32(hw, ALX_MIB_TX_SZ_64B); in alx_update_hw_stats()
1106 hw->stats.tx_sz_127B += alx_read_mem32(hw, ALX_MIB_TX_SZ_127B); in alx_update_hw_stats()
1107 hw->stats.tx_sz_255B += alx_read_mem32(hw, ALX_MIB_TX_SZ_255B); in alx_update_hw_stats()
1108 hw->stats.tx_sz_511B += alx_read_mem32(hw, ALX_MIB_TX_SZ_511B); in alx_update_hw_stats()
1109 hw->stats.tx_sz_1023B += alx_read_mem32(hw, ALX_MIB_TX_SZ_1023B); in alx_update_hw_stats()
1110 hw->stats.tx_sz_1518B += alx_read_mem32(hw, ALX_MIB_TX_SZ_1518B); in alx_update_hw_stats()
1111 hw->stats.tx_sz_max += alx_read_mem32(hw, ALX_MIB_TX_SZ_MAX); in alx_update_hw_stats()
1112 hw->stats.tx_single_col += alx_read_mem32(hw, ALX_MIB_TX_SINGLE_COL); in alx_update_hw_stats()
1113 hw->stats.tx_multi_col += alx_read_mem32(hw, ALX_MIB_TX_MULTI_COL); in alx_update_hw_stats()
1114 hw->stats.tx_late_col += alx_read_mem32(hw, ALX_MIB_TX_LATE_COL); in alx_update_hw_stats()
1115 hw->stats.tx_abort_col += alx_read_mem32(hw, ALX_MIB_TX_ABORT_COL); in alx_update_hw_stats()
1116 hw->stats.tx_underrun += alx_read_mem32(hw, ALX_MIB_TX_UNDERRUN); in alx_update_hw_stats()
1117 hw->stats.tx_trd_eop += alx_read_mem32(hw, ALX_MIB_TX_TRD_EOP); in alx_update_hw_stats()
1118 hw->stats.tx_len_err += alx_read_mem32(hw, ALX_MIB_TX_LEN_ERR); in alx_update_hw_stats()
1119 hw->stats.tx_trunc += alx_read_mem32(hw, ALX_MIB_TX_TRUNC); in alx_update_hw_stats()
1120 hw->stats.tx_bc_byte_cnt += alx_read_mem32(hw, ALX_MIB_TX_BCCNT); in alx_update_hw_stats()
1121 hw->stats.tx_mc_byte_cnt += alx_read_mem32(hw, ALX_MIB_TX_MCCNT); in alx_update_hw_stats()
1123 hw->stats.update += alx_read_mem32(hw, ALX_MIB_UPDATE); in alx_update_hw_stats()