Searched refs:sd_gpio (Results 1 – 2 of 2) sorted by relevance
150 return container_of(sd, struct ivtv, sd_gpio); in sd_to_ivtv()155 return &container_of(ctrl->handler, struct ivtv, hdl_gpio)->sd_gpio; in to_sd()363 v4l2_subdev_init(&itv->sd_gpio, &subdev_ops); in ivtv_gpio_init()364 snprintf(itv->sd_gpio.name, sizeof(itv->sd_gpio.name), "%s-gpio", itv->v4l2_dev.name); in ivtv_gpio_init()365 itv->sd_gpio.grp_id = IVTV_HW_GPIO; in ivtv_gpio_init()371 itv->sd_gpio.ctrl_handler = &itv->hdl_gpio; in ivtv_gpio_init()373 return v4l2_device_register_subdev(&itv->v4l2_dev, &itv->sd_gpio); in ivtv_gpio_init()
645 struct v4l2_subdev sd_gpio; /* GPIO sub-device */ member