Searched refs:lcdev (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/drivers/video/backlight/ |
A D | hx8357.c | 217 struct hx8357_data *lcd = lcd_get_data(lcdev); in hx8357_spi_write_then_read() 321 struct hx8357_data *lcd = lcd_get_data(lcdev); in hx8357_lcd_reset() 511 ret = hx8357_spi_write_array(lcdev, in hx8369_lcd_init() 517 ret = hx8357_spi_write_array(lcdev, in hx8369_lcd_init() 544 ret = hx8357_exit_standby(lcdev); in hx8357_set_power() 546 ret = hx8357_enter_standby(lcdev); in hx8357_set_power() 583 struct lcd_device *lcdev; in hx8357_probe() local 650 if (IS_ERR(lcdev)) { in hx8357_probe() 651 ret = PTR_ERR(lcdev); in hx8357_probe() 654 spi_set_drvdata(spi, lcdev); in hx8357_probe() [all …]
|
/linux-6.3-rc2/drivers/leds/flash/ |
A D | leds-mt6360.c | 239 struct led_classdev *lcdev = &fl_cdev->led_cdev; in mt6360_strobe_set() local 491 struct led_classdev *lcdev; in mt6360_init_v4l2_flash_config() local 494 lcdev = &led->flash.led_cdev; in mt6360_init_v4l2_flash_config() 616 struct led_classdev *lcdev; in mt6360_init_isnk_properties() local 662 lcdev = &led->mc.led_cdev; in mt6360_init_isnk_properties() 670 lcdev = &led->isnk; in mt6360_init_isnk_properties() 683 lcdev->max_brightness = val / step_uA; in mt6360_init_isnk_properties() 686 &lcdev->default_trigger); in mt6360_init_isnk_properties() 695 struct led_classdev *lcdev = &flash->led_cdev; in mt6360_init_flash_properties() local 711 lcdev->max_brightness = in mt6360_init_flash_properties() [all …]
|
A D | leds-rt4505.c | 56 container_of(lcdev, struct rt4505_priv, flash.led_cdev); in rt4505_torch_brightness_set() 81 struct led_classdev *lcdev) in rt4505_torch_brightness_get() argument 84 container_of(lcdev, struct rt4505_priv, flash.led_cdev); in rt4505_torch_brightness_get() 92 dev_err(lcdev->dev, "Failed to get LED enable\n"); in rt4505_torch_brightness_get() 104 dev_err(lcdev->dev, "Failed to get LED brightness\n"); in rt4505_torch_brightness_get() 265 struct led_classdev *lcdev = &flash->led_cdev; in rt4505_init_v4l2_config() local 268 strscpy(config->dev_name, lcdev->dev->kobj.name, in rt4505_init_v4l2_config() 294 struct led_classdev *lcdev = &flash->led_cdev; in rt4505_init_flash_properties() local 306 lcdev->max_brightness = in rt4505_init_flash_properties() 309 lcdev->brightness_get = rt4505_torch_brightness_get; in rt4505_init_flash_properties() [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | led-class-flash.h | 83 struct led_classdev *lcdev) in lcdev_to_flcdev() argument 85 return container_of(lcdev, struct led_classdev_flash, led_cdev); in lcdev_to_flcdev()
|
Completed in 11 milliseconds