/Linux-v4.19/drivers/firmware/google/ |
D | framebuffer-coreboot.c | 31 static const struct simplefb_format formats[] = SIMPLEFB_FORMATS; variable 47 for (i = 0; i < ARRAY_SIZE(formats); ++i) { in framebuffer_probe() 48 if (fb->bits_per_pixel == formats[i].bits_per_pixel && in framebuffer_probe() 49 fb->red_mask_pos == formats[i].red.offset && in framebuffer_probe() 50 fb->red_mask_size == formats[i].red.length && in framebuffer_probe() 51 fb->green_mask_pos == formats[i].green.offset && in framebuffer_probe() 52 fb->green_mask_size == formats[i].green.length && in framebuffer_probe() 53 fb->blue_mask_pos == formats[i].blue.offset && in framebuffer_probe() 54 fb->blue_mask_size == formats[i].blue.length && in framebuffer_probe() 55 fb->reserved_mask_pos == formats[i].transp.offset && in framebuffer_probe() [all …]
|
/Linux-v4.19/Documentation/media/uapi/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 27 yuv-formats 28 hsv-formats 29 depth-formats 31 sdr-formats 32 tch-formats 33 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 | vidioc-g-dv-timings.rst | 54 the formats in the :ref:`cea861` and :ref:`vesadmt` standards. If 93 formats the height of the active video in each field is 119 - Vertical front porch in lines. For interlaced formats this refers 123 - Vertical sync length in lines. For interlaced formats this refers 127 - Vertical back porch in lines. For interlaced formats this refers 132 interlaced field formats. Must be 0 for progressive formats. 136 interlaced field formats. Must be 0 for progressive formats. 140 interlaced field formats. Must be 0 for progressive formats. 252 - CEA-861 specific: set for CEA-861 formats with a framerate that is 253 a multiple of six. These formats can be optionally played at 1 / [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-subdev-enum-mbus-code.rst | 12 VIDIOC_SUBDEV_ENUM_MBUS_CODE - Enumerate media bus formats 35 To enumerate media bus formats available at a given sub-device pad 42 formats are enumerable by beginning at index zero and incrementing by 45 Available media bus formats may depend on the current 'try' formats at 48 information about the try formats.
|
D | dev-subdev.rst | 30 - negotiate image formats on individual pads 70 .. _pad-level-formats: 77 Pad-level formats are only applicable to very complex devices that 87 Image formats are typically negotiated on video capture and output 115 configured differently. Applications need to configure the formats at 123 negotiate formats on a per-pad basis. 127 formats. The pipeline is checked for formats mismatch at 140 Acceptable formats on pads can (and usually do) depend on a number of 141 external parameters, such as formats on other pads, active links, or 142 even controls. Finding a combination of formats on all pads in a video [all …]
|
D | format.rst | 15 within one kind many different formats are possible, in particular an 16 abundance of image formats. Although drivers must provide a default and 24 A single mechanism exists to negotiate all data formats using the 30 format. The data formats supported by the V4L2 API are covered in the 32 image formats see :ref:`pixfmt`. 75 enumerate all image formats supported by video capture, overlay or 83 Drivers are not supposed to convert image formats in kernel space. 84 They must enumerate only formats directly supported by the hardware. 89 Enumerating formats an application has no a-priori knowledge of
|
/Linux-v4.19/sound/firewire/motu/ |
D | motu-proc.c | 49 struct snd_motu_packet_format *formats; in proc_read_format() local 59 formats = &motu->tx_packet_formats; in proc_read_format() 63 formats->msg_chunks, in proc_read_format() 64 formats->fixed_part_pcm_chunks[mode], in proc_read_format() 65 formats->differed_part_pcm_chunks[mode]); in proc_read_format() 72 formats = &motu->rx_packet_formats; in proc_read_format() 76 formats->msg_chunks, in proc_read_format() 77 formats->fixed_part_pcm_chunks[mode], in proc_read_format() 78 formats->differed_part_pcm_chunks[mode]); in proc_read_format()
|
D | motu-pcm.c | 15 struct snd_motu_packet_format *formats = rule->private; in motu_rate_constraint() local 30 pcm_channels = formats->fixed_part_pcm_chunks[mode] + in motu_rate_constraint() 31 formats->differed_part_pcm_chunks[mode]; in motu_rate_constraint() 45 struct snd_motu_packet_format *formats = rule->private; in motu_channels_constraint() local 63 pcm_channels = formats->fixed_part_pcm_chunks[mode] + in motu_channels_constraint() 64 formats->differed_part_pcm_chunks[mode]; in motu_channels_constraint() 74 struct snd_motu_packet_format *formats) in limit_channels_and_rates() argument 86 pcm_channels = formats->fixed_part_pcm_chunks[mode] + in limit_channels_and_rates() 87 formats->differed_part_pcm_chunks[mode]; in limit_channels_and_rates() 105 struct snd_motu_packet_format *formats; in init_hw_info() local [all …]
|
D | motu-protocol-v2.c | 158 static void calculate_fixed_part(struct snd_motu_packet_format *formats, in calculate_fixed_part() argument 165 formats->msg_chunks = 2; in calculate_fixed_part() 206 formats->fixed_part_pcm_chunks[0] = pcm_chunks[0]; in calculate_fixed_part() 207 formats->fixed_part_pcm_chunks[1] = pcm_chunks[1]; in calculate_fixed_part() 208 formats->fixed_part_pcm_chunks[2] = pcm_chunks[2]; in calculate_fixed_part() 211 static void calculate_differed_part(struct snd_motu_packet_format *formats, in calculate_differed_part() argument 230 formats->differed_part_pcm_chunks[0] = pcm_chunks[0]; in calculate_differed_part() 231 formats->differed_part_pcm_chunks[1] = pcm_chunks[1]; in calculate_differed_part()
|
D | motu-protocol-v3.c | 157 static void calculate_fixed_part(struct snd_motu_packet_format *formats, in calculate_fixed_part() argument 164 formats->msg_chunks = 2; in calculate_fixed_part() 218 formats->fixed_part_pcm_chunks[0] = round_up(2 + pcm_chunks[0], 4) - 2; in calculate_fixed_part() 219 formats->fixed_part_pcm_chunks[1] = round_up(2 + pcm_chunks[1], 4) - 2; in calculate_fixed_part() 221 formats->fixed_part_pcm_chunks[2] = in calculate_fixed_part() 225 static void calculate_differed_part(struct snd_motu_packet_format *formats, in calculate_differed_part() argument 273 formats->differed_part_pcm_chunks[i] = pcm_chunks[i]; in calculate_differed_part()
|
/Linux-v4.19/sound/firewire/oxfw/ |
D | oxfw-stream.c | 61 u8 **formats; in set_stream_format() local 68 formats = oxfw->tx_stream_formats; in set_stream_format() 71 formats = oxfw->rx_stream_formats; in set_stream_format() 77 err = snd_oxfw_stream_parse_format(formats[i], &formation); in set_stream_format() 92 len = 5 + formats[i][4] * 2; in set_stream_format() 94 err = avc_stream_set_format(oxfw->unit, dir, 0, formats[i], len); in set_stream_format() 118 u8 **formats; in start_stream() local 125 formats = oxfw->rx_stream_formats; in start_stream() 128 formats = oxfw->tx_stream_formats; in start_stream() 134 if (formats[i] == NULL) in start_stream() [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-v4.19/drivers/gpu/drm/arm/ |
D | malidp_mw.c | 185 u32 *formats; in get_writeback_formats() local 188 formats = kcalloc(map->n_pixel_formats, sizeof(*formats), in get_writeback_formats() 190 if (!formats) in get_writeback_formats() 195 formats[n++] = map->pixel_formats[i].format; in get_writeback_formats() 200 return formats; in get_writeback_formats() 206 u32 *formats; in malidp_mw_connector_init() local 216 formats = get_writeback_formats(malidp, &n_formats); in malidp_mw_connector_init() 217 if (!formats) in malidp_mw_connector_init() 223 formats, n_formats); in malidp_mw_connector_init() 224 kfree(formats); in malidp_mw_connector_init()
|
/Linux-v4.19/drivers/media/platform/vivid/ |
D | vivid-sdr-cap.c | 32 static const struct vivid_format formats[] = { variable 428 if (f->index >= ARRAY_SIZE(formats)) in vidioc_enum_fmt_sdr_cap() 430 f->pixelformat = formats[f->index].pixelformat; in vidioc_enum_fmt_sdr_cap() 454 for (i = 0; i < ARRAY_SIZE(formats); i++) { in vidioc_s_fmt_sdr_cap() 455 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in vidioc_s_fmt_sdr_cap() 456 dev->sdr_pixelformat = formats[i].pixelformat; in vidioc_s_fmt_sdr_cap() 457 dev->sdr_buffersize = formats[i].buffersize; in vidioc_s_fmt_sdr_cap() 458 f->fmt.sdr.buffersize = formats[i].buffersize; in vidioc_s_fmt_sdr_cap() 462 dev->sdr_pixelformat = formats[0].pixelformat; in vidioc_s_fmt_sdr_cap() 463 dev->sdr_buffersize = formats[0].buffersize; in vidioc_s_fmt_sdr_cap() [all …]
|
/Linux-v4.19/sound/soc/uniphier/ |
D | aio-ld11.c | 225 .formats = SNDRV_PCM_FMTBIT_S32_LE, 232 .formats = SNDRV_PCM_FMTBIT_S32_LE, 249 .formats = SNDRV_PCM_FMTBIT_S32_LE, 264 .formats = SNDRV_PCM_FMTBIT_S32_LE, 271 .formats = SNDRV_PCM_FMTBIT_S32_LE, 286 .formats = SNDRV_PCM_FMTBIT_S32_LE, 301 .formats = SNDRV_PCM_FMTBIT_S32_LE, 316 .formats = SNDRV_PCM_FMTBIT_S32_LE, 331 .formats = SNDRV_PCM_FMTBIT_S32_LE, 348 .formats = SNDRV_PCM_FMTBIT_S32_LE,
|
D | aio-pxs2.c | 178 .formats = SNDRV_PCM_FMTBIT_S32_LE, 193 .formats = SNDRV_PCM_FMTBIT_S32_LE, 200 .formats = SNDRV_PCM_FMTBIT_S32_LE, 215 .formats = SNDRV_PCM_FMTBIT_S32_LE, 222 .formats = SNDRV_PCM_FMTBIT_S32_LE, 237 .formats = SNDRV_PCM_FMTBIT_S32_LE, 252 .formats = SNDRV_PCM_FMTBIT_S32_LE,
|
/Linux-v4.19/sound/soc/intel/skylake/ |
D | skl-pcm.c | 47 .formats = SNDRV_PCM_FMTBIT_S16_LE | 690 .formats = SNDRV_PCM_FMTBIT_S16_LE | 699 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 712 .formats = SNDRV_PCM_FMTBIT_S16_LE | 725 .formats = SNDRV_PCM_FMTBIT_S16_LE | 737 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 749 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 761 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 773 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 788 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE | [all …]
|
/Linux-v4.19/sound/soc/codecs/ |
D | bt-sco.c | 36 .formats = SNDRV_PCM_FMTBIT_S16_LE, 43 .formats = SNDRV_PCM_FMTBIT_S16_LE, 53 .formats = SNDRV_PCM_FMTBIT_S16_LE, 60 .formats = SNDRV_PCM_FMTBIT_S16_LE,
|
/Linux-v4.19/sound/soc/mediatek/mt6797/ |
D | mt6797-dai-hostless.c | 69 .formats = MTK_HOSTLESS_FORMATS, 76 .formats = MTK_HOSTLESS_FORMATS, 88 .formats = MTK_HOSTLESS_FORMATS, 95 .formats = MTK_HOSTLESS_FORMATS,
|
/Linux-v4.19/sound/soc/qcom/qdsp6/ |
D | q6afe-dai.c | 22 .formats = SNDRV_PCM_FMTBIT_S16_LE | \ 43 .formats = SNDRV_PCM_FMTBIT_S16_LE | \ 626 .formats = SNDRV_PCM_FMTBIT_S16_LE | 649 .formats = SNDRV_PCM_FMTBIT_S16_LE | 667 .formats = SNDRV_PCM_FMTBIT_S16_LE | 680 .formats = SNDRV_PCM_FMTBIT_S16_LE | 703 .formats = SNDRV_PCM_FMTBIT_S16_LE | 716 .formats = SNDRV_PCM_FMTBIT_S16_LE | 740 .formats = SNDRV_PCM_FMTBIT_S16_LE | 753 .formats = SNDRV_PCM_FMTBIT_S16_LE | [all …]
|
/Linux-v4.19/drivers/gpu/drm/msm/disp/ |
D | mdp_format.c | 96 static const struct mdp_format formats[] = { variable 159 for (i = 0; i < ARRAY_SIZE(formats); i++) { in mdp_get_formats() 160 const struct mdp_format *f = &formats[i]; in mdp_get_formats() 178 for (i = 0; i < ARRAY_SIZE(formats); i++) { in mdp_get_format() 179 const struct mdp_format *f = &formats[i]; in mdp_get_format()
|
/Linux-v4.19/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_dc.c | 35 .formats = &atmel_hlcdc_plane_rgb_formats, 65 .formats = &atmel_hlcdc_plane_rgb_formats, 81 .formats = &atmel_hlcdc_plane_rgb_formats, 100 .formats = &atmel_hlcdc_plane_rgb_and_yuv_formats, 122 .formats = &atmel_hlcdc_plane_rgb_formats, 158 .formats = &atmel_hlcdc_plane_rgb_formats, 174 .formats = &atmel_hlcdc_plane_rgb_formats, 193 .formats = &atmel_hlcdc_plane_rgb_formats, 212 .formats = &atmel_hlcdc_plane_rgb_and_yuv_formats, 238 .formats = &atmel_hlcdc_plane_rgb_formats, [all …]
|
/Linux-v4.19/drivers/gpu/drm/vkms/ |
D | vkms_plane.c | 35 const u32 *formats; in vkms_plane_init() local 42 formats = vkms_formats; in vkms_plane_init() 47 formats, nformats, in vkms_plane_init()
|