coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
generic.c File Reference
#include <acpi/acpi_device.h>
#include <acpi/acpigen.h>
#include <console/console.h>
#include <device/i2c_simple.h>
#include <device/device.h>
#include <device/path.h>
#include <gpio.h>
#include <string.h>
#include "chip.h"
Include dependency graph for generic.c:

Go to the source code of this file.

Functions

static void i2c_generic_enable (struct device *dev)
 

Variables

static struct device_operations i2c_generic_ops
 
struct chip_operations drivers_i2c_generic_ops
 

Function Documentation

◆ i2c_generic_enable()

static void i2c_generic_enable ( struct device dev)
static

Definition at line 189 of file generic.c.

Variable Documentation

◆ drivers_i2c_generic_ops

struct chip_operations drivers_i2c_generic_ops
Initial value:
= {
.enable_dev = i2c_generic_enable
}
static void i2c_generic_enable(struct device *dev)
Definition: generic.c:189

Definition at line 189 of file generic.c.

Referenced by audio_codec_device_update(), variant_devtree_update(), and variant_touchscreen_update().

◆ i2c_generic_ops

struct device_operations i2c_generic_ops
static
Initial value:
= {
.read_resources = noop_read_resources,
.set_resources = noop_set_resources,
}
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 1 of file generic.c.