Searched refs:platp (Results 1 – 4 of 4) sorted by relevance
488 int __init early_mcf_setup(struct mcf_platform_uart *platp) in early_mcf_setup() argument493 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() local618 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 …]
553 struct altera_uart_platform_uart *platp = dev_get_platdata(&pdev->dev); in altera_uart_probe() local575 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()
418 struct altera_jtaguart_platform_uart *platp = in altera_jtaguart_probe() local436 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()
213 struct tiny_spi_platform_data *platp = dev_get_platdata(&pdev->dev); in tiny_spi_probe() local252 if (platp) { in tiny_spi_probe()253 hw->freq = platp->freq; in tiny_spi_probe()254 hw->baudwidth = platp->baudwidth; in tiny_spi_probe()