Lines Matching refs:cfg
170 struct v4l2_subdev_pad_config *cfg, in sru_enum_mbus_code() argument
192 format = vsp1_entity_get_pad_format(&sru->entity, cfg, in sru_enum_mbus_code()
201 struct v4l2_subdev_pad_config *cfg, in sru_enum_frame_size() argument
207 format = vsp1_entity_get_pad_format(&sru->entity, cfg, in sru_enum_frame_size()
234 static int sru_get_format(struct v4l2_subdev *subdev, struct v4l2_subdev_pad_config *cfg, in sru_get_format() argument
239 fmt->format = *vsp1_entity_get_pad_format(&sru->entity, cfg, fmt->pad, in sru_get_format()
245 static void sru_try_format(struct vsp1_sru *sru, struct v4l2_subdev_pad_config *cfg, in sru_try_format() argument
266 format = vsp1_entity_get_pad_format(&sru->entity, cfg, in sru_try_format()
296 static int sru_set_format(struct v4l2_subdev *subdev, struct v4l2_subdev_pad_config *cfg, in sru_set_format() argument
302 sru_try_format(sru, cfg, fmt->pad, &fmt->format, fmt->which); in sru_set_format()
304 format = vsp1_entity_get_pad_format(&sru->entity, cfg, fmt->pad, in sru_set_format()
310 format = vsp1_entity_get_pad_format(&sru->entity, cfg, in sru_set_format()
314 sru_try_format(sru, cfg, SRU_PAD_SOURCE, format, fmt->which); in sru_set_format()