Lines Matching defs:on
59 /* Returns 1 if GDSC status is status, 0 if not, and < 0 on error */
152 /* If disabling votable gdscs, don't poll on status */
166 * after it receives a power on/off request from a master.
287 * If clocks to this power domain were already on, they will take an
295 /* Turn on HW trigger mode if supported */
303 * bits for the gdsc, it might read an 'on' status before
334 * it might read an 'on' status wrongly.
369 int on, ret;
372 * Disable HW trigger: collapse/restore occur based on registers writes.
401 on = gdsc_check_status(sc, GDSC_ON);
402 if (on < 0)
403 return on;
405 if (on) {
406 /* The regulator must be on, sync the kernel state */
423 /* Turn on HW trigger mode if supported */
431 * Make sure the retain bit is set if the GDSC is already on,
440 on = true;
443 if (on || (sc->pwrsts & PWRSTS_RET))
455 ret = pm_genpd_init(&sc->pd, NULL, !on);
462 if (on && sc->rsupply)
550 * the GMU crashes it could leave the GX on. In order to successfully bring back