Lines Matching refs:epod_id
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()
123 if (epod_ramret[epod_id]) { in disable_epod()
124 ret = prcmu_set_epod(epod_id, EPOD_STATE_RAMRET); in disable_epod()
128 ret = prcmu_set_epod(epod_id, EPOD_STATE_OFF); in disable_epod()
132 epod_on[epod_id] = false; in disable_epod()
152 ret = enable_epod(info->epod_id, info->is_ramret); in db8500_regulator_switch_enable()
176 ret = disable_epod(info->epod_id, info->is_ramret); in db8500_regulator_switch_disable()
306 .epod_id = EPOD_ID_SVAMMDSP,
317 .epod_id = EPOD_ID_SVAMMDSP,
329 .epod_id = EPOD_ID_SVAPIPE,
340 .epod_id = EPOD_ID_SIAMMDSP,
351 .epod_id = EPOD_ID_SIAMMDSP,
363 .epod_id = EPOD_ID_SIAPIPE,
374 .epod_id = EPOD_ID_SGA,
385 .epod_id = EPOD_ID_B2R2_MCDE,
396 .epod_id = EPOD_ID_ESRAM12,
408 .epod_id = EPOD_ID_ESRAM12,
420 .epod_id = EPOD_ID_ESRAM34,
432 .epod_id = EPOD_ID_ESRAM34,