Home
last modified time | relevance | path

Searched refs:gpio_num (Results 1 – 7 of 7) sorted by relevance

/external/vboot_reference/host/arch/x86_64/lib/
Dcrossystem_arch.c508 static int FindGpioChipOffset(unsigned *gpio_num, unsigned *offset, in FindGpioChipOffset() argument
534 static int FindGpioChipOffsetByLabel(unsigned *gpio_num, unsigned *offset, in FindGpioChipOffsetByLabel() argument
576 static int BayTrailFindGpioChipOffset(unsigned *gpio_num, unsigned *offset, in BayTrailFindGpioChipOffset() argument
584 if (*gpio_num >= 0x2000) { in BayTrailFindGpioChipOffset()
585 *gpio_num -= 0x2000; in BayTrailFindGpioChipOffset()
587 } else if (*gpio_num >= 0x1000) { in BayTrailFindGpioChipOffset()
588 *gpio_num -= 0x1000; in BayTrailFindGpioChipOffset()
590 } else if (*gpio_num >= 0x0000) { in BayTrailFindGpioChipOffset()
591 *gpio_num -= 0x0000; in BayTrailFindGpioChipOffset()
626 int (*ChipOffsetAndGpioNumber)(unsigned *gpio_num, unsigned *chip_offset,
/external/vboot_reference/host/arch/x86/lib/
Dcrossystem_arch.c508 static int FindGpioChipOffset(unsigned *gpio_num, unsigned *offset, in FindGpioChipOffset() argument
534 static int FindGpioChipOffsetByLabel(unsigned *gpio_num, unsigned *offset, in FindGpioChipOffsetByLabel() argument
576 static int BayTrailFindGpioChipOffset(unsigned *gpio_num, unsigned *offset, in BayTrailFindGpioChipOffset() argument
584 if (*gpio_num >= 0x2000) { in BayTrailFindGpioChipOffset()
585 *gpio_num -= 0x2000; in BayTrailFindGpioChipOffset()
587 } else if (*gpio_num >= 0x1000) { in BayTrailFindGpioChipOffset()
588 *gpio_num -= 0x1000; in BayTrailFindGpioChipOffset()
590 } else if (*gpio_num >= 0x0000) { in BayTrailFindGpioChipOffset()
591 *gpio_num -= 0x0000; in BayTrailFindGpioChipOffset()
626 int (*ChipOffsetAndGpioNumber)(unsigned *gpio_num, unsigned *chip_offset,
/external/u-boot/drivers/ddr/marvell/a38x/
Dmv_ddr_sys_env_lib.c54 if (board_gpio[board_id_index].gpio_num == -1) { in mv_ddr_sys_env_suspend_wakeup_check()
57 } else if (board_gpio[board_id_index].gpio_num == -2) { in mv_ddr_sys_env_suspend_wakeup_check()
64 gpio = board_gpio[board_id_index].gpio_num; in mv_ddr_sys_env_suspend_wakeup_check()
Dmv_ddr_sys_env_lib.h64 int gpio_num; member
/external/u-boot/arch/arm/mach-mvebu/serdes/a38x/
Dsys_env_lib.c107 if (board_gpio[board_id_index].gpio_num == -1) { in sys_env_suspend_wakeup_check()
110 } else if (board_gpio[board_id_index].gpio_num == -2) { in sys_env_suspend_wakeup_check()
117 gpio = board_gpio[board_id_index].gpio_num; in sys_env_suspend_wakeup_check()
Dsys_env_lib.h307 int gpio_num; member
/external/vboot_reference/host/arch/arm/lib/
Dcrossystem_arch.c253 int gpio_num; in VbGetVarGpio() local
271 gpio_num = ntohl(prop[1]); in VbGetVarGpio()
279 if (gpio_num) in VbGetVarGpio()
280 ret = VbGetGpioStatus(gpio_num); in VbGetVarGpio()