Home
last modified time | relevance | path

Searched full:hda (Results 1 – 25 of 248) sorted by relevance

12345678910

/linux/sound/pci/hda/
H A DMakefile2 snd-hda-intel-y := hda_intel.o
3 snd-hda-tegra-y := hda_tegra.o
5 snd-hda-codec-y := hda_bind.o hda_codec.o hda_jack.o hda_auto_parser.o hda_sysfs.o
6 snd-hda-codec-y += hda_controller.o
7 snd-hda-codec-$(CONFIG_SND_PROC_FS) += hda_proc.o
9 snd-hda-codec-$(CONFIG_SND_HDA_HWDEP) += hda_hwdep.o
10 snd-hda-codec-$(CONFIG_SND_HDA_INPUT_BEEP) += hda_beep.o
16 snd-hda-codec-generic-y := hda_generic.o
17 snd-hda-codec-realtek-y := patch_realtek.o
18 snd-hda-codec-cmedia-y := patch_cmedia.o
[all …]
H A DKconfig27 will be called snd-hda-intel.
35 Say Y here to support the HDA controller present in NVIDIA
43 will be called snd-hda-tegra.
92 option, such as patch=hda-init.
134 in snd-hda-intel driver, such as ALC287.
151 in snd-hda-intel driver, such as ALC287.
204 in snd-hda-intel driver, such as ALC287.
216 snd-hda-intel driver, such as ALC880.
226 snd-hda-intel driver, such as AD1986A.
237 snd-hda-intel driver, such as STAC9200.
[all …]
H A Dhda_intel.c77 /* Defines for Nvidia HDA support */
84 /* Defines for Intel SCH HDA snoop control */
155 MODULE_PARM_DESC(beep_mode, "Select HDA Beep registration mode "
210 MODULE_DESCRIPTION("Intel HDA driver");
339 [AZX_DRIVER_ICH] = "HDA Intel",
340 [AZX_DRIVER_PCH] = "HDA Intel PCH",
341 [AZX_DRIVER_SCH] = "HDA Intel MID",
342 [AZX_DRIVER_SKL] = "HDA Intel PCH", /* kept old name for compatibility */
343 [AZX_DRIVER_HDMI] = "HDA Intel HDMI",
344 [AZX_DRIVER_ATI] = "HDA ATI SB",
[all …]
H A Dcs35l56_hda_i2c.c3 // CS35L56 HDA audio driver I2C binding
53 { "cs35l54-hda", 0x3554 },
54 { "cs35l56-hda", 0x3556 },
55 { "cs35l57-hda", 0x3557 },
69 .name = "cs35l56-hda",
79 MODULE_DESCRIPTION("HDA CS35L56 I2C driver");
H A Dcs35l56_hda_spi.c3 // CS35L56 HDA audio driver SPI binding
53 { "cs35l54-hda", 0x3554 },
54 { "cs35l56-hda", 0x3556 },
55 { "cs35l57-hda", 0x3557 },
69 .name = "cs35l56-hda",
79 MODULE_DESCRIPTION("HDA CS35L56 SPI driver");
H A Dcs35l41_hda_spi.c3 // CS35l41 HDA SPI driver
38 { "cs35l41-hda", 0 },
51 .name = "cs35l41-hda",
61 MODULE_DESCRIPTION("HDA CS35L41 driver");
/linux/drivers/gpu/drm/sti/
H A Dsti_hda.c259 struct sti_hda *hda; member
265 static u32 hda_read(struct sti_hda *hda, int offset) in hda_read() argument
267 return readl(hda->regs + offset); in hda_read()
270 static void hda_write(struct sti_hda *hda, u32 val, int offset) in hda_write() argument
272 writel(val, hda->regs + offset); in hda_write()
298 * @hda: pointer to HD analog structure
301 static void hda_enable_hd_dacs(struct sti_hda *hda, bool enable) in hda_enable_hd_dacs() argument
303 if (hda->video_dacs_ctrl) { in hda_enable_hd_dacs()
306 val = readl(hda->video_dacs_ctrl); in hda_enable_hd_dacs()
312 writel(val, hda->video_dacs_ctrl); in hda_enable_hd_dacs()
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dnvidia,tegra30-hda.yaml4 $id: http://devicetree.org/schemas/sound/nvidia,tegra30-hda.yaml#
7 title: NVIDIA Tegra HDA controller
10 The High Definition Audio (HDA) block provides a serial interface to
19 pattern: "^hda@[0-9a-f]*$"
23 - const: nvidia,tegra30-hda
26 - nvidia,tegra234-hda
27 - nvidia,tegra194-hda
28 - nvidia,tegra186-hda
29 - nvidia,tegra210-hda
30 - nvidia,tegra124-hda
[all …]
/linux/sound/soc/sof/intel/
H A DMakefile6 snd-sof-intel-hda-common-y := hda-loader.o hda-stream.o hda-trace.o \
7 hda-dsp.o hda-ipc.o hda-ctrl.o hda-pcm.o \
8 hda-dai.o hda-dai-ops.o hda-bus.o \
11 snd-sof-intel-hda-generic-y := hda.o hda-common-ops.o
13 snd-sof-intel-hda-mlink-y := hda-mlink.o
15 snd-sof-intel-hda-common-$(CONFIG_SND_SOC_SOF_HDA_PROBES) += hda-probes.o
17 snd-sof-intel-hda-y := hda-codec.o
24 obj-$(CONFIG_SND_SOC_SOF_HDA_COMMON) += snd-sof-intel-hda-common.o
25 obj-$(CONFIG_SND_SOC_SOF_HDA_GENERIC) += snd-sof-intel-hda-generic.o
26 obj-$(CONFIG_SND_SOC_SOF_HDA_MLINK) += snd-sof-intel-hda-mlink.o
[all …]
H A Dhda-trace.c15 * Hardware interface for generic Intel audio DSP HDA IP
20 #include "hda.h"
24 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_trace_prepare() local
25 struct hdac_ext_stream *hext_stream = hda->dtrace_stream; in hda_dsp_trace_prepare()
42 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_trace_init() local
45 hda->dtrace_stream = hda_dsp_stream_get(sdev, SNDRV_PCM_STREAM_CAPTURE, in hda_dsp_trace_init()
48 if (!hda->dtrace_stream) { in hda_dsp_trace_init()
54 dtrace_params->stream_tag = hda->dtrace_stream->hstream.stream_tag; in hda_dsp_trace_init()
65 hda->dtrace_stream = NULL; in hda_dsp_trace_init()
75 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_trace_release() local
[all …]
H A Dhda-loader.c15 * Hardware interface for HDA DSP code loader
27 #include "hda.h"
36 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_ssp_set_cbp_cfp() local
37 const struct sof_intel_dsp_desc *chip = hda->desc; in hda_ssp_set_cbp_cfp()
125 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in cl_dsp_init() local
126 const struct sof_intel_dsp_desc *chip = hda->desc; in cl_dsp_init()
136 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in cl_dsp_init()
153 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in cl_dsp_init()
169 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in cl_dsp_init()
186 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in cl_dsp_init()
[all …]
H A Dhda-pcm.c15 * Hardware interface for generic Intel audio DSP HDA IP
24 #include "hda.h"
34 MODULE_PARM_DESC(always_enable_dmi_l1, "SOF HDA always enable DMI l1");
38 MODULE_PARM_DESC(disable_rewinds, "SOF HDA disable rewinds");
101 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_pcm_hw_params() local
138 if (hda) in hda_dsp_pcm_hw_params()
139 platform_params->no_ipc_position = hda->no_ipc_position; in hda_dsp_pcm_hw_params()
186 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_pcm_pointer() local
197 if (hda && !hda->no_ipc_position) { in hda_dsp_pcm_pointer()
254 /* minimum as per HDA spec */ in hda_dsp_pcm_open()
[all …]
H A Dhda-ctrl.c15 * Hardware interface for generic Intel audio DSP HDA IP
22 #include <sound/hda-mlink.h>
24 #include "hda.h"
27 * HDA Operations.
39 /* enter/exit HDA controller reset */ in hda_dsp_ctrl_link_reset()
53 dev_err(sdev->dev, "error: failed to %s HDA controller gctl 0x%x\n", in hda_dsp_ctrl_link_reset()
165 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_ctrl_clock_power_gating() local
174 if (!enable || !hda->l1_disabled) in hda_dsp_ctrl_clock_power_gating()
206 /* reset HDA controller */ in hda_dsp_ctrl_init_chip()
209 dev_err(sdev->dev, "error: failed to reset HDA controller\n"); in hda_dsp_ctrl_init_chip()
[all …]
H A Dicl.c18 #include "hda.h"
19 #include "hda-ipc.h"
25 {"hda", HDA_DSP_HDA_BAR, 0, 0x4000, SOF_DEBUGFS_ACCESS_ALWAYS},
32 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in icl_dsp_core_stall() local
33 const struct sof_intel_dsp_desc *chip = hda->desc; in icl_dsp_core_stall()
56 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in icl_dsp_post_fw_run() local
80 if (!hda->clk_config_lpro) { in icl_dsp_post_fw_run()
H A Dhda.c15 * Hardware interface for generic Intel audio DSP HDA IP
31 #include <sound/hda-mlink.h>
36 #include "hda.h"
430 MODULE_PARM_DESC(use_msi, "SOF HDA use PCI MSI mode");
437 MODULE_PARM_DESC(hda_model, "Use the given HDA board model.");
441 MODULE_PARM_DESC(dmic_num, "SOF HDA DMIC number");
461 /* HDA bus init */ in hda_init()
484 /* HDA base */ in hda_init()
582 /* Init HDA controller after i915 init */ in hda_init_caps()
821 * in IO-APIC mode, hda->irq and ipc_irq are using the same in hda_dsp_probe()
[all …]
H A Dhda-dsp.c15 * Hardware interface for generic Intel audio DSP HDA IP
21 #include <sound/hda-mlink.h>
26 #include "hda.h"
28 #include "hda-ipc.h"
42 "SOF HDA enable trace when the DSP is in D0I3 in S0");
281 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_core_power_up() local
282 const struct sof_intel_dsp_desc *chip = hda->desc; in hda_dsp_core_power_up()
352 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_enable_core() local
353 const struct sof_intel_dsp_desc *chip = hda->desc; in hda_dsp_enable_core()
378 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_core_reset_power_down() local
[all …]
H A Dlnl.c16 #include "hda.h"
17 #include "hda-ipc.h"
21 #include <sound/hda-mlink.h>
28 {"hda", HDA_DSP_HDA_BAR, 0, 0x4000, SOF_DEBUGFS_ACCESS_ALWAYS},
100 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in lnl_dsp_post_fw_run() local
104 hda->imrboot_supported = true; in lnl_dsp_post_fw_run()
107 &hda->skip_imr_boot); in lnl_dsp_post_fw_run()
/linux/include/drm/
H A Ddrm_audio_component.h14 * struct drm_audio_component_ops - Ops implemented by DRM driver, called by hda driver
68 * struct drm_audio_component_audio_ops - Ops implemented by hda driver, called by DRM driver
76 * @pin_eld_notify: Notify the HDA driver that pin sense and/or ELD information has changed
79 * begun to tear it down. This allows the HDA driver to update its
80 * status accordingly (even when the HDA controller is in power save
87 * Called by HDA driver to check and convert from the pin widget node
94 * Called at binding master component, for HDA codec-specific
101 * Called at unbinding master component, for HDA codec-specific
108 * struct drm_audio_component - Used for direct communication between DRM and hda drivers
116 * @ops: Ops implemented by DRM driver, called by hda driver
[all …]
/linux/drivers/platform/x86/
H A Dserial-multi-instantiate.c339 { "cs35l41-hda", IRQ_RESOURCE_AUTO, 0 },
340 { "cs35l41-hda", IRQ_RESOURCE_AUTO, 0 },
341 { "cs35l41-hda", IRQ_RESOURCE_AUTO, 0 },
342 { "cs35l41-hda", IRQ_RESOURCE_AUTO, 0 },
350 { "cs35l54-hda", IRQ_RESOURCE_AUTO, 0 },
351 { "cs35l54-hda", IRQ_RESOURCE_AUTO, 0 },
352 { "cs35l54-hda", IRQ_RESOURCE_AUTO, 0 },
353 { "cs35l54-hda", IRQ_RESOURCE_AUTO, 0 },
363 { "cs35l56-hda", IRQ_RESOURCE_AUTO, 0 },
364 { "cs35l56-hda", IRQ_RESOURCE_AUTO, 0 },
[all …]
/linux/sound/hda/
H A DMakefile2 snd-hda-core-y := hda_bus_type.o hdac_bus.o hdac_device.o hdac_sysfs.o \
5 snd-hda-core-y += trace.o
9 snd-hda-core-$(CONFIG_SND_HDA_COMPONENT) += hdac_component.o
10 snd-hda-core-$(CONFIG_SND_HDA_I915) += hdac_i915.o
12 obj-$(CONFIG_SND_HDA_CORE) += snd-hda-core.o
14 #extended hda
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Doutp.c117 u8 user, bool hda) in nvkm_outp_acquire_hda() argument
123 if (!ior->identity && ior->hda == hda && in nvkm_outp_acquire_hda()
133 if (!ior->identity && ior->hda == hda && in nvkm_outp_acquire_hda()
143 nvkm_outp_acquire_or(struct nvkm_outp *outp, u8 user, bool hda) in nvkm_outp_acquire_or() argument
178 * code to account for HDA support shouldn't regress here as in nvkm_outp_acquire_or()
179 * the HDA-enabled ORs match the relevant output's pad macro in nvkm_outp_acquire_or()
184 WARN_ON(hda && !ior->hda); in nvkm_outp_acquire_or()
189 /* If we don't need HDA, first try to acquire an OR that doesn't in nvkm_outp_acquire_or()
192 if (!hda) { in nvkm_outp_acquire_or()
196 /* Use a HDA-supporting SOR anyway. */ in nvkm_outp_acquire_or()
[all …]
H A Dgp100.c43 .hda = &gf119_sor_hda,
50 u32 hda; in gp100_sor_new() local
52 if (!((hda = nvkm_rd32(device, 0x08a15c)) & 0x40000000)) in gp100_sor_new()
53 hda = nvkm_rd32(device, 0x10ebb0) >> 8; in gp100_sor_new()
55 return nvkm_ior_new_(&gp100_sor, disp, SOR, id, hda & BIT(id)); in gp100_sor_new()
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dloongson,ls2k-pinctrl.yaml43 nand, sata_led, i2s, hda]
48 nand, sata_led, i2s, hda]
112 hda_pins_default: hda-pins {
114 groups = "hda";
115 function = "hda";
/linux/sound/hda/ext/
H A Dhdac_ext_bus.c17 MODULE_DESCRIPTION("HDA extended core");
25 * @ext_ops: operators used for ASoC HDA codec drivers
112 * snd_hda_ext_driver_register - register a driver for ext hda devices
114 * @drv: ext hda driver structure
134 * snd_hda_ext_driver_unregister - unregister a driver for ext hda devices
136 * @drv: ext hda driver structure
/linux/Documentation/sound/hd-audio/
H A Drealtek-pc-beep.rst6 Realtek HDA codecs and controls a muxer and pair of passthrough mixers that can
7 route audio between pins but aren't themselves exposed as HDA widgets. As far
79 All Realtek HDA codecs have a vendor-defined widget with node ID 20h which
81 Registers are read and written via the standard HDA processing coefficient
88 amplifier parameters not in scope of the HDA specification, it controls audio
89 routing which could just as easily have been defined using standard HDA mixer
103 does this violate the HDA specification, which says that "[a vendor defined

12345678910