Lines Matching refs:readl
562 if ((readl(&ap->regs->HostCtrl) >> 28) == 4) { in acenic_probe_one()
614 writel(readl(®s->CpuCtrl) | CPU_HALT, ®s->CpuCtrl); in acenic_remove_one()
616 writel(readl(®s->CpuBCtrl) | CPU_HALT, ®s->CpuBCtrl); in acenic_remove_one()
622 readl(®s->CpuCtrl); /* flush */ in acenic_remove_one()
851 idx = readl(®s->CmdPrd); in ace_issue_cmd()
884 readl(®s->HostCtrl); /* PCI write posting */ in ace_init()
901 readl(®s->HostCtrl); /* PCI write posting */ in ace_init()
906 writel(readl(®s->CpuCtrl) | CPU_HALT, ®s->CpuCtrl); in ace_init()
907 readl(®s->CpuCtrl); /* PCI write posting */ in ace_init()
910 tig_ver = readl(®s->HostCtrl) >> 28; in ace_init()
928 writel(readl(®s->CpuBCtrl) | CPU_HALT, ®s->CpuBCtrl); in ace_init()
929 readl(®s->CpuBCtrl); /* PCI write posting */ in ace_init()
961 readl(®s->ModeStat); /* PCI write posting */ in ace_init()
1021 pci_state = readl(®s->PciState); in ace_init()
1446 writel(readl(®s->CpuCtrl) & ~(CPU_HALT|CPU_TRACE), ®s->CpuCtrl); in ace_init()
1447 readl(®s->CpuCtrl); in ace_init()
1460 writel(readl(®s->CpuCtrl) | CPU_HALT, ®s->CpuCtrl); in ace_init()
1461 readl(®s->CpuCtrl); in ace_init()
1473 writel(readl(®s->CpuBCtrl) | CPU_HALT, in ace_init()
1476 readl(®s->Mb0Lo); in ace_init()
1557 dev->name, (unsigned int)readl(®s->HostCtrl)); in ace_watchdog()
1835 u32 state = readl(&ap->regs->GigLnkState); in ace_handle_event()
2117 if (!(readl(®s->HostCtrl) & IN_INT)) in ace_interrupt()
2129 readl(®s->Mb0Lo); in ace_interrupt()
2159 evtcsm = readl(®s->EvtCsm); in ace_interrupt()
2599 link = readl(®s->GigLnkState); in ace_get_settings()
2603 link = readl(®s->FastLnkState); in ace_get_settings()
2625 ecmd->trace = readl(®s->TuneTrace); in ace_get_settings()
2627 ecmd->txcoal = readl(®s->TuneTxCoalTicks); in ace_get_settings()
2628 ecmd->rxcoal = readl(®s->TuneRxCoalTicks); in ace_get_settings()
2630 ecmd->maxtxpkt = readl(®s->TuneMaxTxDesc); in ace_get_settings()
2631 ecmd->maxrxpkt = readl(®s->TuneMaxRxDesc); in ace_get_settings()
2642 link = readl(®s->GigLnkState); in ace_set_settings()
2646 link = readl(®s->FastLnkState); in ace_set_settings()
2805 dev->stats.rx_missed_errors = readl(&mac_stats->drop_space); in ace_get_stats()
2806 dev->stats.multicast = readl(&mac_stats->kept_mc); in ace_get_stats()
2807 dev->stats.collisions = readl(&mac_stats->coll); in ace_get_stats()
2881 if (!(readl(®s->CpuCtrl) & CPU_HALTED)) { in ace_load_firmware()
2955 readl(®s->LocalCtrl); in eeprom_start()
2957 local = readl(®s->LocalCtrl); in eeprom_start()
2960 readl(®s->LocalCtrl); in eeprom_start()
2965 readl(®s->LocalCtrl); in eeprom_start()
2970 readl(®s->LocalCtrl); in eeprom_start()
2975 readl(®s->LocalCtrl); in eeprom_start()
2986 local = readl(®s->LocalCtrl); in eeprom_prep()
2990 readl(®s->LocalCtrl); in eeprom_prep()
3000 readl(®s->LocalCtrl); in eeprom_prep()
3006 readl(®s->LocalCtrl); in eeprom_prep()
3011 readl(®s->LocalCtrl); in eeprom_prep()
3022 local = readl(®s->LocalCtrl); in eeprom_check_ack()
3025 readl(®s->LocalCtrl); in eeprom_check_ack()
3030 readl(®s->LocalCtrl); in eeprom_check_ack()
3034 state = (readl(®s->LocalCtrl) & EEPROM_DATA_IN) != 0; in eeprom_check_ack()
3037 writel(readl(®s->LocalCtrl) & ~EEPROM_CLK_OUT, ®s->LocalCtrl); in eeprom_check_ack()
3038 readl(®s->LocalCtrl); in eeprom_check_ack()
3050 local = readl(®s->LocalCtrl); in eeprom_stop()
3053 readl(®s->LocalCtrl); in eeprom_stop()
3058 readl(®s->LocalCtrl); in eeprom_stop()
3063 readl(®s->LocalCtrl); in eeprom_stop()
3068 readl(®s->LocalCtrl); in eeprom_stop()
3134 local = readl(®s->LocalCtrl); in read_eeprom_byte()
3137 readl(®s->LocalCtrl); in read_eeprom_byte()
3142 readl(®s->LocalCtrl); in read_eeprom_byte()
3147 ((readl(®s->LocalCtrl) & EEPROM_DATA_IN) != 0); in read_eeprom_byte()
3150 local = readl(®s->LocalCtrl); in read_eeprom_byte()
3153 readl(®s->LocalCtrl); in read_eeprom_byte()
3159 readl(®s->LocalCtrl); in read_eeprom_byte()
3167 readl(®s->LocalCtrl); in read_eeprom_byte()
3170 writel(readl(®s->LocalCtrl) | EEPROM_CLK_OUT, ®s->LocalCtrl); in read_eeprom_byte()
3171 readl(®s->LocalCtrl); in read_eeprom_byte()
3173 writel(readl(®s->LocalCtrl) & ~EEPROM_CLK_OUT, ®s->LocalCtrl); in read_eeprom_byte()
3174 readl(®s->LocalCtrl); in read_eeprom_byte()