| /OK3568_Linux_fs/kernel/drivers/gpu/drm/sti/ |
| H A D | sti_hda.c | 258 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 …]
|
| H A D | sti_tvout.c | 118 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()
|
| /OK3568_Linux_fs/kernel/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 | 92 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 …]
|
| H A D | hda_intel.c | 652 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); in azx_position_check() local 662 schedule_work(&hda->irq_pending_work); in azx_position_check() 751 struct hda_intel *hda = container_of(work, struct hda_intel, irq_pending_work); in azx_irq_pending_work() local 752 struct azx *chip = &hda->chip; in azx_irq_pending_work() 757 if (!hda->irq_pending_warned) { in azx_irq_pending_work() 761 hda->irq_pending_warned = 1; in azx_irq_pending_work() 941 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); in azx_add_card_list() local 943 list_add(&hda->list, &card_list); in azx_add_card_list() 949 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); in azx_del_card_list() local 951 list_del_init(&hda->list); in azx_del_card_list() [all …]
|
| H A D | Kconfig | 27 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 …]
|
| /OK3568_Linux_fs/kernel/sound/soc/sof/intel/ |
| H A D | Makefile | 8 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
|
| 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 *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 …]
|
| H A D | hda-dsp.c | 249 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 …]
|
| H A D | hda-loader.c | 88 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()
|
| H A D | hda-pcm.c | 91 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()
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/ |
| H A D | nvidia,tegra30-hda.txt | 4 - 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 …]
|
| /OK3568_Linux_fs/kernel/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
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
| H A D | sorgp100.c | 48 .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()
|
| H A D | outp.c | 117 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()
|
| H A D | sorgv100.c | 103 .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()
|
| H A D | sorgm200.c | 115 .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()
|
| H A D | sortu102.c | 88 .hda = { 125 u32 hda = nvkm_rd32(device, 0x08a15c); in tu102_sor_new() local 126 if (hda & BIT(id)) in tu102_sor_new()
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/qemu/qemu/ |
| H A D | CVE-2021-3611_2.patch | 4 Subject: [PATCH] hw/audio/intel-hda: Restrict DMA engine to memories (not MMIO 26 hw/audio/intel-hda.c | 2 +- 29 diff --git a/hw/audio/intel-hda.c b/hw/audio/intel-hda.c 31 --- a/hw/audio/intel-hda.c 32 +++ b/hw/audio/intel-hda.c
|
| H A D | CVE-2021-3611_1.patch | 4 Subject: [PATCH] hw/audio/intel-hda: Do not ignore DMA overrun errors 42 hw/audio/intel-hda.c | 9 +++++++-- 45 diff --git a/hw/audio/intel-hda.c b/hw/audio/intel-hda.c 47 --- a/hw/audio/intel-hda.c 48 +++ b/hw/audio/intel-hda.c
|
| H A D | 0010_let_pci_dma_rw_function_take_MemTxAttrs_argument.patch | 21 hw/audio/intel-hda.c | 3 ++- 26 diff --git a/hw/audio/intel-hda.c b/hw/audio/intel-hda.c 28 --- a/hw/audio/intel-hda.c 29 +++ b/hw/audio/intel-hda.c
|
| /OK3568_Linux_fs/kernel/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 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 …]
|
| /OK3568_Linux_fs/buildroot/package/makedevs/ |
| H A D | README | 15 minors. For example, if I wanted to create /dev/hda and 16 /dev/hda[0-15] I could just use the following two table entries: 18 /dev/hda b 640 0 0 3 0 0 0 - 19 /dev/hda b 640 0 0 3 1 1 1 15
|
| /OK3568_Linux_fs/buildroot/docs/manual/ |
| H A D | makedev-syntax.txt | 59 On the other hand, if you want to create the device file +/dev/hda+ 61 +/dev/hda+: 64 /dev/hda b 640 root root 3 0 0 0 - 68 +/dev/hda+, +/dev/hdaX+, +X+ ranging from 1 to 15: 71 /dev/hda b 640 root root 3 1 1 1 15
|
| /OK3568_Linux_fs/kernel/sound/hda/ext/ |
| H A D | Makefile | 2 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
|