Searched refs:poweroff_gpio (Results 1 – 2 of 2) sorted by relevance
23 static struct gpio_info *poweroff_gpio; variable35 return poweroff_gpio; in plat_get_rockchip_gpio_poweroff()69 poweroff_gpio = ¶m_poweroff; in params_early_setup()
1513 struct gpio_info *poweroff_gpio; in rockchip_soc_system_off() local1515 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()