coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
nhlt.h File Reference
#include <nhlt.h>
Include dependency graph for nhlt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NHLT_VID   0x8086
 
#define NHLT_DID_DMIC   0xae20
 
#define NHLT_DID_BT   0xae30
 
#define NHLT_DID_SSP   0xae34
 

Enumerations

enum  { AUDIO_LINK_SSP0 , AUDIO_LINK_SSP1 , AUDIO_LINK_SSP2 , AUDIO_LINK_DMIC }
 

Functions

int nhlt_soc_add_dmic_array (struct nhlt *nhlt, int num_channels)
 
int nhlt_soc_add_nau88l25 (struct nhlt *nhlt, int hwlink)
 
int nhlt_soc_add_ssm4567 (struct nhlt *nhlt, int hwlink)
 
int nhlt_soc_add_max98357 (struct nhlt *nhlt, int hwlink)
 
int nhlt_soc_add_max98373 (struct nhlt *nhlt, int hwlink)
 
int nhlt_soc_add_rt5514 (struct nhlt *nhlt, int hwlink, int num_channels)
 
int nhlt_soc_add_rt5663 (struct nhlt *nhlt, int hwlink)
 
int nhlt_soc_add_max98927 (struct nhlt *nhlt, int hwlink)
 
int nhlt_soc_add_da7219 (struct nhlt *nhlt, int hwlink)
 

Macro Definition Documentation

◆ NHLT_DID_BT

#define NHLT_DID_BT   0xae30

Definition at line 10 of file nhlt.h.

◆ NHLT_DID_DMIC

#define NHLT_DID_DMIC   0xae20

Definition at line 9 of file nhlt.h.

◆ NHLT_DID_SSP

#define NHLT_DID_SSP   0xae34

Definition at line 11 of file nhlt.h.

◆ NHLT_VID

#define NHLT_VID   0x8086

Definition at line 8 of file nhlt.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
AUDIO_LINK_SSP0 
AUDIO_LINK_SSP1 
AUDIO_LINK_SSP2 
AUDIO_LINK_DMIC 

Definition at line 18 of file nhlt.h.

Function Documentation

◆ nhlt_soc_add_da7219()

int nhlt_soc_add_da7219 ( struct nhlt nhlt,
int  hwlink 
)

Definition at line 232 of file nhlt.c.

References ARRAY_SIZE, da7219_descriptors, and nhlt_add_ssp_endpoints().

Referenced by variant_nhlt_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nhlt_soc_add_dmic_array()

int nhlt_soc_add_dmic_array ( struct nhlt nhlt,
int  num_channels 
)

Definition at line 168 of file nhlt.c.

References ARRAY_SIZE, dmic_1ch_descriptors, dmic_2ch_descriptors, dmic_4ch_descriptors, and nhlt_add_endpoints().

Referenced by variant_nhlt_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nhlt_soc_add_max98357()

int nhlt_soc_add_max98357 ( struct nhlt nhlt,
int  hwlink 
)

Definition at line 239 of file nhlt.c.

References ARRAY_SIZE, max98357_descriptors, and nhlt_add_ssp_endpoints().

Referenced by variant_nhlt_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nhlt_soc_add_max98373()

int nhlt_soc_add_max98373 ( struct nhlt nhlt,
int  hwlink 
)

Definition at line 253 of file nhlt.c.

References ARRAY_SIZE, max98373_descriptors, and nhlt_add_ssp_endpoints().

Referenced by variant_nhlt_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nhlt_soc_add_max98927()

int nhlt_soc_add_max98927 ( struct nhlt nhlt,
int  hwlink 
)

Definition at line 59 of file max98927.c.

References ARRAY_SIZE, max98927_descriptors, and nhlt_add_ssp_endpoints().

Referenced by mainboard_write_acpi_tables(), and variant_nhlt_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nhlt_soc_add_nau88l25()

int nhlt_soc_add_nau88l25 ( struct nhlt nhlt,
int  hwlink 
)

Definition at line 53 of file nau88l25.c.

References ARRAY_SIZE, nau88l25_descriptors, and nhlt_add_ssp_endpoints().

Referenced by mainboard_write_acpi_tables().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nhlt_soc_add_rt5514()

int nhlt_soc_add_rt5514 ( struct nhlt nhlt,
int  hwlink,
int  num_channels 
)

Definition at line 39 of file rt5514.c.

References ARRAY_SIZE, nhlt_add_ssp_endpoints(), and rt5514_4ch_descriptors.

Referenced by mainboard_write_acpi_tables().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nhlt_soc_add_rt5663()

int nhlt_soc_add_rt5663 ( struct nhlt nhlt,
int  hwlink 
)

Definition at line 57 of file rt5663.c.

References ARRAY_SIZE, nhlt_add_ssp_endpoints(), and rt5663_descriptors.

Referenced by mainboard_write_acpi_tables(), and variant_nhlt_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nhlt_soc_add_ssm4567()

int nhlt_soc_add_ssm4567 ( struct nhlt nhlt,
int  hwlink 
)

Definition at line 52 of file ssm4567.c.

References ARRAY_SIZE, nhlt_add_ssp_endpoints(), and ssm4567_descriptors.

Referenced by mainboard_write_acpi_tables().

Here is the call graph for this function:
Here is the caller graph for this function: