/linux-5.19.10/sound/hda/ |
D | intel-nhlt.c | 9 struct nhlt_acpi_table *nhlt; in intel_nhlt_init() local 13 (struct acpi_table_header **)&nhlt); in intel_nhlt_init() 19 return nhlt; in intel_nhlt_init() 23 void intel_nhlt_free(struct nhlt_acpi_table *nhlt) in intel_nhlt_free() argument 25 acpi_put_table((struct acpi_table_header *)nhlt); in intel_nhlt_free() 29 int intel_nhlt_get_dmic_geo(struct device *dev, struct nhlt_acpi_table *nhlt) in intel_nhlt_get_dmic_geo() argument 39 if (!nhlt) in intel_nhlt_get_dmic_geo() 42 if (nhlt->header.length <= sizeof(struct acpi_table_header)) { in intel_nhlt_get_dmic_geo() 47 for (j = 0, epnt = nhlt->desc; j < nhlt->endpoint_count; j++, in intel_nhlt_get_dmic_geo() 119 bool intel_nhlt_has_endpoint_type(struct nhlt_acpi_table *nhlt, u8 link_type) in intel_nhlt_has_endpoint_type() argument [all …]
|
D | intel-dsp-config.c | 479 struct nhlt_acpi_table *nhlt; in snd_intel_dsp_check_dmic() local 482 nhlt = intel_nhlt_init(&pci->dev); in snd_intel_dsp_check_dmic() 483 if (nhlt) { in snd_intel_dsp_check_dmic() 484 if (intel_nhlt_has_endpoint_type(nhlt, NHLT_LINK_DMIC)) in snd_intel_dsp_check_dmic() 486 intel_nhlt_free(nhlt); in snd_intel_dsp_check_dmic()
|
D | Makefile | 18 snd-intel-dspcfg-$(CONFIG_SND_INTEL_NHLT) += intel-nhlt.o
|
/linux-5.19.10/sound/soc/intel/skylake/ |
D | skl-nhlt.c | 33 struct nhlt_acpi_table *nhlt = (struct nhlt_acpi_table *)skl->nhlt; in skl_nhlt_update_topology_bin() local 38 nhlt->header.oem_id, nhlt->header.oem_table_id, in skl_nhlt_update_topology_bin() 39 nhlt->header.oem_revision); in skl_nhlt_update_topology_bin() 42 skl->pci_id, nhlt->header.oem_id, nhlt->header.oem_table_id, in skl_nhlt_update_topology_bin() 43 nhlt->header.oem_revision, "-tplg.bin"); in skl_nhlt_update_topology_bin() 56 struct nhlt_acpi_table *nhlt = (struct nhlt_acpi_table *)skl->nhlt; in platform_id_show() local 60 nhlt->header.oem_id, nhlt->header.oem_table_id, in platform_id_show() 61 nhlt->header.oem_revision); in platform_id_show() 83 if (skl->nhlt) in skl_nhlt_remove_sysfs() 250 struct nhlt_acpi_table *nhlt = (struct nhlt_acpi_table *)skl->nhlt; in skl_get_clks() local [all …]
|
D | skl.c | 521 skl->nhlt); in skl_find_machine() 636 if (!skl->nhlt) in skl_clock_device_register() 1013 skl->nhlt = intel_nhlt_init(bus->dev); in skl_probe() 1015 if (skl->nhlt == NULL) { in skl_probe() 1077 if (skl->nhlt) in skl_probe() 1078 intel_nhlt_free(skl->nhlt); in skl_probe() 1127 if (skl->nhlt) in skl_remove() 1128 intel_nhlt_free(skl->nhlt); in skl_remove()
|
D | Makefile | 2 snd-soc-skl-objs := skl.o skl-pcm.o skl-nhlt.o skl-messages.o skl-topology.o \
|
D | skl.h | 70 struct nhlt_acpi_table *nhlt; /* nhlt ptr */ member
|
D | skl-topology.c | 331 cfg = intel_nhlt_get_endpoint_blob(skl->dev, skl->nhlt, m_cfg->vbus_id, in skl_tplg_update_be_blob() 1856 cfg = intel_nhlt_get_endpoint_blob(dai->dev, skl->nhlt, in skl_tplg_be_fill_pipe_params()
|
/linux-5.19.10/include/sound/ |
D | intel-nhlt.h | 133 int intel_nhlt_get_dmic_geo(struct device *dev, struct nhlt_acpi_table *nhlt); 135 bool intel_nhlt_has_endpoint_type(struct nhlt_acpi_table *nhlt, u8 link_type); 137 int intel_nhlt_ssp_endpoint_mask(struct nhlt_acpi_table *nhlt, u8 device_type); 140 intel_nhlt_get_endpoint_blob(struct device *dev, struct nhlt_acpi_table *nhlt, 156 struct nhlt_acpi_table *nhlt) in intel_nhlt_get_dmic_geo() argument 161 static inline bool intel_nhlt_has_endpoint_type(struct nhlt_acpi_table *nhlt, in intel_nhlt_has_endpoint_type() argument 167 static inline int intel_nhlt_ssp_endpoint_mask(struct nhlt_acpi_table *nhlt, u8 device_type) in intel_nhlt_ssp_endpoint_mask() argument 173 intel_nhlt_get_endpoint_blob(struct device *dev, struct nhlt_acpi_table *nhlt, in intel_nhlt_get_endpoint_blob() argument
|
/linux-5.19.10/sound/soc/sof/intel/ |
D | hda.c | 603 struct nhlt_acpi_table *nhlt; in check_dmic_num() local 606 nhlt = hdev->nhlt; in check_dmic_num() 607 if (nhlt) in check_dmic_num() 608 dmic_num = intel_nhlt_get_dmic_geo(sdev->dev, nhlt); in check_dmic_num() 629 struct nhlt_acpi_table *nhlt; in check_nhlt_ssp_mask() local 632 nhlt = hdev->nhlt; in check_nhlt_ssp_mask() 633 if (!nhlt) in check_nhlt_ssp_mask() 636 if (intel_nhlt_has_endpoint_type(nhlt, NHLT_LINK_SSP)) { in check_nhlt_ssp_mask() 637 ssp_mask = intel_nhlt_ssp_endpoint_mask(nhlt, NHLT_DEVICE_I2S); in check_nhlt_ssp_mask() 1001 hdev->nhlt = intel_nhlt_init(sdev->dev); in hda_dsp_probe() [all …]
|
D | hda.h | 458 struct nhlt_acpi_table *nhlt; member
|
/linux-5.19.10/sound/soc/intel/avs/ |
D | board_selection.c | 278 if (!adev->nhlt || in avs_register_dmic_board() 279 !intel_nhlt_has_endpoint_type(adev->nhlt, NHLT_LINK_DMIC)) { in avs_register_dmic_board() 367 if (!adev->nhlt || !intel_nhlt_has_endpoint_type(adev->nhlt, NHLT_LINK_SSP)) { in avs_register_i2s_boards()
|
D | core.c | 209 adev->nhlt = intel_nhlt_init(adev->dev); in avs_hda_probe_work() 210 if (!adev->nhlt) in avs_hda_probe_work() 493 if (adev->nhlt) in avs_pci_remove() 494 intel_nhlt_free(adev->nhlt); in avs_pci_remove()
|
D | path.c | 145 struct nhlt_acpi_table *nhlt = adev->nhlt; in avs_copier_create() local 177 nhlt, t->cfg_ext->copier.vindex.i2s.instance, in avs_copier_create() 201 ep_blob = intel_nhlt_get_endpoint_blob(adev->dev, nhlt, 0, in avs_copier_create()
|
D | avs.h | 134 struct nhlt_acpi_table *nhlt; member
|