Lines Matching defs:opmode
71 static int opmode = OPMODE_AUTO;
84 module_param(opmode, int, 0444);
94 MODULE_PARM_DESC(opmode, "Forces a MSP3400 opmode. 0=Manual, 1=Autodetect, 2=Autodetect and autoselect");
404 switch (state->opmode) {
471 reg = (state->opmode == OPMODE_AUTOSELECT) ? 0x30 : 0xbb;
486 if (state->opmode == OPMODE_AUTOSELECT)
546 if (state->opmode == OPMODE_AUTOSELECT)
566 } else if (state->opmode == OPMODE_MANUAL) {
571 if (state->opmode == OPMODE_AUTODETECT)
744 state->opmode = opmode;
745 if (state->opmode == OPMODE_AUTO) {
748 state->opmode = OPMODE_AUTOSELECT;
751 state->opmode = OPMODE_AUTODETECT;
753 state->opmode = OPMODE_MANUAL;
799 switch (state->opmode) {