Lines Matching refs:plat
266 struct amba_pl011_data *plat = dev_get_platdata(uap->port.dev); in pl011_dma_probe_initcall() local
281 if (!plat || !plat->dma_filter) { in pl011_dma_probe_initcall()
290 chan = dma_request_channel(mask, plat->dma_filter, in pl011_dma_probe_initcall()
291 plat->dma_tx_param); in pl011_dma_probe_initcall()
307 if (!chan && plat->dma_rx_param) { in pl011_dma_probe_initcall()
308 chan = dma_request_channel(mask, plat->dma_filter, plat->dma_rx_param); in pl011_dma_probe_initcall()
328 if (plat && plat->dma_rx_poll_enable) { in pl011_dma_probe_initcall()
330 if (plat->dma_rx_poll_rate) { in pl011_dma_probe_initcall()
332 uap->dmarx.poll_rate = plat->dma_rx_poll_rate; in pl011_dma_probe_initcall()
343 if (plat->dma_rx_poll_timeout) in pl011_dma_probe_initcall()
345 plat->dma_rx_poll_timeout; in pl011_dma_probe_initcall()
1516 struct amba_pl011_data *plat; in pl011_hwinit() local
1518 plat = dev_get_platdata(uap->port.dev); in pl011_hwinit()
1519 if (plat->init) in pl011_hwinit()
1520 plat->init(); in pl011_hwinit()
1685 struct amba_pl011_data *plat; in pl011_shutdown() local
1687 plat = dev_get_platdata(uap->port.dev); in pl011_shutdown()
1688 if (plat->exit) in pl011_shutdown()
1689 plat->exit(); in pl011_shutdown()
2035 struct amba_pl011_data *plat; in pl011_console_setup() local
2037 plat = dev_get_platdata(uap->port.dev); in pl011_console_setup()
2038 if (plat->init) in pl011_console_setup()
2039 plat->init(); in pl011_console_setup()