Lines Matching refs:fmt
108 struct v4l2_subdev_format *fmt) in hsit_get_format() argument
112 fmt->format = *vsp1_entity_get_pad_format(&hsit->entity, cfg, fmt->pad, in hsit_get_format()
113 fmt->which); in hsit_get_format()
120 struct v4l2_subdev_format *fmt) in hsit_set_format() argument
125 format = vsp1_entity_get_pad_format(&hsit->entity, cfg, fmt->pad, in hsit_set_format()
126 fmt->which); in hsit_set_format()
128 if (fmt->pad == HSIT_PAD_SOURCE) { in hsit_set_format()
132 fmt->format = *format; in hsit_set_format()
138 format->width = clamp_t(unsigned int, fmt->format.width, in hsit_set_format()
140 format->height = clamp_t(unsigned int, fmt->format.height, in hsit_set_format()
145 fmt->format = *format; in hsit_set_format()
149 fmt->which); in hsit_set_format()
150 *format = fmt->format; in hsit_set_format()