Searched refs:pm_cfg (Results 1 – 2 of 2) sorted by relevance
498 static void plat_marvell_power_off_gpio(struct power_off_method *pm_cfg, in plat_marvell_power_off_gpio() argument510 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 …]
166 struct power_off_method pm_cfg = { variable178 return &pm_cfg; in plat_marvell_get_pm_cfg()