coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
cbi_ssfc.c File Reference
Include dependency graph for cbi_ssfc.c:

Go to the source code of this file.

Functions

static int get_ssfc (uint32_t *val)
 
static unsigned int extract_field (uint32_t mask, int shift)
 
static enum ssfc_audio_codec ssfc_get_default_audio_codec (void)
 
enum ssfc_audio_codec ssfc_get_audio_codec (void)
 

Function Documentation

◆ extract_field()

static unsigned int extract_field ( uint32_t  mask,
int  shift 
)
static

Definition at line 37 of file cbi_ssfc.c.

References get_ssfc(), and mask.

Here is the call graph for this function:

◆ get_ssfc()

static int get_ssfc ( uint32_t val)
static

Definition at line 7 of file cbi_ssfc.c.

References BIOS_DEBUG, BIOS_INFO, google_chromeec_cbi_get_ssfc(), printk, and val.

Referenced by extract_field().

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

◆ ssfc_get_audio_codec()

enum ssfc_audio_codec ssfc_get_audio_codec ( void  )

Definition at line 37 of file cbi_ssfc.c.

Referenced by audio_codec_device_update(), gpio_modification_by_ssfc(), and variant_nhlt_init().

Here is the caller graph for this function:

◆ ssfc_get_default_audio_codec()

static enum ssfc_audio_codec ssfc_get_default_audio_codec ( void  )
static

Definition at line 37 of file cbi_ssfc.c.