Searched refs:current_phase (Results 1 – 1 of 1) sorted by relevance
21 struct pmic_wrap_phase_setting *current_phase; in mt_spm_pmic_wrap_set_phase() local29 current_phase = &pmic_wrap->phase[phase]; in mt_spm_pmic_wrap_set_phase()31 for (idx = 0; idx < current_phase->nr_idx; idx++) { in mt_spm_pmic_wrap_set_phase()32 cmd_addr = current_phase->cmd[idx].cmd_addr; in mt_spm_pmic_wrap_set_phase()33 cmd_data = current_phase->cmd[idx].cmd_data; in mt_spm_pmic_wrap_set_phase()35 mmio_write_32(current_phase->cmd[idx].spm_pwrap_addr, in mt_spm_pmic_wrap_set_phase()45 struct pmic_wrap_phase_setting *current_phase; in mt_spm_pmic_wrap_set_cmd() local56 current_phase = &pmic_wrap->phase[phase]; in mt_spm_pmic_wrap_set_cmd()57 current_phase->cmd[idx].cmd_data = cmd_data; in mt_spm_pmic_wrap_set_cmd()58 cmd_addr = current_phase->cmd[idx].cmd_addr; in mt_spm_pmic_wrap_set_cmd()[all …]