Home
last modified time | relevance | path

Searched refs:epod_id (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/regulator/
Ddb8500-prcmu.c90 static int enable_epod(u16 epod_id, bool ramret) in enable_epod() argument
95 if (!epod_on[epod_id]) { in enable_epod()
96 ret = prcmu_set_epod(epod_id, EPOD_STATE_RAMRET); in enable_epod()
100 epod_ramret[epod_id] = true; in enable_epod()
102 ret = prcmu_set_epod(epod_id, EPOD_STATE_ON); in enable_epod()
105 epod_on[epod_id] = true; in enable_epod()
111 static int disable_epod(u16 epod_id, bool ramret) in disable_epod() argument
116 if (!epod_on[epod_id]) { in disable_epod()
117 ret = prcmu_set_epod(epod_id, EPOD_STATE_OFF); in disable_epod()
121 epod_ramret[epod_id] = false; in disable_epod()
[all …]
Ddbx500-prcmu.h25 u16 epod_id; member
/linux-6.1.9/include/linux/mfd/
Ddbx500-prcmu.h233 static inline int prcmu_set_epod(u16 epod_id, u8 epod_state) in prcmu_set_epod() argument
235 return db8500_prcmu_set_epod(epod_id, epod_state); in prcmu_set_epod()
399 static inline int prcmu_set_epod(u16 epod_id, u8 epod_state) in prcmu_set_epod() argument
Ddb8500-prcmu.h526 int db8500_prcmu_set_epod(u16 epod_id, u8 epod_state);
672 static inline int db8500_prcmu_set_epod(u16 epod_id, u8 epod_state) in db8500_prcmu_set_epod() argument
/linux-6.1.9/drivers/mfd/
Ddb8500-prcmu.c1071 int db8500_prcmu_set_epod(u16 epod_id, u8 epod_state) in db8500_prcmu_set_epod() argument
1078 BUG_ON(epod_id >= NUM_EPOD_ID); in db8500_prcmu_set_epod()
1081 switch (epod_id) { in db8500_prcmu_set_epod()
1104 writeb(epod_state, (tcdm_base + PRCM_REQ_MB2 + epod_id)); in db8500_prcmu_set_epod()