coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
chip.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#ifndef __I2C_GPIOMUX_MUX_CHIP_H__
4
#define __I2C_GPIOMUX_MUX_CHIP_H__
5
6
#include <
acpi/acpi_device.h
>
7
#include <types.h>
8
9
#define MAX_NUM_MUX_GPIOS 4
10
11
struct
drivers_i2c_gpiomux_mux_config
{
12
/* GPIOs used to select the mux lines */
13
uint32_t
mux_gpio_count
;
14
struct
acpi_gpio
mux_gpio
[
MAX_NUM_MUX_GPIOS
];
15
};
16
17
#endif
/* __I2C_GPIOMUX_MUX_CHIP_H__ */
acpi_device.h
MAX_NUM_MUX_GPIOS
#define MAX_NUM_MUX_GPIOS
Definition:
chip.h:9
uint32_t
unsigned int uint32_t
Definition:
stdint.h:14
acpi_gpio
Definition:
acpi_device.h:164
drivers_i2c_gpiomux_mux_config
Definition:
chip.h:11
drivers_i2c_gpiomux_mux_config::mux_gpio
struct acpi_gpio mux_gpio[MAX_NUM_MUX_GPIOS]
Definition:
chip.h:14
drivers_i2c_gpiomux_mux_config::mux_gpio_count
uint32_t mux_gpio_count
Definition:
chip.h:13
src
drivers
i2c
gpiomux
mux
chip.h
Generated by
1.9.1