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

Go to the source code of this file.

Functions

static const char * i2c_gpiomux_mux_acpi_name (const struct device *dev)
 
static void i2c_gpiomux_mux_fill_ssdt (const struct device *dev)
 
static void i2c_gpiomux_mux_enable (struct device *dev)
 

Variables

static struct device_operations i2c_gpiomux_mux_ops
 
struct chip_operations drivers_i2c_gpiomux_mux_ops
 

Function Documentation

◆ i2c_gpiomux_mux_acpi_name()

static const char* i2c_gpiomux_mux_acpi_name ( const struct device dev)
static

Definition at line 12 of file mux.c.

References ACPI_NAME_BUFFER_SIZE, device_path::generic, generic_path::id, name, device::path, and snprintf().

Here is the call graph for this function:

◆ i2c_gpiomux_mux_enable()

static void i2c_gpiomux_mux_enable ( struct device dev)
static

Definition at line 71 of file mux.c.

◆ i2c_gpiomux_mux_fill_ssdt()

Variable Documentation

◆ drivers_i2c_gpiomux_mux_ops

struct chip_operations drivers_i2c_gpiomux_mux_ops
Initial value:
= {
.enable_dev = i2c_gpiomux_mux_enable
}
static void i2c_gpiomux_mux_enable(struct device *dev)
Definition: mux.c:71

Definition at line 71 of file mux.c.

◆ i2c_gpiomux_mux_ops

struct device_operations i2c_gpiomux_mux_ops
static
Initial value:
= {
.read_resources = noop_read_resources,
.set_resources = noop_set_resources,
.scan_bus = scan_static_bus,
.acpi_fill_ssdt = i2c_gpiomux_mux_fill_ssdt,
}
static const char * i2c_gpiomux_mux_acpi_name(const struct device *dev)
Definition: mux.c:12
static void i2c_gpiomux_mux_fill_ssdt(const struct device *dev)
Definition: mux.c:20
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
void scan_static_bus(struct device *bus)
Definition: root_device.c:89

Definition at line 20 of file mux.c.