Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/tty/serial/
Dmcf.c473 int __init early_mcf_setup(struct mcf_platform_uart *platp) in early_mcf_setup() argument
478 for (i = 0; ((i < MCF_MAXPORTS) && (platp[i].mapbase)); i++) { in early_mcf_setup()
483 port->mapbase = platp[i].mapbase; in early_mcf_setup()
484 port->membase = (platp[i].membase) ? platp[i].membase : in early_mcf_setup()
487 port->irq = platp[i].irq; in early_mcf_setup()
600 struct mcf_platform_uart *platp = dev_get_platdata(&pdev->dev); in mcf_probe() local
604 for (i = 0; ((i < MCF_MAXPORTS) && (platp[i].mapbase)); i++) { in mcf_probe()
609 port->mapbase = platp[i].mapbase; in mcf_probe()
610 port->membase = (platp[i].membase) ? platp[i].membase : in mcf_probe()
611 (unsigned char __iomem *) platp[i].mapbase; in mcf_probe()
[all …]
Daltera_uart.c531 struct altera_uart_platform_uart *platp = dev_get_platdata(&pdev->dev); in altera_uart_probe() local
552 else if (platp) in altera_uart_probe()
553 port->mapbase = platp->mapbase; in altera_uart_probe()
562 else if (platp) in altera_uart_probe()
563 port->irq = platp->irq; in altera_uart_probe()
566 if (platp) in altera_uart_probe()
567 port->uartclk = platp->uartclk; in altera_uart_probe()
579 if (platp) in altera_uart_probe()
580 port->regshift = platp->bus_shift; in altera_uart_probe()
Daltera_jtaguart.c378 struct altera_jtaguart_platform_uart *platp = in altera_jtaguart_probe() local
397 else if (platp) in altera_jtaguart_probe()
398 port->mapbase = platp->mapbase; in altera_jtaguart_probe()
407 else if (platp) in altera_jtaguart_probe()
408 port->irq = platp->irq; in altera_jtaguart_probe()
/Linux-v6.6/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()