Home
last modified time | relevance | path

Searched refs:mstid (Results 1 – 7 of 7) sorted by relevance

/rk3399_ARM-atf/plat/mediatek/drivers/spmi/mt8196/
H A Dplatform_pmif_spmi.c111 .mstid = SPMI_MASTER_0,
119 .mstid = SPMI_MASTER_1,
127 .mstid = SPMI_MASTER_P_1,
137 .mstid = SPMI_MASTER_1,
152 .mstid = SPMI_MASTER_1,
167 .mstid = SPMI_MASTER_1,/* spmi-m */
182 .mstid = SPMI_MASTER_1,/* spmi-m */
190 .mstid = SPMI_MASTER_P_1,/* spmi-m */
205 .mstid = SPMI_MASTER_P_1,/* spmi-m */
220 .mstid = SPMI_MASTER_P_1,/* spmi-m */
[all …]
/rk3399_ARM-atf/plat/mediatek/drivers/spmi/
H A Dpmif_common.c51 struct pmif *get_pmif_controller(int inf, int mstid) in get_pmif_controller() argument
53 return &pmif_spmi_arb[mstid]; in get_pmif_controller()
56 static int pmif_check_idle(int mstid) in pmif_check_idle() argument
58 struct pmif *arb = get_pmif_controller(PMIF_SPMI, mstid); in pmif_check_idle()
69 static int pmif_check_vldclr(int mstid) in pmif_check_vldclr() argument
71 struct pmif *arb = get_pmif_controller(PMIF_SPMI, mstid); in pmif_check_vldclr()
105 ret = pmif_check_idle(arb->mstid); in pmif_spmi_read_cmd()
116 ret = pmif_check_vldclr(arb->mstid); in pmif_spmi_read_cmd()
158 ret = pmif_check_idle(arb->mstid); in pmif_spmi_write_cmd()
H A Dpmif_common.h24 uint32_t mstid; member
40 struct pmif *get_pmif_controller(int inf, int mstid);
H A Dspmi_common.c126 struct spmi_device *get_spmi_device(int mstid, int slvid) in get_spmi_device() argument
158 static int spmi_ctrl_op_st(int mstid, unsigned int grpiden, unsigned int sid, in spmi_ctrl_op_st() argument
161 struct pmif *arb = get_pmif_controller(PMIF_SPMI, mstid); in spmi_ctrl_op_st()
193 int spmi_command_shutdown(int mstid, struct spmi_device *dev, unsigned int grpiden) in spmi_command_shutdown() argument
198 return spmi_ctrl_op_st(mstid, grpiden, dev->slvid, SPMI_SHUTDOWN); in spmi_command_shutdown()
H A Dspmi_common.h85 int mstid; member
102 int spmi_command_shutdown(int mstid, struct spmi_device *dev, unsigned int grpiden);
/rk3399_ARM-atf/plat/mediatek/drivers/spmi/mt8189/
H A Dplatform_pmif_spmi.c99 .mstid = SPMI_MASTER_0,
106 .mstid = SPMI_MASTER_1,
115 .mstid = SPMI_MASTER_P_1,
127 .mstid = SPMI_MASTER_P_1,/* spmi-p */
143 .mstid = SPMI_MASTER_P_1,/* spmi-p */
/rk3399_ARM-atf/plat/mediatek/include/drivers/
H A Dspmi_api.h30 struct spmi_device *get_spmi_device(int mstid, int slvid);