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

Go to the source code of this file.

Functions

static void at24rf08c_init (struct device *dev)
 
static void enable_dev (struct device *dev)
 

Variables

static struct device_operations at24rf08c_operations
 
struct chip_operations drivers_i2c_at24rf08c_ops
 

Function Documentation

◆ at24rf08c_init()

static void at24rf08c_init ( struct device dev)
static

Definition at line 7 of file at24rf08c.c.

References BIOS_DEBUG, i2c_path::device, DEVICE_PATH_I2C, device::enabled, device_path::i2c, device::path, printk, smbus_write_byte(), and device_path::type.

Here is the call graph for this function:

◆ enable_dev()

static void enable_dev ( struct device dev)
static

Definition at line 38 of file at24rf08c.c.

Variable Documentation

◆ at24rf08c_operations

struct device_operations at24rf08c_operations
static
Initial value:
= {
.read_resources = noop_read_resources,
.set_resources = noop_set_resources,
.init = at24rf08c_init,
}
static void at24rf08c_init(struct device *dev)
Definition: at24rf08c.c:7
static void noop_read_resources(struct device *dev)
Standard device operations function pointers shims.
Definition: device.h:73
static void noop_set_resources(struct device *dev)
Definition: device.h:74

Definition at line 7 of file at24rf08c.c.

◆ drivers_i2c_at24rf08c_ops

struct chip_operations drivers_i2c_at24rf08c_ops
Initial value:
= {
.enable_dev = enable_dev,
}
static void enable_dev(struct device *dev)
Definition: at24rf08c.c:38

Definition at line 38 of file at24rf08c.c.