Lines Matching defs:mode

202 void msp3400c_set_mode(struct i2c_client *client, int mode)
205 struct msp3400c_init_data_dem *data = &msp3400c_init_data[mode];
209 dev_dbg_lvl(&client->dev, 1, msp_debug, "set_mode: %d\n", mode);
210 state->mode = mode;
238 /* Set audio mode. Note that the pre-'G' models do not support BTSC+SAP,
256 "set_audmode called with mode=%d instead of set_source (ignored)\n",
265 if (state->mode != MSP_MODE_EXTERN) {
282 switch (state->mode) {
349 if (state->mode == MSP_MODE_AM_NICAM) {
384 if (state->mode == MSP_MODE_FM_NICAM1 || state->mode == MSP_MODE_FM_NICAM2)
388 if (state->mode == MSP_MODE_AM_NICAM)
392 if (state->mode == MSP_MODE_FM_TERRA && state->main != state->second) {
409 switch (state->mode) {
429 dev_dbg_lvl(&client->dev, 2, msp_debug, "nicam sync=%d, mode=%d\n",
511 if (state->radio || MSP_MODE_EXTERN == state->mode) {
670 /* monitor tv audio mode, the first time don't wait
706 if (state->mode == MSP_MODE_EXTERN) {
739 /* programmed some specific mode */
784 state->mode = MSP_MODE_FM_NICAM2;
786 state->mode = MSP_MODE_FM_NICAM1;
792 state->mode = MSP_MODE_AM_NICAM;
798 state->mode = MSP_MODE_BTSC;
801 state->mode = MSP_MODE_FM_RADIO;
813 state->mode = MSP_MODE_FM_TERRA;
832 /* monitor tv audio mode, the first time don't wait
852 * struct msp: only norm, acb and source are really used in this mode
974 * 0x7f0 = forced mono mode
977 * Note: this register is part of the Manual/Compatibility mode.
1003 if (state->mode == MSP_MODE_EXTERN) {
1050 /* AM NICAM mode */
1068 /* monitor tv audio mode, the first time don't wait
1089 if (state->mode == MSP_MODE_EXTERN)