| /linux/sound/hda/controllers/ |
| H A D | tegra.c | 104 static void hda_tegra_init(struct hda_tegra *hda) in hda_tegra_init() argument 109 v = readl(hda->regs + HDA_IPFS_CONFIG); in hda_tegra_init() 111 writel(v, hda->regs + HDA_IPFS_CONFIG); in hda_tegra_init() 114 v = readl(hda->regs + HDA_CFG_CMD); in hda_tegra_init() 118 writel(v, hda->regs + HDA_CFG_CMD); in hda_tegra_init() 120 writel(HDA_BAR0_INIT_PROGRAM, hda->regs + HDA_CFG_BAR0); in hda_tegra_init() 121 writel(HDA_BAR0_FINAL_PROGRAM, hda->regs + HDA_CFG_BAR0); in hda_tegra_init() 122 writel(HDA_FPCI_BAR0_START, hda->regs + HDA_IPFS_FPCI_BAR0); in hda_tegra_init() 124 v = readl(hda->regs + HDA_IPFS_INTR_MASK); in hda_tegra_init() 126 writel(v, hda in hda_tegra_init() 162 struct hda_tegra *hda = container_of(chip, struct hda_tegra, chip); hda_tegra_runtime_suspend() local 181 struct hda_tegra *hda = container_of(chip, struct hda_tegra, chip); hda_tegra_runtime_resume() local 231 struct hda_tegra *hda = container_of(chip, struct hda_tegra, chip); hda_tegra_dev_free() local 248 struct hda_tegra *hda = container_of(chip, struct hda_tegra, chip); hda_tegra_init_chip() local 267 struct hda_tegra *hda = container_of(chip, struct hda_tegra, chip); hda_tegra_first_init() local 412 hda_tegra_create(struct snd_card * card,unsigned int driver_caps,struct hda_tegra * hda) hda_tegra_create() argument 517 struct hda_tegra *hda; hda_tegra_probe() local 590 struct hda_tegra *hda = container_of(work, struct hda_tegra, probe_work); hda_tegra_probe_work() local [all...] |
| H A D | cix-ipbloq.c | 62 static int cix_ipbloq_hda_probe_codec(struct cix_ipbloq_hda *hda) in cix_ipbloq_hda_probe_codec() argument 64 struct azx *chip = &hda->chip; in cix_ipbloq_hda_probe_codec() 73 dev_err(hda->dev, "probe codecs failed: %d\n", err); in cix_ipbloq_hda_probe_codec() 79 dev_err(hda->dev, "codec configure failed: %d\n", err); in cix_ipbloq_hda_probe_codec() 85 dev_err(hda->dev, "card register failed: %d\n", err); in cix_ipbloq_hda_probe_codec() 98 static int cix_ipbloq_hda_init(struct cix_ipbloq_hda *hda, in cix_ipbloq_hda_init() argument 109 hda->regs = devm_platform_get_and_ioremap_resource(pdev, 0, &res); in cix_ipbloq_hda_init() 110 if (IS_ERR(hda->regs)) { in cix_ipbloq_hda_init() 111 dev_err(hda->dev, "failed to get and ioremap resource\n"); in cix_ipbloq_hda_init() 112 return PTR_ERR(hda->regs); in cix_ipbloq_hda_init() [all …]
|
| H A D | acpi.c | 51 struct hda_acpi *hda = container_of(azx, struct hda_acpi, azx); in hda_acpi_dev_free() local 53 cancel_work_sync(&hda->probe_work); in hda_acpi_dev_free() 66 static int hda_acpi_init(struct hda_acpi *hda) in hda_acpi_init() argument 68 struct hdac_bus *bus = azx_bus(&hda->azx); in hda_acpi_init() 69 struct snd_card *card = hda->azx.card; in hda_acpi_init() 70 struct device *dev = &hda->pdev->dev; in hda_acpi_init() 71 struct azx *azx = &hda->azx; in hda_acpi_init() 82 irq = platform_get_irq(hda->pdev, 0); in hda_acpi_init() 86 hda->regs = devm_platform_get_and_ioremap_resource(hda->pdev, 0, &res); in hda_acpi_init() 87 if (IS_ERR(hda->regs)) in hda_acpi_init() [all …]
|
| H A D | Makefile | 2 snd-hda-intel-y := intel.o 3 snd-hda-tegra-y := tegra.o 4 snd-hda-cix-ipbloq-y := cix-ipbloq.o 5 snd-hda-acpi-y := acpi.o 12 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-intel.o 13 obj-$(CONFIG_SND_HDA_TEGRA) += snd-hda-tegra.o 14 obj-$(CONFIG_SND_HDA_CIX_IPBLOQ) += snd-hda-cix-ipbloq.o 15 obj-$(CONFIG_SND_HDA_ACPI) += snd-hda-acpi.o
|
| H A D | intel.c | 615 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); in azx_position_check() local 625 schedule_work(&hda->irq_pending_work); in azx_position_check() 688 "hda-intel: zero azx_dev->period_bytes")) in azx_position_ok() 721 struct hda_intel *hda = container_of(work, struct hda_intel, irq_pending_work); in azx_irq_pending_work() local 722 struct azx *chip = &hda->chip; in azx_irq_pending_work() 727 if (!hda->irq_pending_warned) { in azx_irq_pending_work() 731 hda->irq_pending_warned = 1; in azx_irq_pending_work() 916 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); in azx_add_card_list() local 919 list_add(&hda->list, &card_list); in azx_add_card_list() 924 struct hda_intel *hda in azx_del_card_list() local 933 struct hda_intel *hda; param_set_xint() local 961 struct hda_intel *hda; azx_is_pm_ready() local 974 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); __azx_runtime_resume() local 1138 struct hda_intel *hda; azx_runtime_idle() local 1179 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); azx_vs_set_state() local 1233 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); azx_vs_can_switch() local 1252 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); setup_vga_switcheroo_runtime_pm() local 1277 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); init_vga_switcheroo() local 1303 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); register_vga_switcheroo() local 1333 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); azx_free() local 1725 struct hda_intel *hda = container_of(work, struct hda_intel, probe_work.work); azx_probe_work() local 1772 struct hda_intel *hda; azx_create() local 2115 struct hda_intel *hda; azx_probe() local 2290 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); set_default_power_save() local 2318 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); azx_probe_continue() local 2416 struct hda_intel *hda; azx_remove() local [all...] |
| H A D | Kconfig | 15 will be called snd-hda-intel. 31 will be called snd-hda-tegra. 45 will be called snd-hda-cix-ipbloq. 56 will be called snd-hda-acpi.
|
| /linux/sound/hda/codecs/side-codecs/ |
| H A D | Makefile | 4 snd-hda-cirrus-scodec-y := cirrus_scodec.o 5 snd-hda-cirrus-scodec-test-y := cirrus_scodec_test.o 6 snd-hda-scodec-cs35l41-y := cs35l41_hda.o cs35l41_hda_property.o 7 snd-hda-scodec-cs35l41-i2c-y := cs35l41_hda_i2c.o 8 snd-hda-scodec-cs35l41-spi-y := cs35l41_hda_spi.o 9 snd-hda-scodec-cs35l56-y := cs35l56_hda.o 10 snd-hda-scodec-cs35l56-i2c-y := cs35l56_hda_i2c.o 11 snd-hda-scodec-cs35l56-spi-y := cs35l56_hda_spi.o 12 snd-hda-scodec-component-y := hda_component.o 13 snd-hda-scodec-tas2781-y := tas2781_hda.o [all …]
|
| /linux/sound/hda/codecs/ |
| H A D | Makefile | 4 snd-hda-codec-generic-y := generic.o 5 snd-hda-codec-cmedia-y := cmedia.o 6 snd-hda-codec-cm9825-y := cm9825.o 7 snd-hda-codec-analog-y := analog.o 8 snd-hda-codec-ca0110-y := ca0110.o 9 snd-hda-codec-ca0132-y := ca0132.o 10 snd-hda-codec-cmedia-y := cmedia.o 11 snd-hda-codec-conexant-y := conexant.o 12 snd-hda-codec-idt-y := sigmatel.o 13 snd-hda-codec-senarytech-y := senarytech.o [all …]
|
| H A D | Kconfig | 12 snd-hda-intel driver, such as AD1986A. 23 snd-hda-intel driver, such as STAC9200. 33 snd-hda-intel driver, such as VT1708. 44 snd-hda-intel driver, such as CX20549. 55 snd-hda-intel driver, such as SN6186. 65 snd-hda-intel driver, found on some Creative X-Fi cards. 74 snd-hda-intel driver. 97 snd-hda-intel driver, such as CMI9880. 107 snd-hda-intel driver 116 (and compatibles) support in snd-hda-intel driver. [all …]
|
| /linux/sound/hda/codecs/realtek/ |
| H A D | Makefile | 4 snd-hda-codec-realtek-lib-y := realtek.o 5 snd-hda-codec-alc260-y := alc260.o 6 snd-hda-codec-alc262-y := alc262.o 7 snd-hda-codec-alc268-y := alc268.o 8 snd-hda-codec-alc269-y := alc269.o 9 snd-hda-codec-alc662-y := alc662.o 10 snd-hda-codec-alc680-y := alc680.o 11 snd-hda-codec-alc861-y := alc861.o 12 snd-hda-codec-alc861vd-y := alc861vd.o 13 snd-hda-codec-alc880-y := alc880.o [all …]
|
| /linux/sound/hda/codecs/hdmi/ |
| H A D | Makefile | 4 snd-hda-codec-hdmi-y := hdmi.o eld.o 5 snd-hda-codec-simplehdmi-y := simplehdmi.o 6 snd-hda-codec-intelhdmi-y := intelhdmi.o 7 snd-hda-codec-atihdmi-y := atihdmi.o 8 snd-hda-codec-nvhdmi-y := nvhdmi.o 9 snd-hda-codec-nvhdmi-mcp-y := nvhdmi-mcp.o 10 snd-hda-codec-tegrahdmi-y := tegrahdmi.o 12 obj-$(CONFIG_SND_HDA_CODEC_HDMI_GENERIC) += snd-hda-codec-hdmi.o 13 obj-$(CONFIG_SND_HDA_CODEC_HDMI_SIMPLE) += snd-hda-codec-simplehdmi.o 14 obj-$(CONFIG_SND_HDA_CODEC_HDMI_INTEL) += snd-hda-codec-intelhdmi.o [all …]
|
| /linux/sound/soc/sof/intel/ |
| H A D | hda-loader.c | 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() 68 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_cl_prepare() 69 const struct sof_intel_dsp_desc *chip = hda->desc; in hda_cl_prepare() 79 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in hda_cl_prepare() 96 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in hda_cl_prepare() 112 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in hda_cl_prepare() 129 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in cl_dsp_init() 163 if (hda in cl_dsp_init() 125 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; cl_dsp_init() local 317 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; hda_cl_copy_fw() local 365 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; hda_dsp_cl_boot_firmware_iccmax() local 429 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; hda_dsp_cl_boot_firmware() local 575 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; hda_dsp_ipc4_load_library() local 696 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; hda_dsp_ext_man_get_cavs_config_data() local [all...] |
| H A D | hda-trace.c | 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 78 if (hda->dtrace_stream) { in hda_dsp_trace_release() 79 hstream = &hda->dtrace_stream->hstream; in hda_dsp_trace_release() [all …]
|
| H A D | hda-loader-skl.c | 311 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in cl_dsp_init_skl() local 312 const struct sof_intel_dsp_desc *chip = hda->desc; in cl_dsp_init_skl() 397 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in cl_skl_cldma_fill_buffer() local 405 hda->code_loading = 1; in cl_skl_cldma_fill_buffer() 421 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in cl_skl_cldma_wait_interruptible() local 422 const struct sof_intel_dsp_desc *chip = hda->desc; in cl_skl_cldma_wait_interruptible() 430 if (!wait_event_timeout(hda->waitq, !hda->code_loading, in cl_skl_cldma_wait_interruptible() 516 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_cl_boot_firmware_skl() local 517 const struct sof_intel_dsp_desc *chip = hda->desc; in hda_dsp_cl_boot_firmware_skl()
|
| H A D | mtl.c | 128 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in mtl_enable_ipc_interrupts() local 129 const struct sof_intel_dsp_desc *chip = hda->desc; in mtl_enable_ipc_interrupts() 142 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in mtl_disable_ipc_interrupts() local 143 const struct sof_intel_dsp_desc *chip = hda->desc; in mtl_disable_ipc_interrupts() 457 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in mtl_dsp_cl_init() local 458 const struct sof_intel_dsp_desc *chip = hda->desc; in mtl_dsp_cl_init() 474 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in mtl_dsp_cl_init() 486 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in mtl_dsp_cl_init() 498 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in mtl_dsp_cl_init() 535 if (hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS) in mtl_dsp_cl_init() [all …]
|
| H A D | hda-pcm.c | 108 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_pcm_hw_params() local 145 if (hda) in hda_dsp_pcm_hw_params() 146 platform_params->no_ipc_position = hda->no_ipc_position; in hda_dsp_pcm_hw_params() 193 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_pcm_pointer() local 204 if (hda && !hda->no_ipc_position) { in hda_dsp_pcm_pointer()
|
| H A D | icl.c | 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()
|
| /linux/sound/hda/common/ |
| H A D | Makefile | 2 snd-hda-codec-y := bind.o codec.o jack.o auto_parser.o sysfs.o 3 snd-hda-codec-y += controller.o 4 snd-hda-codec-$(CONFIG_SND_PROC_FS) += proc.o 6 snd-hda-codec-$(CONFIG_SND_HDA_HWDEP) += hwdep.o 7 snd-hda-codec-$(CONFIG_SND_HDA_INPUT_BEEP) += beep.o 13 obj-$(CONFIG_SND_HDA) := snd-hda-codec.o
|
| /linux/sound/hda/codecs/cirrus/ |
| H A D | Makefile | 4 snd-hda-codec-cs420x-y := cs420x.o 5 snd-hda-codec-cs421x-y := cs421x.o 6 snd-hda-codec-cs8409-y := cs8409.o cs8409-tables.o 8 obj-$(CONFIG_SND_HDA_CODEC_CS420X) += snd-hda-codec-cs420x.o 9 obj-$(CONFIG_SND_HDA_CODEC_CS421X) += snd-hda-codec-cs421x.o 10 obj-$(CONFIG_SND_HDA_CODEC_CS8409) += snd-hda-codec-cs8409.o
|
| /linux/sound/hda/core/ |
| H A D | Makefile | 2 snd-hda-core-y := hda_bus_type.o bus.o device.o sysfs.o \ 5 snd-hda-core-y += trace.o 9 snd-hda-core-$(CONFIG_SND_HDA_COMPONENT) += component.o 10 snd-hda-core-$(CONFIG_SND_HDA_I915) += i915.o 12 obj-$(CONFIG_SND_HDA_CORE) += snd-hda-core.o
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
| H A D | gp100.c | 43 .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()
|
| 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_or(struct nvkm_outp *outp, u8 user, bool hda) in nvkm_outp_acquire_or() argument 184 WARN_ON(hda && !ior->hda); in nvkm_outp_acquire_or() 192 if (!hda) { in nvkm_outp_acquire_or() 279 nvkm_outp_acquire(struct nvkm_outp *outp, bool hda) in nvkm_outp_acquire() argument 281 int ret = nvkm_outp_acquire_or(outp, NVKM_OUTP_USER, hda); in nvkm_outp_acquire()
|
| H A D | ior.c | 58 enum nvkm_ior_type type, int id, bool hda) in nvkm_ior_new_() argument 67 ior->hda = hda; in nvkm_ior_new_()
|
| H A D | gm200.c | 153 .hda = &gf119_sor_hda, 160 u32 hda; in gm200_sor_new() local 162 if (!((hda = nvkm_rd32(device, 0x08a15c)) & 0x40000000)) in gm200_sor_new() 163 hda = nvkm_rd32(device, 0x101034); in gm200_sor_new() 165 return nvkm_ior_new_(&gm200_sor, disp, SOR, id, hda & BIT(id)); in gm200_sor_new()
|
| /linux/sound/hda/ |
| H A D | Kconfig | 4 source "sound/hda/common/Kconfig" 5 source "sound/hda/controllers/Kconfig" 6 source "sound/hda/codecs/Kconfig" 7 source "sound/hda/core/Kconfig"
|