coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
max98927.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 "chip.h"
Include dependency graph for max98927.c:

Go to the source code of this file.

Macros

#define MAX98927_ACPI_NAME   "MAXI"
 
#define MAX98927_ACPI_HID   "MX98927"
 

Functions

static void max98927_fill_ssdt (const struct device *dev)
 
static const char * max98927_acpi_name (const struct device *dev)
 
static void max98927_enable (struct device *dev)
 

Variables

static struct device_operations max98927_ops
 
struct chip_operations drivers_i2c_max98927_ops
 

Macro Definition Documentation

◆ MAX98927_ACPI_HID

#define MAX98927_ACPI_HID   "MX98927"

Definition at line 12 of file max98927.c.

◆ MAX98927_ACPI_NAME

#define MAX98927_ACPI_NAME   "MAXI"

Definition at line 11 of file max98927.c.

Function Documentation

◆ max98927_acpi_name()

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

Definition at line 60 of file max98927.c.

References device::chip_info, config, and MAX98927_ACPI_NAME.

◆ max98927_enable()

static void max98927_enable ( struct device dev)
static

Definition at line 77 of file max98927.c.

◆ max98927_fill_ssdt()

Variable Documentation

◆ drivers_i2c_max98927_ops

struct chip_operations drivers_i2c_max98927_ops
Initial value:
= {
.enable_dev = max98927_enable
}
static void max98927_enable(struct device *dev)
Definition: max98927.c:77

Definition at line 77 of file max98927.c.

◆ max98927_ops

struct device_operations max98927_ops
static
Initial value:
= {
.read_resources = noop_read_resources,
.set_resources = noop_set_resources,
.acpi_name = max98927_acpi_name,
.acpi_fill_ssdt = max98927_fill_ssdt,
}
static const char * max98927_acpi_name(const struct device *dev)
Definition: max98927.c:60
static void max98927_fill_ssdt(const struct device *dev)
Definition: max98927.c:14
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 60 of file max98927.c.