• Home
  • Raw
  • Download

Lines Matching refs:ili

26 static inline int ili9320_write_spi(struct ili9320 *ili,  in ili9320_write_spi()  argument
30 struct ili9320_spi *spi = &ili->access.spi; in ili9320_write_spi()
51 int ili9320_write(struct ili9320 *ili, unsigned int reg, unsigned int value) in ili9320_write() argument
53 dev_dbg(ili->dev, "write: reg=%02x, val=%04x\n", reg, value); in ili9320_write()
54 return ili->write(ili, reg, value); in ili9320_write()
58 int ili9320_write_regs(struct ili9320 *ili, in ili9320_write_regs() argument
66 ret = ili9320_write(ili, values->address, values->value); in ili9320_write_regs()
169 static void ili9320_setup_spi(struct ili9320 *ili, in ili9320_setup_spi() argument
172 struct ili9320_spi *spi = &ili->access.spi; in ili9320_setup_spi()
174 ili->write = ili9320_write_spi; in ili9320_setup_spi()
200 struct ili9320 *ili; in ili9320_probe_spi() local
218 ili = devm_kzalloc(&spi->dev, sizeof(struct ili9320), GFP_KERNEL); in ili9320_probe_spi()
219 if (ili == NULL) in ili9320_probe_spi()
222 ili->access.spi.id = ILI9320_SPI_IDCODE | ILI9320_SPI_ID(1); in ili9320_probe_spi()
224 ili->dev = dev; in ili9320_probe_spi()
225 ili->client = client; in ili9320_probe_spi()
226 ili->power = FB_BLANK_POWERDOWN; in ili9320_probe_spi()
227 ili->platdata = cfg; in ili9320_probe_spi()
229 spi_set_drvdata(spi, ili); in ili9320_probe_spi()
231 ili9320_setup_spi(ili, spi); in ili9320_probe_spi()
233 lcd = devm_lcd_device_register(&spi->dev, "ili9320", dev, ili, in ili9320_probe_spi()
240 ili->lcd = lcd; in ili9320_probe_spi()
244 ret = ili9320_power(ili, FB_BLANK_UNBLANK); in ili9320_probe_spi()
254 int ili9320_remove(struct ili9320 *ili) in ili9320_remove() argument
256 ili9320_power(ili, FB_BLANK_POWERDOWN); in ili9320_remove()