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_SSP3 ,
  AUDIO_LINK_SSP4 , AUDIO_LINK_SSP5 , AUDIO_LINK_DMIC
}
 

Functions

int nhlt_soc_add_dmic_array (struct nhlt *nhlt, int num_channels)
 
int nhlt_soc_add_max98357 (struct nhlt *nhlt, int hwlink)
 
int nhlt_soc_add_da7219 (struct nhlt *nhlt, int hwlink)
 
int nhlt_soc_add_rt5682 (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_SSP3 
AUDIO_LINK_SSP4 
AUDIO_LINK_SSP5 
AUDIO_LINK_DMIC 

Definition at line 14 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().

Here is the call 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 mainboard_write_acpi_tables().

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 mainboard_write_acpi_tables().

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

◆ nhlt_soc_add_rt5682()

int nhlt_soc_add_rt5682 ( struct nhlt nhlt,
int  hwlink 
)

Definition at line 246 of file nhlt.c.

References ARRAY_SIZE, nhlt_add_ssp_endpoints(), and rt5682_descriptors.

Referenced by variant_nhlt_init().

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