Lines Matching defs:opmode
56 static int opmode = OPMODE_AUTO;
69 module_param(opmode, int, 0444);
79 MODULE_PARM_DESC(opmode, "Forces a MSP3400 opmode. 0=Manual, 1=Autodetect, 2=Autodetect and autoselect");
417 switch (state->opmode) {
498 reg = (state->opmode == OPMODE_AUTOSELECT) ? 0x30 : 0xbb;
514 if (state->opmode == OPMODE_AUTOSELECT)
566 if (state->opmode == OPMODE_AUTOSELECT)
586 } else if (state->opmode == OPMODE_MANUAL) {
591 if (state->opmode == OPMODE_AUTODETECT)
789 state->opmode = opmode;
790 if (state->opmode < OPMODE_MANUAL
791 || state->opmode > OPMODE_AUTOSELECT) {
794 state->opmode = OPMODE_AUTOSELECT;
797 state->opmode = OPMODE_AUTODETECT;
799 state->opmode = OPMODE_MANUAL;
837 opmode_str[state->opmode]);
840 switch (state->opmode) {