Home
last modified time | relevance | path

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

1234567891011

/linux-6.14.4/sound/pci/hda/
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 …]
Dhda_tegra.c4 * Implementation of primary ALSA driver code base for NVIDIA Tegra HDA.
33 /* Defines for Nvidia Tegra HDA support */
100 static void hda_tegra_init(struct hda_tegra *hda) in hda_tegra_init() argument
105 v = readl(hda->regs + HDA_IPFS_CONFIG); in hda_tegra_init()
107 writel(v, hda->regs + HDA_IPFS_CONFIG); in hda_tegra_init()
110 v = readl(hda->regs + HDA_CFG_CMD); in hda_tegra_init()
114 writel(v, hda->regs + HDA_CFG_CMD); in hda_tegra_init()
116 writel(HDA_BAR0_INIT_PROGRAM, hda->regs + HDA_CFG_BAR0); in hda_tegra_init()
117 writel(HDA_BAR0_FINAL_PROGRAM, hda->regs + HDA_CFG_BAR0); in hda_tegra_init()
118 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.
132 in snd-hda-intel driver, such as ALC287.
149 in snd-hda-intel driver, such as ALC287.
202 in snd-hda-intel driver, such as ALC287.
216 in snd-hda-intel driver, such as ALC287.
229 snd-hda-intel driver, such as ALC880.
239 snd-hda-intel driver, such as AD1986A.
[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 "
211 MODULE_DESCRIPTION("Intel HDA driver");
340 [AZX_DRIVER_ICH] = "HDA Intel",
341 [AZX_DRIVER_PCH] = "HDA Intel PCH",
342 [AZX_DRIVER_SCH] = "HDA Intel MID",
343 [AZX_DRIVER_SKL] = "HDA Intel PCH", /* kept old name for compatibility */
344 [AZX_DRIVER_HDMI] = "HDA Intel HDMI",
345 [AZX_DRIVER_ATI] = "HDA ATI SB",
[all …]
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");
Dcs35l56_hda_spi.c3 // CS35L56 HDA audio driver SPI binding
56 { "cs35l54-hda", 0x3554 },
57 { "cs35l56-hda", 0x3556 },
58 { "cs35l57-hda", 0x3557 },
72 .name = "cs35l56-hda",
82 MODULE_DESCRIPTION("HDA CS35L56 SPI driver");
/linux-6.14.4/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 …]
/linux-6.14.4/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 …]
/linux-6.14.4/sound/soc/sof/intel/
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 …]
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 …]
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 …]
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");
106 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_pcm_hw_params() local
143 if (hda) in hda_dsp_pcm_hw_params()
144 platform_params->no_ipc_position = hda->no_ipc_position; in hda_dsp_pcm_hw_params()
191 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_pcm_pointer() local
202 if (hda && !hda->no_ipc_position) { in hda_dsp_pcm_pointer()
269 /* minimum as per HDA spec */ in hda_dsp_pcm_open()
[all …]
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 …]
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()
Dhda.c15 * Hardware interface for generic Intel audio DSP HDA IP
31 #include <sound/hda-mlink.h>
36 #include "hda.h"
435 MODULE_PARM_DESC(use_msi, "SOF HDA use PCI MSI mode");
442 MODULE_PARM_DESC(hda_model, "Use the given HDA board model.");
446 MODULE_PARM_DESC(dmic_num, "SOF HDA DMIC number");
466 /* HDA bus init */ in hda_init()
489 /* HDA base */ in hda_init()
587 /* Init HDA controller after i915 init */ in hda_init_caps()
826 * in IO-APIC mode, hda->irq and ipc_irq are using the same in hda_dsp_probe()
[all …]
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 …]
/linux-6.14.4/Documentation/sound/codecs/
Dcs35l56.rst42 *For systems using HDA*: sound/pci/hda/cs35l56_hda.c
67 On HDA systems the firmware is *mandatory* to enable HDA bridge mode. There
164 HDA section in Kernel log messages
169 …[ 6.306475] cs35l56-hda i2c-CSC3556:00-cs35l56-hda.0: Cirrus Logic CS35L56 Rev B0 OTP3 fw:3.4.4 (p…
170 …[ 6.613892] cs35l56-hda i2c-CSC3556:00-cs35l56-hda.0: DSP system name: 'xxxxxxxx', amp name: 'AMP1'
171 …[ 8.266660] snd_hda_codec_cs8409 ehdaudio0D0: bound i2c-CSC3556:00-cs35l56-hda.0 (ops cs35l56_hda_…
172 …[ 8.287525] cs35l56-hda i2c-CSC3556:00-cs35l56-hda.0: DSP1: cirrus/cs35l56-b0-dsp1-misc-xxxxxxxx.w…
173 …[ 8.287528] cs35l56-hda i2c-CSC3556:00-cs35l56-hda.0: DSP1: cirrus/cs35l56-b0-dsp1-misc-xxxxxxxx.w…
174 …[ 9.984335] cs35l56-hda i2c-CSC3556:00-cs35l56-hda.0: DSP1: Firmware: 1a00d6 vendor: 0x2 v3.11.23,…
175 …[10.085797] cs35l56-hda i2c-CSC3556:00-cs35l56-hda.0: DSP1: cirrus/cs35l56-b0-dsp1-misc-xxxxxxxx-a…
[all …]
/linux-6.14.4/drivers/platform/x86/
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-6.14.4/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 …]
/linux-6.14.4/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
336 hda-verb and hda-analyzer, the hwdep device has to be enabled.
595 ``patch=hda-init.fw``, the file /lib/firmware/hda-init.fw must be
604 options snd-hda-intel patch=on-board-patch,hdmi-patch
[all …]
/linux-6.14.4/sound/hda/
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-6.14.4/drivers/gpu/drm/nouveau/nvkm/engine/disp/
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 …]
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-6.14.4/Documentation/devicetree/bindings/pinctrl/
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-6.14.4/sound/hda/ext/
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

1234567891011