Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/plat/rockchip/common/
Dparams_setup.c26 static struct bl_aux_gpio_info poweroff_gpio = { .index = UINT_MAX }; variable
187 if (poweroff_gpio.index == UINT_MAX) in plat_get_rockchip_gpio_poweroff()
190 return &poweroff_gpio; in plat_get_rockchip_gpio_poweroff()
213 poweroff_gpio = ((struct bl_aux_param_gpio *)param)->gpio; in rk_aux_param_handler()
/external/arm-trusted-firmware/plat/rockchip/rk3399/drivers/pmu/
Dpmu.c1539 struct bl_aux_gpio_info *poweroff_gpio; in rockchip_soc_system_off() local
1541 poweroff_gpio = plat_get_rockchip_gpio_poweroff(); in rockchip_soc_system_off()
1543 if (poweroff_gpio) { in rockchip_soc_system_off()
1548 if (poweroff_gpio->index == TSADC_INT_PIN) { in rockchip_soc_system_off()
1552 gpio_set_direction(poweroff_gpio->index, GPIO_DIR_OUT); in rockchip_soc_system_off()
1553 gpio_set_value(poweroff_gpio->index, poweroff_gpio->polarity); in rockchip_soc_system_off()