| /linux-6.15/sound/soc/mediatek/mt8186/ |
| H A 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.15/sound/soc/qcom/qdsp6/ |
| H A D | q6dsp-lpass-ports.c | 16 .formats = SNDRV_PCM_FMTBIT_S16_LE | \ 34 .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 | 181 .formats = SNDRV_PCM_FMTBIT_S16_LE | 199 .formats = SNDRV_PCM_FMTBIT_S16_LE | 212 .formats = SNDRV_PCM_FMTBIT_S16_LE | [all …]
|
| /linux-6.15/sound/usb/ |
| H A D | quirks-table.h | 131 .formats = SNDRV_PCM_FMTBIT_S16_LE, 170 .formats = SNDRV_PCM_FMTBIT_S16_LE, 453 .formats = SNDRV_PCM_FMTBIT_S16_LE, 468 .formats = SNDRV_PCM_FMTBIT_S16_LE, 778 .formats = SNDRV_PCM_FMTBIT_S24_3LE, 793 .formats = SNDRV_PCM_FMTBIT_S24_3LE, 1224 .formats = SNDRV_PCM_FMTBIT_S32_LE, 1240 .formats = SNDRV_PCM_FMTBIT_S32_LE, 1275 .formats = SNDRV_PCM_FMTBIT_S32_LE, 1291 .formats = SNDRV_PCM_FMTBIT_S32_LE, [all …]
|
| /linux-6.15/drivers/firmware/google/ |
| H A D | framebuffer-coreboot.c | 24 static const struct simplefb_format formats[] = SIMPLEFB_FORMATS; variable 56 for (i = 0; i < ARRAY_SIZE(formats); ++i) { in framebuffer_probe() 57 if (fb->bits_per_pixel == formats[i].bits_per_pixel && in framebuffer_probe() 58 fb->red_mask_pos == formats[i].red.offset && in framebuffer_probe() 59 fb->red_mask_size == formats[i].red.length && in framebuffer_probe() 60 fb->green_mask_pos == formats[i].green.offset && in framebuffer_probe() 61 fb->green_mask_size == formats[i].green.length && in framebuffer_probe() 62 fb->blue_mask_pos == formats[i].blue.offset && in framebuffer_probe() 63 fb->blue_mask_size == formats[i].blue.length) in framebuffer_probe() 64 pdata.format = formats[i].name; in framebuffer_probe()
|
| /linux-6.15/drivers/media/platform/qcom/camss/ |
| H A D | camss-format.c | 23 u8 camss_format_get_bpp(const struct camss_format_info *formats, unsigned int nformats, u32 code) in camss_format_get_bpp() argument 28 if (code == formats[i].code) in camss_format_get_bpp() 29 return formats[i].mbus_bpp; in camss_format_get_bpp() 33 return formats[0].mbus_bpp; in camss_format_get_bpp() 74 int camss_format_find_format(u32 code, u32 pixelformat, const struct camss_format_info *formats, in camss_format_find_format() argument 80 if (formats[i].code == code && in camss_format_find_format() 81 formats[i].pixelformat == pixelformat) in camss_format_find_format() 86 if (formats[i].code == code) in camss_format_find_format()
|
| H A D | camss.c | 50 .formats = &csiphy_formats_8x16 66 .formats = &csiphy_formats_8x16 90 .formats = &csid_formats_4_1 112 .formats = &csid_formats_4_1 175 .formats = &csid_formats_4_7 198 .formats = &csid_formats_4_7 221 .formats = &csid_formats_4_7 378 .formats = &csid_formats_4_7 400 .formats = &csid_formats_4_7 422 .formats = &csid_formats_4_7 [all …]
|
| H A D | camss-csiphy.c | 98 .formats = formats_8x16 103 .formats = formats_8x96 108 .formats = formats_sdm845 113 .formats = formats_sdm845 130 if (code == formats[i].code) in csiphy_get_bpp() 131 return formats[i].bpp; in csiphy_get_bpp() 135 return formats[0].bpp; in csiphy_get_bpp() 149 u8 bpp = csiphy_get_bpp(csiphy->res->formats->formats, csiphy->res->formats->nformats, in csiphy_set_clock_rates() 275 u8 bpp = csiphy_get_bpp(csiphy->res->formats->formats, csiphy->res->formats->nformats, in csiphy_stream_on() 382 if (fmt->code == csiphy->res->formats->formats[i].code) in csiphy_try_format() [all …]
|
| /linux-6.15/sound/soc/sof/amd/ |
| H A D | vangogh.c | 31 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | 40 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | 55 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | 64 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | 79 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | 88 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | 103 .formats = SNDRV_PCM_FMTBIT_S32_LE, 116 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | 125 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
|
| H A D | acp70.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 |
|
| H A D | acp63.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 |
|
| H A 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 |
|
| H A 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.15/Documentation/userspace-api/media/v4l/ |
| H A 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
|
| H A 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 …]
|
| H A 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
|
| H A 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 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. 263 a multiple of six. These formats can be optionally played at 1 / 274 formats the flag will be cleared by the driver. 292 Such formats differ from other formats (commonly called IT 293 formats) in that if R'G'B' encoding is used then by default the 296 640x480p59.94 format are CE formats. [all …]
|
| /linux-6.15/sound/firewire/oxfw/ |
| H A D | oxfw-stream.c | 60 u8 **formats; in set_stream_format() local 91 len = 5 + formats[i][4] * 2; in set_stream_format() 204 u8 **formats; in keep_resources() local 227 if (formats[i] == NULL) in keep_resources() 515 u8 *const *formats; in snd_oxfw_stream_get_current_formation() local 528 if (!formats[i]) in snd_oxfw_stream_get_current_formation() 630 u8 **formats) in assume_stream_formats() argument 673 if (!formats[eid]) { in assume_stream_formats() 709 u8 *buf, **formats; in fill_stream_formats() local 730 formats); in fill_stream_formats() [all …]
|
| H A D | oxfw-pcm.c | 13 u8 **formats = rule->private; in hw_rule_rate() local 25 if (formats[i] == NULL) in hw_rule_rate() 44 u8 **formats = rule->private; in hw_rule_channels() local 55 if (formats[i] == NULL) in hw_rule_channels() 93 if (formats[i] == NULL) in limit_channels_and_rates() 113 u8 **formats; in init_hw_params() local 118 runtime->hw.formats = AM824_IN_PCM_FORMAT_BITS; in init_hw_params() 120 formats = oxfw->tx_stream_formats; in init_hw_params() 124 formats = oxfw->rx_stream_formats; in init_hw_params() 130 hw_rule_channels, formats, in init_hw_params() [all …]
|
| /linux-6.15/sound/firewire/motu/ |
| H A 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()
|
| H A D | motu-pcm.c | 29 pcm_channels = formats->pcm_chunks[mode]; in motu_rate_constraint() 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() 111 formats = &motu->rx_packet_formats; in init_hw_info() 117 motu_rate_constraint, formats, in init_hw_info() [all …]
|
| /linux-6.15/drivers/gpu/drm/atmel-hlcdc/ |
| H A D | atmel_hlcdc_dc.c | 38 .formats = &atmel_hlcdc_plane_rgb_formats, 69 .formats = &atmel_hlcdc_plane_rgb_formats, 85 .formats = &atmel_hlcdc_plane_rgb_formats, 126 .formats = &atmel_hlcdc_plane_rgb_formats, 163 .formats = &atmel_hlcdc_plane_rgb_formats, 179 .formats = &atmel_hlcdc_plane_rgb_formats, 198 .formats = &atmel_hlcdc_plane_rgb_formats, 243 .formats = &atmel_hlcdc_plane_rgb_formats, 282 .formats = &atmel_hlcdc_plane_rgb_formats, 298 .formats = &atmel_hlcdc_plane_rgb_formats, [all …]
|
| /linux-6.15/sound/soc/uniphier/ |
| H A 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,
|
| /linux-6.15/drivers/gpu/drm/arm/ |
| H A D | malidp_mw.c | 193 u32 *formats; in get_writeback_formats() local 196 formats = kcalloc(map->n_pixel_formats, sizeof(*formats), in get_writeback_formats() 198 if (!formats) in get_writeback_formats() 203 formats[n++] = map->pixel_formats[i].format; in get_writeback_formats() 208 return formats; in get_writeback_formats() 214 u32 *formats; in malidp_mw_connector_init() local 223 formats = get_writeback_formats(malidp, &n_formats); in malidp_mw_connector_init() 224 if (!formats) in malidp_mw_connector_init() 230 formats, n_formats, in malidp_mw_connector_init() 232 kfree(formats); in malidp_mw_connector_init()
|
| /linux-6.15/sound/soc/fsl/ |
| H A D | fsl_rpmsg.c | 121 .formats = FSL_RPMSG_FORMATS, 128 .formats = FSL_RPMSG_FORMATS, 143 .formats = SNDRV_PCM_FMTBIT_S16_LE, 148 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE | 158 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE | 167 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE | 174 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE | 182 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE | 220 dai_drv->playback.formats = rpmsg->soc_data->formats; in fsl_rpmsg_probe() 221 dai_drv->capture.formats = rpmsg->soc_data->formats; in fsl_rpmsg_probe()
|
| /linux-6.15/drivers/media/test-drivers/vivid/ |
| H A D | vivid-sdr-cap.c | 33 static const struct vivid_format formats[] = { variable 459 if (f->index >= ARRAY_SIZE(formats)) in vidioc_enum_fmt_sdr_cap() 461 f->pixelformat = formats[f->index].pixelformat; in vidioc_enum_fmt_sdr_cap() 483 for (i = 0; i < ARRAY_SIZE(formats); i++) { in vidioc_s_fmt_sdr_cap() 485 dev->sdr_pixelformat = formats[i].pixelformat; in vidioc_s_fmt_sdr_cap() 486 dev->sdr_buffersize = formats[i].buffersize; in vidioc_s_fmt_sdr_cap() 491 dev->sdr_pixelformat = formats[0].pixelformat; in vidioc_s_fmt_sdr_cap() 492 dev->sdr_buffersize = formats[0].buffersize; in vidioc_s_fmt_sdr_cap() 494 f->fmt.sdr.buffersize = formats[0].buffersize; in vidioc_s_fmt_sdr_cap() 502 for (i = 0; i < ARRAY_SIZE(formats); i++) { in vidioc_try_fmt_sdr_cap() [all …]
|