Home
last modified time | relevance | path

Searched refs:new_fmt (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/media/i2c/
Dmt9v111.c884 struct v4l2_mbus_framefmt new_fmt; in mt9v111_set_format() local
904 new_fmt.code = mt9v111_formats[i].code; in mt9v111_set_format()
909 new_fmt.code = mt9v111_formats[0].code; in mt9v111_set_format()
924 new_fmt.width = mt9v111_frame_sizes[idx].width; in mt9v111_set_format()
925 new_fmt.height = mt9v111_frame_sizes[idx].height; in mt9v111_set_format()
932 if (__fmt->code == new_fmt.code && in mt9v111_set_format()
933 __fmt->width == new_fmt.width && in mt9v111_set_format()
934 __fmt->height == new_fmt.height) in mt9v111_set_format()
938 __fmt->code = new_fmt.code; in mt9v111_set_format()
939 __fmt->width = new_fmt.width; in mt9v111_set_format()
[all …]
/Linux-v4.19/tools/perf/util/
Dsort.c2159 struct perf_hpp_fmt *new_fmt = NULL; in perf_hpp_fmt__dup() local
2167 new_fmt = &new_hse->hpp; in perf_hpp_fmt__dup()
2174 new_fmt = &new_hde->hpp; in perf_hpp_fmt__dup()
2176 new_fmt = memdup(fmt, sizeof(*fmt)); in perf_hpp_fmt__dup()
2179 INIT_LIST_HEAD(&new_fmt->list); in perf_hpp_fmt__dup()
2180 INIT_LIST_HEAD(&new_fmt->sort_list); in perf_hpp_fmt__dup()
2182 return new_fmt; in perf_hpp_fmt__dup()