Home
last modified time | relevance | path

Searched refs:nhlt (Results 1 – 15 of 15) sorted by relevance

/linux-5.19.10/sound/hda/
Dintel-nhlt.c9 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 …]
Dintel-dsp-config.c479 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()
DMakefile18 snd-intel-dspcfg-$(CONFIG_SND_INTEL_NHLT) += intel-nhlt.o
/linux-5.19.10/sound/soc/intel/skylake/
Dskl-nhlt.c33 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 …]
Dskl.c521 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()
DMakefile2 snd-soc-skl-objs := skl.o skl-pcm.o skl-nhlt.o skl-messages.o skl-topology.o \
Dskl.h70 struct nhlt_acpi_table *nhlt; /* nhlt ptr */ member
Dskl-topology.c331 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/
Dintel-nhlt.h133 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/
Dhda.c603 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 …]
Dhda.h458 struct nhlt_acpi_table *nhlt; member
/linux-5.19.10/sound/soc/intel/avs/
Dboard_selection.c278 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()
Dcore.c209 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()
Dpath.c145 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()
Davs.h134 struct nhlt_acpi_table *nhlt; member