Lines Matching refs:txcount
2586 u32 rfpath, eeaddr = EEPROM_TX_PWR_INX, group, txcount = 0; in _rtl8821ae_read_power_value_fromprom() local
2603 for (txcount = 0; txcount < MAX_TX_COUNT; txcount++) { in _rtl8821ae_read_power_value_fromprom()
2604 if (txcount == 0) { in _rtl8821ae_read_power_value_fromprom()
2608 pwrinfo24g->bw20_diff[rfpath][txcount] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2609 pwrinfo24g->bw40_diff[rfpath][txcount] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2610 pwrinfo24g->cck_diff[rfpath][txcount] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2611 pwrinfo24g->ofdm_diff[rfpath][txcount] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2618 for (txcount = 0; txcount < MAX_TX_COUNT; txcount++) { in _rtl8821ae_read_power_value_fromprom()
2619 if (txcount == 0) { in _rtl8821ae_read_power_value_fromprom()
2650 for (txcount = 0; txcount < MAX_TX_COUNT; txcount++) { in _rtl8821ae_read_power_value_fromprom()
2651 if (txcount == 0) { in _rtl8821ae_read_power_value_fromprom()
2652 pwrinfo24g->bw40_diff[rfpath][txcount] = 0; in _rtl8821ae_read_power_value_fromprom()
2654 pwrinfo24g->bw20_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2655 if (pwrinfo24g->bw20_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2656 pwrinfo24g->bw20_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2658 pwrinfo24g->ofdm_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2659 if (pwrinfo24g->ofdm_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2660 pwrinfo24g->ofdm_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2662 pwrinfo24g->cck_diff[rfpath][txcount] = 0; in _rtl8821ae_read_power_value_fromprom()
2665 pwrinfo24g->bw40_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2666 if (pwrinfo24g->bw40_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2667 pwrinfo24g->bw40_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2669 pwrinfo24g->bw20_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2670 if (pwrinfo24g->bw20_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2671 pwrinfo24g->bw20_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2675 pwrinfo24g->ofdm_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2676 if (pwrinfo24g->ofdm_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2677 pwrinfo24g->ofdm_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2679 pwrinfo24g->cck_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2680 if (pwrinfo24g->cck_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2681 pwrinfo24g->cck_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2694 for (txcount = 0; txcount < MAX_TX_COUNT; txcount++) { in _rtl8821ae_read_power_value_fromprom()
2695 if (txcount == 0) { in _rtl8821ae_read_power_value_fromprom()
2696 pwrinfo5g->bw40_diff[rfpath][txcount] = 0; in _rtl8821ae_read_power_value_fromprom()
2699 if (pwrinfo5g->bw20_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2700 pwrinfo5g->bw20_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2703 if (pwrinfo5g->ofdm_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2704 pwrinfo5g->ofdm_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2708 pwrinfo5g->bw40_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2709 if (pwrinfo5g->bw40_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2710 pwrinfo5g->bw40_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2712 pwrinfo5g->bw20_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2713 if (pwrinfo5g->bw20_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2714 pwrinfo5g->bw20_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2729 for (txcount = 1; txcount < MAX_TX_COUNT; txcount++) { in _rtl8821ae_read_power_value_fromprom()
2730 if (pwrinfo5g->ofdm_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2731 pwrinfo5g->ofdm_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2733 for (txcount = 0; txcount < MAX_TX_COUNT; txcount++) { in _rtl8821ae_read_power_value_fromprom()
2734 pwrinfo5g->bw80_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2736 if (pwrinfo5g->bw80_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2737 pwrinfo5g->bw80_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2739 pwrinfo5g->bw160_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2740 if (pwrinfo5g->bw160_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2741 pwrinfo5g->bw160_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()