Searched refs:privacy_led (Results 1 – 3 of 3) sorted by relevance
385 if (!IS_ERR_OR_NULL(sd->privacy_led)) { in call_s_stream()387 led_set_brightness(sd->privacy_led, in call_s_stream()388 sd->privacy_led->max_brightness); in call_s_stream()390 led_set_brightness(sd->privacy_led, 0); in call_s_stream()2217 sd->privacy_led = NULL; in v4l2_subdev_init()2238 sd->privacy_led = led_get(sd->dev, "privacy-led"); in v4l2_subdev_get_privacy_led()2239 if (IS_ERR(sd->privacy_led) && PTR_ERR(sd->privacy_led) != -ENOENT) in v4l2_subdev_get_privacy_led()2240 return dev_err_probe(sd->dev, PTR_ERR(sd->privacy_led), in v4l2_subdev_get_privacy_led()2243 if (!IS_ERR_OR_NULL(sd->privacy_led)) { in v4l2_subdev_get_privacy_led()2244 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()
1083 struct led_classdev *privacy_led; member