Lines Matching refs:sd
34 struct v4l2_subdev sd; member
174 static inline struct hdmiphy_ctx *sd_to_ctx(struct v4l2_subdev *sd) in sd_to_ctx() argument
176 return container_of(sd, struct hdmiphy_ctx, sd); in sd_to_ctx()
188 static int hdmiphy_s_power(struct v4l2_subdev *sd, int on) in hdmiphy_s_power() argument
194 static int hdmiphy_s_dv_timings(struct v4l2_subdev *sd, in hdmiphy_s_dv_timings() argument
200 struct hdmiphy_ctx *ctx = sd_to_ctx(sd); in hdmiphy_s_dv_timings()
201 struct i2c_client *client = v4l2_get_subdevdata(sd); in hdmiphy_s_dv_timings()
225 static int hdmiphy_dv_timings_cap(struct v4l2_subdev *sd, in hdmiphy_dv_timings_cap() argument
239 static int hdmiphy_s_stream(struct v4l2_subdev *sd, int enable) in hdmiphy_s_stream() argument
241 struct i2c_client *client = v4l2_get_subdevdata(sd); in hdmiphy_s_stream()
288 v4l2_i2c_subdev_init(&ctx->sd, client, &hdmiphy_ops); in hdmiphy_probe()
296 struct v4l2_subdev *sd = i2c_get_clientdata(client); in hdmiphy_remove() local
297 struct hdmiphy_ctx *ctx = sd_to_ctx(sd); in hdmiphy_remove()