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_WWAN_FM_CHIP_H__
4
#define __DRIVERS_WWAN_FM_CHIP_H__
5
6
struct
drivers_wwan_fm_config
{
7
const
char
*
name
;
8
const
char
*
desc
;
9
/* GPIO used for FULL_CARD_POWER_OFF# */
10
struct
acpi_gpio
fcpo_gpio
;
11
12
/* GPIO used for RESET# */
13
struct
acpi_gpio
reset_gpio
;
14
15
/* GPIO used for PERST# */
16
struct
acpi_gpio
perst_gpio
;
17
18
/* GPIO used for wake */
19
struct
acpi_gpio
wake_gpio
;
20
21
/* Pointer to the corresponding RTD3 */
22
DEVTREE_CONST
struct
device
*
rtd3dev
;
23
24
/* Add `DmaProperty` in _DSD */
25
bool
add_acpi_dma_property
;
26
};
27
28
#endif
/* __DRIVERS_WWAN_FM_CHIP_H__ */
DEVTREE_CONST
#define DEVTREE_CONST
Definition:
stddef.h:30
acpi_gpio
Definition:
acpi_device.h:164
device
Definition:
device.h:107
drivers_wwan_fm_config
Definition:
chip.h:6
drivers_wwan_fm_config::rtd3dev
DEVTREE_CONST struct device * rtd3dev
Definition:
chip.h:22
drivers_wwan_fm_config::add_acpi_dma_property
bool add_acpi_dma_property
Definition:
chip.h:25
drivers_wwan_fm_config::wake_gpio
struct acpi_gpio wake_gpio
Definition:
chip.h:19
drivers_wwan_fm_config::reset_gpio
struct acpi_gpio reset_gpio
Definition:
chip.h:13
drivers_wwan_fm_config::desc
const char * desc
Definition:
chip.h:8
drivers_wwan_fm_config::name
const char * name
Definition:
chip.h:7
drivers_wwan_fm_config::perst_gpio
struct acpi_gpio perst_gpio
Definition:
chip.h:16
drivers_wwan_fm_config::fcpo_gpio
struct acpi_gpio fcpo_gpio
Definition:
chip.h:10
src
drivers
wwan
fm
chip.h
Generated by
1.9.1