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

/linux-4.4.14/drivers/spi/
H A Dspi-oc-tiny.c243 struct tiny_spi_platform_data *platp = dev_get_platdata(&pdev->dev); tiny_spi_probe() local
286 if (platp) { tiny_spi_probe()
287 hw->gpio_cs_count = platp->gpio_cs_count; tiny_spi_probe()
288 hw->gpio_cs = platp->gpio_cs; tiny_spi_probe()
289 if (platp->gpio_cs_count && !platp->gpio_cs) { tiny_spi_probe()
293 hw->freq = platp->freq; tiny_spi_probe()
294 hw->baudwidth = platp->baudwidth; tiny_spi_probe()
/linux-4.4.14/drivers/tty/serial/
H A Dmcf.c494 int __init early_mcf_setup(struct mcf_platform_uart *platp) early_mcf_setup() argument
499 for (i = 0; ((i < MCF_MAXPORTS) && (platp[i].mapbase)); i++) { early_mcf_setup()
504 port->mapbase = platp[i].mapbase; early_mcf_setup()
505 port->membase = (platp[i].membase) ? platp[i].membase : early_mcf_setup()
508 port->irq = platp[i].irq; early_mcf_setup()
620 struct mcf_platform_uart *platp = dev_get_platdata(&pdev->dev); mcf_probe() local
624 for (i = 0; ((i < MCF_MAXPORTS) && (platp[i].mapbase)); i++) { mcf_probe()
629 port->mapbase = platp[i].mapbase; mcf_probe()
630 port->membase = (platp[i].membase) ? platp[i].membase : mcf_probe()
631 (unsigned char __iomem *) platp[i].mapbase; mcf_probe()
634 port->irq = platp[i].irq; mcf_probe()
H A Daltera_uart.c513 struct altera_uart_platform_uart *platp = dev_get_platdata(&pdev->dev); altera_uart_probe() local
535 else if (platp) altera_uart_probe()
536 port->mapbase = platp->mapbase; altera_uart_probe()
543 else if (platp) altera_uart_probe()
544 port->irq = platp->irq; altera_uart_probe()
547 if (platp) altera_uart_probe()
548 port->uartclk = platp->uartclk; altera_uart_probe()
560 if (platp) altera_uart_probe()
561 port->regshift = platp->bus_shift; altera_uart_probe()
H A Daltera_jtaguart.c404 struct altera_jtaguart_platform_uart *platp = altera_jtaguart_probe() local
422 else if (platp) altera_jtaguart_probe()
423 port->mapbase = platp->mapbase; altera_jtaguart_probe()
430 else if (platp) altera_jtaguart_probe()
431 port->irq = platp->irq; altera_jtaguart_probe()

Completed in 105 milliseconds