![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <stdint.h>
#include <console/console.h>
#include <device/device.h>
#include <device/smbus.h>
Go to the source code of this file.
Macros | |
#define | CHECK_PRESENCE(x) |
Functions | |
struct bus * | get_pbus_smbus (struct device *dev) |
int | smbus_block_read (struct device *dev, u8 cmd, u8 bytes, u8 *buffer) |
int | smbus_block_write (struct device *dev, u8 cmd, u8 bytes, const u8 *buffer) |
#define CHECK_PRESENCE | ( | x | ) |
Definition at line 19 of file smbus_ops.c.
Definition at line 8 of file smbus_ops.c.
References BIOS_ALERT, bus::dev, dev_path(), die(), i2c_link(), device::ops, device_operations::ops_smbus_bus, and printk.
Referenced by lsmbus_block_write(), lsmbus_read_byte(), lsmbus_recv_byte(), lsmbus_send_byte(), lsmbus_write_byte(), rtd2132_init(), smbus_block_read(), smbus_block_write(), and tas5825m_init().
Definition at line 26 of file smbus_ops.c.
References smbus_bus_operations::block_read, buffer, CHECK_PRESENCE, bus::dev, get_pbus_smbus(), and ops_smbus_bus().
Referenced by ck505_init(), and set_fsb_frequency().
Definition at line 34 of file smbus_ops.c.
References smbus_bus_operations::block_write, buffer, CHECK_PRESENCE, bus::dev, get_pbus_smbus(), and ops_smbus_bus().
Referenced by ck505_init(), and set_fsb_frequency().