Searched refs:sd_gpio (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/ |
D | ivtv-gpio.c | 138 return container_of(sd, struct ivtv, sd_gpio); in sd_to_ivtv() 143 return &container_of(ctrl->handler, struct ivtv, hdl_gpio)->sd_gpio; in to_sd() 344 v4l2_subdev_init(&itv->sd_gpio, &subdev_ops); in ivtv_gpio_init() 345 snprintf(itv->sd_gpio.name, sizeof(itv->sd_gpio.name), "%s-gpio", itv->v4l2_dev.name); in ivtv_gpio_init() 346 itv->sd_gpio.grp_id = IVTV_HW_GPIO; in ivtv_gpio_init() 352 itv->sd_gpio.ctrl_handler = &itv->hdl_gpio; in ivtv_gpio_init() 354 return v4l2_device_register_subdev(&itv->v4l2_dev, &itv->sd_gpio); in ivtv_gpio_init()
|
D | ivtv-driver.h | 645 struct v4l2_subdev sd_gpio; /* GPIO sub-device */ member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/ |
D | tc358767.c | 259 struct gpio_desc *sd_gpio; member 1607 tc->sd_gpio = devm_gpiod_get_optional(dev, "shutdown", GPIOD_OUT_HIGH); in tc_probe() 1608 if (IS_ERR(tc->sd_gpio)) in tc_probe() 1609 return PTR_ERR(tc->sd_gpio); in tc_probe() 1611 if (tc->sd_gpio) { in tc_probe() 1612 gpiod_set_value_cansleep(tc->sd_gpio, 0); in tc_probe()
|