Lines Matching refs:spi
85 struct spi_device *spi; member
96 ret = spi_write(plat->spi, init, sizeof(init)); in tpohvga_onoff()
100 ret = spi_write(plat->spi, poweroff, sizeof(poweroff)); in tpohvga_onoff()
139 static int tpohvga_probe(struct spi_device *spi) in tpohvga_probe() argument
146 mi = spi->dev.platform_data; in tpohvga_probe()
148 dev_err(&spi->dev, "%s: no platform data defined\n", __func__); in tpohvga_probe()
153 spi->bits_per_word = 16; in tpohvga_probe()
154 ret = spi_setup(spi); in tpohvga_probe()
156 dev_err(&spi->dev, "spi setup failed %d", ret); in tpohvga_probe()
164 plat_data->spi = spi; in tpohvga_probe()
168 panel_tpohvga.dev = &spi->dev; in tpohvga_probe()