Home
last modified time | relevance | path

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

/rk3399_ARM-atf/plat/marvell/armada/a8k/common/
H A Dplat_pm.c498 static void plat_marvell_power_off_gpio(struct power_off_method *pm_cfg, in plat_marvell_power_off_gpio() argument
510 assert((pm_cfg->cfg.gpio.pin_count < PMIC_GPIO_MAX_NUMBER) && in plat_marvell_power_off_gpio()
511 (pm_cfg->cfg.gpio.step_count < PMIC_GPIO_MAX_TOGGLE_STEP)); in plat_marvell_power_off_gpio()
514 for (gpio = 0; gpio < pm_cfg->cfg.gpio.pin_count; gpio++) { in plat_marvell_power_off_gpio()
515 info = &pm_cfg->cfg.gpio.info[gpio]; in plat_marvell_power_off_gpio()
532 mdelay(pm_cfg->cfg.gpio.delay_ms); in plat_marvell_power_off_gpio()
537 for (idx = 0; idx < pm_cfg->cfg.gpio.step_count; idx++) { in plat_marvell_power_off_gpio()
538 tog_bits = pm_cfg->cfg.gpio.seq[idx]; in plat_marvell_power_off_gpio()
543 info = &pm_cfg->cfg.gpio.info[0]; in plat_marvell_power_off_gpio()
548 for (gpio = 0; gpio < pm_cfg->cfg.gpio.pin_count; gpio++) { in plat_marvell_power_off_gpio()
[all …]
/rk3399_ARM-atf/plat/marvell/armada/a8k/a80x0/board/
H A Dmarvell_plat_config.c166 struct power_off_method pm_cfg = { variable
178 return &pm_cfg; in plat_marvell_get_pm_cfg()