Searched refs:io_width (Results 1 – 2 of 2) sorted by relevance
/optee_os-3.20.0/core/include/drivers/ |
A D | ns16550.h | 42 uint8_t io_width; member 46 static inline unsigned int serial_in(vaddr_t addr, uint8_t io_width) in serial_in() argument 48 if (io_width == IO_WIDTH_U32) in serial_in() 54 static inline void serial_out(vaddr_t addr, uint8_t io_width, int ch) in serial_out() argument 56 if (io_width == IO_WIDTH_U32) in serial_out() 62 void ns16550_init(struct ns16550_data *pd, paddr_t base, uint8_t io_width,
|
/optee_os-3.20.0/core/drivers/ |
A D | ns16550.c | 53 (UART_LSR << pd->reg_shift) + pd->io_width); in ns16550_flush() 55 while ((serial_in(base + (UART_LSR << pd->reg_shift), pd->io_width) & in ns16550_flush() 65 pd->io_width); in ns16550_putc() 70 serial_out(base + (UART_THR << pd->reg_shift), pd->io_width, ch); in ns16550_putc() 79 void ns16550_init(struct ns16550_data *pd, paddr_t base, uint8_t io_width, in ns16550_init() argument 83 pd->io_width = io_width; in ns16550_init()
|
Completed in 3 milliseconds