Home
last modified time | relevance | path

Searched refs:ISR_OFFSET (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/drivers/serial/
Dserial_stm32.c94 u32 isr = readl(base + ISR_OFFSET(stm32f4)); in stm32_serial_getc()
117 if ((readl(base + ISR_OFFSET(stm32f4)) & USART_ISR_TXE) == 0) in _stm32_serial_putc()
139 return readl(base + ISR_OFFSET(stm32f4)) & in stm32_serial_pending()
142 return readl(base + ISR_OFFSET(stm32f4)) & in stm32_serial_pending()
Dserial_stm32.h13 #define ISR_OFFSET(x) (x ? 0x00 : 0x1c) macro
/external/u-boot/drivers/i2c/
Dkona_i2c.c49 #define ISR_OFFSET 0x00000048 macro
225 status = readl(dev->base + ISR_OFFSET); in wait_for_int_timeout()
237 writel(status & ~ISR_RESERVED_MASK, dev->base + ISR_OFFSET); in wait_for_int_timeout()
337 writel(ISR_SES_DONE_MASK, dev->base + ISR_OFFSET); in bcm_kona_i2c_write_byte()
609 ISR_TXFIFOEMPTY_MASK | ISR_NOACK_MASK, dev->base + ISR_OFFSET); in bcm_kona_i2c_init()