Searched refs:codec (Results 151 - 175 of 321) sorted by relevance

1234567891011>>

/linux-master/sound/soc/sof/intel/
H A Dhda-probes.c87 rate = hda_dsp_get_mult_div(sdev, params->codec.sample_rate);
89 hstream->format_val = rate | bits | (params->codec.ch_out - 1);
/linux-master/sound/soc/intel/avs/
H A Dpcm.c266 struct hda_codec *codec; local
273 codec = dev_to_hda_codec(snd_soc_rtd_to_codec(rtd, 0)->dev);
274 link_stream = snd_hdac_ext_stream_assign(&codec->bus->core, substream,
315 struct hda_codec *codec; local
329 codec = dev_to_hda_codec(snd_soc_rtd_to_codec(rtd, 0)->dev);
330 link = snd_hdac_ext_bus_get_hlink_by_addr(&codec->bus->core, codec->core.addr);
348 struct hda_codec *codec; local
360 codec = dev_to_hda_codec(snd_soc_rtd_to_codec(rtd, 0)->dev);
361 bus = &codec
1447 struct hda_codec *codec; local
1472 struct hda_codec *codec; local
[all...]
/linux-master/drivers/media/platform/verisilicon/
H A Dsama5d4_vdec_hw.c85 * Supported codec ops.
121 .codec = HANTRO_MPEG2_DECODER | HANTRO_VP8_DECODER |
H A Dsunxi_vpu_hw.c3 * Allwinner Hantro G2 VPU codec driver
119 .codec = HANTRO_VP9_DECODER,
H A Dimx8m_vpu_hw.c3 * Hantro VPU codec driver
270 * Supported codec ops.
349 .codec = HANTRO_MPEG2_DECODER | HANTRO_VP8_DECODER |
368 .codec = HANTRO_MPEG2_DECODER | HANTRO_VP8_DECODER |
384 .codec = HANTRO_HEVC_DECODER | HANTRO_VP9_DECODER,
395 .codec = HANTRO_MPEG2_DECODER | HANTRO_VP8_DECODER |
/linux-master/drivers/media/platform/qcom/venus/
H A Dhfi_parser.c27 cap->codec = BIT(bit);
34 cap->codec = BIT(bit);
51 if (cap->codec & codecs && cap->domain == domain)
241 if (cap->codec & codecs && cap->domain == dom)
H A Dhelpers.c45 u32 codec; local
49 codec = HFI_VIDEO_CODEC_H264;
52 codec = HFI_VIDEO_CODEC_H263;
55 codec = HFI_VIDEO_CODEC_MPEG1;
58 codec = HFI_VIDEO_CODEC_MPEG2;
61 codec = HFI_VIDEO_CODEC_MPEG4;
65 codec = HFI_VIDEO_CODEC_VC1;
68 codec = HFI_VIDEO_CODEC_VP8;
71 codec = HFI_VIDEO_CODEC_VP9;
74 codec
1708 u32 codec; local
[all...]
H A Dhfi_plat_bufs_v6.c1118 calculate_dec_input_frame_size(u32 width, u32 height, u32 codec, argument
1138 if (codec == V4L2_PIX_FMT_VP9)
1147 if (codec == V4L2_PIX_FMT_VP9 || codec == V4L2_PIX_FMT_HEVC)
1156 static int output_buffer_count(u32 session_type, u32 codec) argument
1161 switch (codec) {
1186 u32 codec = params->codec; local
1196 switch (codec) {
1216 out_min_count = output_buffer_count(VIDC_SESSION_TYPE_DEC, codec);
1268 u32 codec = params->codec; local
[all...]
/linux-master/include/linux/
H A Drslib.h17 * struct rs_codec - rs codec data
31 * @list: List entry for the rs codec list
51 * @codec: The codec used for this instance
55 struct rs_codec *codec; member in struct:rs_control
59 /* General purpose RS codec, 8-bit data width, symbol width 1-15 bit */
70 /* General purpose RS codec, 16-bit data width, symbol width 1-15 bit */
111 * @rs: Pointer to the RS codec
/linux-master/drivers/gpu/drm/rockchip/
H A Dcdn-dp-core.h13 #include <sound/hdmi-codec.h>
/linux-master/sound/pci/hda/
H A Dcs35l41_hda.h65 struct hda_codec *codec; member in struct:cs35l41_hda
H A Dhda_component.h22 struct hda_codec *codec; member in struct:hda_component
/linux-master/sound/soc/intel/boards/
H A Dhda_dsp_common.c42 * to codec driver.
57 hcodec = hda_pvt->codec;
H A Dbytcht_cx2072x.c4 // CX2072X codec
73 struct snd_soc_component *codec = snd_soc_rtd_to_codec(rtd, 0)->component; local
76 if (devm_acpi_dev_add_driver_gpios(codec->dev,
82 /* set the default PLL rate, the clock is handled by the codec driver */
98 snd_soc_component_set_jack(codec, &byt_cht_cx2072x_headset, NULL);
207 /* use space before codec name to simplify card ID, and simplify driver name */
242 /* fix index of codec dai */
252 /* fixup codec name based on HID */
/linux-master/sound/soc/
H A Dsoc-core.c110 return rtd->dai_link->num_codecs ? attr->mode : 0; /* enabled only with codec */
435 /* are we waiting on this codec DAI stream */
745 * setting our codec back up, which can be very slow on I2C
964 * Defer card registration if codec component is not added to
1043 { .cpu = 0, .codec = 0 },
1044 { .cpu = 1, .codec = 1 },
1045 { .cpu = 2, .codec = 2 },
1046 { .cpu = 3, .codec = 3 },
1047 { .cpu = 4, .codec = 4 },
1048 { .cpu = 5, .codec
1168 struct snd_soc_dai_link_component *codec, *platform, *cpu; local
[all...]
/linux-master/sound/pci/au88x0/
H A Dau88x0.h64 /* codec io: VORTEX_CODEC_IO bits */
73 //#define VORTEX_IS_QUAD(x) (((x)->codec == NULL) ? 0 : ((x)->codec->ext_id&0x80))
136 struct snd_ac97 *codec; member in struct:snd_vortex
167 int isquad; /* cache of extended ID codec flag. */
223 static void vortex_codec_write(struct snd_ac97 * codec, unsigned short addr,
225 static unsigned short vortex_codec_read(struct snd_ac97 * codec, unsigned short addr);
/linux-master/drivers/mfd/
H A Dtwl4030-audio.c3 * MFD driver for twl4030 audio submodule, which contains an audio codec, and
152 if (pdata && pdata->codec)
155 node = of_get_child_by_name(parent, "codec");
227 cell->name = "twl4030-codec";
229 cell->platform_data = pdata->codec;
230 cell->pdata_size = sizeof(*pdata->codec);
/linux-master/sound/soc/codecs/
H A Daw88261.c820 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
821 struct aw88261 *aw88261 = snd_soc_component_get_drvdata(codec);
857 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
858 struct aw88261 *aw88261 = snd_soc_component_get_drvdata(codec);
868 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
869 struct aw88261 *aw88261 = snd_soc_component_get_drvdata(codec);
876 dev_dbg(codec->dev, "profile index does not change");
894 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
895 struct aw88261 *aw88261 = snd_soc_component_get_drvdata(codec);
906 struct snd_soc_component *codec local
931 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
942 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
[all...]
H A Daw88399.c3 // aw88399.c -- ALSA SoC AW88399 codec support
1450 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
1451 struct aw88399 *aw88399 = snd_soc_component_get_drvdata(codec);
1487 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
1488 struct aw88399 *aw88399 = snd_soc_component_get_drvdata(codec);
1498 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
1499 struct aw88399 *aw88399 = snd_soc_component_get_drvdata(codec);
1505 dev_dbg(codec->dev, "profile index does not change");
1523 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
1524 struct aw88399 *aw88399 = snd_soc_component_get_drvdata(codec);
1535 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
1559 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
1570 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
1591 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
1603 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
[all...]
H A DMakefile2 snd-soc-88pm860x-y := 88pm860x-codec.o
3 snd-soc-ab8500-codec-y := ab8500-codec.o
58 snd-soc-chv3-codec-y := chv3-codec.o
61 snd-soc-cros-ec-codec-y := cros_ec_codec.o
127 snd-soc-framer-y := framer-codec.o
131 snd-soc-hda-codec-y := hda.o hda-dai.o
136 snd-soc-jz4740-codec-y := jz4740.o
137 snd-soc-jz4725b-codec
[all...]
/linux-master/sound/pci/oxygen/
H A Doxygen_mixer.c508 unsigned int codec = (ctl->private_value >> 24) & 1; local
515 reg = oxygen_read_ac97(chip, codec, index);
546 unsigned int codec = (ctl->private_value >> 24) & 1; local
554 oldreg = oxygen_read_ac97(chip, codec, index);
562 oxygen_write_ac97(chip, codec, index, newreg);
563 if (codec == 0 && chip->model.ac97_switch)
602 unsigned int codec = (ctl->private_value >> 24) & 1; local
608 reg = oxygen_read_ac97(chip, codec, index);
623 unsigned int codec = (ctl->private_value >> 24) & 1; local
630 oldreg = oxygen_read_ac97(chip, codec, inde
[all...]
/linux-master/sound/hda/
H A Dhdmi_chmap.c182 static int hdmi_pin_set_slot_channel(struct hdac_device *codec, argument
185 return snd_hdac_codec_write(codec, pin_nid, 0,
190 static int hdmi_pin_get_slot_channel(struct hdac_device *codec, argument
193 return (snd_hdac_codec_read(codec, pin_nid, 0,
198 static int hdmi_get_channel_count(struct hdac_device *codec, hda_nid_t cvt_nid) argument
200 return 1 + snd_hdac_codec_read(codec, cvt_nid, 0,
204 static void hdmi_set_channel_count(struct hdac_device *codec, argument
207 if (chs != hdmi_get_channel_count(codec, cvt_nid))
208 snd_hdac_codec_write(codec, cvt_nid, 0,
268 static int hdmi_channel_allocation_spk_alloc_blk(struct hdac_device *codec, argument
[all...]
/linux-master/drivers/usb/typec/mux/
H A Dwcd939x-usbss.c194 struct typec_mux *codec; member in struct:wcd939x_usbss
349 * Swapped information is given by the codec MBHC logic
553 /* Report orientation to codec after switch has been done */
581 /* Report event to codec after switch has been done */
582 return typec_mux_set(usbss->codec, state);
614 usbss->codec = fwnode_typec_mux_get(dev->fwnode);
615 if (IS_ERR(usbss->codec))
616 return dev_err_probe(dev, PTR_ERR(usbss->codec),
617 "failed to acquire codec mode-switch\n");
622 "failed to acquire codec orientatio
[all...]
/linux-master/drivers/media/platform/allegro-dvt/
H A Dallegro-core.c221 u32 codec; member in struct:allegro_channel
308 if (channel->codec == V4L2_PIX_FMT_HEVC)
317 if (channel->codec == V4L2_PIX_FMT_HEVC)
326 if (channel->codec == V4L2_PIX_FMT_HEVC)
335 if (channel->codec == V4L2_PIX_FMT_HEVC)
344 if (channel->codec == V4L2_PIX_FMT_HEVC)
409 "address %pad cannot be used by codec\n", &phys);
1188 if (channel->codec == V4L2_PIX_FMT_HEVC)
1210 param->codec = channel->codec;
2627 u32 codec = channel->codec; local
[all...]
/linux-master/drivers/media/platform/chips-media/coda/
H A Dcoda-common.c3 * Coda multi-standard codec IP
297 * Normalize all supported YUV 4:2:0 formats to the value used in the codec
339 const struct coda_codec *codec,
347 if (codec) {
348 w = codec->max_w;
349 h = codec->max_h;
587 static int coda_try_fmt(struct coda_ctx *ctx, const struct coda_codec *codec, argument
604 coda_get_max_dimensions(dev, codec, &max_w, &max_h);
658 const struct coda_codec *codec; local
703 codec
338 coda_get_max_dimensions(struct coda_dev *dev, const struct coda_codec *codec, int *max_w, int *max_h) argument
765 const struct coda_codec *codec; local
858 const struct coda_codec *codec; local
909 const struct coda_codec *codec; local
1286 const struct coda_codec *codec; local
1319 const struct coda_codec *codec; local
[all...]

Completed in 284 milliseconds

1234567891011>>