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 __DRIVERS_R8168_CHIP_H__
4
#define __DRIVERS_R8168_CHIP_H__
5
6
#include <
stdint.h
>
7
#include <
acpi/acpi_device.h
>
8
9
struct
drivers_net_config
{
10
uint16_t
customized_leds
;
11
/* RTL8125 LED settings */
12
uint8_t
led_feature
;
13
uint16_t
customized_led0
;
14
uint16_t
customized_led2
;
15
16
unsigned
int
wake
;
/* Wake pin for ACPI _PRW */
17
18
/* Does the device have a power resource? */
19
bool
has_power_resource
;
20
21
/* GPIO used to stop operation of device. */
22
struct
acpi_gpio
stop_gpio
;
23
/* Delay to be inserted after disabling stop. */
24
unsigned
int
stop_delay_ms
;
25
/* Delay to be inserted after enabling stop. */
26
unsigned
int
stop_off_delay_ms
;
27
28
/*
29
* There maybe many NIC cards in a system.
30
* This parameter is for driver to identify what
31
* the device number is and the valid range is [1-10].
32
*/
33
uint8_t
device_index
;
34
35
/* Allow kernel driver to enable ASPM L1.2. */
36
bool
enable_aspm_l1_2
;
37
};
38
39
#endif
/* __DRIVERS_R8168_CHIP_H__ */
acpi_device.h
stdint.h
uint16_t
unsigned short uint16_t
Definition:
stdint.h:11
uint8_t
unsigned char uint8_t
Definition:
stdint.h:8
acpi_gpio
Definition:
acpi_device.h:164
drivers_net_config
Definition:
chip.h:9
drivers_net_config::has_power_resource
bool has_power_resource
Definition:
chip.h:19
drivers_net_config::led_feature
uint8_t led_feature
Definition:
chip.h:12
drivers_net_config::customized_led0
uint16_t customized_led0
Definition:
chip.h:13
drivers_net_config::device_index
uint8_t device_index
Definition:
chip.h:33
drivers_net_config::customized_leds
uint16_t customized_leds
Definition:
chip.h:10
drivers_net_config::wake
unsigned int wake
Definition:
chip.h:16
drivers_net_config::enable_aspm_l1_2
bool enable_aspm_l1_2
Definition:
chip.h:36
drivers_net_config::stop_off_delay_ms
unsigned int stop_off_delay_ms
Definition:
chip.h:26
drivers_net_config::customized_led2
uint16_t customized_led2
Definition:
chip.h:14
drivers_net_config::stop_delay_ms
unsigned int stop_delay_ms
Definition:
chip.h:24
drivers_net_config::stop_gpio
struct acpi_gpio stop_gpio
Definition:
chip.h:22
src
drivers
net
chip.h
Generated by
1.9.1