Home
last modified time | relevance | path

Searched refs:formats (Results 1 – 25 of 449) sorted by relevance

12345678910>>...18

/linux-3.4.99/tools/perf/util/
Dpmu.c173 pmu_find_format(struct list_head *formats, char *name) in pmu_find_format() argument
177 list_for_each_entry(format, formats, list) in pmu_find_format()
213 static int pmu_config_term(struct list_head *formats, in pmu_config_term() argument
231 format = pmu_find_format(formats, term->config); in pmu_config_term()
253 static int pmu_config(struct list_head *formats, struct perf_event_attr *attr, in pmu_config() argument
259 if (pmu_config_term(formats, attr, term)) in pmu_config()
435 LIST_HEAD(formats); in perf_pmu__test()
447 ret = pmu_format_parse(format, &formats); in perf_pmu__test()
451 ret = pmu_config(&formats, &attr, terms); in perf_pmu__test()
/linux-3.4.99/sound/soc/pxa/
Dpxa2xx-ac97.c196 .formats = SNDRV_PCM_FMTBIT_S16_LE,},
202 .formats = SNDRV_PCM_FMTBIT_S16_LE,},
213 .formats = SNDRV_PCM_FMTBIT_S16_LE,},
219 .formats = SNDRV_PCM_FMTBIT_S16_LE,},
230 .formats = SNDRV_PCM_FMTBIT_S16_LE,},
/linux-3.4.99/sound/soc/codecs/
Ddfbmcs320.c24 .formats = SNDRV_PCM_FMTBIT_S16_LE,
30 .formats = SNDRV_PCM_FMTBIT_S16_LE,
Dad73311.c33 .formats = SNDRV_PCM_FMTBIT_S16_LE, },
39 .formats = SNDRV_PCM_FMTBIT_S16_LE, },
Dac97.c54 .formats = SND_SOC_STD_AC97_FMTS,},
60 .formats = SND_SOC_STD_AC97_FMTS,},
Dpcm3008.c43 .formats = SNDRV_PCM_FMTBIT_S16_LE,
50 .formats = SNDRV_PCM_FMTBIT_S16_LE,
Dcq93vc.c135 .formats = CQ93VC_FORMATS,},
141 .formats = CQ93VC_FORMATS,},
/linux-3.4.99/sound/aoa/soundbus/i2sbus/
Dpcm.c80 u64 formats = 0; in i2sbus_pcm_open() local
105 while (ti->formats && ti->rates) { in i2sbus_pcm_open()
110 formats &= v.formats; in i2sbus_pcm_open()
113 formats = v.formats; in i2sbus_pcm_open()
153 if (formats & SNDRV_PCM_FMTBIT_S24_BE) in i2sbus_pcm_open()
154 formats |= SNDRV_PCM_FMTBIT_S32_BE; in i2sbus_pcm_open()
155 if (formats & SNDRV_PCM_FMTBIT_U24_BE) in i2sbus_pcm_open()
156 formats |= SNDRV_PCM_FMTBIT_U32_BE; in i2sbus_pcm_open()
161 hw->formats = formats & (SNDRV_PCM_FMTBIT_S16_BE | in i2sbus_pcm_open()
182 hw->formats &= (1ULL << i2sdev->format); in i2sbus_pcm_open()
[all …]
/linux-3.4.99/drivers/staging/omapdrm/
Domap_fb.c40 static const struct format formats[] = { variable
69 for (i = 0; i < ARRAY_SIZE(formats) && nformats < max_formats; i++) in omap_framebuffer_get_formats()
70 if (formats[i].dss_format & supported_modes) in omap_framebuffer_get_formats()
71 pixel_formats[nformats++] = formats[i].pixel_format; in omap_framebuffer_get_formats()
332 for (i = 0; i < ARRAY_SIZE(formats); i++) { in omap_framebuffer_init()
333 if (formats[i].pixel_format == mode_cmd->pixel_format) { in omap_framebuffer_init()
334 format = &formats[i]; in omap_framebuffer_init()
/linux-3.4.99/sound/isa/sb/
Dsb16_main.c161 runtime->hw.formats |= csp->acc_format; in snd_sb16_csp_playback_open()
165 runtime->hw.formats |= SNDRV_PCM_FMTBIT_MU_LAW | SNDRV_PCM_FMTBIT_A_LAW | in snd_sb16_csp_playback_open()
192 runtime->hw.formats |= csp->acc_format; in snd_sb16_csp_capture_open()
196 runtime->hw.formats |= SNDRV_PCM_FMTBIT_MU_LAW | SNDRV_PCM_FMTBIT_A_LAW | in snd_sb16_csp_capture_open()
480 .formats = 0,
498 .formats = 0,
535 runtime->hw.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_U16_LE; in snd_sb16_playback_open()
551 runtime->hw.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_U16_LE; in snd_sb16_playback_open()
554 runtime->hw.formats = SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S8; in snd_sb16_playback_open()
610 runtime->hw.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_U16_LE; in snd_sb16_capture_open()
[all …]
/linux-3.4.99/drivers/gpu/drm/exynos/
Dexynos_drm_plane.c25 static const uint32_t formats[] = { variable
127 &exynos_plane_funcs, formats, ARRAY_SIZE(formats), in exynos_plane_init()
/linux-3.4.99/sound/soc/sh/
Dssi.c350 .formats = SSI_FMTS,
356 .formats = SSI_FMTS,
367 .formats = SSI_FMTS,
373 .formats = SSI_FMTS,
Dhac.c279 .formats = AC97_FMTS,
285 .formats = AC97_FMTS,
297 .formats = AC97_FMTS,
303 .formats = AC97_FMTS,
/linux-3.4.99/sound/usb/
Dformat.c381 fp->formats = 1uLL << pcm_format; in parse_audio_format_i()
383 fp->formats = parse_audio_format_i_type(chip, fp, format, in parse_audio_format_i()
385 if (!fp->formats) in parse_audio_format_i()
434 fp->formats = SNDRV_PCM_FMTBIT_U8; /* temporary hack to receive byte streams */ in parse_audio_format_ii()
437 fp->formats = SNDRV_PCM_FMTBIT_MPEG; in parse_audio_format_ii()
442 fp->formats = SNDRV_PCM_FMTBIT_MPEG; in parse_audio_format_ii()
Dcard.h13 u64 formats; /* ALSA format bits */ member
93 u64 formats; /* format bitmasks (all or'ed) */ member
Dquirks-table.h344 .formats = SNDRV_PCM_FMTBIT_S16_LE,
361 .formats = SNDRV_PCM_FMTBIT_S16_LE,
645 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
662 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
858 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
875 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2161 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2185 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2228 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2252 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
[all …]
/linux-3.4.99/Documentation/sound/alsa/
Dcompress_offload.txt34 - separation between byte counts and time. Compressed formats may have
42 - Handling of multiple formats. PCM data only requires a specification
44 contrast, compressed data comes in a variety of formats. Audio DSPs
49 - Focus on main formats. This API provides support for the most
50 popular formats used for audio and video capture and playback. It is
51 likely that as audio compression technology advances, new formats
58 formats.
99 This routine returns the list of audio formats supported. Querying the
109 that a specific combination of profiles/channels/formats may not be
139 - Addition of FLAC and IEC formats
/linux-3.4.99/sound/soc/mid-x86/
Dsst_platform.c89 .formats = (SNDRV_PCM_FMTBIT_S16 | SNDRV_PCM_FMTBIT_U16 |
116 .formats = SNDRV_PCM_FMTBIT_S24_LE,
122 .formats = SNDRV_PCM_FMTBIT_S24_LE,
132 .formats = SNDRV_PCM_FMTBIT_S24_LE,
142 .formats = SNDRV_PCM_FMTBIT_S24_LE,
152 .formats = SNDRV_PCM_FMTBIT_S24_LE,
/linux-3.4.99/drivers/staging/line6/
Dpodhd.c40 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
60 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
/linux-3.4.99/sound/drivers/
Ddummy.c116 u64 formats; member
165 .formats = SNDRV_PCM_FMTBIT_S32_LE,
175 .formats = SNDRV_PCM_FMTBIT_S32_LE,
185 .formats = SNDRV_PCM_FMTBIT_S16_LE,
194 .formats = SNDRV_PCM_FMTBIT_S16_LE,
204 .formats = SNDRV_PCM_FMTBIT_S16_LE,
526 .formats = USE_FORMATS,
860 if (dummy->pcm_hw.formats & (1ULL << i)) in print_formats()
901 FIELD_ENTRY(formats, "%#llx"),
1015 if (m->formats) in snd_dummy_probe()
[all …]
/linux-3.4.99/drivers/media/video/s5p-mfc/
Ds5p_mfc_dec.c35 static struct s5p_mfc_fmt formats[] = { variable
108 #define NUM_FORMATS ARRAY_SIZE(formats)
116 if (formats[i].fourcc == f->fmt.pix_mp.pixelformat && in find_format()
117 formats[i].type == t) in find_format()
118 return &formats[i]; in find_format()
234 for (i = 0; i < ARRAY_SIZE(formats); ++i) { in vidioc_enum_fmt()
235 if (mplane && formats[i].num_planes == 1) in vidioc_enum_fmt()
237 else if (!mplane && formats[i].num_planes > 1) in vidioc_enum_fmt()
239 if (out && formats[i].type != MFC_FMT_DEC) in vidioc_enum_fmt()
241 else if (!out && formats[i].type != MFC_FMT_RAW) in vidioc_enum_fmt()
[all …]
/linux-3.4.99/sound/pci/hda/
Dhda_eld.c634 u64 formats; in snd_hdmi_eld_update_pcm_info() local
644 formats = SNDRV_PCM_FMTBIT_S16_LE; in snd_hdmi_eld_update_pcm_info()
654 formats |= SNDRV_PCM_FMTBIT_S32_LE; in snd_hdmi_eld_update_pcm_info()
659 formats |= SNDRV_PCM_FMTBIT_S32_LE; in snd_hdmi_eld_update_pcm_info()
668 hinfo->formats &= formats; in snd_hdmi_eld_update_pcm_info()
/linux-3.4.99/Documentation/fb/
Dapi.txt38 When supported, formats are configured using a FOURCC instead of manually
45 Pixels are stored in memory in hardware-dependent formats. Applications need
239 for applications when using RGB and grayscale formats, as well as legacy
240 non-standard formats.
246 - For grayscale formats, applications set the grayscale field to one. The red,
251 - For pseudocolor formats, applications set the grayscale field to zero. The
256 - For truecolor and directcolor formats, applications set the grayscale field
283 formats. Drivers are also encouraged to implement the FOURCC-based API for RGB
284 and grayscale formats.
295 For YUV formats, they should also select the appropriate colorspace by setting
/linux-3.4.99/drivers/media/video/omap3isp/
Dispvideo.c49 static struct isp_format_info formats[] = { variable
111 for (i = 0; i < ARRAY_SIZE(formats); ++i) { in omap3isp_video_format_info()
112 if (formats[i].code == code) in omap3isp_video_format_info()
113 return &formats[i]; in omap3isp_video_format_info()
174 for (i = 0; i < ARRAY_SIZE(formats); ++i) { in isp_video_mbus_to_pix()
175 if (formats[i].code == mbus->code) in isp_video_mbus_to_pix()
179 if (WARN_ON(i == ARRAY_SIZE(formats))) in isp_video_mbus_to_pix()
182 min_bpl = pix->width * ALIGN(formats[i].bpp, 8) / 8; in isp_video_mbus_to_pix()
196 pix->pixelformat = formats[i].pixelformat; in isp_video_mbus_to_pix()
217 for (i = 0; i < ARRAY_SIZE(formats) - 1; ++i) { in isp_video_pix_to_mbus()
[all …]
/linux-3.4.99/sound/soc/fsl/
Dmpc5200_psc_i2s.c137 .formats = PSC_I2S_FORMATS,
143 .formats = PSC_I2S_FORMATS,

12345678910>>...18