HomeSort by relevance Sort by last modified time
    Searched refs:gpio_num (Results 1 - 8 of 8) sorted by null

  /device/google/bonito/
init.edge_sense.sh 38 gpio_num=${2}
47 gpio_num=3
55 if [ -z ${gpio_num} ]; then
70 gpio_name=gpio${gpio_num}
83 log -t "${prog_name}" "GPIO ${gpio_num} on chip \"${chip_name}\" not found."
  /device/google/crosshatch/
init.edge_sense.sh 38 gpio_num=${2}
57 gpio_num=2
65 if [ -z ${gpio_num} ]; then
80 gpio_name=gpio${gpio_num}
93 log -t "${prog_name}" "GPIO ${gpio_num} on chip \"${chip_name}\" not found."
  /external/u-boot/drivers/ddr/marvell/a38x/
mv_ddr_sys_env_lib.c 54 if (board_gpio[board_id_index].gpio_num == -1) {
57 } else if (board_gpio[board_id_index].gpio_num == -2) {
64 gpio = board_gpio[board_id_index].gpio_num;
mv_ddr_sys_env_lib.h 23 #define MPP_REG_NUM(GPIO_NUM) (GPIO_NUM / 8)
24 #define MPP_MASK(GPIO_NUM) (0xf << 4 * (GPIO_NUM - \
25 (MPP_REG_NUM(GPIO_NUM) * 8)));
26 #define GPP_REG_NUM(GPIO_NUM) (GPIO_NUM / 32)
27 #define GPP_MASK(GPIO_NUM) (1 << GPIO_NUM % 32)
64 int gpio_num; member in struct:board_wakeup_gpio
    [all...]
  /external/u-boot/arch/arm/mach-mvebu/serdes/a38x/
sys_env_lib.c 107 if (board_gpio[board_id_index].gpio_num == -1) {
110 } else if (board_gpio[board_id_index].gpio_num == -2) {
117 gpio = board_gpio[board_id_index].gpio_num;
sys_env_lib.h 245 #define MPP_REG_NUM(GPIO_NUM) (GPIO_NUM / 8)
246 #define MPP_MASK(GPIO_NUM) (0xf << 4 * (GPIO_NUM - \
247 (MPP_REG_NUM(GPIO_NUM) * 8)));
248 #define GPP_REG_NUM(GPIO_NUM) (GPIO_NUM / 32)
249 #define GPP_MASK(GPIO_NUM) (1 << GPIO_NUM % 32)
307 int gpio_num; member in struct:board_wakeup_gpio
    [all...]
  /external/vboot_reference/host/arch/x86/lib/
crossystem_arch.c 508 static int FindGpioChipOffset(unsigned *gpio_num, unsigned *offset,
534 static int FindGpioChipOffsetByLabel(unsigned *gpio_num, unsigned *offset,
576 static int BayTrailFindGpioChipOffset(unsigned *gpio_num, unsigned *offset,
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, unsigned *chip_offset
    [all...]
  /external/vboot_reference/host/arch/arm/lib/
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 1981 milliseconds