Searched refs:ili (Results 1 – 5 of 5) sorted by relevance
/drivers/gpu/drm/panel/ |
D | panel-ilitek-ili9322.c | 349 static int ili9322_init(struct drm_panel *panel, struct ili9322 *ili) in ili9322_init() argument 356 ret = regmap_write(ili->regmap, ILI9322_GLOBAL_RESET, in ili9322_init() 359 dev_err(ili->dev, "can't issue GRESET (%d)\n", ret); in ili9322_init() 364 if (ili->vreg1out != U8_MAX) { in ili9322_init() 365 ret = regmap_write(ili->regmap, ILI9322_VREG1_VOLTAGE, in ili9322_init() 366 ili->vreg1out); in ili9322_init() 368 dev_err(ili->dev, "can't set up VREG1OUT (%d)\n", ret); in ili9322_init() 373 if (ili->vcom_amplitude != U8_MAX) { in ili9322_init() 374 ret = regmap_write(ili->regmap, ILI9322_VCOM_AMP, in ili9322_init() 375 ili->vcom_amplitude); in ili9322_init() [all …]
|
D | panel-ilitek-ili9341.c | 299 static void ili9341_dpi_init(struct ili9341 *ili) in ili9341_dpi_init() argument 301 struct device *dev = (&ili->panel)->dev; in ili9341_dpi_init() 302 struct mipi_dbi *dbi = ili->dbi; in ili9341_dpi_init() 303 struct ili9341_config *cfg = (struct ili9341_config *)ili->conf; in ili9341_dpi_init() 315 mipi_dbi_command(ili->dbi, ILI9341_PRC, cfg->prc); in ili9341_dpi_init() 363 static int ili9341_dpi_power_on(struct ili9341 *ili) in ili9341_dpi_power_on() argument 365 struct device *dev = (&ili->panel)->dev; in ili9341_dpi_power_on() 369 gpiod_set_value(ili->reset_gpio, 1); in ili9341_dpi_power_on() 372 ret = regulator_bulk_enable(ARRAY_SIZE(ili->supplies), in ili9341_dpi_power_on() 373 ili->supplies); in ili9341_dpi_power_on() [all …]
|
/drivers/video/backlight/ |
D | ili9320.c | 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() [all …]
|
D | ili922x.c | 459 struct ili922x *ili = lcd_get_data(ld); in ili922x_set_power() local 461 return ili922x_lcd_power(ili, power); in ili922x_set_power() 466 struct ili922x *ili = lcd_get_data(ld); in ili922x_get_power() local 468 return ili->power; in ili922x_get_power() 478 struct ili922x *ili; in ili922x_probe() local 483 ili = devm_kzalloc(&spi->dev, sizeof(*ili), GFP_KERNEL); in ili922x_probe() 484 if (!ili) in ili922x_probe() 487 ili->spi = spi; in ili922x_probe() 488 spi_set_drvdata(spi, ili); in ili922x_probe() 512 ili->power = FB_BLANK_POWERDOWN; in ili922x_probe() [all …]
|
D | ili9320.h | 22 int (*init)(struct ili9320 *ili, struct ili9320_platdata *cfg); 53 int (*write)(struct ili9320 *ili, unsigned int reg, unsigned int val); 59 extern int ili9320_write(struct ili9320 *ili, 62 extern int ili9320_write_regs(struct ili9320 *ili,
|