/openbmc/linux/sound/hda/ |
H A 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 …]
|
H A D | intel-dsp-config.c | 561 struct nhlt_acpi_table *nhlt; in snd_intel_dsp_find_config() local 567 nhlt = intel_nhlt_init(&pci->dev); in snd_intel_dsp_find_config() 568 if (!nhlt) { in snd_intel_dsp_find_config() 574 if (intel_nhlt_has_endpoint_type(nhlt, NHLT_LINK_SSP) && in snd_intel_dsp_find_config() 575 intel_nhlt_ssp_endpoint_mask(nhlt, NHLT_DEVICE_I2S)) in snd_intel_dsp_find_config() 578 intel_nhlt_free(nhlt); in snd_intel_dsp_find_config() 596 struct nhlt_acpi_table *nhlt; in snd_intel_dsp_check_dmic() local 599 nhlt = intel_nhlt_init(&pci->dev); in snd_intel_dsp_check_dmic() 600 if (nhlt) { in snd_intel_dsp_check_dmic() 601 if (intel_nhlt_has_endpoint_type(nhlt, NHLT_LINK_DMIC)) in snd_intel_dsp_check_dmic() [all …]
|
H A D | Makefile | 18 snd-intel-dspcfg-$(CONFIG_SND_INTEL_NHLT) += intel-nhlt.o
|
/openbmc/linux/sound/soc/intel/skylake/ |
H A 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 …]
|
H A D | skl.c | 512 skl->nhlt); in skl_find_machine() 627 if (!skl->nhlt) in skl_clock_device_register() 1023 skl->nhlt = intel_nhlt_init(bus->dev); in skl_probe() 1025 if (skl->nhlt == NULL) { in skl_probe() 1087 if (skl->nhlt) in skl_probe() 1088 intel_nhlt_free(skl->nhlt); in skl_probe() 1140 if (skl->nhlt) in skl_remove() 1141 intel_nhlt_free(skl->nhlt); in skl_remove()
|
H A D | Makefile | 2 snd-soc-skl-objs := skl.o skl-pcm.o skl-nhlt.o skl-messages.o skl-topology.o \
|
H A D | skl.h | 70 struct nhlt_acpi_table *nhlt; /* nhlt ptr */ member
|
H A 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() 1822 cfg = intel_nhlt_get_endpoint_blob(dai->dev, skl->nhlt, in skl_tplg_be_fill_pipe_params()
|
/openbmc/linux/include/sound/ |
H A 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); 139 int intel_nhlt_ssp_mclk_mask(struct nhlt_acpi_table *nhlt, int ssp_num); 142 intel_nhlt_get_endpoint_blob(struct device *dev, struct nhlt_acpi_table *nhlt, 158 struct nhlt_acpi_table *nhlt) in intel_nhlt_get_dmic_geo() argument 163 static inline bool intel_nhlt_has_endpoint_type(struct nhlt_acpi_table *nhlt, in intel_nhlt_has_endpoint_type() argument 169 static inline int intel_nhlt_ssp_endpoint_mask(struct nhlt_acpi_table *nhlt, u8 device_type) in intel_nhlt_ssp_endpoint_mask() argument 174 static inline int intel_nhlt_ssp_mclk_mask(struct nhlt_acpi_table *nhlt, int ssp_num) in intel_nhlt_ssp_mclk_mask() argument 180 intel_nhlt_get_endpoint_blob(struct device *dev, struct nhlt_acpi_table *nhlt, in intel_nhlt_get_endpoint_blob() argument
|
/openbmc/linux/sound/soc/sof/intel/ |
H A D | hda.c | 865 struct nhlt_acpi_table *nhlt; in check_dmic_num() local 868 nhlt = hdev->nhlt; in check_dmic_num() 869 if (nhlt) in check_dmic_num() 870 dmic_num = intel_nhlt_get_dmic_geo(sdev->dev, nhlt); in check_dmic_num() 891 struct nhlt_acpi_table *nhlt; in check_nhlt_ssp_mask() local 894 nhlt = hdev->nhlt; in check_nhlt_ssp_mask() 895 if (!nhlt) in check_nhlt_ssp_mask() 898 if (intel_nhlt_has_endpoint_type(nhlt, NHLT_LINK_SSP)) { in check_nhlt_ssp_mask() 899 ssp_mask = intel_nhlt_ssp_endpoint_mask(nhlt, NHLT_DEVICE_I2S); in check_nhlt_ssp_mask() 910 struct nhlt_acpi_table *nhlt; in check_nhlt_ssp_mclk_mask() local [all …]
|
H A D | hda-dai.c | 613 ipc4_data->nhlt = intel_nhlt_init(sdev->dev); in hda_set_dai_drv_ops() 623 intel_nhlt_free(ipc4_data->nhlt); in hda_ops_free()
|
H A D | hda.h | 528 struct nhlt_acpi_table *nhlt; member
|
/openbmc/linux/sound/soc/intel/avs/ |
H A D | board_selection.c | 428 if (!adev->nhlt || in avs_register_dmic_board() 429 !intel_nhlt_has_endpoint_type(adev->nhlt, NHLT_LINK_DMIC)) { in avs_register_dmic_board() 517 if (!adev->nhlt || !intel_nhlt_has_endpoint_type(adev->nhlt, NHLT_LINK_SSP)) { in avs_register_i2s_boards()
|
H A D | core.c | 214 adev->nhlt = intel_nhlt_init(adev->dev); in avs_hda_probe_work() 215 if (!adev->nhlt) in avs_hda_probe_work() 519 if (adev->nhlt) in avs_pci_remove() 520 intel_nhlt_free(adev->nhlt); in avs_pci_remove()
|
H A D | path.c | 146 struct nhlt_acpi_table *nhlt = adev->nhlt; in avs_copier_create() local 178 nhlt, t->cfg_ext->copier.vindex.i2s.instance, in avs_copier_create() 202 ep_blob = intel_nhlt_get_endpoint_blob(adev->dev, nhlt, 0, in avs_copier_create()
|
H A D | avs.h | 149 struct nhlt_acpi_table *nhlt; member
|
/openbmc/linux/sound/soc/sof/ |
H A D | ipc4-priv.h | 79 void *nhlt; member
|
H A D | ipc4-topology.c | 1371 cfg = intel_nhlt_get_endpoint_blob(sdev->dev, ipc4_data->nhlt, dai_index, nhlt_type, in snd_sof_get_nhlt_endpoint_data() 2857 if (ipc4_data->nhlt) in sof_ipc4_parse_manifest() 2859 ipc4_data->nhlt = devm_kmemdup(sdev->dev, manifest_tlv->data, in sof_ipc4_parse_manifest() 2861 if (!ipc4_data->nhlt) in sof_ipc4_parse_manifest()
|
/openbmc/openbmc/poky/meta/recipes-multimedia/alsa/ |
H A D | alsa-utils_1.2.13.bb | 86 FILES:alsa-utils-nhltdmicinfo = "${bindir}/nhlt-dmic-info"
|
/openbmc/linux/ |
H A D | opengrok2.0.log | [all...] |
H A D | opengrok0.0.log | [all...] |