Lines Matching refs:cfg
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()
549 shift = pm_cfg->cfg.gpio.info[gpio].gpio_index % 32; in plat_marvell_power_off_gpio()
559 if (idx < pm_cfg->cfg.gpio.step_count - 1) { in plat_marvell_power_off_gpio()
562 mdelay(pm_cfg->cfg.gpio.delay_ms); in plat_marvell_power_off_gpio()