Lines Matching refs:cfg
169 struct v4l2_subdev_pad_config *cfg, in sru_enum_mbus_code() argument
191 format = vsp1_entity_get_pad_format(&sru->entity, cfg, in sru_enum_mbus_code()
200 struct v4l2_subdev_pad_config *cfg, in sru_enum_frame_size() argument
206 format = vsp1_entity_get_pad_format(&sru->entity, cfg, in sru_enum_frame_size()
233 static int sru_get_format(struct v4l2_subdev *subdev, struct v4l2_subdev_pad_config *cfg, in sru_get_format() argument
238 fmt->format = *vsp1_entity_get_pad_format(&sru->entity, cfg, fmt->pad, in sru_get_format()
244 static void sru_try_format(struct vsp1_sru *sru, struct v4l2_subdev_pad_config *cfg, in sru_try_format() argument
265 format = vsp1_entity_get_pad_format(&sru->entity, cfg, in sru_try_format()
295 static int sru_set_format(struct v4l2_subdev *subdev, struct v4l2_subdev_pad_config *cfg, in sru_set_format() argument
301 sru_try_format(sru, cfg, fmt->pad, &fmt->format, fmt->which); in sru_set_format()
303 format = vsp1_entity_get_pad_format(&sru->entity, cfg, fmt->pad, in sru_set_format()
309 format = vsp1_entity_get_pad_format(&sru->entity, cfg, in sru_set_format()
313 sru_try_format(sru, cfg, SRU_PAD_SOURCE, format, fmt->which); in sru_set_format()