Home
last modified time | relevance | path

Searched refs:hda (Results 1 – 25 of 107) sorted by relevance

12345

/linux-6.1.9/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.c99 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()
119 v = readl(hda->regs + HDA_IPFS_INTR_MASK); in hda_tegra_init()
121 writel(v, hda->regs + HDA_IPFS_INTR_MASK); in hda_tegra_init()
[all …]
Dhda_intel.c611 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); in azx_position_check() local
621 schedule_work(&hda->irq_pending_work); in azx_position_check()
710 struct hda_intel *hda = container_of(work, struct hda_intel, irq_pending_work); in azx_irq_pending_work() local
711 struct azx *chip = &hda->chip; in azx_irq_pending_work()
716 if (!hda->irq_pending_warned) { in azx_irq_pending_work()
720 hda->irq_pending_warned = 1; in azx_irq_pending_work()
900 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); in azx_add_card_list() local
902 list_add(&hda->list, &card_list); in azx_add_card_list()
908 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); in azx_del_card_list() local
910 list_del_init(&hda->list); in azx_del_card_list()
[all …]
DKconfig27 will be called snd-hda-intel.
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.
180 support in snd-hda-intel driver. This includes all AMD/ATI,
[all …]
/linux-6.1.9/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()
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()
317 readl(hda->regs + reg))
[all …]
Dsti_tvout.c118 struct drm_encoder *hda; member
531 crtc = tvout->hda->crtc; in tvout_dbg_show()
785 tvout->hda = sti_tvout_create_hda_encoder(dev, tvout); in sti_tvout_create_encoders()
789 drm_encoder_mask(tvout->hda) | drm_encoder_mask(tvout->dvo); in sti_tvout_create_encoders()
790 tvout->hda->possible_clones = drm_encoder_mask(tvout->hdmi) | in sti_tvout_create_encoders()
791 drm_encoder_mask(tvout->hda) | drm_encoder_mask(tvout->dvo); in sti_tvout_create_encoders()
793 drm_encoder_mask(tvout->hda) | drm_encoder_mask(tvout->dvo); in sti_tvout_create_encoders()
802 if (tvout->hda) in sti_tvout_destroy_encoders()
803 drm_encoder_cleanup(tvout->hda); in sti_tvout_destroy_encoders()
804 tvout->hda = NULL; in sti_tvout_destroy_encoders()
/linux-6.1.9/Documentation/devicetree/bindings/sound/
Dnvidia,tegra30-hda.yaml4 $id: http://devicetree.org/schemas/sound/nvidia,tegra30-hda.yaml#
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
31 - const: nvidia,tegra30-hda
33 - const: nvidia,tegra132-hda
[all …]
/linux-6.1.9/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.c24 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
77 if (hda->dtrace_stream) { in hda_dsp_trace_release()
78 hstream = &hda->dtrace_stream->hstream; in hda_dsp_trace_release()
[all …]
Dhda-loader.c29 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()
199 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in cl_dsp_init()
208 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in cl_dsp_init()
[all …]
Dhda-dsp.c187 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()
321 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_ipc_int_enable() local
322 const struct sof_intel_dsp_desc *chip = hda->desc; in hda_dsp_ipc_int_enable()
336 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_ipc_int_disable() local
337 const struct sof_intel_dsp_desc *chip = hda->desc; in hda_dsp_ipc_int_disable()
[all …]
Dhda-loader-skl.c312 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in cl_dsp_init_skl() local
313 const struct sof_intel_dsp_desc *chip = hda->desc; in cl_dsp_init_skl()
398 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in cl_skl_cldma_fill_buffer() local
406 hda->code_loading = 1; in cl_skl_cldma_fill_buffer()
422 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in cl_skl_cldma_wait_interruptible() local
423 const struct sof_intel_dsp_desc *chip = hda->desc; in cl_skl_cldma_wait_interruptible()
431 if (!wait_event_timeout(hda->waitq, !hda->code_loading, in cl_skl_cldma_wait_interruptible()
518 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_cl_boot_firmware_skl() local
519 const struct sof_intel_dsp_desc *chip = hda->desc; in hda_dsp_cl_boot_firmware_skl()
Dhda-pcm.c101 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()
Dicl.c32 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()
Dmtl.c110 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in mtl_enable_ipc_interrupts() local
111 const struct sof_intel_dsp_desc *chip = hda->desc; in mtl_enable_ipc_interrupts()
121 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in mtl_disable_ipc_interrupts() local
122 const struct sof_intel_dsp_desc *chip = hda->desc; in mtl_disable_ipc_interrupts()
430 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in mtl_dsp_cl_init() local
431 const struct sof_intel_dsp_desc *chip = hda->desc; in mtl_dsp_cl_init()
446 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in mtl_dsp_cl_init()
458 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in mtl_dsp_cl_init()
470 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in mtl_dsp_cl_init()
Dhda-ipc.c266 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_ipc_irq_thread() local
278 hda->boot_iteration < HDA_FW_BOOT_ATTEMPTS) in hda_dsp_ipc_irq_thread()
307 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_check_ipc_irq() local
325 hda->code_loading = 0; in hda_dsp_check_ipc_irq()
326 wake_up(&hda->waitq); in hda_dsp_check_ipc_irq()
/linux-6.1.9/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
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/disp/
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()
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
184 WARN_ON(hda && !ior->hda); in nvkm_outp_acquire()
192 if (!hda) { in nvkm_outp_acquire()
Dior.c58 enum nvkm_ior_type type, int id, bool hda) in nvkm_ior_new_() argument
67 ior->hda = hda; in nvkm_ior_new_()
Dgm200.c139 .hda = &gf119_sor_hda,
146 u32 hda; in gm200_sor_new() local
148 if (!((hda = nvkm_rd32(device, 0x08a15c)) & 0x40000000)) in gm200_sor_new()
149 hda = nvkm_rd32(device, 0x101034); in gm200_sor_new()
151 return nvkm_ior_new_(&gm200_sor, disp, SOR, id, hda & BIT(id)); in gm200_sor_new()
Drootnv50.c100 ret = nvkm_outp_acquire(outp, NVKM_OUTP_USER, args->v0.hda); in nv50_disp_root_mthd_()
128 if (!ior->hda) in nv50_disp_root_mthd_()
134 ior->func->hda->hpd(ior, hidx, true); in nv50_disp_root_mthd_()
135 ior->func->hda->eld(ior, hidx, data, size); in nv50_disp_root_mthd_()
139 ior->func->hda->hpd(ior, hidx, false); in nv50_disp_root_mthd_()
Dga102.c113 .hda = &gv100_sor_hda,
120 u32 hda = nvkm_rd32(device, 0x08a15c); in ga102_sor_new() local
122 return nvkm_ior_new_(&ga102_sor, disp, SOR, id, hda & BIT(id)); in ga102_sor_new()
/linux-6.1.9/sound/hda/ext/
DMakefile2 snd-hda-ext-core-objs := hdac_ext_bus.o hdac_ext_controller.o hdac_ext_stream.o
4 obj-$(CONFIG_SND_HDA_EXT_CORE) += snd-hda-ext-core.o
/linux-6.1.9/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 …]

12345