Home
last modified time | relevance | path

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

/openbmc/qemu/hw/audio/
H A Des1370.c388 uint32_t old_freq, new_freq, old_fmt, new_fmt; in es1370_update_voices() local
394 new_fmt = (sctl & b->sctl_fmt) >> b->sctl_sh_fmt; in es1370_update_voices()
399 if ((old_fmt != new_fmt) || (old_freq != new_freq)) { in es1370_update_voices()
400 d->shift = (new_fmt & 1) + (new_fmt >> 1); in es1370_update_voices()
402 new_fmt & 2 ? "s16" : "u8", new_fmt & 1 ? "stereo" : "mono", in es1370_update_voices()
408 as.nchannels = 1 << (new_fmt & 1); in es1370_update_voices()
409 as.fmt = (new_fmt & 2) ? AUDIO_FORMAT_S16 : AUDIO_FORMAT_U8; in es1370_update_voices()
/openbmc/linux/drivers/media/i2c/
H A Dmt9v111.c885 struct v4l2_mbus_framefmt new_fmt; in mt9v111_set_format() local
905 new_fmt.code = mt9v111_formats[i].code; in mt9v111_set_format()
910 new_fmt.code = mt9v111_formats[0].code; in mt9v111_set_format()
925 new_fmt.width = mt9v111_frame_sizes[idx].width; in mt9v111_set_format()
926 new_fmt.height = mt9v111_frame_sizes[idx].height; in mt9v111_set_format()
933 if (__fmt->code == new_fmt.code && in mt9v111_set_format()
934 __fmt->width == new_fmt.width && in mt9v111_set_format()
935 __fmt->height == new_fmt.height) in mt9v111_set_format()
939 __fmt->code = new_fmt.code; in mt9v111_set_format()
940 __fmt->width = new_fmt.width; in mt9v111_set_format()
[all …]
/openbmc/linux/tools/perf/util/
H A Dsort.c2817 struct perf_hpp_fmt *new_fmt = NULL; in perf_hpp_fmt__dup() local
2825 new_fmt = &new_hse->hpp; in perf_hpp_fmt__dup()
2833 new_fmt = &new_hde->hpp; in perf_hpp_fmt__dup()
2836 new_fmt = memdup(fmt, sizeof(*fmt)); in perf_hpp_fmt__dup()
2839 INIT_LIST_HEAD(&new_fmt->list); in perf_hpp_fmt__dup()
2840 INIT_LIST_HEAD(&new_fmt->sort_list); in perf_hpp_fmt__dup()
2842 return new_fmt; in perf_hpp_fmt__dup()
/openbmc/linux/kernel/trace/
H A Dtrace.c3893 const char *p, *new_fmt; in trace_event_format() local
3903 new_fmt = q = iter->fmt; in trace_event_format()
3905 if (unlikely(q - new_fmt + 3 > iter->fmt_size)) { in trace_event_format()
3909 q += iter->fmt - new_fmt; in trace_event_format()
3910 new_fmt = iter->fmt; in trace_event_format()
3927 return new_fmt; in trace_event_format()