Searched refs:readl (Results 1 – 9 of 9) sorted by relevance
124 while (readl(MDM_STATUS) != PCOM_READY) { in msm_proc_comm()135 while (readl(APP_COMMAND) != PCOM_CMD_DONE) { in msm_proc_comm()139 if (readl(APP_STATUS) != PCOM_CMD_FAIL) { in msm_proc_comm()141 *data1 = readl(APP_DATA1); in msm_proc_comm()143 *data2 = readl(APP_DATA2); in msm_proc_comm()
84 while(readl(GPT_COUNT_VAL) != 0) ; in cycles_per_second()88 while(readl(GPT_COUNT_VAL) < 32766) ; in cycles_per_second()105 while(readl(GPT_COUNT_VAL) != 0) ; in mdelay()108 while(readl(GPT_COUNT_VAL) < msecs) ; in mdelay()120 while(readl(GPT_COUNT_VAL) != 0) ; in udelay()123 while(readl(GPT_COUNT_VAL) < usecs) ; in udelay()
72 (void) readl(VIC_IRQ_VEC_RD); in irq_init()82 writel(readl(reg) | bit, reg); in irq_unmask()102 tmp = readl(reg); in irq_install()
104 s = readl(MDDI_STAT); in mddi_remote_write()106 s = readl(MDDI_STAT); in mddi_remote_write()117 return !!(readl(MDDI_STAT) & MDDI_STAT_PRI_LINK_LIST_DONE); in mddi_update_done()124 while (!(readl(MDDI_INT) & MDDI_INT_NO_REQ_PKTS_PENDING)) ; in mddi_do_cmd()156 n = readl(MDDI_INT); in mddi_get_caps()189 if (readl(MDDI_PAD_CTL) == 0) { in mddi_init()213 n = readl(MDDI_STAT); in mddi_init()
91 unsigned n = readl(USB_ENDPTCTRL(ept->num)); in endpoint_enable()326 while(readl(USB_ULPI_VIEWPORT) & ULPI_RUN) ; in ulpi_read()328 return ULPI_DATA_READ(readl(USB_ULPI_VIEWPORT)); in ulpi_read()339 while(readl(USB_ULPI_VIEWPORT) & ULPI_RUN) ; in ulpi_write()388 unsigned n = readl(USB_USBSTS); in usb_poll()396 writel(readl(USB_ENDPTCOMPLETE), USB_ENDPTCOMPLETE); in usb_poll()397 writel(readl(USB_ENDPTSETUPSTAT), USB_ENDPTSETUPSTAT); in usb_poll()416 unsigned spd = (readl(USB_PORTSC) >> 26) & 3; in usb_poll()423 if(n & STS_UEI) dprintf("<UEI %x>\n", readl(USB_ENDPTCOMPLETE)); in usb_poll()434 n = readl(USB_ENDPTSETUPSTAT); in usb_poll()[all …]
132 v = readl(r->oe); in gpio_output_enable()148 v = readl(r->out); in gpio_write()163 return (readl(r->in) & b) ? 1 : 0; in gpio_read()
75 while(!(readl(ch.status) & DMOV_STATUS_RSLT_VALID)) ; in dmov_exec_cmdptr()77 n = readl(ch.status); in dmov_exec_cmdptr()79 n = readl(ch.result); in dmov_exec_cmdptr()83 readl(DMOV_FLUSH0(DMOV_NAND_CHAN)), in dmov_exec_cmdptr()84 readl(DMOV_FLUSH1(DMOV_NAND_CHAN)), in dmov_exec_cmdptr()85 readl(DMOV_FLUSH2(DMOV_NAND_CHAN)), in dmov_exec_cmdptr()86 readl(DMOV_FLUSH3(DMOV_NAND_CHAN))); in dmov_exec_cmdptr()88 n = readl(ch.status); in dmov_exec_cmdptr()
36 #define urd(a) readl(uart_base + (a))
53 static inline unsigned readl(unsigned addr) in readl() function