Home
last modified time | relevance | path

Searched refs:pw (Results 1 – 3 of 3) sorted by relevance

/tf-a-ffa_el3_spmc/plat/mediatek/mt8192/drivers/spm/
A Dmt_spm_pmic_wrap.c52 static struct pmic_wrap_setting pw = { variable
108 if (pw.phase == phase) { in mt_spm_pmic_wrap_set_phase()
112 if (pw.addr[0].cmd_addr == 0UL) { in mt_spm_pmic_wrap_set_phase()
116 pw.phase = phase; in mt_spm_pmic_wrap_set_phase()
119 for (idx = 0U; idx < pw.set[phase].nr_idx; idx++) { in mt_spm_pmic_wrap_set_phase()
121 data = pw.set[phase]._[idx].cmd_wdata; in mt_spm_pmic_wrap_set_phase()
135 if (idx >= pw.set[phase].nr_idx) { in mt_spm_pmic_wrap_set_cmd()
139 pw.set[phase]._[idx].cmd_wdata = cmd_wdata; in mt_spm_pmic_wrap_set_cmd()
142 if (pw.phase == phase) { in mt_spm_pmic_wrap_set_cmd()
154 if (idx >= pw.set[phase].nr_idx) { in mt_spm_pmic_wrap_get_cmd()
[all …]
/tf-a-ffa_el3_spmc/plat/mediatek/mt8195/drivers/spm/
A Dmt_spm_pmic_wrap.c52 static struct pmic_wrap_setting pw = { variable
108 if (pw.phase == phase) { in mt_spm_pmic_wrap_set_phase()
112 if (pw.addr[0].cmd_addr == 0UL) { in mt_spm_pmic_wrap_set_phase()
116 pw.phase = phase; in mt_spm_pmic_wrap_set_phase()
119 for (idx = 0U; idx < pw.set[phase].nr_idx; idx++) { in mt_spm_pmic_wrap_set_phase()
121 data = pw.set[phase]._[idx].cmd_wdata; in mt_spm_pmic_wrap_set_phase()
135 if (idx >= pw.set[phase].nr_idx) { in mt_spm_pmic_wrap_set_cmd()
139 pw.set[phase]._[idx].cmd_wdata = cmd_wdata; in mt_spm_pmic_wrap_set_cmd()
142 if (pw.phase == phase) { in mt_spm_pmic_wrap_set_cmd()
154 if (idx >= pw.set[phase].nr_idx) { in mt_spm_pmic_wrap_get_cmd()
[all …]
/tf-a-ffa_el3_spmc/plat/mediatek/mt8183/drivers/spm/
A Dspm_pmic_wrap.c55 static struct pmic_wrap_setting pw = { variable
122 if (pw.phase == phase) in mt_spm_pmic_wrap_set_phase()
125 if (pw.addr[0].cmd_addr == 0) in mt_spm_pmic_wrap_set_phase()
128 pw.phase = phase; in mt_spm_pmic_wrap_set_phase()
132 for (idx = 0; idx < pw.set[phase].nr_idx; idx++) { in mt_spm_pmic_wrap_set_phase()
134 data = pw.set[phase]._[idx].cmd_wdata; in mt_spm_pmic_wrap_set_phase()
147 if (idx >= pw.set[phase].nr_idx) in mt_spm_pmic_wrap_set_cmd()
150 pw.set[phase]._[idx].cmd_wdata = cmd_wdata; in mt_spm_pmic_wrap_set_cmd()
154 if (pw.phase == phase) { in mt_spm_pmic_wrap_set_cmd()
165 if (idx >= pw.set[phase].nr_idx) in mt_spm_pmic_wrap_get_cmd()
[all …]

Completed in 8 milliseconds