10 #include <vendorcode/google/chromeos/chromeos.h>
15 struct lb_gpio chromeos_gpios[] = {
47 return (gen_pmcon_1 >> 9) & 1;
void fill_lb_gpios(struct lb_gpios *gpios)
int get_write_protect_state(void)
Only used if CONFIG(CHROMEOS) is set.
int gfx_get_init_done(void)
DECLARE_CROS_GPIOS(cros_gpios)
int get_recovery_mode_switch(void)
HACK: Use Fn-Key as recovery mode switch.
int get_gpio(int community_base, int pad0_offset)
void lb_add_gpios(struct lb_gpios *gpios, const struct lb_gpio *gpio_table, size_t count)
static __always_inline uint32_t pci_s_read_config32(pci_devfn_t dev, uint16_t reg)
#define PCI_DEV(SEGBUS, DEV, FN)
int get_power_switch(void)
static const struct cros_gpio cros_gpios[]
#define CROS_GPIO_DEVICE_NAME