Searched refs:epod_id (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/regulator/ |
D | db8500-prcmu.c | 90 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 …]
|
D | dbx500-prcmu.h | 25 u16 epod_id; member
|
/linux-6.1.9/include/linux/mfd/ |
D | dbx500-prcmu.h | 233 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
|
D | db8500-prcmu.h | 526 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/ |
D | db8500-prcmu.c | 1071 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()
|