Searched refs:gpio_num (Results 1 - 3 of 3) sorted by relevance
/external/vboot_reference/host/arch/x86/lib/ |
H A D | crossystem_arch.c | 508 static int FindGpioChipOffset(unsigned *gpio_num, unsigned *offset, argument 534 static int FindGpioChipOffsetByLabel(unsigned *gpio_num, unsigned *offset, argument 576 static int BayTrailFindGpioChipOffset(unsigned *gpio_num, unsigned *offset, argument 584 if (*gpio_num >= 0x2000) { 585 *gpio_num -= 0x2000; 587 } else if (*gpio_num >= 0x1000) { 588 *gpio_num -= 0x1000; 590 } else if (*gpio_num >= 0x0000) { 591 *gpio_num -= 0x0000; 626 int (*ChipOffsetAndGpioNumber)(unsigned *gpio_num, unsigne [all...] |
/external/vboot_reference/host/arch/x86_64/lib/ |
H A D | crossystem_arch.c | 508 static int FindGpioChipOffset(unsigned *gpio_num, unsigned *offset, argument 534 static int FindGpioChipOffsetByLabel(unsigned *gpio_num, unsigned *offset, argument 576 static int BayTrailFindGpioChipOffset(unsigned *gpio_num, unsigned *offset, argument 584 if (*gpio_num >= 0x2000) { 585 *gpio_num -= 0x2000; 587 } else if (*gpio_num >= 0x1000) { 588 *gpio_num -= 0x1000; 590 } else if (*gpio_num >= 0x0000) { 591 *gpio_num -= 0x0000; 626 int (*ChipOffsetAndGpioNumber)(unsigned *gpio_num, unsigne [all...] |
/external/vboot_reference/host/arch/arm/lib/ |
H A D | crossystem_arch.c | 253 int gpio_num; local 271 gpio_num = ntohl(prop[1]); 274 * TODO(chrome-os-partner:11296): Use gpio_num == 0 to denote non-exist 279 if (gpio_num) 280 ret = VbGetGpioStatus(gpio_num);
|
Completed in 407 milliseconds