coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ssm4567.c File Reference
#include <soc/nhlt.h>
Include dependency graph for ssm4567.c:

Go to the source code of this file.

Functions

int nhlt_soc_add_ssm4567 (struct nhlt *nhlt, int hwlink)
 

Variables

static const struct nhlt_format_config ssm4567_render_formats []
 
static const struct nhlt_format_config ssm4567_capture_formats []
 
static const struct nhlt_endp_descriptor ssm4567_descriptors []
 

Function Documentation

◆ 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:

Variable Documentation

◆ ssm4567_capture_formats

const struct nhlt_format_config ssm4567_capture_formats[]
static
Initial value:
= {
{
.num_channels = 4,
.sample_freq_khz = 48,
.container_bits_per_sample = 32,
.valid_bits_per_sample = 32,
.settings_file = "ssm4567-capture-4ch-48khz-32b.bin",
},
}

Definition at line 1 of file ssm4567.c.

◆ ssm4567_descriptors

const struct nhlt_endp_descriptor ssm4567_descriptors[]
static
Initial value:
= {
{
.link = NHLT_LINK_SSP,
.device = NHLT_SSP_DEV_I2S,
.direction = NHLT_DIR_RENDER,
.vid = NHLT_VID,
.did = NHLT_DID_SSP,
},
{
.link = NHLT_LINK_SSP,
.device = NHLT_SSP_DEV_I2S,
.direction = NHLT_DIR_CAPTURE,
.vid = NHLT_VID,
.did = NHLT_DID_SSP,
},
}
#define ARRAY_SIZE(a)
Definition: helpers.h:12
@ NHLT_LINK_SSP
Definition: nhlt.h:176
@ NHLT_SSP_DEV_I2S
Definition: nhlt.h:185
@ NHLT_DIR_RENDER
Definition: nhlt.h:195
@ NHLT_DIR_CAPTURE
Definition: nhlt.h:196
#define NHLT_DID_SSP
Definition: nhlt.h:11
#define NHLT_VID
Definition: nhlt.h:8
static const struct nhlt_format_config ssm4567_capture_formats[]
Definition: ssm4567.c:18
static const struct nhlt_format_config ssm4567_render_formats[]
Definition: ssm4567.c:5

Definition at line 1 of file ssm4567.c.

Referenced by nhlt_soc_add_ssm4567().

◆ ssm4567_render_formats

const struct nhlt_format_config ssm4567_render_formats[]
static
Initial value:
= {
{
.num_channels = 2,
.sample_freq_khz = 48,
.container_bits_per_sample = 32,
.valid_bits_per_sample = 24,
.settings_file = "ssm4567-render-2ch-48khz-24b.bin",
},
}
@ SPEAKER_FRONT_LEFT
Definition: nhlt.h:203
@ SPEAKER_FRONT_RIGHT
Definition: nhlt.h:204

Definition at line 1 of file ssm4567.c.