/linux-6.6.21/sound/soc/mediatek/mt8186/ |
D | mt8186-dai-hostless.c | 119 .formats = MTK_HOSTLESS_FORMATS, 126 .formats = MTK_HOSTLESS_FORMATS, 138 .formats = MTK_HOSTLESS_FORMATS, 145 .formats = MTK_HOSTLESS_FORMATS, 157 .formats = MTK_HOSTLESS_FORMATS, 164 .formats = MTK_HOSTLESS_FORMATS, 176 .formats = MTK_HOSTLESS_FORMATS, 183 .formats = MTK_HOSTLESS_FORMATS, 196 .formats = MTK_HOSTLESS_FORMATS, 208 .formats = MTK_HOSTLESS_FORMATS, [all …]
|
/linux-6.6.21/sound/soc/qcom/qdsp6/ |
D | q6dsp-lpass-ports.c | 16 .formats = SNDRV_PCM_FMTBIT_S16_LE | \ 34 .formats = SNDRV_PCM_FMTBIT_S16_LE | \ 52 .formats = SNDRV_PCM_FMTBIT_S16_LE | \ 70 .formats = SNDRV_PCM_FMTBIT_S16_LE | \ 88 .formats = SNDRV_PCM_FMTBIT_S16_LE | \ 106 .formats = SNDRV_PCM_FMTBIT_S16_LE | 123 .formats = SNDRV_PCM_FMTBIT_S16_LE | 138 .formats = SNDRV_PCM_FMTBIT_S16_LE | 151 .formats = SNDRV_PCM_FMTBIT_S16_LE | 168 .formats = SNDRV_PCM_FMTBIT_S16_LE | [all …]
|
/linux-6.6.21/drivers/firmware/google/ |
D | framebuffer-coreboot.c | 23 static const struct simplefb_format formats[] = SIMPLEFB_FORMATS; variable 39 for (i = 0; i < ARRAY_SIZE(formats); ++i) { in framebuffer_probe() 40 if (fb->bits_per_pixel == formats[i].bits_per_pixel && in framebuffer_probe() 41 fb->red_mask_pos == formats[i].red.offset && in framebuffer_probe() 42 fb->red_mask_size == formats[i].red.length && in framebuffer_probe() 43 fb->green_mask_pos == formats[i].green.offset && in framebuffer_probe() 44 fb->green_mask_size == formats[i].green.length && in framebuffer_probe() 45 fb->blue_mask_pos == formats[i].blue.offset && in framebuffer_probe() 46 fb->blue_mask_size == formats[i].blue.length) in framebuffer_probe() 47 pdata.format = formats[i].name; in framebuffer_probe()
|
/linux-6.6.21/sound/soc/sof/amd/ |
D | vangogh.c | 34 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | 43 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | 58 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | 67 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | 82 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | 91 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | 106 .formats = SNDRV_PCM_FMTBIT_S32_LE, 119 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | 128 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
|
D | rembrandt.c | 34 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | 43 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | 58 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | 67 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | 82 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | 91 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | 106 .formats = SNDRV_PCM_FMTBIT_S32_LE, 119 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
|
D | renoir.c | 33 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | 42 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | 57 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | 66 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | 81 .formats = SNDRV_PCM_FMTBIT_S32_LE, 94 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
|
/linux-6.6.21/Documentation/userspace-api/media/v4l/ |
D | pixfmt.rst | 13 version (see :ref:`planar-apis`). Image formats are negotiated with 15 focus on video capturing and output, for overlay frame buffer formats 28 yuv-formats 29 hsv-formats 30 depth-formats 32 sdr-formats 33 tch-formats 34 meta-formats
|
D | pixfmt-intro.rst | 8 necessary to have standard image data formats which both sides will 9 interpret the same way. V4L2 includes several such formats, and this 11 image data formats in V4L2. 13 V4L2 drivers are not limited to these formats, however. Driver-specific 14 formats are possible. In that case the application may depend on a codec 15 to convert images to one of the standard formats when needed. But the 22 Even so, ultimately, some standard formats are needed, so the V4L2 24 formats. 26 The V4L2 standard formats are mainly uncompressed formats. The pixels 44 For some formats, data is stored in separate, discontiguous memory [all …]
|
D | planar-apis.rst | 13 of such formats see :ref:`pixfmt`. 28 Multi-planar formats 31 Multi-planar API introduces new multi-planar formats. Those formats use 34 can handle all single-planar formats as well (as long as they are passed 36 handle multi-planar formats. 45 single- and multi-planar formats. 48 New structures for describing multi-planar formats are added: struct 51 Drivers may define new multi-planar formats, which have distinct
|
D | vidioc-g-dv-timings.rst | 60 the formats in the :ref:`cea861` and :ref:`vesadmt` standards. If 102 formats the height of the active video in each field is 128 - Vertical front porch in lines. For interlaced formats this refers 132 - Vertical sync length in lines. For interlaced formats this refers 136 - Vertical back porch in lines. For interlaced formats this refers 141 interlaced field formats. Must be 0 for progressive formats. 145 interlaced field formats. Must be 0 for progressive formats. 149 interlaced field formats. Must be 0 for progressive formats. 262 - CEA-861 specific: set for CEA-861 formats with a framerate that is 263 a multiple of six. These formats can be optionally played at 1 / [all …]
|
D | vidioc-enum-fmt.rst | 13 VIDIOC_ENUM_FMT - Enumerate image formats 34 To enumerate image formats applications initialize the ``type``, ``mbus_code`` 38 formats are enumerable by beginning at index zero and incrementing by 40 formats in preference order, where preferred formats are returned before 41 (that is, with lower ``index`` value) less-preferred formats. 51 Drivers shall enumerate all image formats. 56 formats may be different. 60 If the ``mbus_code`` field is zero, then all image formats 65 shall restrict enumeration to only the image formats that can produce 71 formats shall not depend on the active configuration of the video device [all …]
|
/linux-6.6.21/sound/firewire/motu/ |
D | motu-proc.c | 48 struct snd_motu_packet_format *formats; in proc_read_format() local 58 formats = &motu->tx_packet_formats; in proc_read_format() 62 formats->msg_chunks, in proc_read_format() 64 formats->pcm_chunks[mode]); in proc_read_format() 71 formats = &motu->rx_packet_formats; in proc_read_format() 75 formats->msg_chunks, in proc_read_format() 77 formats->pcm_chunks[mode]); in proc_read_format()
|
D | motu-pcm.c | 14 struct snd_motu_packet_format *formats = rule->private; in motu_rate_constraint() local 29 pcm_channels = formats->pcm_chunks[mode]; in motu_rate_constraint() 43 struct snd_motu_packet_format *formats = rule->private; in motu_channels_constraint() local 61 pcm_channels = formats->pcm_chunks[mode]; in motu_channels_constraint() 71 struct snd_motu_packet_format *formats) in limit_channels_and_rates() argument 83 pcm_channels = formats->pcm_chunks[mode]; in limit_channels_and_rates() 101 struct snd_motu_packet_format *formats; in init_hw_info() local 105 hw->formats = SNDRV_PCM_FMTBIT_S32; in init_hw_info() 107 formats = &motu->tx_packet_formats; in init_hw_info() 109 hw->formats = SNDRV_PCM_FMTBIT_S32; in init_hw_info() [all …]
|
/linux-6.6.21/sound/firewire/oxfw/ |
D | oxfw-stream.c | 60 u8 **formats; in set_stream_format() local 67 formats = oxfw->tx_stream_formats; in set_stream_format() 70 formats = oxfw->rx_stream_formats; in set_stream_format() 76 err = snd_oxfw_stream_parse_format(formats[i], &formation); in set_stream_format() 91 len = 5 + formats[i][4] * 2; in set_stream_format() 93 err = avc_stream_set_format(oxfw->unit, dir, 0, formats[i], len); in set_stream_format() 202 u8 **formats; in keep_resources() local 210 formats = oxfw->rx_stream_formats; in keep_resources() 214 formats = oxfw->tx_stream_formats; in keep_resources() 225 if (formats[i] == NULL) in keep_resources() [all …]
|
D | oxfw-pcm.c | 13 u8 **formats = rule->private; in hw_rule_rate() local 25 if (formats[i] == NULL) in hw_rule_rate() 28 err = snd_oxfw_stream_parse_format(formats[i], &formation); in hw_rule_rate() 44 u8 **formats = rule->private; in hw_rule_channels() local 55 if (formats[i] == NULL) in hw_rule_channels() 58 err = snd_oxfw_stream_parse_format(formats[i], &formation); in hw_rule_channels() 80 static void limit_channels_and_rates(struct snd_pcm_hardware *hw, u8 **formats) in limit_channels_and_rates() argument 93 if (formats[i] == NULL) in limit_channels_and_rates() 96 err = snd_oxfw_stream_parse_format(formats[i], &formation); in limit_channels_and_rates() 113 u8 **formats; in init_hw_params() local [all …]
|
/linux-6.6.21/sound/usb/ |
D | quirks-table.h | 56 .formats = SNDRV_PCM_FMTBIT_S16_LE, 102 .formats = SNDRV_PCM_FMTBIT_S16_LE, 461 .formats = SNDRV_PCM_FMTBIT_S16_LE, 478 .formats = SNDRV_PCM_FMTBIT_S16_LE, 949 .formats = SNDRV_PCM_FMTBIT_S24_3LE, 966 .formats = SNDRV_PCM_FMTBIT_S24_3LE, 1570 .formats = SNDRV_PCM_FMTBIT_S32_LE, 1588 .formats = SNDRV_PCM_FMTBIT_S32_LE, 1637 .formats = SNDRV_PCM_FMTBIT_S32_LE, 1655 .formats = SNDRV_PCM_FMTBIT_S32_LE, [all …]
|
/linux-6.6.21/sound/soc/uniphier/ |
D | aio-ld11.c | 196 .formats = SNDRV_PCM_FMTBIT_S32_LE, 203 .formats = SNDRV_PCM_FMTBIT_S32_LE, 216 .formats = SNDRV_PCM_FMTBIT_S32_LE, 227 .formats = SNDRV_PCM_FMTBIT_S32_LE, 234 .formats = SNDRV_PCM_FMTBIT_S32_LE, 245 .formats = SNDRV_PCM_FMTBIT_S32_LE, 256 .formats = SNDRV_PCM_FMTBIT_S32_LE, 267 .formats = SNDRV_PCM_FMTBIT_S32_LE, 278 .formats = SNDRV_PCM_FMTBIT_S32_LE, 291 .formats = SNDRV_PCM_FMTBIT_S32_LE,
|
D | aio-pxs2.c | 149 .formats = SNDRV_PCM_FMTBIT_S32_LE, 160 .formats = SNDRV_PCM_FMTBIT_S32_LE, 167 .formats = SNDRV_PCM_FMTBIT_S32_LE, 178 .formats = SNDRV_PCM_FMTBIT_S32_LE, 185 .formats = SNDRV_PCM_FMTBIT_S32_LE, 196 .formats = SNDRV_PCM_FMTBIT_S32_LE, 207 .formats = SNDRV_PCM_FMTBIT_S32_LE,
|
/linux-6.6.21/drivers/gpu/drm/arm/ |
D | malidp_mw.c | 190 u32 *formats; in get_writeback_formats() local 193 formats = kcalloc(map->n_pixel_formats, sizeof(*formats), in get_writeback_formats() 195 if (!formats) in get_writeback_formats() 200 formats[n++] = map->pixel_formats[i].format; in get_writeback_formats() 205 return formats; in get_writeback_formats() 211 u32 *formats; in malidp_mw_connector_init() local 220 formats = get_writeback_formats(malidp, &n_formats); in malidp_mw_connector_init() 221 if (!formats) in malidp_mw_connector_init() 227 formats, n_formats, in malidp_mw_connector_init() 229 kfree(formats); in malidp_mw_connector_init()
|
/linux-6.6.21/sound/soc/fsl/ |
D | fsl_rpmsg.c | 122 .formats = FSL_RPMSG_FORMATS, 129 .formats = FSL_RPMSG_FORMATS, 145 .formats = SNDRV_PCM_FMTBIT_S16_LE, 150 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE | 160 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE | 169 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE | 176 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE | 205 fsl_rpmsg_dai.playback.formats = rpmsg->soc_data->formats; in fsl_rpmsg_probe() 206 fsl_rpmsg_dai.capture.formats = rpmsg->soc_data->formats; in fsl_rpmsg_probe()
|
/linux-6.6.21/drivers/media/test-drivers/vivid/ |
D | vivid-sdr-cap.c | 33 static const struct vivid_format formats[] = { variable 451 if (f->index >= ARRAY_SIZE(formats)) in vidioc_enum_fmt_sdr_cap() 453 f->pixelformat = formats[f->index].pixelformat; in vidioc_enum_fmt_sdr_cap() 475 for (i = 0; i < ARRAY_SIZE(formats); i++) { in vidioc_s_fmt_sdr_cap() 476 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in vidioc_s_fmt_sdr_cap() 477 dev->sdr_pixelformat = formats[i].pixelformat; in vidioc_s_fmt_sdr_cap() 478 dev->sdr_buffersize = formats[i].buffersize; in vidioc_s_fmt_sdr_cap() 479 f->fmt.sdr.buffersize = formats[i].buffersize; in vidioc_s_fmt_sdr_cap() 483 dev->sdr_pixelformat = formats[0].pixelformat; in vidioc_s_fmt_sdr_cap() 484 dev->sdr_buffersize = formats[0].buffersize; in vidioc_s_fmt_sdr_cap() [all …]
|
/linux-6.6.21/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_dc.c | 36 .formats = &atmel_hlcdc_plane_rgb_formats, 66 .formats = &atmel_hlcdc_plane_rgb_formats, 82 .formats = &atmel_hlcdc_plane_rgb_formats, 101 .formats = &atmel_hlcdc_plane_rgb_and_yuv_formats, 123 .formats = &atmel_hlcdc_plane_rgb_formats, 159 .formats = &atmel_hlcdc_plane_rgb_formats, 175 .formats = &atmel_hlcdc_plane_rgb_formats, 194 .formats = &atmel_hlcdc_plane_rgb_formats, 213 .formats = &atmel_hlcdc_plane_rgb_and_yuv_formats, 239 .formats = &atmel_hlcdc_plane_rgb_formats, [all …]
|
/linux-6.6.21/drivers/media/platform/verisilicon/ |
D | hantro_v4l2.c | 42 const struct hantro_fmt *formats; in hantro_get_formats() local 50 formats = ctx->dev->variant->enc_fmts; in hantro_get_formats() 53 formats = ctx->dev->variant->dec_fmts; in hantro_get_formats() 57 return formats; in hantro_get_formats() 114 const struct hantro_fmt *formats; in hantro_find_format() local 117 formats = hantro_get_formats(ctx, &num_fmts, HANTRO_AUTO_POSTPROC); in hantro_find_format() 119 if (formats[i].fourcc == fourcc) in hantro_find_format() 120 return &formats[i]; in hantro_find_format() 122 formats = hantro_get_postproc_formats(ctx, &num_fmts); in hantro_find_format() 124 if (formats[i].fourcc == fourcc) in hantro_find_format() [all …]
|
/linux-6.6.21/sound/soc/intel/skylake/ |
D | skl-pcm.c | 40 .formats = SNDRV_PCM_FMTBIT_S16_LE | 694 .formats = SNDRV_PCM_FMTBIT_S16_LE | 703 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 716 .formats = SNDRV_PCM_FMTBIT_S16_LE | 729 .formats = SNDRV_PCM_FMTBIT_S16_LE | 741 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 753 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 765 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 777 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 792 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE | [all …]
|
/linux-6.6.21/drivers/gpu/drm/logicvc/ |
D | logicvc_layer.c | 54 .formats = logicvc_layer_formats_rgb16, 59 .formats = logicvc_layer_formats_rgb24, 65 .formats = logicvc_layer_formats_rgb24_alpha, 360 while (logicvc_layer_formats[i].formats) { in logicvc_layer_formats_lookup() 372 static unsigned int logicvc_layer_formats_count(struct logicvc_layer_formats *formats) in logicvc_layer_formats_count() argument 376 while (formats->formats[count] != DRM_FORMAT_INVALID) in logicvc_layer_formats_count() 467 struct logicvc_layer_formats *formats; in logicvc_layer_init() local 489 formats = logicvc_layer_formats_lookup(layer); in logicvc_layer_init() 490 if (!formats) { in logicvc_layer_init() 497 formats_count = logicvc_layer_formats_count(formats); in logicvc_layer_init() [all …]
|