Lines Matching defs:ams369fg06
3 * ams369fg06 AMOLED LCD panel driver.
32 struct ams369fg06 {
158 static int ams369fg06_spi_write_byte(struct ams369fg06 *lcd, int addr, int data)
176 static int ams369fg06_spi_write(struct ams369fg06 *lcd, unsigned char address,
189 static int ams369fg06_panel_send_sequence(struct ams369fg06 *lcd,
208 static int _ams369fg06_gamma_ctl(struct ams369fg06 *lcd,
228 static int ams369fg06_gamma_ctl(struct ams369fg06 *lcd, int brightness)
249 static int ams369fg06_ldi_init(struct ams369fg06 *lcd)
266 static int ams369fg06_ldi_enable(struct ams369fg06 *lcd)
283 static int ams369fg06_ldi_disable(struct ams369fg06 *lcd)
306 static int ams369fg06_power_on(struct ams369fg06 *lcd)
350 static int ams369fg06_power_off(struct ams369fg06 *lcd)
371 static int ams369fg06_power(struct ams369fg06 *lcd, int power)
390 struct ams369fg06 *lcd = lcd_get_data(ld);
397 struct ams369fg06 *lcd = lcd_get_data(ld);
412 struct ams369fg06 *lcd = bl_get_data(bd);
442 struct ams369fg06 *lcd = NULL;
447 lcd = devm_kzalloc(&spi->dev, sizeof(struct ams369fg06), GFP_KERNEL);
451 /* ams369fg06 lcd panel uses 3-wire 16bits SPI Mode. */
469 ld = devm_lcd_device_register(&spi->dev, "ams369fg06", &spi->dev, lcd,
480 bd = devm_backlight_device_register(&spi->dev, "ams369fg06-bl",
504 dev_info(&spi->dev, "ams369fg06 panel driver has been probed.\n");
511 struct ams369fg06 *lcd = spi_get_drvdata(spi);
520 struct ams369fg06 *lcd = dev_get_drvdata(dev);
533 struct ams369fg06 *lcd = dev_get_drvdata(dev);
546 struct ams369fg06 *lcd = spi_get_drvdata(spi);
553 .name = "ams369fg06",
564 MODULE_DESCRIPTION("ams369fg06 LCD Driver");