/openbmc/linux/sound/pci/hda/ |
H A D | Makefile | 2 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 …]
|
H A D | hda_tegra.c | 4 * 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 …]
|
H A D | Kconfig | 27 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. 190 snd-hda-intel driver, such as ALC880. 200 snd-hda-intel driver, such as AD1986A. 211 snd-hda-intel driver, such as STAC9200. [all …]
|
H A D | hda_intel.c | 77 /* Defines for Nvidia HDA support */ 84 /* Defines for Intel SCH HDA snoop control */ 155 MODULE_PARM_DESC(beep_mode, "Select HDA Beep registration mode " 208 MODULE_DESCRIPTION("Intel HDA driver"); 334 [AZX_DRIVER_ICH] = "HDA Intel", 335 [AZX_DRIVER_PCH] = "HDA Intel PCH", 336 [AZX_DRIVER_SCH] = "HDA Intel MID", 337 [AZX_DRIVER_SKL] = "HDA Intel PCH", /* kept old name for compatibility */ 338 [AZX_DRIVER_HDMI] = "HDA Intel HDMI", 339 [AZX_DRIVER_ATI] = "HDA ATI SB", [all …]
|
/openbmc/linux/drivers/gpu/drm/sti/ |
H A D | sti_hda.c | 259 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | nvidia,tegra30-hda.yaml | 4 $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 …]
|
/openbmc/linux/sound/soc/sof/intel/ |
H A D | Makefile | 6 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 …]
|
H A D | hda-trace.c | 15 * 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 …]
|
H A D | hda-loader.c | 15 * 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 …]
|
H A D | hda-pcm.c | 15 * 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 …]
|
H A D | hda-ctrl.c | 15 * 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() 162 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_ctrl_clock_power_gating() local 171 if (!enable || !hda->l1_disabled) in hda_dsp_ctrl_clock_power_gating() 195 /* reset HDA controller */ in hda_dsp_ctrl_init_chip() 198 dev_err(sdev->dev, "error: failed to reset HDA controller\n"); in hda_dsp_ctrl_init_chip() [all …]
|
H A D | hda-dsp.c | 15 * Hardware interface for generic Intel audio DSP HDA IP 21 #include <sound/hda-mlink.h> 25 #include "hda.h" 26 #include "hda-ipc.h" 32 "SOF HDA enable trace when the DSP is in D0I3 in S0"); 188 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_core_power_up() local 189 const struct sof_intel_dsp_desc *chip = hda->desc; in hda_dsp_core_power_up() 258 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_enable_core() local 259 const struct sof_intel_dsp_desc *chip = hda->desc; in hda_dsp_enable_core() 283 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_core_reset_power_down() local [all …]
|
H A D | icl.c | 18 #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()
|
/openbmc/qemu/hw/audio/ |
H A D | hda-codec.c | 23 #include "intel-hda.h" 27 #include "intel-hda-defs.h" 116 * HDA codec descriptions 129 #include "hda-codec-common.h" 132 #include "hda-codec-common.h" 149 #define TYPE_HDA_AUDIO "hda-audio" 178 HDACodecDevice hda; member 250 &st->state->hda, st->stream, false, st->buf + start, chunk); in hda_audio_input_timer() 320 &st->state->hda, st->stream, true, st->buf + start, chunk); in hda_audio_output_timer() 386 rc = hda_codec_xfer(&st->state->hda, st->stream, false, in hda_audio_compat_input_cb() [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | intel-hda-test.c | 2 * QTest testcase for Intel HDA 16 #define CODEC_DEVICES " -device hda-output,bus=" HDA_ID ".0," AUDIODEV_REF \ 17 " -device hda-micro,bus=" HDA_ID ".0," AUDIODEV_REF \ 18 " -device hda-duplex,bus=" HDA_ID ".0," AUDIODEV_REF 23 qtest_start(AUDIODEV "-machine pc -device intel-hda,id=" HDA_ID CODEC_DEVICES); in ich6_test() 31 "-device ich9-intel-hda,bus=pcie.0,addr=1b.0,id=" in ich9_test() 47 "-device intel-hda,id=" HDA_ID CODEC_DEVICES); in test_issue542_ich6() 74 qtest_add_func("/intel-hda/ich6", ich6_test); in main() 77 qtest_add_func("/intel-hda/ich9", ich9_test); in main() 78 qtest_add_func("/intel-hda/fuzz/issue542", test_issue542_ich6); in main()
|
/openbmc/linux/include/drm/ |
H A D | drm_audio_component.h | 14 * 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 …]
|
/openbmc/u-boot/include/ |
H A D | hda_codec.h | 16 * struct hda_codec_priv - Private data required by the HDA codec 18 * @regs: HDA registers 29 * @regs: HDA registers 37 * @regs: HDA registers 45 * @regs: HDA registers 55 * @regs: HDA registers 84 * hda_codec_init() - Set up the HDA codec base address 94 * hda_codec_finish_init() - Finish setting up the HDA codec base address
|
/openbmc/linux/sound/hda/ |
H A D | Makefile | 2 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
|
/openbmc/linux/Documentation/sound/hd-audio/ |
H A D | notes.rst | 20 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 …]
|
/openbmc/u-boot/arch/arm/mach-tegra/tegra30/ |
H A D | pinmux.c | 231 PIN(DAP1_FS_PN0, I2S0, HDA, GMI, SDMMC2), 232 PIN(DAP1_DIN_PN1, I2S0, HDA, GMI, SDMMC2), 233 PIN(DAP1_DOUT_PN2, I2S0, HDA, GMI, SDMMC2), 234 PIN(DAP1_SCLK_PN3, I2S0, HDA, GMI, SDMMC2), 235 PIN(CLK1_REQ_PEE2, DAP, HDA, RSVD3, RSVD4), 237 PIN(SPDIF_IN_PK6, SPDIF, HDA, I2C1, SDMMC2), 239 PIN(DAP2_FS_PA2, I2S1, HDA, RSVD3, GMI), 240 PIN(DAP2_DIN_PA4, I2S1, HDA, RSVD3, GMI), 241 PIN(DAP2_DOUT_PA5, I2S1, HDA, RSVD3, GMI), 242 PIN(DAP2_SCLK_PA3, I2S1, HDA, RSVD3, GMI), [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | outp.c | 117 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 …]
|
H A D | gp100.c | 42 .hda = &gf119_sor_hda, 49 u32 hda; in gp100_sor_new() local 51 if (!((hda = nvkm_rd32(device, 0x08a15c)) & 0x40000000)) in gp100_sor_new() 52 hda = nvkm_rd32(device, 0x10ebb0) >> 8; in gp100_sor_new() 54 return nvkm_ior_new_(&gp100_sor, disp, SOR, id, hda & BIT(id)); in gp100_sor_new()
|
/openbmc/qemu/docs/system/ |
H A D | linuxboot.rst | 14 |qemu_system| -kernel bzImage -hda rootdisk.img -append "root=/dev/hda" 26 |qemu_system| -kernel bzImage -hda rootdisk.img \ 27 -append "root=/dev/hda console=ttyS0" -nographic
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | loongson,ls2k-pinctrl.yaml | 43 nand, sata_led, i2s, hda] 48 nand, sata_led, i2s, hda] 112 hda_pins_default: hda-pins { 114 groups = "hda"; 115 function = "hda";
|
/openbmc/linux/sound/soc/intel/common/ |
H A D | soc-acpi-intel-hda-match.c | 5 * 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).
|