Lines Matching refs:ipg_r32
46 #define ipg_r32(reg) ioread32(ioaddr + (reg)) macro
129 ipg_r32(IPG_RFDLISTPTR1), ipg_r32(IPG_RFDLISTPTR0)); in ipg_dump_rfdlist()
158 ipg_r32(IPG_TFDLISTPTR1), ipg_r32(IPG_TFDLISTPTR0)); in ipg_dump_tfdlist()
385 mode = ipg_r32(ASIC_CTRL); in ipg_set_led_mode()
423 ipg_w32(ipg_r32(ASIC_CTRL) | resetflags, ASIC_CTRL); in ipg_reset()
428 while (IPG_AC_RESET_BUSY & ipg_r32(ASIC_CTRL)) { in ipg_reset()
486 asicctrl = ipg_r32(ASIC_CTRL); in ipg_config_autoneg()
488 mac_ctrl_val = ipg_r32(MAC_CTRL); in ipg_config_autoneg()
648 origmacctrl = ipg_r32(MAC_CTRL); in ipg_io_config()
915 ipg_w32((ipg_r32(MAC_CTRL) | IPG_MC_TX_ENABLE) & IPG_MC_RSVD_MASK, in ipg_tx_timeout()
936 u32 txstatusdword = ipg_r32(TX_STATUS); in ipg_nic_txcleanup()
960 ipg_w32((ipg_r32(MAC_CTRL) | IPG_MC_TX_ENABLE) & in ipg_nic_txcleanup()
967 ipg_w32((ipg_r32(MAC_CTRL) | IPG_MC_TX_ENABLE) & in ipg_nic_txcleanup()
986 ipg_w32((ipg_r32(MAC_CTRL) | IPG_MC_TX_ENABLE) & in ipg_nic_txcleanup()
1010 sp->stats.rx_packets += ipg_r32(IPG_FRAMESRCVDOK); in ipg_nic_get_stats()
1011 sp->stats.tx_packets += ipg_r32(IPG_FRAMESXMTDOK); in ipg_nic_get_stats()
1012 sp->stats.rx_bytes += ipg_r32(IPG_OCTETRCVOK); in ipg_nic_get_stats()
1013 sp->stats.tx_bytes += ipg_r32(IPG_OCTETXMTOK); in ipg_nic_get_stats()
1017 temp1 = ipg_r32(IPG_SINGLECOLFRAMES) + ipg_r32(IPG_MULTICOLFRAMES) + in ipg_nic_get_stats()
1018 ipg_r32(IPG_LATECOLLISIONS); in ipg_nic_get_stats()
1023 ipg_r32(IPG_FRAMESWDEFERREDXMT) + temp1 + temp2; in ipg_nic_get_stats()
1024 sp->stats.multicast += ipg_r32(IPG_MCSTOCTETRCVDOK); in ipg_nic_get_stats()
1035 ipg_r32(IPG_MCSTFRAMESRCVDOK); in ipg_nic_get_stats()
1362 ipg_w32(ipg_r32(ASIC_CTRL) | IPG_AC_INT_REQUEST, ASIC_CTRL); in ipg_nic_rx_jumbo()
1492 ipg_w32(ipg_r32(ASIC_CTRL) | IPG_AC_INT_REQUEST, ASIC_CTRL); in ipg_nic_rx()
1787 ipg_w32((ipg_r32(MAC_CTRL) | IPG_MC_RX_ENABLE | IPG_MC_TX_ENABLE) & in ipg_nic_open()