tune_state 60 drivers/infiniband/core/cq.c dim->tune_state = DIM_GOING_RIGHT; tune_state 314 drivers/media/dvb-frontends/as102_fe.c switch (tstate.tune_state) { tune_state 331 drivers/media/dvb-frontends/as102_fe.c tstate.tune_state, tstate.signal_strength, tune_state 135 drivers/media/dvb-frontends/as102_fe_types.h uint8_t tune_state; tune_state 45 drivers/media/dvb-frontends/dib0070.c enum frontend_tune_state tune_state; tune_state 166 drivers/media/dvb-frontends/dib0070.c static int dib0070_captrim(struct dib0070_state *state, enum frontend_tune_state *tune_state) tune_state 172 drivers/media/dvb-frontends/dib0070.c if (*tune_state == CT_TUNER_STEP_0) { tune_state 181 drivers/media/dvb-frontends/dib0070.c *tune_state = CT_TUNER_STEP_1; tune_state 182 drivers/media/dvb-frontends/dib0070.c } else if (*tune_state == CT_TUNER_STEP_1) { tune_state 187 drivers/media/dvb-frontends/dib0070.c *tune_state = CT_TUNER_STEP_2; tune_state 188 drivers/media/dvb-frontends/dib0070.c } else if (*tune_state == CT_TUNER_STEP_2) { tune_state 210 drivers/media/dvb-frontends/dib0070.c *tune_state = CT_TUNER_STEP_1; tune_state 212 drivers/media/dvb-frontends/dib0070.c *tune_state = CT_TUNER_STEP_3; tune_state 214 drivers/media/dvb-frontends/dib0070.c } else if (*tune_state == CT_TUNER_STEP_3) { tune_state 217 drivers/media/dvb-frontends/dib0070.c *tune_state = CT_TUNER_STEP_4; tune_state 326 drivers/media/dvb-frontends/dib0070.c enum frontend_tune_state *tune_state = &state->tune_state; tune_state 366 drivers/media/dvb-frontends/dib0070.c if (*tune_state == CT_TUNER_START) { tune_state 452 drivers/media/dvb-frontends/dib0070.c *tune_state = CT_TUNER_STEP_0; tune_state 455 drivers/media/dvb-frontends/dib0070.c *tune_state = CT_TUNER_STEP_5; tune_state 457 drivers/media/dvb-frontends/dib0070.c } else if ((*tune_state > CT_TUNER_START) && (*tune_state < CT_TUNER_STEP_4)) { tune_state 459 drivers/media/dvb-frontends/dib0070.c ret = dib0070_captrim(state, tune_state); tune_state 461 drivers/media/dvb-frontends/dib0070.c } else if (*tune_state == CT_TUNER_STEP_4) { tune_state 490 drivers/media/dvb-frontends/dib0070.c *tune_state = CT_TUNER_STEP_5; tune_state 491 drivers/media/dvb-frontends/dib0070.c } else if (*tune_state == CT_TUNER_STEP_5) { tune_state 493 drivers/media/dvb-frontends/dib0070.c *tune_state = CT_TUNER_STOP; tune_state 506 drivers/media/dvb-frontends/dib0070.c state->tune_state = CT_TUNER_START; tune_state 514 drivers/media/dvb-frontends/dib0070.c } while (state->tune_state != CT_TUNER_STOP); tune_state 129 drivers/media/dvb-frontends/dib0090.c enum frontend_tune_state tune_state; tune_state 1153 drivers/media/dvb-frontends/dib0090.c enum frontend_tune_state *tune_state = &state->tune_state; tune_state 1160 drivers/media/dvb-frontends/dib0090.c if (*tune_state == CT_AGC_START) { tune_state 1198 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_AGC_STEP_0; tune_state 1205 drivers/media/dvb-frontends/dib0090.c if (*tune_state == CT_AGC_STEP_0) tune_state 1217 drivers/media/dvb-frontends/dib0090.c if (*tune_state == CT_AGC_STEP_0) { tune_state 1229 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_AGC_STEP_1; tune_state 1275 drivers/media/dvb-frontends/dib0090.c if (*tune_state == CT_AGC_STEP_1) { /* quickly go to the correct range of the ADC power */ tune_state 1289 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_AGC_STOP; tune_state 1300 drivers/media/dvb-frontends/dib0090.c (u32) *tune_state, (u32) adc, (u32) adc_error, (u32) wbd, (u32) wbd_error, (u32) wbd_val, tune_state 1594 drivers/media/dvb-frontends/dib0090.c static int dib0090_get_offset(struct dib0090_state *state, enum frontend_tune_state *tune_state) tune_state 1598 drivers/media/dvb-frontends/dib0090.c switch (*tune_state) { tune_state 1602 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_STEP_3; tune_state 1610 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_STEP_4; tune_state 1615 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_STEP_5; tune_state 1670 drivers/media/dvb-frontends/dib0090.c static int dib0090_dc_offset_calibration(struct dib0090_state *state, enum frontend_tune_state *tune_state) tune_state 1675 drivers/media/dvb-frontends/dib0090.c switch (*tune_state) { tune_state 1705 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_STEP_1; tune_state 1711 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_STEP_2; tune_state 1717 drivers/media/dvb-frontends/dib0090.c ret = dib0090_get_offset(state, tune_state); tune_state 1742 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_STEP_1; tune_state 1755 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_STEP_6; tune_state 1757 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_STEP_0; tune_state 1765 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_START; /* reset done -> real tuning can now begin */ tune_state 1773 drivers/media/dvb-frontends/dib0090.c static int dib0090_wbd_calibration(struct dib0090_state *state, enum frontend_tune_state *tune_state) tune_state 1778 drivers/media/dvb-frontends/dib0090.c switch (*tune_state) { tune_state 1793 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_START; tune_state 1801 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_STEP_0; tune_state 1808 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_START; /* reset done -> real tuning can now begin */ tune_state 2072 drivers/media/dvb-frontends/dib0090.c static int dib0090_captrim_search(struct dib0090_state *state, enum frontend_tune_state *tune_state) tune_state 2085 drivers/media/dvb-frontends/dib0090.c if (*tune_state == CT_TUNER_START) { tune_state 2105 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_STEP_0; tune_state 2107 drivers/media/dvb-frontends/dib0090.c } else if (*tune_state == CT_TUNER_STEP_0) { tune_state 2121 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_STEP_1; tune_state 2123 drivers/media/dvb-frontends/dib0090.c } else if (*tune_state == CT_TUNER_STEP_1) { tune_state 2130 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_STEP_3; tune_state 2158 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_STEP_0; tune_state 2160 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_STEP_2; tune_state 2164 drivers/media/dvb-frontends/dib0090.c } else if (*tune_state == CT_TUNER_STEP_2) { /* this step is only used by krosus < P1G */ tune_state 2168 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_STEP_3; tune_state 2170 drivers/media/dvb-frontends/dib0090.c } else if (*tune_state == CT_TUNER_STEP_3) { tune_state 2172 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_STEP_0; tune_state 2178 drivers/media/dvb-frontends/dib0090.c static int dib0090_get_temperature(struct dib0090_state *state, enum frontend_tune_state *tune_state) tune_state 2183 drivers/media/dvb-frontends/dib0090.c switch (*tune_state) { tune_state 2191 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_STEP_0; tune_state 2198 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_STEP_1; tune_state 2207 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_STEP_2; tune_state 2214 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_START; tune_state 2234 drivers/media/dvb-frontends/dib0090.c enum frontend_tune_state *tune_state = &state->tune_state; tune_state 2247 drivers/media/dvb-frontends/dib0090.c if (*tune_state == CT_TUNER_START) { tune_state 2258 drivers/media/dvb-frontends/dib0090.c return dib0090_dc_offset_calibration(state, tune_state); tune_state 2262 drivers/media/dvb-frontends/dib0090.c return dib0090_wbd_calibration(state, tune_state); tune_state 2264 drivers/media/dvb-frontends/dib0090.c return dib0090_get_temperature(state, tune_state); tune_state 2266 drivers/media/dvb-frontends/dib0090.c return dib0090_captrim_search(state, tune_state); tune_state 2268 drivers/media/dvb-frontends/dib0090.c if (*tune_state == CT_TUNER_START) { tune_state 2453 drivers/media/dvb-frontends/dib0090.c else if (*tune_state == CT_TUNER_STEP_0) { /* Warning : because of captrim cal, if you change this step, change it also in _cal.c file because it is the step following captrim cal state machine */ tune_state 2489 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_STEP_1; tune_state 2491 drivers/media/dvb-frontends/dib0090.c } else if (*tune_state == CT_TUNER_STEP_1) { tune_state 2500 drivers/media/dvb-frontends/dib0090.c *tune_state = CT_TUNER_STOP; tune_state 2516 drivers/media/dvb-frontends/dib0090.c return state->tune_state; tune_state 2521 drivers/media/dvb-frontends/dib0090.c int dib0090_set_tune_state(struct dvb_frontend *fe, enum frontend_tune_state tune_state) tune_state 2525 drivers/media/dvb-frontends/dib0090.c state->tune_state = tune_state; tune_state 2544 drivers/media/dvb-frontends/dib0090.c state->tune_state = CT_TUNER_START; tune_state 2561 drivers/media/dvb-frontends/dib0090.c } while (state->tune_state != CT_TUNER_STOP); tune_state 84 drivers/media/dvb-frontends/dib0090.h extern int dib0090_set_tune_state(struct dvb_frontend *fe, enum frontend_tune_state tune_state); tune_state 140 drivers/media/dvb-frontends/dib0090.h static inline int dib0090_set_tune_state(struct dvb_frontend *fe, enum frontend_tune_state tune_state) tune_state 94 drivers/media/dvb-frontends/dib8000.c enum frontend_tune_state tune_state; tune_state 1268 drivers/media/dvb-frontends/dib8000.c enum frontend_tune_state *tune_state = &state->tune_state; tune_state 1273 drivers/media/dvb-frontends/dib8000.c switch (*tune_state) { tune_state 1296 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_AGC_STOP; tune_state 1302 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_AGC_STEP_0; tune_state 1314 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_AGC_STEP_1; tune_state 1325 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_AGC_STEP_2; tune_state 1334 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_AGC_STOP; tune_state 2865 drivers/media/dvb-frontends/dib8000.c return state->tune_state; tune_state 2868 drivers/media/dvb-frontends/dib8000.c static int dib8000_set_tune_state(struct dvb_frontend *fe, enum frontend_tune_state tune_state) tune_state 2872 drivers/media/dvb-frontends/dib8000.c state->tune_state = tune_state; tune_state 2881 drivers/media/dvb-frontends/dib8000.c state->tune_state = CT_DEMOD_START; tune_state 3000 drivers/media/dvb-frontends/dib8000.c enum frontend_tune_state *tune_state = &state->tune_state; tune_state 3015 drivers/media/dvb-frontends/dib8000.c if (*tune_state < CT_DEMOD_STOP) tune_state 3017 drivers/media/dvb-frontends/dib8000.c state->channel_parameters_set, *tune_state, state->autosearch_state, now); tune_state 3020 drivers/media/dvb-frontends/dib8000.c switch (*tune_state) { tune_state 3058 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_SEARCH_NEXT; tune_state 3061 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STEP_3; tune_state 3072 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STEP_1; tune_state 3080 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STOP; /* else we are done here */ tune_state 3084 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STEP_3; tune_state 3086 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STEP_2; tune_state 3091 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STEP_2; tune_state 3131 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_SEARCH_NEXT; tune_state 3146 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STEP_3; tune_state 3152 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STOP; /* else we are done here */ tune_state 3160 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STEP_4; tune_state 3172 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STEP_5; tune_state 3182 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STEP_7; tune_state 3184 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STEP_8; tune_state 3187 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STEP_6; /* goto check for diversity input connection */ tune_state 3195 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STEP_8; /* go for mpeg */ tune_state 3197 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STOP; /* else we are done here ; step 8 will close the loops and exit */ tune_state 3205 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STOP; /* else we are done here ; step 8 will close the loops and exit */ tune_state 3214 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STEP_8; tune_state 3216 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STEP_6; /* goto check for diversity input connection */ tune_state 3228 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STEP_11; tune_state 3230 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STEP_9; tune_state 3262 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STEP_10; tune_state 3264 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STOP; tune_state 3281 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STOP; tune_state 3287 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STEP_11; tune_state 3299 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STOP; tune_state 3307 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STEP_9; tune_state 3309 drivers/media/dvb-frontends/dib8000.c *tune_state = CT_DEMOD_STOP; tune_state 3319 drivers/media/dvb-frontends/dib8000.c switch (*tune_state) { tune_state 3339 drivers/media/dvb-frontends/dib8000.c if ((ret > 0) && (*tune_state > CT_DEMOD_STEP_3)) tune_state 55 drivers/media/dvb-frontends/dib8000.h int (*set_tune_state)(struct dvb_frontend *fe, enum frontend_tune_state tune_state); tune_state 58 drivers/media/dvb-frontends/dib9000.c enum frontend_tune_state tune_state; tune_state 1482 drivers/media/dvb-frontends/dib9000.c switch (state->tune_state) { tune_state 1496 drivers/media/dvb-frontends/dib9000.c state->tune_state = CT_DEMOD_STEP_1; tune_state 1511 drivers/media/dvb-frontends/dib9000.c state->tune_state = CT_DEMOD_STOP; tune_state 1517 drivers/media/dvb-frontends/dib9000.c state->tune_state = CT_DEMOD_STOP; tune_state 1968 drivers/media/dvb-frontends/dib9000.c static int dib9000_set_tune_state(struct dvb_frontend *fe, enum frontend_tune_state tune_state) tune_state 1971 drivers/media/dvb-frontends/dib9000.c state->tune_state = tune_state; tune_state 1972 drivers/media/dvb-frontends/dib9000.c if (tune_state == CT_DEMOD_START) tune_state 191 drivers/media/usb/as102/as10x_cmd.c pstatus->tune_state = prsp->body.get_tune_status.rsp.sts.tune_state; tune_state 1658 drivers/media/usb/dvb-usb/dib0700_devices.c enum frontend_tune_state tune_state = CT_SHUTDOWN; tune_state 1713 drivers/media/usb/dvb-usb/dib0700_devices.c tune_state = dib0090_get_tune_state(fe); tune_state 1714 drivers/media/usb/dvb-usb/dib0700_devices.c if (tune_state == CT_AGC_STEP_0) tune_state 1716 drivers/media/usb/dvb-usb/dib0700_devices.c else if (tune_state == CT_AGC_STEP_1) { tune_state 1721 drivers/media/usb/dvb-usb/dib0700_devices.c } while (tune_state < CT_AGC_STOP); tune_state 43 drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c dim->tune_state, tune_state 102 include/linux/dim.h u8 tune_state; tune_state 10 lib/dim/dim.c switch (dim->tune_state) { tune_state 24 lib/dim/dim.c switch (dim->tune_state) { tune_state 29 lib/dim/dim.c dim->tune_state = DIM_GOING_LEFT; tune_state 33 lib/dim/dim.c dim->tune_state = DIM_GOING_RIGHT; tune_state 45 lib/dim/dim.c dim->tune_state = DIM_PARKING_ON_TOP; tune_state 53 lib/dim/dim.c dim->tune_state = DIM_PARKING_TIRED; tune_state 109 lib/dim/net_dim.c switch (dim->tune_state) { tune_state 133 lib/dim/net_dim.c dim->tune_state = dim->profile_ix ? DIM_GOING_LEFT : DIM_GOING_RIGHT; tune_state 167 lib/dim/net_dim.c int prev_state = dim->tune_state; tune_state 172 lib/dim/net_dim.c switch (dim->tune_state) { tune_state 212 lib/dim/net_dim.c dim->tune_state != DIM_PARKING_ON_TOP) tune_state 10 lib/dim/rdma_dim.c if (dim->tune_state == DIM_GOING_RIGHT) { tune_state 16 lib/dim/rdma_dim.c if (dim->tune_state == DIM_GOING_LEFT) { tune_state 47 lib/dim/rdma_dim.c u8 state = dim->tune_state;