Home
last modified time | relevance | path

Searched refs:isr (Results 1 – 25 of 121) sorted by relevance

12345

/external/u-boot/drivers/rtc/
Dstm32_rtc.c106 u32 isr = readl(priv->base + STM32_RTC_ISR); in stm32_rtc_enter_init_mode() local
108 if (!(isr & STM32_RTC_ISR_INITF)) { in stm32_rtc_enter_init_mode()
109 isr |= STM32_RTC_ISR_INIT; in stm32_rtc_enter_init_mode()
110 writel(isr, priv->base + STM32_RTC_ISR); in stm32_rtc_enter_init_mode()
113 isr, in stm32_rtc_enter_init_mode()
114 (isr & STM32_RTC_ISR_INITF), in stm32_rtc_enter_init_mode()
124 u32 isr = readl(priv->base + STM32_RTC_ISR); in stm32_rtc_wait_sync() local
126 isr &= ~STM32_RTC_ISR_RSF; in stm32_rtc_wait_sync()
127 writel(isr, priv->base + STM32_RTC_ISR); in stm32_rtc_wait_sync()
134 isr, (isr & STM32_RTC_ISR_RSF), in stm32_rtc_wait_sync()
[all …]
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DANTLRFileStream.java58 InputStreamReader isr; in load() local
61 isr = new InputStreamReader(fis, encoding); in load()
64 isr = new InputStreamReader(fis); in load()
68 super.n = isr.read(data); in load()
71 isr.close(); in load()
DANTLRInputStream.java61 InputStreamReader isr; in ANTLRInputStream() local
63 isr = new InputStreamReader(input, encoding); in ANTLRInputStream()
66 isr = new InputStreamReader(input); in ANTLRInputStream()
68 load(isr, size, readBufferSize); in ANTLRInputStream()
/external/crosvm/devices/src/
Dpic.rs38 isr: u8, // Interrupt Service Register. field
251 self.pics[pic_type as usize].isr in pic_read_command()
347 self.pics[PicSelect::Primary as usize].isr &= !PRIMARY_PIC_CASCADE_PIN_MASK; in poll_read()
372 irq_bitmap = pic.isr; in get_irq()
387 pic.isr &= !(1 << irq); in clear_isr()
466 pic.isr |= irq_bitmap; in interrupt_ack()
500 self.pics[pic_type as usize].isr, in operation_command_word_2()
664 assert_eq!(primary_pic.isr, 0x00); in initial_values()
749 assert_eq!(data.pic.pics[PicSelect::Secondary as usize].isr, 0); in auto_eoi()
751 assert_eq!(data.pic.pics[PicSelect::Primary as usize].isr, 0); in auto_eoi()
[all …]
/external/u-boot/drivers/i2c/
Dmv_i2c.c39 u32 isr; member
50 u32 isr; member
84 writel(I2C_ISR_INIT, &base->isr); /* set clear interrupt bits */ in i2c_reset()
98 int timeout = 1000, isr; in i2c_isr_set_cleared() local
101 isr = readl(&base->isr); in i2c_isr_set_cleared()
105 } while (((isr & set_mask) != set_mask) in i2c_isr_set_cleared()
106 || ((isr & cleared_mask) != 0)); in i2c_isr_set_cleared()
158 writel(readl(&base->isr) | ISR_ITE, &base->isr); in i2c_transfer()
193 writel(readl(&base->isr) | ISR_IRF, &base->isr); in i2c_transfer()
232 debug("i2c_transfer: ISR: 0x%04x\n", readl(&base->isr)); in i2c_transfer()
Dast_i2c.c64 writel(~0, &priv->regs->isr); in ast_i2c_clear_interrupts()
132 while (!(readl(&priv->regs->isr) & flag) && timeout > 0) { in ast_i2c_wait_isr()
158 u32 status = readl(&priv->regs->isr) & flag; in ast_i2c_wait_tx()
162 status = readl(&priv->regs->isr) & flag; in ast_i2c_wait_tx()
/external/u-boot/drivers/net/
Dne2000_base.c248 int len, start_page, pkt_len, i, isr; in dp83902a_send() local
349 DP_IN(base, DP_ISR, isr); in dp83902a_send()
350 } while ((isr & DP_ISR_RDC) == 0); in dp83902a_send()
569 u8 isr; in dp83902a_Overflow() local
599 DP_IN(base, DP_ISR, isr); in dp83902a_Overflow()
600 if (dp->tx_started && !(isr & (DP_ISR_TxP|DP_ISR_TxE))) { in dp83902a_Overflow()
610 u8 isr; in dp83902a_poll() local
613 DP_IN(base, DP_ISR, isr); in dp83902a_poll()
614 while (0 != isr) { in dp83902a_poll()
620 if (isr & DP_ISR_CNT) { in dp83902a_poll()
[all …]
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/
DANTLRFileStream.js50 isr,
53 isr = new java.io.InputStreamReader(fis, encoding);
55 isr = new java.io.InputStreamReader(fis);
58 isr.read(data, 0, size);
/external/u-boot/drivers/mtd/nand/raw/
Dlpc32xx_nand_mlc.c53 u32 isr; member
189 int status = readl(&lpc32xx_nand_mlc_registers->isr); in lpc32xx_dev_ready()
246 status = readl(&lpc32xx_nand_mlc_registers->isr); in lpc32xx_read_page_hwecc()
294 status = readl(&lpc32xx_nand_mlc_registers->isr); in lpc32xx_read_page_raw()
346 status = readl(&lpc32xx_nand_mlc_registers->isr); in lpc32xx_read_oob()
400 status = readl(&lpc32xx_nand_mlc_registers->isr); in lpc32xx_write_page_hwecc()
412 status = readl(&lpc32xx_nand_mlc_registers->isr); in lpc32xx_write_page_hwecc()
493 status = readl(&lpc32xx_nand_mlc_registers->isr); in lpc32xx_write_oob()
519 status = readl(&lpc32xx_nand_mlc_registers->isr); in lpc32xx_waitfunc()
643 status = readl(&lpc32xx_nand_mlc_registers->isr); in read_single_page()
/external/antlr/runtime/JavaScript/tests/functional/
Drhino-python.prog6 isr,
9 isr = new java.io.InputStreamReader(fis, encoding);
11 isr = new java.io.InputStreamReader(fis);
14 /* Should use the ternary version of isr.read here, but can't figure
19 while ((charCode = isr.read()) >= 0) {
/external/u-boot/arch/microblaze/cpu/
Dinterrupts.c58 debug("INTC isr %x, ier %x, iar %x, mer %x\n", intc->isr, intc->ier, in enable_one_interrupt()
73 debug("INTC isr %x, ier %x, iar %x, mer %x\n", intc->isr, intc->ier, in disable_one_interrupt()
111 debug("INTC isr %x, ier %x, iar %x, mer %x\n", intc->isr, intc->ier, in intc_init()
167 debug("INTC isr %x, ier %x, iar %x, mer %x\n", intc->isr, intc->ier, in interrupt_handler()
181 debug("Dump INTC reg, isr %x, ier %x, iar %x, mer %x\n", intc->isr, in interrupt_handler()
/external/u-boot/drivers/spi/
Dzynq_spi.c43 u32 isr; /* 0x04 */ member
109 while (readl(&regs->isr) & in zynq_spi_init_hw()
114 writel(ZYNQ_SPI_IXR_ALL_MASK, &regs->isr); in zynq_spi_init_hw()
249 status = readl(&regs->isr); in zynq_spi_xfer()
255 status = readl(&regs->isr); in zynq_spi_xfer()
259 status = readl(&regs->isr); in zynq_spi_xfer()
264 status = readl(&regs->isr); in zynq_spi_xfer()
Dzynq_qspi.c55 u32 isr; /* 0x04 */ member
135 while (readl(&regs->isr) & ZYNQ_QSPI_IXR_RXNEMPTY_MASK) in zynq_qspi_init_hw()
139 writel(ZYNQ_QSPI_IXR_ALL_MASK, &regs->isr); in zynq_qspi_init_hw()
313 if (!(readl(&regs->isr) in zynq_qspi_fill_tx_fifo()
349 status = readl(&regs->isr); in zynq_qspi_irq_poll()
358 writel(status, &regs->isr); in zynq_qspi_irq_poll()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/data/
DResourceReader.java106 InputStreamReader isr = (encoding == null) in ResourceReader() local
110 this.reader = new BufferedReader(isr); in ResourceReader()
248 InputStreamReader isr = in _reset() local
251 reader = new BufferedReader(isr); in _reset()
/external/icu/android_icu4j/src/main/java/android/icu/impl/data/
DResourceReader.java108 InputStreamReader isr = (encoding == null) in ResourceReader() local
112 this.reader = new BufferedReader(isr); in ResourceReader()
250 InputStreamReader isr = in _reset() local
253 reader = new BufferedReader(isr); in _reset()
/external/ipsec-tools/src/libipsec/
Dkey_debug.c584 struct ipsecrequest *isr; local
585 for (isr = sp->req; isr != NULL; isr = isr->next) {
587 printf(" level=%u\n", isr->level);
588 kdebug_secasindex(&isr->saidx);
590 if (isr->sav != NULL)
591 kdebug_secasv(isr->sav);
/external/jdiff/src/jdiff/
DStreamReader.java24 InputStreamReader isr = new InputStreamReader(is_); in run() local
25 BufferedReader br = new BufferedReader(isr); in run()
/external/jcommander/src/main/java/com/beust/jcommander/internal/
DDefaultConsole.java22 InputStreamReader isr = new InputStreamReader(System.in); in readPassword() local
23 BufferedReader in = new BufferedReader(isr); in readPassword()
/external/arm-trusted-firmware/plat/mediatek/mt8183/drivers/spm/
Dspm.c230 uint32_t val, mask, isr; in spm_set_wakeup_event() local
243 isr = mmio_read_32(SPM_IRQ_MASK) & SPM_TWAM_IRQ_MASK_LSB; in spm_set_wakeup_event()
244 mmio_write_32(SPM_IRQ_MASK, isr | ISRM_RET_IRQ_AUX); in spm_set_wakeup_event()
294 wakesta->isr = mmio_read_32(SPM_IRQ_STA); in spm_get_wakeup_status()
337 wakesta->isr, wakesta->raw_sta, wakesta->raw_ext_sta); in spm_output_wake_reason()
/external/mesa3d/src/broadcom/simulator/
Dv3d_simulator_wrapper.cpp87 v3d_hw_set_isr(struct v3d_hw *hw, void (*isr)(uint32_t status)) in v3d_hw_set_isr()
89 hw->set_isr(isr); in v3d_hw_set_isr()
/external/u-boot/drivers/mtd/
Daltera_qspi.c44 u32 isr; member
170 stat = readl(&regs->isr); in altera_qspi_erase()
174 writel(stat, &regs->isr); /* clear isr */ in altera_qspi_erase()
216 stat = readl(&regs->isr); in altera_qspi_write()
220 writel(stat, &regs->isr); /* clear isr */ in altera_qspi_write()
/external/u-boot/drivers/usb/musb-new/
Dmusb_uboot.c79 host->isr(0, host); in submit_urb()
175 host->host->isr(0, host->host); in _musb_poll_int_queue()
203 host->host->isr(0, host->host); in _musb_reset_root_port()
378 if (!gadget || !gadget->isr) in usb_gadget_handle_interrupts()
381 return gadget->isr(0, gadget); in usb_gadget_handle_interrupts()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/charsetdet/
DDetectingViewer.java293 InputStreamReader isr; in show() local
327 isr = new InputStreamReader(inputStream, encoding); in show()
329 while ((bytesRead = isr.read(buffer, 0, 1024)) >= 0) { in show()
333 isr.close(); in show()
/external/u-boot/drivers/serial/
Dserial_stm32.c104 u32 isr = readl(base + ISR_OFFSET(stm32f4)); in stm32_serial_getc() local
106 if ((isr & USART_ISR_RXNE) == 0) in stm32_serial_getc()
109 if (isr & (USART_ISR_PE | USART_ISR_ORE | USART_ISR_FE)) { in stm32_serial_getc()
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DRBBIPerf.java46 InputStreamReader isr = new InputStreamReader(is, "UTF-8"); in setup() local
49 c = isr.read(); in setup()

12345