Home
last modified time | relevance | path

Searched refs:poweroff_gpio (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/common/
Dparams_setup.c23 static struct gpio_info *poweroff_gpio; variable
35 return poweroff_gpio; in plat_get_rockchip_gpio_poweroff()
69 poweroff_gpio = &param_poweroff; in params_early_setup()
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3399/drivers/pmu/
Dpmu.c1513 struct gpio_info *poweroff_gpio; in rockchip_soc_system_off() local
1515 poweroff_gpio = plat_get_rockchip_gpio_poweroff(); in rockchip_soc_system_off()
1517 if (poweroff_gpio) { in rockchip_soc_system_off()
1522 if (poweroff_gpio->index == TSADC_INT_PIN) { in rockchip_soc_system_off()
1526 gpio_set_direction(poweroff_gpio->index, GPIO_DIR_OUT); in rockchip_soc_system_off()
1527 gpio_set_value(poweroff_gpio->index, poweroff_gpio->polarity); in rockchip_soc_system_off()