Searched refs:gpio_num (Results 1 – 3 of 3) sorted by relevance
/external/vboot_reference/host/arch/x86_64/lib/ |
D | crossystem_arch.c | 508 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/ |
D | crossystem_arch.c | 508 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/arm/lib/ |
D | crossystem_arch.c | 253 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()
|