Home
last modified time | relevance | path

Searched refs:ili (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/panel/
Dpanel-ilitek-ili9322.c349 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 …]
Dpanel-ilitek-ili9341.c299 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 …]
/linux-6.1.9/drivers/video/backlight/
Dili9320.c26 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 …]
Dili922x.c459 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 …]
Dili9320.h22 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,
/linux-6.1.9/fs/xfs/libxfs/
Dxfs_defer.c280 struct xfs_inode_log_item *ili; in xfs_defer_save_resources() local
304 ili = container_of(lip, struct xfs_inode_log_item, in xfs_defer_save_resources()
306 if (ili->ili_lock_flags == 0) { in xfs_defer_save_resources()
311 xfs_trans_log_inode(tp, ili->ili_inode, in xfs_defer_save_resources()
313 dres->dr_ip[dres->dr_inos++] = ili->ili_inode; in xfs_defer_save_resources()
/linux-6.1.9/include/uapi/linux/
Dcdrom.h731 __u8 ili : 1; member
737 __u8 ili : 1; member