Lines Matching refs:pd
35 struct serial8250_uart_data *pd = in chip_to_base() local
38 return io_pa_or_va(&pd->base, SERIAL8250_UART_REG_SIZE); in chip_to_base()
90 void serial8250_uart_init(struct serial8250_uart_data *pd, paddr_t base, in serial8250_uart_init() argument
95 pd->base.pa = base; in serial8250_uart_init()
96 pd->chip.ops = &serial8250_uart_ops; in serial8250_uart_init()
108 struct serial8250_uart_data *pd = calloc(1, sizeof(*pd)); in serial8250_uart_dev_alloc() local
110 if (!pd) in serial8250_uart_dev_alloc()
112 return &pd->chip; in serial8250_uart_dev_alloc()
120 struct serial8250_uart_data *pd = in serial8250_uart_dev_init() local
138 serial8250_uart_init(pd, pbase, 0, 0); in serial8250_uart_dev_init()
145 struct serial8250_uart_data *pd = in serial8250_uart_dev_free() local
148 free(pd); in serial8250_uart_dev_free()