#include <linux/acpi.h>
#include <sound/intel-nhlt.h>
struct nhlt_acpi_table *intel_nhlt_init(struct device *dev)
{ … }
EXPORT_SYMBOL_GPL(…);
void intel_nhlt_free(struct nhlt_acpi_table *nhlt)
{ … }
EXPORT_SYMBOL_GPL(…);
int intel_nhlt_get_dmic_geo(struct device *dev, struct nhlt_acpi_table *nhlt)
{ … }
EXPORT_SYMBOL_GPL(…);
bool intel_nhlt_has_endpoint_type(struct nhlt_acpi_table *nhlt, u8 link_type)
{ … }
EXPORT_SYMBOL(…);
int intel_nhlt_ssp_endpoint_mask(struct nhlt_acpi_table *nhlt, u8 device_type)
{ … }
EXPORT_SYMBOL(…);
#define SSP_BLOB_V1_0_SIZE …
#define SSP_BLOB_V1_0_MDIVC_OFFSET …
#define SSP_BLOB_V1_5_SIZE …
#define SSP_BLOB_V1_5_MDIVC_OFFSET …
#define SSP_BLOB_VER_1_5 …
#define SSP_BLOB_V2_0_SIZE …
#define SSP_BLOB_V2_0_MDIVC_OFFSET …
#define SSP_BLOB_VER_2_0 …
int intel_nhlt_ssp_mclk_mask(struct nhlt_acpi_table *nhlt, int ssp_num)
{ … }
EXPORT_SYMBOL(…);
static struct nhlt_specific_cfg *
nhlt_get_specific_cfg(struct device *dev, struct nhlt_fmt *fmt, u8 num_ch,
u32 rate, u8 vbps, u8 bps, bool ignore_vbps)
{ … }
static bool nhlt_check_ep_match(struct device *dev, struct nhlt_endpoint *epnt,
u32 bus_id, u8 link_type, u8 dir, u8 dev_type)
{ … }
struct nhlt_specific_cfg *
intel_nhlt_get_endpoint_blob(struct device *dev, struct nhlt_acpi_table *nhlt,
u32 bus_id, u8 link_type, u8 vbps, u8 bps,
u8 num_ch, u32 rate, u8 dir, u8 dev_type)
{ … }
EXPORT_SYMBOL(…);
int intel_nhlt_ssp_device_type(struct device *dev, struct nhlt_acpi_table *nhlt,
u8 virtual_bus_id)
{ … }
EXPORT_SYMBOL(…);