Home
last modified time | relevance | path

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

12345678910>>...19

/kernel/linux/linux-6.6/sound/pci/hda/
DMakefile2 snd-hda-intel-objs := hda_intel.o
3 snd-hda-tegra-objs := 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-objs := hda_generic.o
17 snd-hda-codec-realtek-objs := patch_realtek.o
18 snd-hda-codec-cmedia-objs := patch_cmedia.o
[all …]
Dhda_tegra.c4 * Implementation of primary ALSA driver code base for NVIDIA Tegra HDA.
33 /* Defines for Nvidia Tegra HDA support */
104 static void hda_tegra_init(struct hda_tegra *hda) in hda_tegra_init() argument
109 v = readl(hda->regs + HDA_IPFS_CONFIG); in hda_tegra_init()
111 writel(v, hda->regs + HDA_IPFS_CONFIG); in hda_tegra_init()
114 v = readl(hda->regs + HDA_CFG_CMD); in hda_tegra_init()
118 writel(v, hda->regs + HDA_CFG_CMD); in hda_tegra_init()
120 writel(HDA_BAR0_INIT_PROGRAM, hda->regs + HDA_CFG_BAR0); in hda_tegra_init()
121 writel(HDA_BAR0_FINAL_PROGRAM, hda->regs + HDA_CFG_BAR0); in hda_tegra_init()
122 writel(HDA_FPCI_BAR0_START, hda->regs + HDA_IPFS_FPCI_BAR0); in hda_tegra_init()
[all …]
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.
114 in snd-hda-intel driver, such as ALC287.
130 in snd-hda-intel driver, such as ALC287.
179 in snd-hda-intel driver, such as ALC287.
191 snd-hda-intel driver, such as ALC880.
201 snd-hda-intel driver, such as AD1986A.
212 snd-hda-intel driver, such as STAC9200.
[all …]
Dhda_intel.c78 /* Defines for Nvidia HDA support */
85 /* Defines for Intel SCH HDA snoop control */
156 MODULE_PARM_DESC(beep_mode, "Select HDA Beep registration mode "
209 MODULE_DESCRIPTION("Intel HDA driver");
335 [AZX_DRIVER_ICH] = "HDA Intel",
336 [AZX_DRIVER_PCH] = "HDA Intel PCH",
337 [AZX_DRIVER_SCH] = "HDA Intel MID",
338 [AZX_DRIVER_SKL] = "HDA Intel PCH", /* kept old name for compatibility */
339 [AZX_DRIVER_HDMI] = "HDA Intel HDMI",
340 [AZX_DRIVER_ATI] = "HDA ATI SB",
[all …]
/kernel/linux/linux-5.10/sound/pci/hda/
DMakefile2 snd-hda-intel-objs := hda_intel.o
3 snd-hda-tegra-objs := hda_tegra.o
4 snd-hda-loongson-objs := hda_loongson.o
6 snd-hda-codec-y := hda_bind.o hda_codec.o hda_jack.o hda_auto_parser.o hda_sysfs.o
7 snd-hda-codec-y += hda_controller.o
8 snd-hda-codec-$(CONFIG_SND_PROC_FS) += hda_proc.o
10 snd-hda-codec-$(CONFIG_SND_HDA_HWDEP) += hda_hwdep.o
11 snd-hda-codec-$(CONFIG_SND_HDA_INPUT_BEEP) += hda_beep.o
17 snd-hda-codec-generic-objs := hda_generic.o
18 snd-hda-codec-realtek-objs := patch_realtek.o
[all …]
Dhda_tegra.c4 * Implementation of primary ALSA driver code base for NVIDIA Tegra HDA.
32 /* Defines for Nvidia Tegra HDA support */
92 static void hda_tegra_init(struct hda_tegra *hda) in hda_tegra_init() argument
97 v = readl(hda->regs + HDA_IPFS_CONFIG); in hda_tegra_init()
99 writel(v, hda->regs + HDA_IPFS_CONFIG); in hda_tegra_init()
102 v = readl(hda->regs + HDA_CFG_CMD); in hda_tegra_init()
106 writel(v, hda->regs + HDA_CFG_CMD); in hda_tegra_init()
108 writel(HDA_BAR0_INIT_PROGRAM, hda->regs + HDA_CFG_BAR0); in hda_tegra_init()
109 writel(HDA_BAR0_FINAL_PROGRAM, hda->regs + HDA_CFG_BAR0); in hda_tegra_init()
110 writel(HDA_FPCI_BAR0_START, hda->regs + HDA_IPFS_FPCI_BAR0); in hda_tegra_init()
[all …]
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.
54 will be called snd-hda-loongson.
103 option, such as patch=hda-init.
111 snd-hda-intel driver, such as ALC880.
121 snd-hda-intel driver, such as AD1986A.
132 snd-hda-intel driver, such as STAC9200.
142 snd-hda-intel driver, such as VT1708.
152 support in snd-hda-intel driver. This includes all AMD/ATI,
[all …]
Dhda_loongson.c101 MODULE_PARM_DESC(beep_mode, "Select HDA Beep registration mode "
136 MODULE_DESCRIPTION("Loongson LS7A HDA driver");
175 struct hda_loongson *hda = container_of(chip, struct hda_loongson, chip); in azx_position_check() local
185 schedule_work(&hda->irq_pending_work); in azx_position_check()
209 struct hda_loongson *hda = container_of(work, struct hda_loongson, irq_pending_work); in azx_irq_pending_work() local
210 struct azx *chip = &hda->chip; in azx_irq_pending_work()
215 if (!hda->irq_pending_warned) { in azx_irq_pending_work()
219 hda->irq_pending_warned = 1; in azx_irq_pending_work()
291 struct hda_loongson *hda = container_of(chip, struct hda_loongson, chip); in azx_add_card_list() local
293 list_add(&hda->list, &card_list); in azx_add_card_list()
[all …]
Dhda_intel.c76 /* Defines for Nvidia HDA support */
83 /* Defines for Intel SCH HDA snoop control */
160 MODULE_PARM_DESC(beep_mode, "Select HDA Beep registration mode "
245 MODULE_DESCRIPTION("Intel HDA driver");
382 [AZX_DRIVER_ICH] = "HDA Intel",
383 [AZX_DRIVER_PCH] = "HDA Intel PCH",
384 [AZX_DRIVER_SCH] = "HDA Intel MID",
385 [AZX_DRIVER_SKL] = "HDA Intel PCH", /* kept old name for compatibility */
386 [AZX_DRIVER_HDMI] = "HDA Intel HDMI",
387 [AZX_DRIVER_ATI] = "HDA ATI SB",
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/sti/
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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/sti/
Dsti_hda.c258 struct sti_hda *hda; member
264 static u32 hda_read(struct sti_hda *hda, int offset) in hda_read() argument
266 return readl(hda->regs + offset); in hda_read()
269 static void hda_write(struct sti_hda *hda, u32 val, int offset) in hda_write() argument
271 writel(val, hda->regs + offset); in hda_write()
297 * @hda: pointer to HD analog structure
300 static void hda_enable_hd_dacs(struct sti_hda *hda, bool enable) in hda_enable_hd_dacs() argument
302 if (hda->video_dacs_ctrl) { in hda_enable_hd_dacs()
305 val = readl(hda->video_dacs_ctrl); in hda_enable_hd_dacs()
311 writel(val, hda->video_dacs_ctrl); in hda_enable_hd_dacs()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
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 …]
/kernel/linux/linux-6.6/sound/soc/sof/intel/
DMakefile6 snd-sof-intel-hda-common-objs := hda.o 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 \
9 skl.o hda-loader-skl.o \
10 apl.o cnl.o tgl.o icl.o mtl.o lnl.o hda-common-ops.o
12 snd-sof-intel-hda-mlink-objs := hda-mlink.o
14 snd-sof-intel-hda-common-$(CONFIG_SND_SOC_SOF_HDA_PROBES) += hda-probes.o
16 snd-sof-intel-hda-objs := hda-codec.o
23 obj-$(CONFIG_SND_SOC_SOF_HDA_COMMON) += snd-sof-intel-hda-common.o
24 obj-$(CONFIG_SND_SOC_SOF_HDA_MLINK) += snd-sof-intel-hda-mlink.o
[all …]
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()
74 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_trace_release() local
[all …]
Dhda-loader.c15 * Hardware interface for HDA DSP code loader
27 #include "hda.h"
31 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_ssp_set_cbp_cfp() local
32 const struct sof_intel_dsp_desc *chip = hda->desc; in hda_ssp_set_cbp_cfp()
106 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in cl_dsp_init() local
107 const struct sof_intel_dsp_desc *chip = hda->desc; in cl_dsp_init()
117 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in cl_dsp_init()
134 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in cl_dsp_init()
150 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in cl_dsp_init()
167 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in cl_dsp_init()
[all …]
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()
183 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_pcm_pointer() local
194 if (hda && !hda->no_ipc_position) { in hda_dsp_pcm_pointer()
250 /* minimum as per HDA spec */ in hda_dsp_pcm_open()
[all …]
/kernel/linux/linux-5.10/sound/soc/sof/intel/
DMakefile8 snd-sof-intel-hda-common-objs := hda.o hda-loader.o hda-stream.o hda-trace.o \
9 hda-dsp.o hda-ipc.o hda-ctrl.o hda-pcm.o \
10 hda-dai.o hda-bus.o \
12 snd-sof-intel-hda-common-$(CONFIG_SND_SOC_SOF_HDA_PROBES) += hda-compress.o
14 snd-sof-intel-hda-objs := hda-codec.o
19 obj-$(CONFIG_SND_SOC_SOF_HDA_COMMON) += snd-sof-intel-hda-common.o
20 obj-$(CONFIG_SND_SOC_SOF_HDA) += snd-sof-intel-hda.o
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 *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, in hda_dsp_trace_init()
48 if (!hda->dtrace_stream) { in hda_dsp_trace_init()
54 *stream_tag = hda->dtrace_stream->hstream.stream_tag; in hda_dsp_trace_init()
64 hda->dtrace_stream = NULL; in hda_dsp_trace_init()
73 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_trace_release() local
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dnvidia,tegra30-hda.txt1 NVIDIA Tegra30 HDA controller
4 - compatible : For Tegra30, must contain "nvidia,tegra30-hda". Otherwise,
5 must contain '"nvidia,<chip>-hda", "nvidia,tegra30-hda"', where <chip> is
7 - reg : Should contain the HDA registers location and length.
8 - interrupts : The interrupt from the HDA controller.
11 - clock-names : Must include the following entries: hda, hda2hdmi, hda2codec_2x
14 - reset-names : Must include the following entries: hda, hda2hdmi, hda2codec_2x
18 is optional, legacy boards can use default name provided in hda driver.
22 hda@70030000 {
23 compatible = "nvidia,tegra124-hda", "nvidia,tegra30-hda";
[all …]
/kernel/linux/linux-5.10/include/drm/
Ddrm_audio_component.h11 * struct drm_audio_component_ops - Ops implemented by DRM driver, called by hda driver
65 * struct drm_audio_component_audio_ops - Ops implemented by hda driver, called by DRM driver
73 * @pin_eld_notify: Notify the HDA driver that pin sense and/or ELD information has changed
76 * begun to tear it down. This allows the HDA driver to update its
77 * status accordingly (even when the HDA controller is in power save
84 * Called by HDA driver to check and convert from the pin widget node
91 * Called at binding master component, for HDA codec-specific
98 * Called at unbinding master component, for HDA codec-specific
105 * struct drm_audio_component - Used for direct communication between DRM and hda drivers
113 * @ops: Ops implemented by DRM driver, called by hda driver
[all …]
/kernel/linux/linux-6.6/include/drm/
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 …]
/kernel/linux/linux-5.10/sound/hda/
DMakefile2 snd-hda-core-objs := hda_bus_type.o hdac_bus.o hdac_device.o hdac_sysfs.o \
5 snd-hda-core-objs += 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
/kernel/linux/linux-6.6/sound/hda/
DMakefile2 snd-hda-core-objs := hda_bus_type.o hdac_bus.o hdac_device.o hdac_sysfs.o \
5 snd-hda-core-objs += 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
/kernel/linux/linux-6.6/Documentation/sound/hd-audio/
Dnotes.rst20 for all controllers, snd-hda-intel. Although the driver name contains
23 controllers are supposed to be compatible, the single snd-hda-driver
25 bugs and issues specific to each controller type. The snd-hda-intel
34 The snd-hda-intel driver has several different codec parsers depending
240 correctly. The recent version of snd-hda-intel driver provides mostly
311 codec verbs to the device. Some tools are available: hda-emu and
312 hda-analyzer. The detailed description is found in the sections
342 hda-verb and hda-analyzer, the hwdep device has to be enabled.
601 ``patch=hda-init.fw``, the file /lib/firmware/hda-init.fw must be
610 options snd-hda-intel patch=on-board-patch,hdmi-patch
[all …]
/kernel/linux/linux-5.10/Documentation/sound/hd-audio/
Dnotes.rst20 for all controllers, snd-hda-intel. Although the driver name contains
23 controllers are supposed to be compatible, the single snd-hda-driver
25 bugs and issues specific to each controller type. The snd-hda-intel
34 The snd-hda-intel driver has several different codec parsers depending
229 correctly. The recent version of snd-hda-intel driver provides mostly
300 codec verbs to the device. Some tools are available: hda-emu and
301 hda-analyzer. The detailed description is found in the sections
331 hda-verb and hda-analyzer, the hwdep device has to be enabled.
590 ``patch=hda-init.fw``, the file /lib/firmware/hda-init.fw must be
599 options snd-hda-intel patch=on-board-patch,hdmi-patch
[all …]

12345678910>>...19