Lines Matching full:identity
166 struct dib0090_identity identity; member
190 struct dib0090_identity identity; member
331 struct dib0090_identity *identity = &state->identity; in dib0090_identify() local
335 identity->p1g = 0; in dib0090_identify()
336 identity->in_soc = 0; in dib0090_identify()
343 identity->version = v & 0xff; in dib0090_identify()
344 identity->product = (v >> 8) & 0xf; in dib0090_identify()
346 if (identity->product != KROSUS) in dib0090_identify()
349 if ((identity->version & 0x3) == SOC) { in dib0090_identify()
350 identity->in_soc = 1; in dib0090_identify()
351 switch (identity->version) { in dib0090_identify()
354 identity->p1g = 1; in dib0090_identify()
358 identity->p1g = 1; in dib0090_identify()
362 identity->p1g = 1; in dib0090_identify()
366 identity->p1g = 1; in dib0090_identify()
372 switch ((identity->version >> 5) & 0x7) { in dib0090_identify()
389 switch (identity->version & 0x1f) { in dib0090_identify()
392 identity->p1g = 1; in dib0090_identify()
396 identity->p1g = 1; in dib0090_identify()
422 struct dib0090_identity *identity = &state->identity; in dib0090_fw_identify() local
425 identity->p1g = 0; in dib0090_fw_identify()
426 identity->in_soc = 0; in dib0090_fw_identify()
433 identity->version = v & 0xff; in dib0090_fw_identify()
434 identity->product = (v >> 8) & 0xf; in dib0090_fw_identify()
436 if (identity->product != KROSUS) in dib0090_fw_identify()
439 if ((identity->version & 0x3) == SOC) { in dib0090_fw_identify()
440 identity->in_soc = 1; in dib0090_fw_identify()
441 switch (identity->version) { in dib0090_fw_identify()
444 identity->p1g = 1; in dib0090_fw_identify()
448 identity->p1g = 1; in dib0090_fw_identify()
452 identity->p1g = 1; in dib0090_fw_identify()
456 identity->p1g = 1; in dib0090_fw_identify()
462 switch ((identity->version >> 5) & 0x7) { in dib0090_fw_identify()
479 switch (identity->version & 0x1f) { in dib0090_fw_identify()
482 identity->p1g = 1; in dib0090_fw_identify()
486 identity->p1g = 1; in dib0090_fw_identify()
1070 if (state->identity.in_soc) { in dib0090_pwm_gain_reset()
1072 … if (state->identity.version == SOC_8090_P1G_11R1 || state->identity.version == SOC_8090_P1G_21R1) in dib0090_pwm_gain_reset()
1074 …else if (state->identity.version == SOC_7090_P1G_11R1 || state->identity.version == SOC_7090_P1G_2… in dib0090_pwm_gain_reset()
1088 if (state->identity.in_soc) { in dib0090_pwm_gain_reset()
1094 if (state->identity.in_soc) { in dib0090_pwm_gain_reset()
1096 … if (state->identity.version == SOC_8090_P1G_11R1 || state->identity.version == SOC_8090_P1G_21R1) in dib0090_pwm_gain_reset()
1098 …else if (state->identity.version == SOC_7090_P1G_11R1 || state->identity.version == SOC_7090_P1G_2… in dib0090_pwm_gain_reset()
1112 state->identity.version & 0x1f); in dib0090_pwm_gain_reset()
1116 (state->identity.version & 0x1f) <= P1D_E_F))) { in dib0090_pwm_gain_reset()
1125 if (state->identity.version == SOC_7090_P1G_11R1 || state->identity.version == SOC_7090_P1G_21R1) in dib0090_pwm_gain_reset()
1145 if (state->identity.in_soc) in dib0090_get_slow_adc_val()
1171 if (state->current_band == BAND_VHF && !state->identity.p1g) { in dib0090_gain_control()
1177 if (state->current_band == BAND_CBAND && !state->identity.p1g) { in dib0090_gain_control()
1182 …if ((state->current_band == BAND_CBAND || state->current_band == BAND_VHF) && state->identity.p1g)… in dib0090_gain_control()
1218 if (wbd_error < 0 && state->rf_gain_limit > 0 && !state->identity.p1g) { in dib0090_gain_control()
1399 if ((!state->identity.p1g) || (!state->identity.in_soc) in dib0090_update_rframp_7090()
1400 || ((state->identity.version != SOC_7090_P1G_21R1) in dib0090_update_rframp_7090()
1401 && (state->identity.version != SOC_7090_P1G_11R1))) { in dib0090_update_rframp_7090()
1510 if ((state->identity.version == P1D_E_F) || in dib0090_set_EFUSE()
1511 (state->identity.version == P1G) || (e2 == 0xffff)) { in dib0090_set_EFUSE()
1554 if (!(state->identity.version & 0x1)) /* it is P1B - reset is already done */ in dib0090_reset()
1558 if (!state->identity.in_soc) { in dib0090_reset()
1567 if (state->identity.in_soc) in dib0090_reset()
1570 if (state->identity.p1g) in dib0090_reset()
1574 if (((state->identity.version & 0x1f) >= P1D_E_F) || (state->identity.in_soc)) in dib0090_reset()
1693 if (state->identity.p1g) in dib0090_dc_offset_calibration()
1841 if (state->identity.in_soc) { in dib0090_set_bandwidth()
2052 if ((!state->identity.p1g) || (!state->identity.in_soc) in dib0090_update_tuning_table_7090()
2053 || ((state->identity.version != SOC_7090_P1G_21R1) in dib0090_update_tuning_table_7090()
2054 && (state->identity.version != SOC_7090_P1G_11R1))) { in dib0090_update_tuning_table_7090()
2085 if (state->identity.version == SOC_8090_P1G_11R1 || state->identity.version == SOC_8090_P1G_21R1) in dib0090_captrim_search()
2096 if (!state->identity.p1g || force_soft_search) in dib0090_captrim_search()
2101 if (!state->identity.p1g || force_soft_search) { in dib0090_captrim_search()
2111 if (state->identity.p1g && !force_soft_search) { in dib0090_captrim_search()
2121 if (state->identity.in_soc) in dib0090_captrim_search()
2127 if (state->identity.p1g && !force_soft_search) { in dib0090_captrim_search()
2140 …if (state->rest == 0 || state->identity.in_soc) { /* Just for 8090P SOCS where auto captrim HW bug… in dib0090_captrim_search()
2273 if (state->config->use_pwm_agc && state->identity.in_soc) { in dib0090_tune()
2314 if (state->identity.p1g) in dib0090_tune()
2317 tmp = (state->identity.version >> 5) & 0x7; in dib0090_tune()
2319 if (state->identity.in_soc) { in dib0090_tune()
2345 if (state->identity.p1g) in dib0090_tune()
2351 if (state->identity.p1g) in dib0090_tune()
2404 if (state->identity.p1g) { /* Bias is done automatically in P1G */ in dib0090_tune()
2405 if (state->identity.in_soc) { in dib0090_tune()
2406 if (state->identity.version == SOC_8090_P1G_11R1) in dib0090_tune()
2417 if (state->identity.in_soc) in dib0090_tune()
2419 else if (state->identity.p1g || (Rest == 0)) in dib0090_tune()
2482 if ((tune->tuner_enable == EN_CAB) && state->identity.p1g) { in dib0090_tune()