Lines Matching refs:pd
34 struct serial8250_uart_data *pd = in chip_to_base() local
37 return io_pa_or_va(&pd->base, SERIAL8250_UART_REG_SIZE); in chip_to_base()
89 void serial8250_uart_init(struct serial8250_uart_data *pd, paddr_t base, in serial8250_uart_init() argument
94 pd->base.pa = base; in serial8250_uart_init()
95 pd->chip.ops = &serial8250_uart_ops; in serial8250_uart_init()
107 struct serial8250_uart_data *pd = calloc(1, sizeof(*pd)); in serial8250_uart_dev_alloc() local
109 if (!pd) in serial8250_uart_dev_alloc()
111 return &pd->chip; in serial8250_uart_dev_alloc()
119 struct serial8250_uart_data *pd = in serial8250_uart_dev_init() local
137 serial8250_uart_init(pd, pbase, 0, 0); in serial8250_uart_dev_init()
144 struct serial8250_uart_data *pd = in serial8250_uart_dev_free() local
147 free(pd); in serial8250_uart_dev_free()