Lines Matching refs:corgi_lcd
26 #include <linux/spi/corgi_lcd.h>
86 struct corgi_lcd {
104 static int corgi_ssp_lcdtg_send(struct corgi_lcd *lcd, int reg, uint8_t val);
106 static struct corgi_lcd *the_corgi_lcd;
115 static void lcdtg_ssp_i2c_send(struct corgi_lcd *lcd, uint8_t data)
121 static void lcdtg_i2c_send_bit(struct corgi_lcd *lcd, uint8_t data)
128 static void lcdtg_i2c_send_start(struct corgi_lcd *lcd, uint8_t base)
135 static void lcdtg_i2c_send_stop(struct corgi_lcd *lcd, uint8_t base)
142 static void lcdtg_i2c_send_byte(struct corgi_lcd *lcd,
155 static void lcdtg_i2c_wait_ack(struct corgi_lcd *lcd, uint8_t base)
160 static void lcdtg_set_common_voltage(struct corgi_lcd *lcd,
174 static int corgi_ssp_lcdtg_send(struct corgi_lcd *lcd, int adrs, uint8_t data)
191 static void lcdtg_set_phadadj(struct corgi_lcd *lcd, int mode)
212 static void corgi_lcd_power_on(struct corgi_lcd *lcd)
298 static void corgi_lcd_power_off(struct corgi_lcd *lcd)
340 struct corgi_lcd *lcd = dev_get_drvdata(&ld->dev);
367 struct corgi_lcd *lcd = dev_get_drvdata(&ld->dev);
381 struct corgi_lcd *lcd = dev_get_drvdata(&ld->dev);
394 struct corgi_lcd *lcd = dev_get_drvdata(&bd->dev);
399 static int corgi_bl_set_intensity(struct corgi_lcd *lcd, int intensity)
426 struct corgi_lcd *lcd = dev_get_drvdata(&bd->dev);
463 struct corgi_lcd *lcd = dev_get_drvdata(&spi->dev);
473 struct corgi_lcd *lcd = dev_get_drvdata(&spi->dev);
485 static int setup_gpio_backlight(struct corgi_lcd *lcd,
539 struct corgi_lcd *lcd;
547 lcd = kzalloc(sizeof(struct corgi_lcd), GFP_KERNEL);
555 lcd->lcd_dev = lcd_device_register("corgi_lcd", &spi->dev,
600 struct corgi_lcd *lcd = dev_get_drvdata(&spi->dev);