Lines Matching full:opmode
166 static int s2mps11_buck_mode(struct udevice *dev, int op, int *opmode) in s2mps11_buck_mode() argument
188 *opmode = OP_OFF; in s2mps11_buck_mode()
191 *opmode = OP_STANDBY; in s2mps11_buck_mode()
194 *opmode = OP_ON; in s2mps11_buck_mode()
202 switch (*opmode) { in s2mps11_buck_mode()
213 pr_err("Wrong mode: %d for buck: %d\n", *opmode, buck); in s2mps11_buck_mode()
429 static int s2mps11_ldo_mode(struct udevice *dev, int op, int *opmode) in s2mps11_ldo_mode() argument
450 *opmode = OP_OFF; in s2mps11_ldo_mode()
453 *opmode = OP_STANDBY; in s2mps11_ldo_mode()
456 *opmode = OP_STANDBY_LPM; in s2mps11_ldo_mode()
459 *opmode = OP_ON; in s2mps11_ldo_mode()
467 switch (*opmode) { in s2mps11_ldo_mode()
481 pr_err("Wrong mode: %d for ldo: %d\n", *opmode, ldo); in s2mps11_ldo_mode()