Lines Matching refs:leds

117 	struct aw36518_led leds[LED_MAX];  member
147 v4l2_dbg(2, debug, &flash->leds[0].sd, in aw36518_i2c_write()
177 v4l2_dbg(1, debug, &flash->leds[0].sd, in aw36518_led_on()
191 v4l2_dbg(1, debug, &flash->leds[0].sd, in aw36518_led_on()
195 flash->leds[0].timestamp = ns_to_kernel_old_timeval(ktime_get_ns()); in aw36518_led_on()
196 flash->leds[1].timestamp = flash->leds[0].timestamp; in aw36518_led_on()
207 v4l2_dbg(1, debug, &flash->leds[0].sd, in aw36518_get_fault()
221 v4l2_dbg(1, debug, &flash->leds[0].sd, in aw36518_timeout_cal()
239 v4l2_dbg(1, debug, &flash->leds[0].sd, in aw36518_set_timeout()
256 struct aw36518_led *led = &flash->leds[id]; in aw36518_torch_brt()
270 struct aw36518_led *led = &flash->leds[id]; in aw36518_flash_brt()
286 v4l2_dbg(1, debug, &flash->leds[id].sd, in aw36518_set_mode()
307 v4l2_dbg(1, debug, &flash->leds[id].sd, in aw36518_set_mode()
315 v4l2_dbg(1, debug, &flash->leds[id].sd, in aw36518_set_mode()
329 v4l2_dbg(1, debug, &flash->leds[0].sd, in aw36518_strobe()
344 container_of(led, struct aw36518_flash, leds[id]); in aw36518_get_ctrl()
348 v4l2_dbg(1, debug, &flash->leds[id].sd, in aw36518_get_ctrl()
382 container_of(led, struct aw36518_flash, leds[id]); in aw36518_set_ctrl()
469 struct v4l2_ctrl_handler *hdl = &flash->leds[id].ctrls; in aw36518_init_controls()
471 struct aw36518_led *led = &flash->leds[id]; in aw36518_init_controls()
497 flash->leds[id].flash_brt = in aw36518_init_controls()
505 flash->leds[id].torch_brt = in aw36518_init_controls()
525 flash->leds[id].sd.ctrl_handler = hdl; in aw36518_init_controls()
623 container_of(led, struct aw36518_flash, leds[0]); in aw36518_s_power()
759 led = &flash->leds[id]; in aw36518_of_init()
852 sd = &flash->leds[i].sd; in aw36518_probe()
901 media_entity_cleanup(&flash->leds[i].sd.entity); in aw36518_probe()
903 v4l2_ctrl_handler_free(&flash->leds[i].ctrls); in aw36518_probe()
906 v4l2_device_unregister_subdev(&flash->leds[i].sd); in aw36518_probe()
907 media_entity_cleanup(&flash->leds[i].sd.entity); in aw36518_probe()
908 v4l2_ctrl_handler_free(&flash->leds[i].ctrls); in aw36518_probe()
922 v4l2_device_unregister_subdev(&flash->leds[i].sd); in aw36518_remove()
923 v4l2_ctrl_handler_free(&flash->leds[i].ctrls); in aw36518_remove()
924 media_entity_cleanup(&flash->leds[i].sd.entity); in aw36518_remove()