Lines Matching refs:bp_table
54 static int spm_mtcmos_ctrl_bus_prot(const struct bus_protect *bp_table, uint32_t bp_steps) in spm_mtcmos_ctrl_bus_prot() argument
59 mmio_write_32(bp_table[i].en_addr, bp_table[i].mask); in spm_mtcmos_ctrl_bus_prot()
60 if (bp_table[i].rdy_addr) { in spm_mtcmos_ctrl_bus_prot()
61 if (mtcmos_wait_for_state(bp_table[i].rdy_addr, bp_table[i].mask, true)) in spm_mtcmos_ctrl_bus_prot()
71 const struct bus_protect *bp_table, uint32_t bp_steps) in spm_mtcmos_ctrl() argument
80 ret = spm_mtcmos_ctrl_bus_prot(bp_table, bp_steps); in spm_mtcmos_ctrl()
151 spm_mtcmos_ctrl_bus_prot(bp_table, bp_steps); in spm_mtcmos_ctrl()
162 const struct bus_protect *bp_table; in spm_mtcmos_ctrl_ufs0() local
166 bp_table = &ufs0_bus_prot_set_table[0]; in spm_mtcmos_ctrl_ufs0()
169 bp_table = &ufs0_bus_prot_clr_table[0]; in spm_mtcmos_ctrl_ufs0()
174 bp_table, bp_steps); in spm_mtcmos_ctrl_ufs0()
180 const struct bus_protect *bp_table; in spm_mtcmos_ctrl_ufs0_phy() local
184 bp_table = &ufs0_phy_bus_prot_set_table[0]; in spm_mtcmos_ctrl_ufs0_phy()
187 bp_table = &ufs0_phy_bus_prot_clr_table[0]; in spm_mtcmos_ctrl_ufs0_phy()
192 bp_table, bp_steps); in spm_mtcmos_ctrl_ufs0_phy()