Lines Matching refs:opmode
56 static int opmode = OPMODE_AUTO; variable
69 module_param(opmode, int, 0444);
79 MODULE_PARM_DESC(opmode, "Forces a MSP3400 opmode. 0=Manual, 1=Autodetect, 2=Autodetect and autosel…
417 switch (state->opmode) { in msp_s_radio()
498 reg = (state->opmode == OPMODE_AUTOSELECT) ? 0x30 : 0xbb; in msp_s_routing()
514 if (state->opmode == OPMODE_AUTOSELECT) in msp_g_tuner()
566 if (state->opmode == OPMODE_AUTOSELECT) in msp_log_status()
586 } else if (state->opmode == OPMODE_MANUAL) { in msp_log_status()
591 if (state->opmode == OPMODE_AUTODETECT) in msp_log_status()
788 state->opmode = opmode; in msp_probe()
789 if (state->opmode < OPMODE_MANUAL in msp_probe()
790 || state->opmode > OPMODE_AUTOSELECT) { in msp_probe()
793 state->opmode = OPMODE_AUTOSELECT; in msp_probe()
796 state->opmode = OPMODE_AUTODETECT; in msp_probe()
798 state->opmode = OPMODE_MANUAL; in msp_probe()
836 opmode_str[state->opmode]); in msp_probe()
839 switch (state->opmode) { in msp_probe()