Home
last modified time | relevance | path

Searched refs:tune_state (Results 1 – 14 of 14) sorted by relevance

/drivers/media/dvb-frontends/
Ddib0090.c141 enum frontend_tune_state tune_state; member
1165 enum frontend_tune_state *tune_state = &state->tune_state; in dib0090_gain_control() local
1172 if (*tune_state == CT_AGC_START) { in dib0090_gain_control()
1210 *tune_state = CT_AGC_STEP_0; in dib0090_gain_control()
1217 if (*tune_state == CT_AGC_STEP_0) in dib0090_gain_control()
1229 if (*tune_state == CT_AGC_STEP_0) { in dib0090_gain_control()
1241 *tune_state = CT_AGC_STEP_1; in dib0090_gain_control()
1287 if (*tune_state == CT_AGC_STEP_1) { /* quickly go to the correct range of the ADC power */ in dib0090_gain_control()
1301 *tune_state = CT_AGC_STOP; in dib0090_gain_control()
1312 (u32) *tune_state, (u32) adc, (u32) adc_error, (u32) wbd, (u32) wbd_error, (u32) wbd_val, in dib0090_gain_control()
[all …]
Ddib0070.c57 enum frontend_tune_state tune_state; member
178 static int dib0070_captrim(struct dib0070_state *state, enum frontend_tune_state *tune_state) in dib0070_captrim() argument
184 if (*tune_state == CT_TUNER_STEP_0) { in dib0070_captrim()
193 *tune_state = CT_TUNER_STEP_1; in dib0070_captrim()
194 } else if (*tune_state == CT_TUNER_STEP_1) { in dib0070_captrim()
199 *tune_state = CT_TUNER_STEP_2; in dib0070_captrim()
200 } else if (*tune_state == CT_TUNER_STEP_2) { in dib0070_captrim()
222 *tune_state = CT_TUNER_STEP_1; in dib0070_captrim()
224 *tune_state = CT_TUNER_STEP_3; in dib0070_captrim()
226 } else if (*tune_state == CT_TUNER_STEP_3) { in dib0070_captrim()
[all …]
Ddib8000.c97 enum frontend_tune_state tune_state; member
1271 enum frontend_tune_state *tune_state = &state->tune_state; in dib8000_agc_startup() local
1276 switch (*tune_state) { in dib8000_agc_startup()
1299 *tune_state = CT_AGC_STOP; in dib8000_agc_startup()
1305 *tune_state = CT_AGC_STEP_0; in dib8000_agc_startup()
1317 *tune_state = CT_AGC_STEP_1; in dib8000_agc_startup()
1328 *tune_state = CT_AGC_STEP_2; in dib8000_agc_startup()
1337 *tune_state = CT_AGC_STOP; in dib8000_agc_startup()
2868 return state->tune_state; in dib8000_get_tune_state()
2871 static int dib8000_set_tune_state(struct dvb_frontend *fe, enum frontend_tune_state tune_state) in dib8000_set_tune_state() argument
[all …]
Ddib0090.h87 extern int dib0090_set_tune_state(struct dvb_frontend *fe, enum frontend_tune_state tune_state);
143 …tic inline int dib0090_set_tune_state(struct dvb_frontend *fe, enum frontend_tune_state tune_state) in dib0090_set_tune_state() argument
Das102_fe_types.h144 uint8_t tune_state; member
Das102_fe.c323 switch (tstate.tune_state) { in as102_fe_read_status()
340 tstate.tune_state, tstate.signal_strength, in as102_fe_read_status()
Ddib8000.h55 int (*set_tune_state)(struct dvb_frontend *fe, enum frontend_tune_state tune_state);
Ddib9000.c61 enum frontend_tune_state tune_state; member
1485 switch (state->tune_state) { in dib9000_fw_tune()
1499 state->tune_state = CT_DEMOD_STEP_1; in dib9000_fw_tune()
1514 state->tune_state = CT_DEMOD_STOP; in dib9000_fw_tune()
1520 state->tune_state = CT_DEMOD_STOP; in dib9000_fw_tune()
1971 static int dib9000_set_tune_state(struct dvb_frontend *fe, enum frontend_tune_state tune_state) in dib9000_set_tune_state() argument
1974 state->tune_state = tune_state; in dib9000_set_tune_state()
1975 if (tune_state == CT_DEMOD_START) in dib9000_set_tune_state()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx_am.c109 switch (am->tune_state) { in mlx5e_am_on_top()
122 switch (am->tune_state) { in mlx5e_am_turn()
127 am->tune_state = MLX5E_AM_GOING_LEFT; in mlx5e_am_turn()
131 am->tune_state = MLX5E_AM_GOING_RIGHT; in mlx5e_am_turn()
142 switch (am->tune_state) { in mlx5e_am_step()
169 am->tune_state = MLX5E_AM_PARKING_ON_TOP; in mlx5e_am_park_on_top()
176 am->tune_state = MLX5E_AM_PARKING_TIRED; in mlx5e_am_park_tired()
181 am->tune_state = am->profile_ix ? MLX5E_AM_GOING_LEFT : in mlx5e_am_exit_parking()
220 int prev_state = am->tune_state; in mlx5e_am_decision()
225 switch (am->tune_state) { in mlx5e_am_decision()
[all …]
Den.h493 u8 tune_state; member
/drivers/media/pci/pt1/
Dva1j5jf8007s.c44 enum va1j5jf8007s_tune_state tune_state; member
113 switch (state->tune_state) { in va1j5jf8007s_read_status()
395 state->tune_state = VA1J5JF8007S_SET_FREQUENCY_1; in va1j5jf8007s_tune()
397 switch (state->tune_state) { in va1j5jf8007s_tune()
408 state->tune_state = VA1J5JF8007S_SET_FREQUENCY_2; in va1j5jf8007s_tune()
418 state->tune_state = VA1J5JF8007S_SET_FREQUENCY_3; in va1j5jf8007s_tune()
428 state->tune_state = VA1J5JF8007S_CHECK_FREQUENCY; in va1j5jf8007s_tune()
444 state->tune_state = VA1J5JF8007S_SET_MODULATION; in va1j5jf8007s_tune()
454 state->tune_state = VA1J5JF8007S_CHECK_MODULATION; in va1j5jf8007s_tune()
470 state->tune_state = VA1J5JF8007S_SET_TS_ID; in va1j5jf8007s_tune()
[all …]
Dva1j5jf8007t.c42 enum va1j5jf8007t_tune_state tune_state; member
103 switch (state->tune_state) { in va1j5jf8007t_read_status()
274 state->tune_state = VA1J5JF8007T_SET_FREQUENCY; in va1j5jf8007t_tune()
276 switch (state->tune_state) { in va1j5jf8007t_tune()
287 state->tune_state = VA1J5JF8007T_CHECK_FREQUENCY; in va1j5jf8007t_tune()
303 state->tune_state = VA1J5JF8007T_SET_MODULATION; in va1j5jf8007t_tune()
313 state->tune_state = VA1J5JF8007T_CHECK_MODULATION; in va1j5jf8007t_tune()
325 state->tune_state = VA1J5JF8007T_ABORT; in va1j5jf8007t_tune()
335 state->tune_state = VA1J5JF8007T_TRACK; in va1j5jf8007t_tune()
414 state->tune_state = VA1J5JF8007T_IDLE; in va1j5jf8007t_init()
/drivers/media/usb/as102/
Das10x_cmd.c200 pstatus->tune_state = prsp->body.get_tune_status.rsp.sts.tune_state; in as10x_cmd_get_tune_status()
/drivers/media/usb/dvb-usb/
Ddib0700_devices.c1658 enum frontend_tune_state tune_state = CT_SHUTDOWN; in dib8096_set_param_override() local
1713 tune_state = dib0090_get_tune_state(fe); in dib8096_set_param_override()
1714 if (tune_state == CT_AGC_STEP_0) in dib8096_set_param_override()
1716 else if (tune_state == CT_AGC_STEP_1) { in dib8096_set_param_override()
1721 } while (tune_state < CT_AGC_STOP); in dib8096_set_param_override()