Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/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.c92 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()
112 v = readl(hda->regs + HDA_IPFS_INTR_MASK); in hda_tegra_init()
114 writel(v, hda->regs + HDA_IPFS_INTR_MASK); in hda_tegra_init()
[all …]
Dhda_intel.c655 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); in azx_position_check() local
665 schedule_work(&hda->irq_pending_work); in azx_position_check()
754 struct hda_intel *hda = container_of(work, struct hda_intel, irq_pending_work); in azx_irq_pending_work() local
755 struct azx *chip = &hda->chip; in azx_irq_pending_work()
760 if (!hda->irq_pending_warned) { in azx_irq_pending_work()
764 hda->irq_pending_warned = 1; in azx_irq_pending_work()
944 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); in azx_add_card_list() local
946 list_add(&hda->list, &card_list); in azx_add_card_list()
952 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); in azx_del_card_list() local
954 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.
100 snd-hda-intel driver, such as ALC880.
110 snd-hda-intel driver, such as AD1986A.
121 snd-hda-intel driver, such as STAC9200.
131 snd-hda-intel driver, such as VT1708.
141 support in snd-hda-intel driver. This includes all AMD/ATI,
155 snd-hda-intel driver, such as CS4206.
166 snd-hda-intel driver, such as CX20549.
[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()
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()
316 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()
/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.c24 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
76 if (hda->dtrace_stream) { in hda_dsp_trace_release()
77 hstream = &hda->dtrace_stream->hstream; in hda_dsp_trace_release()
[all …]
Dhda-dsp.c249 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_enable_core() local
250 const struct sof_intel_dsp_desc *chip = hda->desc; in hda_dsp_enable_core()
274 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_core_reset_power_down() local
275 const struct sof_intel_dsp_desc *chip = hda->desc; in hda_dsp_core_reset_power_down()
313 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_ipc_int_enable() local
314 const struct sof_intel_dsp_desc *chip = hda->desc; in hda_dsp_ipc_int_enable()
328 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_ipc_int_disable() local
329 const struct sof_intel_dsp_desc *chip = hda->desc; in hda_dsp_ipc_int_disable()
613 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_suspend() local
614 const struct sof_intel_dsp_desc *chip = hda->desc; in hda_suspend()
[all …]
Dhda-pcm.c91 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_pcm_hw_params() local
122 if (hda && hda->no_ipc_position) { in hda_dsp_pcm_hw_params()
153 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_pcm_pointer() local
164 if (hda && !hda->no_ipc_position) { in hda_dsp_pcm_pointer()
Dhda-loader.c88 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in cl_dsp_init() local
89 const struct sof_intel_dsp_desc *chip = hda->desc; in cl_dsp_init()
97 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in cl_dsp_init()
120 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in cl_dsp_init()
136 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in cl_dsp_init()
152 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in cl_dsp_init()
172 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in cl_dsp_init()
332 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_cl_boot_firmware() local
369 hda->boot_iteration = i + 1; in hda_dsp_cl_boot_firmware()
Dhda.c432 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_dump_ext_rom_status() local
443 sof_dev_dbg_or_err(sdev->dev, hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS, in hda_dsp_dump_ext_rom_status()
450 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_dump() local
470 sof_dev_dbg_or_err(sdev->dev, hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS, in hda_dsp_dump()
910 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_remove() local
913 const struct sof_intel_dsp_desc *chip = hda->desc; in hda_dsp_remove()
916 cancel_delayed_work_sync(&hda->d0i3_work); in hda_dsp_remove()
925 if (!IS_ERR_OR_NULL(hda->dmic_dev)) in hda_dsp_remove()
926 platform_device_unregister(hda->dmic_dev); in hda_dsp_remove()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dnvidia,tegra30-hda.txt4 - compatible : For Tegra30, must contain "nvidia,tegra30-hda". Otherwise,
5 must contain '"nvidia,<chip>-hda", "nvidia,tegra30-hda"', where <chip> is
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";
29 clock-names = "hda", "hda2hdmi", "hda2codec_2x";
30 resets = <&tegra_car 125>, /* hda */
33 reset-names = "hda", "hda2hdmi", "hda2codec_2x";
[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
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dsorgp100.c48 .hda = {
85 u32 hda; in gp100_sor_new() local
87 if (!((hda = nvkm_rd32(device, 0x08a15c)) & 0x40000000)) in gp100_sor_new()
88 hda = nvkm_rd32(device, 0x10ebb0) >> 8; in gp100_sor_new()
90 if (hda & BIT(id)) in gp100_sor_new()
Doutp.c117 u8 user, bool hda) in nvkm_outp_acquire_hda() argument
123 if (!ior->identity && !!ior->func->hda.hpd == hda && in nvkm_outp_acquire_hda()
133 if (!ior->identity && !!ior->func->hda.hpd == 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->func->hda.hpd); in nvkm_outp_acquire()
192 if (!hda) { in nvkm_outp_acquire()
Dsorgv100.c103 .hda = {
139 u32 hda; in gv100_sor_new() local
141 if (!((hda = nvkm_rd32(device, 0x08a15c)) & 0x40000000)) in gv100_sor_new()
142 hda = nvkm_rd32(device, 0x118fb0) >> 8; in gv100_sor_new()
144 if (hda & BIT(id)) in gv100_sor_new()
Dsorgm200.c115 .hda = {
152 u32 hda; in gm200_sor_new() local
154 if (!((hda = nvkm_rd32(device, 0x08a15c)) & 0x40000000)) in gm200_sor_new()
155 hda = nvkm_rd32(device, 0x101034); in gm200_sor_new()
157 if (hda & BIT(id)) in gm200_sor_new()
Dsortu102.c88 .hda = {
125 u32 hda = nvkm_rd32(device, 0x08a15c); in tu102_sor_new() local
126 if (hda & BIT(id)) in tu102_sor_new()
Drootnv50.c102 ret = nvkm_outp_acquire(outp, NVKM_OUTP_USER, args->v0.hda); in nv50_disp_root_mthd_()
151 if (!ior->func->hda.hpd) in nv50_disp_root_mthd_()
157 ior->func->hda.hpd(ior, hidx, true); in nv50_disp_root_mthd_()
158 ior->func->hda.eld(ior, hidx, data, size); in nv50_disp_root_mthd_()
162 ior->func->hda.hpd(ior, hidx, false); in nv50_disp_root_mthd_()
/kernel/linux/linux-5.10/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
/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 …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dstih407.dtsi130 sti-hda@8d02000 {
131 compatible = "st,stih407-hda";
133 reg-names = "hda-reg", "video-dacs-ctrl";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/
Dst,stih4xx.txt72 sti-hda:
75 - compatible: "st,stih<chip>-hda"
194 reg-names = "tvout-reg", "hda-reg", "syscfg";
209 sti-hda@fe85a000 {
210 compatible = "st,stih416-hda";
212 reg-names = "hda-reg", "video-dacs-ctrl";
/kernel/linux/linux-5.10/Documentation/admin-guide/
Diostats.rst23 …3 0 39082680 hda 446216 784926 9550688 4382310 424847 312726 5922052 19310380 0 3376340 2370…
31 3 0 hda 446216 784926 9550688 4382310 424847 312726 5922052 19310380 0 3376340 23705160
35 …3 0 hda 446216 784926 9550688 4382310 424847 312726 5922052 19310380 0 3376340 23705160 0 0 0…
37 On 2.4 you might execute ``grep 'hda ' /proc/partitions``. On 2.6+, you have
38 a choice of ``cat /sys/block/hda/stat`` or ``grep 'hda ' /proc/diskstats``.
48 By contrast, in 2.6+ if you look at ``/sys/block/hda/stat``, you'll

12345