Lines Matching refs:chip
57 static vaddr_t chip_to_base(struct serial_chip *chip) in chip_to_base() argument
60 container_of(chip, struct mvebu_uart_data, chip); in chip_to_base()
65 static void mvebu_uart_flush(struct serial_chip *chip) in mvebu_uart_flush() argument
67 vaddr_t base = chip_to_base(chip); in mvebu_uart_flush()
80 static bool mvebu_uart_have_rx_data(struct serial_chip *chip) in mvebu_uart_have_rx_data() argument
82 vaddr_t base = chip_to_base(chip); in mvebu_uart_have_rx_data()
87 static int mvebu_uart_getchar(struct serial_chip *chip) in mvebu_uart_getchar() argument
89 vaddr_t base = chip_to_base(chip); in mvebu_uart_getchar()
91 while (!mvebu_uart_have_rx_data(chip)) in mvebu_uart_getchar()
96 static void mvebu_uart_putc(struct serial_chip *chip, int ch) in mvebu_uart_putc() argument
98 vaddr_t base = chip_to_base(chip); in mvebu_uart_putc()
125 pd->chip.ops = &mvebu_uart_ops; in mvebu_uart_init()
144 mvebu_uart_flush(&pd->chip); in mvebu_uart_init()