Searched refs:ili (Results 1 – 5 of 5) sorted by relevance
/drivers/gpu/drm/panel/ |
D | panel-ilitek-ili9322.c | 350 static int ili9322_init(struct drm_panel *panel, struct ili9322 *ili) in ili9322_init() argument 357 ret = regmap_write(ili->regmap, ILI9322_GLOBAL_RESET, in ili9322_init() 360 dev_err(ili->dev, "can't issue GRESET (%d)\n", ret); in ili9322_init() 365 if (ili->vreg1out != U8_MAX) { in ili9322_init() 366 ret = regmap_write(ili->regmap, ILI9322_VREG1_VOLTAGE, in ili9322_init() 367 ili->vreg1out); in ili9322_init() 369 dev_err(ili->dev, "can't set up VREG1OUT (%d)\n", ret); in ili9322_init() 374 if (ili->vcom_amplitude != U8_MAX) { in ili9322_init() 375 ret = regmap_write(ili->regmap, ILI9322_VCOM_AMP, in ili9322_init() 376 ili->vcom_amplitude); in ili9322_init() [all …]
|
D | panel-ilitek-ili9341.c | 301 static void ili9341_dpi_init(struct ili9341 *ili) in ili9341_dpi_init() argument 303 struct device *dev = (&ili->panel)->dev; in ili9341_dpi_init() 304 struct mipi_dbi *dbi = ili->dbi; in ili9341_dpi_init() 305 struct ili9341_config *cfg = (struct ili9341_config *)ili->conf; in ili9341_dpi_init() 317 mipi_dbi_command(ili->dbi, ILI9341_PRC, cfg->prc); in ili9341_dpi_init() 365 static int ili9341_dpi_power_on(struct ili9341 *ili) in ili9341_dpi_power_on() argument 367 struct device *dev = (&ili->panel)->dev; in ili9341_dpi_power_on() 371 gpiod_set_value(ili->reset_gpio, 1); in ili9341_dpi_power_on() 374 ret = regulator_bulk_enable(ARRAY_SIZE(ili->supplies), in ili9341_dpi_power_on() 375 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,
|