![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <console/console.h>
#include <device/smbus.h>
#include <device/pci.h>
#include "chip.h"
#include "tas5825m.h"
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) |
__weak int | tas5825m_setup (struct device *dev, int id) |
static void | tas5825m_init (struct device *dev) |
static void | tas5825m_enable_dev (struct device *dev) |
Variables | |
static struct device_operations | tas5825m_operations |
struct chip_operations | drivers_i2c_tas5825m_ops |
Definition at line 72 of file tas5825m.c.
Definition at line 46 of file tas5825m.c.
References BIOS_DEBUG, BIOS_ERR, device::chip_info, config, dev_path(), DEVICE_PATH_I2C, device::enabled, get_pbus_smbus(), ops_smbus_bus(), device::path, printk, tas5825m_setup(), and device_path::type.
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().
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().
Definition at line 40 of file tas5825m.c.
References BIOS_ERR, and printk.
Referenced by tas5825m_init().
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().
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().
struct chip_operations drivers_i2c_tas5825m_ops |
Definition at line 72 of file tas5825m.c.
|
static |
Definition at line 46 of file tas5825m.c.