Lines Matching refs:mf
90 struct v4l2_mbus_framefmt *mf) in find_sensor_format() argument
95 if (mf->code == s5k6a3_formats[i].code) in find_sensor_format()
112 static void s5k6a3_try_format(struct v4l2_mbus_framefmt *mf) in s5k6a3_try_format() argument
116 fmt = find_sensor_format(mf); in s5k6a3_try_format()
117 mf->code = fmt->code; in s5k6a3_try_format()
118 mf->field = V4L2_FIELD_NONE; in s5k6a3_try_format()
119 v4l_bound_align_image(&mf->width, S5K6A3_SENSOR_MIN_WIDTH, in s5k6a3_try_format()
121 &mf->height, S5K6A3_SENSOR_MIN_HEIGHT, in s5k6a3_try_format()
140 struct v4l2_mbus_framefmt *mf; in s5k6a3_set_fmt() local
144 mf = __s5k6a3_get_format(sensor, cfg, fmt->pad, fmt->which); in s5k6a3_set_fmt()
145 if (mf) { in s5k6a3_set_fmt()
147 *mf = fmt->format; in s5k6a3_set_fmt()
158 struct v4l2_mbus_framefmt *mf; in s5k6a3_get_fmt() local
160 mf = __s5k6a3_get_format(sensor, cfg, fmt->pad, fmt->which); in s5k6a3_get_fmt()
163 fmt->format = *mf; in s5k6a3_get_fmt()