Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/plat/rockchip/common/
Dparams_setup.c27 static struct bl_aux_gpio_info suspend_gpio[10]; variable
197 return &suspend_gpio[0]; in plat_get_rockchip_suspend_gpio()
216 if (suspend_gpio_cnt >= ARRAY_SIZE(suspend_gpio)) { in rk_aux_param_handler()
220 suspend_gpio[suspend_gpio_cnt++] = in rk_aux_param_handler()
/external/arm-trusted-firmware/plat/rockchip/rk3399/drivers/pmu/
Dpmu.c1058 static void suspend_gpio(void) in suspend_gpio() function
1060 struct bl_aux_gpio_info *suspend_gpio; in suspend_gpio() local
1064 suspend_gpio = plat_get_rockchip_suspend_gpio(&count); in suspend_gpio()
1067 gpio_set_value(suspend_gpio[i].index, suspend_gpio[i].polarity); in suspend_gpio()
1068 gpio_set_direction(suspend_gpio[i].index, GPIO_DIR_OUT); in suspend_gpio()
1075 struct bl_aux_gpio_info *suspend_gpio; in resume_gpio() local
1079 suspend_gpio = plat_get_rockchip_suspend_gpio(&count); in resume_gpio()
1082 gpio_set_value(suspend_gpio[i].index, in resume_gpio()
1083 !suspend_gpio[i].polarity); in resume_gpio()
1084 gpio_set_direction(suspend_gpio[i].index, GPIO_DIR_OUT); in resume_gpio()
[all …]