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

Go to the source code of this file.

Macros

#define SMBUS_BLOCK_SIZE   32
 

Functions

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

Variables

static struct device_operations ck505_operations
 
struct chip_operations drivers_i2c_ck505_ops
 

Macro Definition Documentation

◆ SMBUS_BLOCK_SIZE

#define SMBUS_BLOCK_SIZE   32

Definition at line 9 of file ck505.c.

Function Documentation

◆ ck505_init()

static void ck505_init ( struct device dev)
static

◆ enable_dev()

static void enable_dev ( struct device dev)
static

Definition at line 52 of file ck505.c.

Variable Documentation

◆ ck505_operations

struct device_operations ck505_operations
static
Initial value:
= {
.read_resources = noop_read_resources,
.set_resources = noop_set_resources,
.init = ck505_init,
}
static void ck505_init(struct device *dev)
Definition: ck505.c:11
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 11 of file ck505.c.

◆ drivers_i2c_ck505_ops

struct chip_operations drivers_i2c_ck505_ops
Initial value:
= {
.enable_dev = enable_dev,
}
static void enable_dev(struct device *dev)
Definition: ck505.c:52

Definition at line 52 of file ck505.c.