Searched refs:codec (Results 176 - 200 of 321) sorted by relevance

1234567891011>>

/linux-master/sound/soc/codecs/
H A Dab8500-codec.c30 #include <linux/mfd/abx500/ab8500-codec.h>
42 #include "ab8500-codec.h"
1914 * Extended interface for codec-driver
2368 .name = "ab8500-codec-dai.0",
2381 .name = "ab8500-codec-dai.1",
2396 struct ab8500_codec_platform_data *codec)
2401 codec->amics.mic1_type = AMIC_TYPE_SINGLE_ENDED;
2403 codec->amics.mic1_type = AMIC_TYPE_DIFFERENTIAL;
2406 codec->amics.mic2_type = AMIC_TYPE_SINGLE_ENDED;
2408 codec
2395 ab8500_codec_of_probe(struct device *dev, struct device_node *np, struct ab8500_codec_platform_data *codec) argument
[all...]
H A Drt715-sdca.h21 struct snd_soc_codec *codec; member in struct:rt715_sdca_priv
H A Dtas2781-comlib.c269 int tascodec_init(struct tasdevice_priv *tas_priv, void *codec, argument
283 tas_priv->codec = codec;
/linux-master/drivers/media/platform/qcom/venus/
H A Dcore.c173 static u32 to_v4l2_codec_type(u32 codec) argument
175 switch (codec) {
204 u32 codec, codecs; local
228 codec = (1UL << i) & codecs;
229 if (!codec)
232 ret = hfi_session_init(inst, to_v4l2_codec_type(codec));
H A Dcore.h419 * @hfi_codec: current codec for this instance in HFI space
537 venus_caps_by_codec(struct venus_core *core, u32 codec, u32 domain) argument
542 if (core->caps[c].codec == codec &&
/linux-master/sound/pci/oxygen/
H A Dxonar_pcm179x.c232 static inline void pcm1796_write_spi(struct oxygen *chip, unsigned int codec, argument
242 (codec_map[codec] << OXYGEN_SPI_CODEC_SHIFT) |
247 static inline void pcm1796_write_i2c(struct oxygen *chip, unsigned int codec, argument
250 oxygen_write_i2c(chip, I2C_DEVICE_PCM1796(codec), reg, value);
253 static void pcm1796_write(struct oxygen *chip, unsigned int codec, argument
260 pcm1796_write_spi(chip, codec, reg, value);
262 pcm1796_write_i2c(chip, codec, reg, value);
264 < ARRAY_SIZE(data->pcm1796_regs[codec]))
265 data->pcm1796_regs[codec][reg - PCM1796_REG_BASE] = value;
268 static void pcm1796_write_cached(struct oxygen *chip, unsigned int codec, argument
[all...]
/linux-master/sound/pci/hda/
H A Dhp_x360_helper.c3 * to be included from codec driver
6 static void alc295_fixup_hp_top_speakers(struct hda_codec *codec, argument
88 snd_hda_apply_pincfgs(codec, pincfgs);
89 alc295_fixup_disable_dac3(codec, fix, action);
92 alc_process_coef_fw(codec, alc295_hp_speakers_coefs);
H A Dcs35l56_hda.c351 if (snd_ctl_add(cs35l56->codec->card, cs35l56->posture_ctl))
366 if (snd_ctl_add(cs35l56->codec->card, cs35l56->mixer_ctl[i])) {
380 if (snd_ctl_add(cs35l56->codec->card, cs35l56->volume_ctl))
389 snd_ctl_remove(cs35l56->codec->card, cs35l56->mixer_ctl[i]);
391 snd_ctl_remove(cs35l56->codec->card, cs35l56->posture_ctl);
392 snd_ctl_remove(cs35l56->codec->card, cs35l56->volume_ctl);
548 info.card = cs35l56->codec->card;
699 cs35l56->codec = comps->codec;
/linux-master/sound/ac97/
H A Dsnd_ac97_compat.c8 #include <sound/ac97/codec.h>
/linux-master/sound/aoa/soundbus/
H A Dsoundbus.h16 * you don't want to have the codec chip acting as clock source
22 * The constants here are codec-point of view, so when we switch
23 * the soundbus to master we tell the codec we're going to switch
34 /* information on a transfer the codec can take */
46 struct codec_info *codec; member in struct:codec_info_item
61 /* information on the codec itself, plus function pointers */
96 * example when one codec has multiple logical codec
113 /* if the codec must forbid some user choices because
123 /* start() is called before data is pushed to the codec
[all...]
/linux-master/sound/aoa/soundbus/i2sbus/
H A Dcore.c389 if (cii->codec->suspend)
390 err = cii->codec->suspend(cii, state);
416 if (cii->codec->resume)
417 err = cii->codec->resume(cii);
/linux-master/drivers/staging/media/sunxi/cedrus/
H A Dcedrus.h112 } codec; member in struct:cedrus_buffer
155 } codec; member in struct:cedrus_ctx
H A Dcedrus_vp8.c669 cedrus_vp8_update_probs(slice, ctx->codec.vp8.entropy_probs_buf);
704 ctx->codec.vp8.entropy_probs_buf_dma);
727 if (ctx->codec.vp8.last_filter_type)
745 if (ctx->codec.vp8.last_frame_p_type)
747 reg |= VE_VP8_PPS_LAST_SHARPNESS_LEVEL(ctx->codec.vp8.last_sharpness_level);
823 ctx->codec.vp8.last_filter_type =
825 ctx->codec.vp8.last_frame_p_type =
827 ctx->codec.vp8.last_sharpness_level =
838 ctx->codec.vp8.entropy_probs_buf =
840 &ctx->codec
[all...]
/linux-master/sound/soc/intel/boards/
H A Dsof_wm8804.c55 struct snd_soc_component *codec = codec_dai->component; local
142 snd_soc_component_update_bits(codec, WM8804_SPDTX4, 0x0f,
259 /* fix index of codec dai */
267 /* fixup codec name based on HID */
/linux-master/sound/soc/mediatek/mt8173/
H A Dmt8173-rt5650-rt5676.c150 SND_SOC_DAILINK_DEFS(codec,
166 /* Digital audio interface glue - connects codec <---> CPU */
205 SND_SOC_DAILINK_REG(codec),
266 of_parse_phandle(pdev->dev.of_node, "mediatek,audio-codec", 0);
269 "Property 'audio-codec' missing or invalid\n");
274 of_parse_phandle(pdev->dev.of_node, "mediatek,audio-codec", 1);
277 "Property 'audio-codec' missing or invalid\n");
288 of_parse_phandle(pdev->dev.of_node, "mediatek,audio-codec", 2);
291 "Property 'audio-codec' missing or invalid\n");
H A Dmt8173-rt5650-rt5514.c128 SND_SOC_DAILINK_DEFS(codec,
134 /* Digital audio interface glue - connects codec <---> CPU */
164 SND_SOC_DAILINK_REG(codec),
210 of_parse_phandle(pdev->dev.of_node, "mediatek,audio-codec", 0);
213 "Property 'audio-codec' missing or invalid\n");
218 of_parse_phandle(pdev->dev.of_node, "mediatek,audio-codec", 1);
221 "Property 'audio-codec' missing or invalid\n");
H A Dmt8173-rt5650.c133 "Only one dai codec found in DTS, enabled rt5645 AD filter\n");
194 SND_SOC_DAILINK_DEFS(codec,
205 /* Digital audio interface glue - connects codec <---> CPU */
243 SND_SOC_DAILINK_REG(codec),
290 of_parse_phandle(pdev->dev.of_node, "mediatek,audio-codec", 0);
293 "Property 'audio-codec' missing or invalid\n");
300 np = of_get_child_by_name(pdev->dev.of_node, "codec-capture");
326 of_parse_phandle(pdev->dev.of_node, "mediatek,audio-codec", 1);
329 "Property 'audio-codec' missing or invalid\n");
/linux-master/drivers/gpu/drm/bridge/
H A DMakefile14 obj-$(CONFIG_DRM_LVDS_CODEC) += lvds-codec.o
/linux-master/sound/soc/fsl/
H A Dimx-card.c68 * @type: codec type
339 dev_err(dev, "failed to set codec dai[%d] fmt: %d\n", i, ret);
348 dev_err(dev, "failed to set codec dai[%d] tdm slot: %d\n", i, ret);
487 struct device_node *codec = NULL; local
542 dev_err(card->dev, "error getting codec dai_link name\n");
587 codec = of_get_child_by_name(np, "codec");
588 if (codec) {
589 ret = snd_soc_of_get_dai_link_codecs(dev, codec, link);
591 dev_err_probe(dev, ret, "%s: codec da
[all...]
/linux-master/sound/soc/samsung/
H A Daries_wm8994.c324 /* Set the codec FLL */
330 /* Set the codec system clock */
540 struct device_node *cpu, *codec, *extcon_np; local
638 codec = of_get_child_by_name(dev->of_node, "codec");
639 if (!codec) {
645 dai_link->codecs->of_node = of_parse_phandle(codec,
684 of_node_put(codec);
/linux-master/drivers/media/platform/chips-media/coda/
H A Dcoda-bit.c3 * Coda multi-standard codec IP - BIT processor functions
237 switch (ctx->codec->src_fourcc) {
299 if (ctx->codec->src_fourcc == V4L2_PIX_FMT_H264)
340 if (ctx->codec->src_fourcc == V4L2_PIX_FMT_JPEG &&
364 if (ctx->codec->src_fourcc == V4L2_PIX_FMT_JPEG &&
485 if (ctx->codec->src_fourcc == V4L2_PIX_FMT_H264 ||
486 ctx->codec->dst_fourcc == V4L2_PIX_FMT_H264 ||
487 ctx->codec->src_fourcc == V4L2_PIX_FMT_MPEG4 ||
488 ctx->codec->dst_fourcc == V4L2_PIX_FMT_MPEG4)
506 (ctx->codec
[all...]
/linux-master/sound/hda/
H A Dhdac_controller.c205 * @addr: codec address
319 * @addr: codec address
396 * @addr: codec address
534 /* reset codec link */
547 /* delay for >= 100us for codec PLL to settle per spec
632 /* initialize the codec command I/O */
767 * snd_hdac_bus_link_power - power up/down codec link
768 * @codec: HD-audio device
771 void snd_hdac_bus_link_power(struct hdac_device *codec, bool enable) argument
774 set_bit(codec
[all...]
/linux-master/sound/soc/intel/avs/
H A Dcore.c123 struct hda_codec *codec; local
136 dev_dbg(bus->dev, "codec #%d probed OK: 0x%x\n", addr, res);
138 codec = snd_hda_codec_device_init(to_hda_bus(bus), addr, "hdaudioB%dD%d", bus->idx, addr);
139 if (IS_ERR(codec)) {
140 dev_err(bus->dev, "init codec failed: %ld\n", PTR_ERR(codec));
141 return PTR_ERR(codec);
145 * of its codec child devices. Component interested in
148 pm_runtime_set_suspended(hda_codec_dev(codec));
151 ret = snd_hda_codec_configure(codec);
[all...]
/linux-master/sound/soc/generic/
H A Dsimple-card-utils.c83 struct device_node *codec,
98 * take the settings from codec node.
102 daifmt |= snd_soc_daifmt_parse_clock_provider_as_flag(codec, NULL);
105 ((codec == bitclkmaster) << 4) | (codec == framemaster));
676 struct snd_soc_dai_link_component *codec; local
682 for_each_link_codecs(dai_link, j, codec)
683 of_node_put(codec->of_node);
81 simple_util_parse_daifmt(struct device *dev, struct device_node *node, struct device_node *codec, char *prefix, unsigned int *retfmt) argument
/linux-master/drivers/media/usb/hdpvr/
H A Dhdpvr.h296 enum v4l2_mpeg_audio_encoding codec);

Completed in 359 milliseconds

1234567891011>>