Home
last modified time | relevance | path

Searched refs:readreg (Results 1 – 12 of 12) sorted by relevance

/netbsd/sys/arch/evbmips/ingenic/
H A Dclock.c53 return readreg(JZ_OST_CNT_LO); in ingenic_count_read()
76 cnt = readreg(JZ_OST_CNT_LO); in cpu_initclocks()
110 printf("INTC %08x %08x\n", readreg(JZ_ICSR0), readreg(JZ_ICSR1)); in cpu_initclocks()
111 printf("ICMR0 %08x\n", readreg(JZ_ICMR0)); in cpu_initclocks()
116 printf("TFR: %08x\n", readreg(JZ_TC_TFR)); in cpu_initclocks()
117 printf("TMR: %08x\n", readreg(JZ_TC_TMR)); in cpu_initclocks()
122 printf("TFR: %08x\n", readreg(JZ_TC_TFR)); in cpu_initclocks()
133 printf("INTC %08x %08x\n", readreg(JZ_ICSR0), readreg(JZ_ICSR1)); in cpu_initclocks()
147 last = readreg(JZ_OST_CNT_LO); in delay()
161 cur = readreg(JZ_OST_CNT_LO); in delay()
[all …]
H A Dmainbus.c94 printf("TFR: %08x\n", readreg(JZ_TC_TFR)); in mainbus_attach()
95 printf("TMR: %08x\n", readreg(JZ_TC_TMR)); in mainbus_attach()
H A Dintr.c232 mask = readreg(JZ_ICPR0); in evbmips_iointr()
253 irql = readreg(JZ_ICPR0); in ingenic_irq()
254 irqh = readreg(JZ_ICPR1); in ingenic_irq()
H A Dmachdep.c124 junk = readreg(JZ_OST_CNT_LO); in cal_timer()
125 do {} while (junk == readreg(JZ_OST_CNT_LO)); in cal_timer()
/netbsd/sys/arch/mips/ingenic/
H A Dapbus.c142 mpll = readreg(JZ_CPMPCR); in apbus_attach()
150 reg = readreg(JZ_CPCCR); in apbus_attach()
161 reg = readreg(JZ_CLKGR1); in apbus_attach()
169 reg = readreg(JZ_OPCR); in apbus_attach()
235 printf("JZ_SPCR0 %08x\n", readreg(JZ_SPCR0)); in apbus_attach()
237 printf("JZ_SRBC %08x\n", readreg(JZ_SRBC)); in apbus_attach()
238 printf("JZ_OPCR %08x\n", readreg(JZ_OPCR)); in apbus_attach()
240 printf("JZ_ERNG %08x\n", readreg(JZ_ERNG)); in apbus_attach()
241 printf("JZ_RNG %08x\n", readreg(JZ_RNG)); in apbus_attach()
257 reg = readreg(JZ_CLKGR0); in apbus_attach()
[all …]
H A Dingenic_ehci.c89 reg = readreg(JZ_USBPCR); in ingenic_ehci_enable()
94 reg = readreg(JZ_USBPCR1); in ingenic_ehci_enable()
99 reg = readreg(JZ_USBPCR1); in ingenic_ehci_enable()
105 reg = readreg(JZ_OPCR); in ingenic_ehci_enable()
110 reg = readreg(JZ_USBPCR1); in ingenic_ehci_enable()
115 reg = readreg(JZ_USBPCR1); in ingenic_ehci_enable()
120 reg = readreg(JZ_USBPCR1); in ingenic_ehci_enable()
125 reg = readreg(JZ_USBPCR); in ingenic_ehci_enable()
129 reg = readreg(JZ_USBPCR); in ingenic_ehci_enable()
134 reg = readreg(JZ_SRBC); in ingenic_ehci_enable()
[all …]
H A Dingenic_dwctwo.c147 reg = readreg(JZ_USBPCR); in ingenic_dwc2_attach()
158 reg = readreg(JZ_USBPCR1); in ingenic_dwc2_attach()
172 printf("JZ_USBRDT %08x\n", readreg(JZ_USBRDT)); in ingenic_dwc2_attach()
178 reg = readreg(JZ_USBPCR); in ingenic_dwc2_attach()
188 reg = readreg(JZ_OPCR); in ingenic_dwc2_attach()
H A Dingenic_dme.c174 reg = readreg(JZ_GPIO_E_BASE + JZ_GPIO_FLAG); in ingenic_dme_intr()
H A Dingenic_regs.h126 readreg(uint32_t reg) in readreg() function
/netbsd/sys/arch/sgimips/dev/
H A Ddpclock.c100 readreg(struct dpclock_softc *sc, uint32_t reg) in readreg() function
153 i = readreg(sc, DP8573A_TIMESAVE_CTL); in dpclock_gettime_ymdhms()
160 regs[i] = readreg(sc, i); in dpclock_gettime_ymdhms()
203 i = readreg(sc, DP8573A_TIMESAVE_CTL); in dpclock_settime_ymdhms()
210 regs[i] = readreg(sc, i); in dpclock_settime_ymdhms()
222 i = readreg(sc, DP8573A_RT_MODE); in dpclock_settime_ymdhms()
/netbsd/usr.bin/dc/
H A Dbcode.c778 readreg(void) in readreg() function
806 idx = readreg(); in load()
824 idx = readreg(); in store()
841 idx = readreg(); in load_stack()
862 idx = readreg(); in store_stack()
880 reg = readreg(); in load_array()
914 reg = readreg(); in store_array()
1502 idx = readreg(); in compare()
1627 (void)readreg(); in skip_until_mark()
1629 (void)readreg(); in skip_until_mark()
[all …]
/netbsd/lib/libnvmm/
H A Dlibnvmm_x86.c856 bool readreg; member
874 .readreg = true,
879 .readreg = true,
884 .readreg = true,
890 .readreg = true,
895 .readreg = true,
3355 } else if (instr->emul->readreg) { in assist_mem_single()