Lines Matching refs:leds

78 	struct sgm3784_led leds[LED_MAX];  member
104 v4l2_dbg(2, debug, &flash->leds[0].sd, in sgm3784_i2c_write()
122 v4l2_dbg(2, debug, &flash->leds[0].sd, in sgm3784_i2c_read()
133 v4l2_dbg(1, debug, &flash->leds[0].sd, in sgm3784_led_on()
138 flash->leds[0].timestamp = ns_to_kernel_old_timeval(ktime_get_ns()); in sgm3784_led_on()
139 flash->leds[1].timestamp = flash->leds[0].timestamp; in sgm3784_led_on()
154 v4l2_info(&flash->leds[0].sd, in sgm3784_get_fault()
164 v4l2_dbg(1, debug, &flash->leds[0].sd, in sgm3784_set_timeout()
179 struct sgm3784_led *led = &flash->leds[id]; in sgm3784_torch_brt()
193 struct sgm3784_led *led = &flash->leds[id]; in sgm3784_flash_brt()
210 v4l2_dbg(1, debug, &flash->leds[id].sd, in sgm3784_set_mode()
260 v4l2_dbg(1, debug, &flash->leds[0].sd, in sgm3784_strobe()
274 container_of(led, struct sgm3784_flash, leds[id]); in sgm3784_get_ctrl()
311 container_of(led, struct sgm3784_flash, leds[id]); in sgm3784_set_ctrl()
399 struct v4l2_ctrl_handler *hdl = &flash->leds[id].ctrls; in sgm3784_init_controls()
401 struct sgm3784_led *led = &flash->leds[id]; in sgm3784_init_controls()
427 flash->leds[id].flash_brt = in sgm3784_init_controls()
435 flash->leds[id].torch_brt = in sgm3784_init_controls()
455 flash->leds[id].sd.ctrl_handler = hdl; in sgm3784_init_controls()
650 led = &flash->leds[id]; in sgm3784_of_init()
719 sd = &flash->leds[i].sd; in sgm3784_probe()
764 media_entity_cleanup(&flash->leds[i].sd.entity); in sgm3784_probe()
766 v4l2_ctrl_handler_free(&flash->leds[i].ctrls); in sgm3784_probe()
769 v4l2_device_unregister_subdev(&flash->leds[i].sd); in sgm3784_probe()
770 media_entity_cleanup(&flash->leds[i].sd.entity); in sgm3784_probe()
771 v4l2_ctrl_handler_free(&flash->leds[i].ctrls); in sgm3784_probe()
783 v4l2_device_unregister_subdev(&flash->leds[i].sd); in sgm3784_remove()
784 v4l2_ctrl_handler_free(&flash->leds[i].ctrls); in sgm3784_remove()
785 media_entity_cleanup(&flash->leds[i].sd.entity); in sgm3784_remove()