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

Go to the source code of this file.

Functions

int tas5825m_write_at (struct device *dev, uint8_t addr, uint8_t value)
 
int tas5825m_write_block_at (struct device *dev, uint8_t addr, const uint8_t *values, uint8_t length)
 
int tas5825m_set_page (struct device *dev, uint8_t page)
 
int tas5825m_set_book (struct device *dev, uint8_t book)
 
int tas5825m_setup (struct device *dev, int id)
 

Function Documentation

◆ tas5825m_set_book()

int tas5825m_set_book ( struct device dev,
uint8_t  book 
)

Definition at line 32 of file tas5825m.c.

References tas5825m_set_page(), and tas5825m_write_at().

Referenced by program_biquad_filters(), program_dsp_ram(), and tas5825m_setup().

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

◆ tas5825m_set_page()

int tas5825m_set_page ( struct device dev,
uint8_t  page 
)

Definition at line 27 of file tas5825m.c.

References tas5825m_write_at().

Referenced by program_biquad_filters(), program_dsp_ram(), tas5825m_set_book(), and tas5825m_setup().

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

◆ tas5825m_setup()

int tas5825m_setup ( struct device dev,
int  id 
)

Definition at line 40 of file tas5825m.c.

References ARRAY_SIZE, BIOS_ERR, mdelay(), printk, program_biquad_filters(), program_dsp_ram(), tas5825m_set_book(), tas5825m_set_page(), tas5825m_write_at(), and tas5825m_write_block_at().

Referenced by tas5825m_init().

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

◆ tas5825m_write_at()

int tas5825m_write_at ( struct device dev,
uint8_t  addr,
uint8_t  value 
)

Definition at line 9 of file tas5825m.c.

References addr, smbus_write_byte(), and value.

Referenced by tas5825m_set_book(), tas5825m_set_page(), and tas5825m_setup().

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

◆ tas5825m_write_block_at()

int tas5825m_write_block_at ( struct device dev,
uint8_t  addr,
const uint8_t values,
uint8_t  length 
)

Definition at line 15 of file tas5825m.c.

References addr, length, and smbus_write_byte().

Referenced by program_biquad_filters(), program_dsp_ram(), and tas5825m_setup().

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