Home
last modified time | relevance | path

Searched refs:platp (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/drivers/tty/serial/
Dmcf.c488 int __init early_mcf_setup(struct mcf_platform_uart *platp) in early_mcf_setup() argument
493 for (i = 0; ((i < MCF_MAXPORTS) && (platp[i].mapbase)); i++) { in early_mcf_setup()
498 port->mapbase = platp[i].mapbase; in early_mcf_setup()
499 port->membase = (platp[i].membase) ? platp[i].membase : in early_mcf_setup()
502 port->irq = platp[i].irq; in early_mcf_setup()
614 struct mcf_platform_uart *platp = dev_get_platdata(&pdev->dev); in mcf_probe() local
618 for (i = 0; ((i < MCF_MAXPORTS) && (platp[i].mapbase)); i++) { in mcf_probe()
623 port->mapbase = platp[i].mapbase; in mcf_probe()
624 port->membase = (platp[i].membase) ? platp[i].membase : in mcf_probe()
625 (unsigned char __iomem *) platp[i].mapbase; in mcf_probe()
[all …]
Daltera_uart.c553 struct altera_uart_platform_uart *platp = dev_get_platdata(&pdev->dev); in altera_uart_probe() local
575 else if (platp) in altera_uart_probe()
576 port->mapbase = platp->mapbase; in altera_uart_probe()
583 else if (platp) in altera_uart_probe()
584 port->irq = platp->irq; in altera_uart_probe()
587 if (platp) in altera_uart_probe()
588 port->uartclk = platp->uartclk; in altera_uart_probe()
600 if (platp) in altera_uart_probe()
601 port->regshift = platp->bus_shift; in altera_uart_probe()
Daltera_jtaguart.c418 struct altera_jtaguart_platform_uart *platp = in altera_jtaguart_probe() local
436 else if (platp) in altera_jtaguart_probe()
437 port->mapbase = platp->mapbase; in altera_jtaguart_probe()
444 else if (platp) in altera_jtaguart_probe()
445 port->irq = platp->irq; in altera_jtaguart_probe()
/Linux-v5.15/drivers/spi/
Dspi-oc-tiny.c213 struct tiny_spi_platform_data *platp = dev_get_platdata(&pdev->dev); in tiny_spi_probe() local
252 if (platp) { in tiny_spi_probe()
253 hw->freq = platp->freq; in tiny_spi_probe()
254 hw->baudwidth = platp->baudwidth; in tiny_spi_probe()