Home
last modified time | relevance | path

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

12345678910

/Linux-v6.1/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.
32 /* Defines for Nvidia Tegra HDA support */
99 static void hda_tegra_init(struct hda_tegra *hda) in hda_tegra_init() argument
104 v = readl(hda->regs + HDA_IPFS_CONFIG); in hda_tegra_init()
106 writel(v, hda->regs + HDA_IPFS_CONFIG); in hda_tegra_init()
109 v = readl(hda->regs + HDA_CFG_CMD); in hda_tegra_init()
113 writel(v, hda->regs + HDA_CFG_CMD); in hda_tegra_init()
115 writel(HDA_BAR0_INIT_PROGRAM, hda->regs + HDA_CFG_BAR0); in hda_tegra_init()
116 writel(HDA_BAR0_FINAL_PROGRAM, hda->regs + HDA_CFG_BAR0); in hda_tegra_init()
117 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.
113 in snd-hda-intel driver, such as ALC287.
128 in snd-hda-intel driver, such as ALC287.
139 snd-hda-intel driver, such as ALC880.
149 snd-hda-intel driver, such as AD1986A.
160 snd-hda-intel driver, such as STAC9200.
170 snd-hda-intel driver, such as VT1708.
[all …]
Dhda_intel.c76 /* Defines for Nvidia HDA support */
83 /* Defines for Intel SCH HDA snoop control */
153 MODULE_PARM_DESC(beep_mode, "Select HDA Beep registration mode "
204 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 …]
Dcs35l41_hda_spi.c3 // CS35l41 HDA SPI driver
38 { "cs35l41-hda", 0 },
50 .name = "cs35l41-hda",
60 MODULE_DESCRIPTION("HDA CS35L41 driver");
Dcs35l41_hda_i2c.c3 // CS35l41 HDA I2C driver
42 { "cs35l41-hda", 0 },
56 .name = "cs35l41-hda",
66 MODULE_DESCRIPTION("HDA CS35L41 driver");
Dhda_jack.c21 * @codec: the HDA codec
66 * @codec: the HDA codec
87 * @codec: the HDA codec
123 * @codec: the HDA codec
228 * @codec: the HDA codec
308 * @codec: the HDA codec
358 * @codec: the HDA codec
377 * @codec: the HDA codec
404 * @codec: the HDA codec
437 * @codec: the HDA codec
[all …]
/Linux-v6.1/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-v6.1/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-v6.1/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-bus.o \
9 skl.o hda-loader-skl.o \
10 apl.o cnl.o tgl.o icl.o mtl.o hda-common-ops.o
12 snd-sof-intel-hda-common-$(CONFIG_SND_SOC_SOF_HDA_PROBES) += hda-probes.o
14 snd-sof-intel-hda-objs := hda-codec.o
21 obj-$(CONFIG_SND_SOC_SOF_HDA_COMMON) += snd-sof-intel-hda-common.o
22 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 *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
25 #include "hda.h"
29 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_ssp_set_cbp_cfp() local
30 const struct sof_intel_dsp_desc *chip = hda->desc; in hda_ssp_set_cbp_cfp()
104 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in cl_dsp_init() local
105 const struct sof_intel_dsp_desc *chip = hda->desc; in cl_dsp_init()
115 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in cl_dsp_init()
132 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in cl_dsp_init()
148 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in cl_dsp_init()
165 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
133 if (hda) in hda_dsp_pcm_hw_params()
134 platform_params->no_ipc_position = hda->no_ipc_position; in hda_dsp_pcm_hw_params()
179 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_pcm_pointer() local
190 if (hda && !hda->no_ipc_position) { in hda_dsp_pcm_pointer()
246 /* minimum as per HDA spec */ in hda_dsp_pcm_open()
[all …]
Dhda-dsp.c15 * Hardware interface for generic Intel audio DSP HDA IP
24 #include "hda.h"
25 #include "hda-ipc.h"
31 "SOF HDA enable trace when the DSP is in D0I3 in S0");
187 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_core_power_up() local
188 const struct sof_intel_dsp_desc *chip = hda->desc; in hda_dsp_core_power_up()
257 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_enable_core() local
258 const struct sof_intel_dsp_desc *chip = hda->desc; in hda_dsp_enable_core()
282 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_core_reset_power_down() local
283 const struct sof_intel_dsp_desc *chip = hda->desc; in hda_dsp_core_reset_power_down()
[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-ctrl.c15 * Hardware interface for generic Intel audio DSP HDA IP
23 #include "hda.h"
28 MODULE_PARM_DESC(codec_mask, "SOF HDA codec mask for probing");
32 * HDA Operations.
44 /* enter/exit HDA controller reset */ in hda_dsp_ctrl_link_reset()
58 dev_err(sdev->dev, "error: failed to %s HDA controller gctl 0x%x\n", in hda_dsp_ctrl_link_reset()
203 /* reset HDA controller */ in hda_dsp_ctrl_init_chip()
206 dev_err(sdev->dev, "error: failed to reset HDA controller\n"); in hda_dsp_ctrl_init_chip()
212 /* exit HDA controller reset */ in hda_dsp_ctrl_init_chip()
215 dev_err(sdev->dev, "error: failed to exit HDA controller reset\n"); in hda_dsp_ctrl_init_chip()
Dhda-bus.c16 #include "hda.h"
71 * This can be used for both with/without hda link support.
86 * There is only one HDA bus atm. keep the index as 0. in sof_hda_bus_init()
87 * Need to fix when there are more than one HDA bus. in sof_hda_bus_init()
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
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
/Linux-v6.1/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
/Linux-v6.1/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(struct nvkm_outp *outp, u8 user, bool hda) in nvkm_outp_acquire() argument
178 * code to account for HDA support shouldn't regress here as in nvkm_outp_acquire()
179 * the HDA-enabled ORs match the relevant output's pad macro in nvkm_outp_acquire()
184 WARN_ON(hda && !ior->hda); in nvkm_outp_acquire()
189 /* If we don't need HDA, first try to acquire an OR that doesn't in nvkm_outp_acquire()
192 if (!hda) { in nvkm_outp_acquire()
196 /* Use a HDA-supporting SOR anyway. */ in nvkm_outp_acquire()
[all …]
Dgp100.c45 .hda = &gf119_sor_hda,
52 u32 hda; in gp100_sor_new() local
54 if (!((hda = nvkm_rd32(device, 0x08a15c)) & 0x40000000)) in gp100_sor_new()
55 hda = nvkm_rd32(device, 0x10ebb0) >> 8; in gp100_sor_new()
57 return nvkm_ior_new_(&gp100_sor, disp, SOR, id, hda & BIT(id)); in gp100_sor_new()
/Linux-v6.1/sound/soc/intel/common/
Dsoc-acpi-intel-hda-match.c5 * soc-acpi-intel-hda-match.c - tables and support for HDA+ACPI enumeration.
24 .sof_tplg_filename = "sof-hda-generic.tplg",
29 * combining HDA+other device (e.g. DMIC).
/Linux-v6.1/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

12345678910