Searched refs:privacy_led (Results 1 – 3 of 3) sorted by relevance
363 if (!IS_ERR_OR_NULL(sd->privacy_led)) { in call_s_stream()365 led_set_brightness(sd->privacy_led, in call_s_stream()366 sd->privacy_led->max_brightness); in call_s_stream()368 led_set_brightness(sd->privacy_led, 0); in call_s_stream()2198 sd->privacy_led = NULL; in v4l2_subdev_init()2219 sd->privacy_led = led_get(sd->dev, "privacy-led"); in v4l2_subdev_get_privacy_led()2220 if (IS_ERR(sd->privacy_led) && PTR_ERR(sd->privacy_led) != -ENOENT) in v4l2_subdev_get_privacy_led()2221 return dev_err_probe(sd->dev, PTR_ERR(sd->privacy_led), in v4l2_subdev_get_privacy_led()2224 if (!IS_ERR_OR_NULL(sd->privacy_led)) { in v4l2_subdev_get_privacy_led()2225 mutex_lock(&sd->privacy_led->led_access); in v4l2_subdev_get_privacy_led()[all …]
144 struct gpio_desc *privacy_led; member661 gpiod_set_value_cansleep(ov5693->privacy_led, 0); in ov5693_sensor_powerdown()691 gpiod_set_value_cansleep(ov5693->privacy_led, 1); in ov5693_sensor_powerup()1199 ov5693->privacy_led = devm_gpiod_get_optional(ov5693->dev, "privacy-led", in ov5693_configure_gpios()1201 if (IS_ERR(ov5693->privacy_led)) { in ov5693_configure_gpios()1203 return PTR_ERR(ov5693->privacy_led); in ov5693_configure_gpios()
1081 struct led_classdev *privacy_led; member