Searched refs:rst_gpio (Results 1 – 3 of 3) sorted by relevance
12 static struct bl_aux_gpio_info rst_gpio; variable16 return &rst_gpio; in plat_get_mtk_gpio_reset()24 rst_gpio = ((struct bl_aux_param_gpio *)param)->gpio; in mtk_aux_param_handler()
25 static struct bl_aux_gpio_info rst_gpio = { .index = UINT_MAX } ; variable179 if (rst_gpio.index == UINT_MAX) in plat_get_rockchip_gpio_reset()182 return &rst_gpio; in plat_get_rockchip_gpio_reset()210 rst_gpio = ((struct bl_aux_param_gpio *)param)->gpio; in rk_aux_param_handler()
1523 struct bl_aux_gpio_info *rst_gpio; in rockchip_soc_soft_reset() local1525 rst_gpio = plat_get_rockchip_gpio_reset(); in rockchip_soc_soft_reset()1527 if (rst_gpio) { in rockchip_soc_soft_reset()1528 gpio_set_direction(rst_gpio->index, GPIO_DIR_OUT); in rockchip_soc_soft_reset()1529 gpio_set_value(rst_gpio->index, rst_gpio->polarity); in rockchip_soc_soft_reset()
Completed in 5 milliseconds