Lines Matching refs:tab
925 struct phytbl_info tab; in wlc_lcnphy_common_read_table() local
926 tab.tbl_id = tbl_id; in wlc_lcnphy_common_read_table()
927 tab.tbl_ptr = tbl_ptr; in wlc_lcnphy_common_read_table()
928 tab.tbl_len = tbl_len; in wlc_lcnphy_common_read_table()
929 tab.tbl_width = tbl_width; in wlc_lcnphy_common_read_table()
930 tab.tbl_offset = tbl_offset; in wlc_lcnphy_common_read_table()
931 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_common_read_table()
940 struct phytbl_info tab; in wlc_lcnphy_common_write_table() local
941 tab.tbl_id = tbl_id; in wlc_lcnphy_common_write_table()
942 tab.tbl_ptr = tbl_ptr; in wlc_lcnphy_common_write_table()
943 tab.tbl_len = tbl_len; in wlc_lcnphy_common_write_table()
944 tab.tbl_width = tbl_width; in wlc_lcnphy_common_write_table()
945 tab.tbl_offset = tbl_offset; in wlc_lcnphy_common_write_table()
946 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_common_write_table()
1894 struct phytbl_info tab; in wlc_lcnphy_get_bbmult() local
1896 tab.tbl_ptr = &m0m1; in wlc_lcnphy_get_bbmult()
1897 tab.tbl_len = 1; in wlc_lcnphy_get_bbmult()
1898 tab.tbl_id = LCNPHY_TBL_ID_IQLOCAL; in wlc_lcnphy_get_bbmult()
1899 tab.tbl_offset = 87; in wlc_lcnphy_get_bbmult()
1900 tab.tbl_width = 16; in wlc_lcnphy_get_bbmult()
1901 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_get_bbmult()
1909 struct phytbl_info tab; in wlc_lcnphy_set_bbmult() local
1911 tab.tbl_ptr = &m0m1; in wlc_lcnphy_set_bbmult()
1912 tab.tbl_len = 1; in wlc_lcnphy_set_bbmult()
1913 tab.tbl_id = LCNPHY_TBL_ID_IQLOCAL; in wlc_lcnphy_set_bbmult()
1914 tab.tbl_offset = 87; in wlc_lcnphy_set_bbmult()
1915 tab.tbl_width = 16; in wlc_lcnphy_set_bbmult()
1916 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_set_bbmult()
1922 struct phytbl_info tab; in wlc_lcnphy_clear_tx_power_offsets() local
1926 tab.tbl_id = LCNPHY_TBL_ID_TXPWRCTL; in wlc_lcnphy_clear_tx_power_offsets()
1927 tab.tbl_width = 32; in wlc_lcnphy_clear_tx_power_offsets()
1928 tab.tbl_ptr = data_buf; in wlc_lcnphy_clear_tx_power_offsets()
1932 tab.tbl_len = 30; in wlc_lcnphy_clear_tx_power_offsets()
1933 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_RATE_OFFSET; in wlc_lcnphy_clear_tx_power_offsets()
1934 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_clear_tx_power_offsets()
1937 tab.tbl_len = 64; in wlc_lcnphy_clear_tx_power_offsets()
1938 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_MAC_OFFSET; in wlc_lcnphy_clear_tx_power_offsets()
1939 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_clear_tx_power_offsets()
2066 struct phytbl_info tab; in wlc_lcnphy_tssi_setup() local
2078 tab.tbl_id = LCNPHY_TBL_ID_TXPWRCTL; in wlc_lcnphy_tssi_setup()
2079 tab.tbl_width = 32; in wlc_lcnphy_tssi_setup()
2080 tab.tbl_ptr = &ind; in wlc_lcnphy_tssi_setup()
2081 tab.tbl_len = 1; in wlc_lcnphy_tssi_setup()
2082 tab.tbl_offset = 0; in wlc_lcnphy_tssi_setup()
2084 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_tssi_setup()
2085 tab.tbl_offset++; in wlc_lcnphy_tssi_setup()
2087 tab.tbl_offset = 704; in wlc_lcnphy_tssi_setup()
2089 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_tssi_setup()
2090 tab.tbl_offset++; in wlc_lcnphy_tssi_setup()
2167 tab.tbl_id = LCNPHY_TBL_ID_RFSEQ; in wlc_lcnphy_tssi_setup()
2168 tab.tbl_width = 16; in wlc_lcnphy_tssi_setup()
2169 tab.tbl_ptr = &rfseq; in wlc_lcnphy_tssi_setup()
2170 tab.tbl_len = 1; in wlc_lcnphy_tssi_setup()
2171 tab.tbl_offset = 6; in wlc_lcnphy_tssi_setup()
2172 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_tssi_setup()
2233 struct phytbl_info tab; in wlc_lcnphy_txpower_recalc_target() local
2248 tab.tbl_id = LCNPHY_TBL_ID_TXPWRCTL; in wlc_lcnphy_txpower_recalc_target()
2249 tab.tbl_width = 32; in wlc_lcnphy_txpower_recalc_target()
2250 tab.tbl_len = ARRAY_SIZE(rate_table); in wlc_lcnphy_txpower_recalc_target()
2251 tab.tbl_ptr = rate_table; in wlc_lcnphy_txpower_recalc_target()
2252 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_RATE_OFFSET; in wlc_lcnphy_txpower_recalc_target()
2253 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_txpower_recalc_target()
2268 struct phytbl_info tab; in wlc_lcnphy_set_tx_pwr_soft_ctrl() local
2282 tab.tbl_id = LCNPHY_TBL_ID_TXPWRCTL; in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2283 tab.tbl_width = 32; in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2284 tab.tbl_len = 4; in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2285 tab.tbl_ptr = cck_offset; in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2286 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_RATE_OFFSET; in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2287 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2289 tab.tbl_len = 1; in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2290 tab.tbl_ptr = &ofdm_offset; in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2292 tab.tbl_offset = i; in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2293 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2871 struct phytbl_info tab; in wlc_lcnphy_vbat_temp_sense_setup() local
2949 tab.tbl_id = LCNPHY_TBL_ID_RFSEQ; in wlc_lcnphy_vbat_temp_sense_setup()
2950 tab.tbl_width = 16; in wlc_lcnphy_vbat_temp_sense_setup()
2951 tab.tbl_len = 1; in wlc_lcnphy_vbat_temp_sense_setup()
2952 tab.tbl_ptr = &val; in wlc_lcnphy_vbat_temp_sense_setup()
2953 tab.tbl_offset = 6; in wlc_lcnphy_vbat_temp_sense_setup()
2954 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_vbat_temp_sense_setup()
3011 struct phytbl_info tab; in wlc_lcnphy_tx_pwr_ctrl_init() local
3052 tab.tbl_id = LCNPHY_TBL_ID_TXPWRCTL; in wlc_lcnphy_tx_pwr_ctrl_init()
3053 tab.tbl_width = 32; in wlc_lcnphy_tx_pwr_ctrl_init()
3054 tab.tbl_ptr = &pwr; in wlc_lcnphy_tx_pwr_ctrl_init()
3055 tab.tbl_len = 1; in wlc_lcnphy_tx_pwr_ctrl_init()
3056 tab.tbl_offset = 0; in wlc_lcnphy_tx_pwr_ctrl_init()
3061 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_tx_pwr_ctrl_init()
3062 tab.tbl_offset++; in wlc_lcnphy_tx_pwr_ctrl_init()
3104 struct phytbl_info tab; in wlc_lcnphy_set_tx_iqcc() local
3110 tab.tbl_id = LCNPHY_TBL_ID_IQLOCAL; in wlc_lcnphy_set_tx_iqcc()
3111 tab.tbl_width = 16; in wlc_lcnphy_set_tx_iqcc()
3112 tab.tbl_ptr = iqcc; in wlc_lcnphy_set_tx_iqcc()
3113 tab.tbl_len = 2; in wlc_lcnphy_set_tx_iqcc()
3114 tab.tbl_offset = 80; in wlc_lcnphy_set_tx_iqcc()
3115 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_set_tx_iqcc()
3120 struct phytbl_info tab; in wlc_lcnphy_set_tx_locc() local
3122 tab.tbl_id = LCNPHY_TBL_ID_IQLOCAL; in wlc_lcnphy_set_tx_locc()
3123 tab.tbl_width = 16; in wlc_lcnphy_set_tx_locc()
3124 tab.tbl_ptr = &didq; in wlc_lcnphy_set_tx_locc()
3125 tab.tbl_len = 1; in wlc_lcnphy_set_tx_locc()
3126 tab.tbl_offset = 85; in wlc_lcnphy_set_tx_locc()
3127 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_set_tx_locc()
3132 struct phytbl_info tab; in wlc_lcnphy_set_tx_pwr_by_index() local
3142 tab.tbl_id = LCNPHY_TBL_ID_TXPWRCTL; in wlc_lcnphy_set_tx_pwr_by_index()
3143 tab.tbl_width = 32; in wlc_lcnphy_set_tx_pwr_by_index()
3144 tab.tbl_len = 1; in wlc_lcnphy_set_tx_pwr_by_index()
3148 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_IQ_OFFSET + index; in wlc_lcnphy_set_tx_pwr_by_index()
3149 tab.tbl_ptr = &bbmultiqcomp; in wlc_lcnphy_set_tx_pwr_by_index()
3150 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_set_tx_pwr_by_index()
3152 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_GAIN_OFFSET + index; in wlc_lcnphy_set_tx_pwr_by_index()
3153 tab.tbl_width = 32; in wlc_lcnphy_set_tx_pwr_by_index()
3154 tab.tbl_ptr = &txgain; in wlc_lcnphy_set_tx_pwr_by_index()
3155 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_set_tx_pwr_by_index()
3175 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_LO_OFFSET + index; in wlc_lcnphy_set_tx_pwr_by_index()
3176 tab.tbl_ptr = &locoeffs; in wlc_lcnphy_set_tx_pwr_by_index()
3177 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_set_tx_pwr_by_index()
3181 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_PWR_OFFSET + index; in wlc_lcnphy_set_tx_pwr_by_index()
3182 tab.tbl_ptr = &rfpower; in wlc_lcnphy_set_tx_pwr_by_index()
3183 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_set_tx_pwr_by_index()
3192 struct phytbl_info tab; in wlc_lcnphy_clear_papd_comptable() local
3194 tab.tbl_ptr = temp_offset; in wlc_lcnphy_clear_papd_comptable()
3195 tab.tbl_len = 128; in wlc_lcnphy_clear_papd_comptable()
3196 tab.tbl_id = LCNPHY_TBL_ID_PAPDCOMPDELTATBL; in wlc_lcnphy_clear_papd_comptable()
3197 tab.tbl_width = 32; in wlc_lcnphy_clear_papd_comptable()
3198 tab.tbl_offset = 0; in wlc_lcnphy_clear_papd_comptable()
3204 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_clear_papd_comptable()
3343 struct phytbl_info tab; in wlc_lcnphy_start_tx_tone() local
3386 tab.tbl_ptr = data_buf; in wlc_lcnphy_start_tx_tone()
3387 tab.tbl_len = num_samps; in wlc_lcnphy_start_tx_tone()
3388 tab.tbl_id = LCNPHY_TBL_ID_SAMPLEPLAY; in wlc_lcnphy_start_tx_tone()
3389 tab.tbl_offset = 0; in wlc_lcnphy_start_tx_tone()
3390 tab.tbl_width = 32; in wlc_lcnphy_start_tx_tone()
3391 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_start_tx_tone()
3787 struct phytbl_info tab; in wlc_lcnphy_get_tx_iqcc() local
3789 tab.tbl_ptr = iqcc; in wlc_lcnphy_get_tx_iqcc()
3790 tab.tbl_len = 2; in wlc_lcnphy_get_tx_iqcc()
3791 tab.tbl_id = 0; in wlc_lcnphy_get_tx_iqcc()
3792 tab.tbl_offset = 80; in wlc_lcnphy_get_tx_iqcc()
3793 tab.tbl_width = 16; in wlc_lcnphy_get_tx_iqcc()
3794 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_get_tx_iqcc()
3822 struct phytbl_info tab; in wlc_lcnphy_get_tx_locc() local
3825 tab.tbl_id = 0; in wlc_lcnphy_get_tx_locc()
3826 tab.tbl_width = 16; in wlc_lcnphy_get_tx_locc()
3827 tab.tbl_ptr = &didq; in wlc_lcnphy_get_tx_locc()
3828 tab.tbl_len = 1; in wlc_lcnphy_get_tx_locc()
3829 tab.tbl_offset = 85; in wlc_lcnphy_get_tx_locc()
3830 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_get_tx_locc()
3844 struct phytbl_info tab; in wlc_lcnphy_txpwrtbl_iqlo_cal() local
3908 tab.tbl_id = LCNPHY_TBL_ID_TXPWRCTL; in wlc_lcnphy_txpwrtbl_iqlo_cal()
3909 tab.tbl_width = 32; in wlc_lcnphy_txpwrtbl_iqlo_cal()
3910 tab.tbl_ptr = &val; in wlc_lcnphy_txpwrtbl_iqlo_cal()
3912 tab.tbl_len = 1; in wlc_lcnphy_txpwrtbl_iqlo_cal()
3913 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_RATE_OFFSET; in wlc_lcnphy_txpwrtbl_iqlo_cal()
3916 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_IQ_OFFSET + idx; in wlc_lcnphy_txpwrtbl_iqlo_cal()
3918 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_txpwrtbl_iqlo_cal()
3921 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_txpwrtbl_iqlo_cal()
3924 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_LO_OFFSET + idx; in wlc_lcnphy_txpwrtbl_iqlo_cal()
3925 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_txpwrtbl_iqlo_cal()
4136 struct phytbl_info tab; in wlc_lcnphy_periodic_cal() local
4171 tab.tbl_id = LCNPHY_TBL_ID_TXPWRCTL; in wlc_lcnphy_periodic_cal()
4172 tab.tbl_width = 32; in wlc_lcnphy_periodic_cal()
4173 tab.tbl_ptr = &pwr; in wlc_lcnphy_periodic_cal()
4174 tab.tbl_len = 1; in wlc_lcnphy_periodic_cal()
4175 tab.tbl_offset = 0; in wlc_lcnphy_periodic_cal()
4179 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_periodic_cal()
4180 tab.tbl_offset++; in wlc_lcnphy_periodic_cal()
4281 struct phytbl_info tab; in wlc_lcnphy_load_tx_gain_table() local
4290 tab.tbl_id = LCNPHY_TBL_ID_TXPWRCTL; in wlc_lcnphy_load_tx_gain_table()
4291 tab.tbl_width = 32; in wlc_lcnphy_load_tx_gain_table()
4292 tab.tbl_len = 1; in wlc_lcnphy_load_tx_gain_table()
4293 tab.tbl_ptr = &val; in wlc_lcnphy_load_tx_gain_table()
4304 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_GAIN_OFFSET + j; in wlc_lcnphy_load_tx_gain_table()
4305 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_load_tx_gain_table()
4308 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_IQ_OFFSET + j; in wlc_lcnphy_load_tx_gain_table()
4309 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_load_tx_gain_table()
4315 struct phytbl_info tab; in wlc_lcnphy_load_rfpower() local
4321 tab.tbl_id = LCNPHY_TBL_ID_TXPWRCTL; in wlc_lcnphy_load_rfpower()
4322 tab.tbl_width = 32; in wlc_lcnphy_load_rfpower()
4323 tab.tbl_len = 1; in wlc_lcnphy_load_rfpower()
4326 tab.tbl_ptr = &bbmult; in wlc_lcnphy_load_rfpower()
4327 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_IQ_OFFSET + index; in wlc_lcnphy_load_rfpower()
4328 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_load_rfpower()
4331 tab.tbl_ptr = &rfgain; in wlc_lcnphy_load_rfpower()
4332 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_GAIN_OFFSET + index; in wlc_lcnphy_load_rfpower()
4333 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_load_rfpower()
4356 tab.tbl_ptr = &val; in wlc_lcnphy_load_rfpower()
4357 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_PWR_OFFSET + index; in wlc_lcnphy_load_rfpower()
4358 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_load_rfpower()
4541 struct phytbl_info tab; in wlc_lcnphy_tbl_init() local
4549 tab.tbl_id = LCNPHY_TBL_ID_RFSEQ; in wlc_lcnphy_tbl_init()
4550 tab.tbl_width = 16; in wlc_lcnphy_tbl_init()
4551 tab.tbl_ptr = &val; in wlc_lcnphy_tbl_init()
4552 tab.tbl_len = 1; in wlc_lcnphy_tbl_init()
4554 tab.tbl_offset = 4; in wlc_lcnphy_tbl_init()
4555 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_tbl_init()
4559 tab.tbl_id = LCNPHY_TBL_ID_RFSEQ; in wlc_lcnphy_tbl_init()
4560 tab.tbl_width = 16; in wlc_lcnphy_tbl_init()
4561 tab.tbl_ptr = &val; in wlc_lcnphy_tbl_init()
4562 tab.tbl_len = 1; in wlc_lcnphy_tbl_init()
4565 tab.tbl_offset = 0; in wlc_lcnphy_tbl_init()
4566 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_tbl_init()
4569 tab.tbl_offset = 1; in wlc_lcnphy_tbl_init()
4570 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_tbl_init()
4683 struct phytbl_info tab; in wlc_lcnphy_agc_temp_init() local
4698 tab.tbl_ptr = tableBuffer; in wlc_lcnphy_agc_temp_init()
4699 tab.tbl_len = 2; in wlc_lcnphy_agc_temp_init()
4700 tab.tbl_id = 17; in wlc_lcnphy_agc_temp_init()
4701 tab.tbl_offset = 59; in wlc_lcnphy_agc_temp_init()
4702 tab.tbl_width = 32; in wlc_lcnphy_agc_temp_init()
4703 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_agc_temp_init()
4723 tab.tbl_ptr = tableBuffer; in wlc_lcnphy_agc_temp_init()
4724 tab.tbl_len = 2; in wlc_lcnphy_agc_temp_init()
4725 tab.tbl_id = LCNPHY_TBL_ID_GAIN_IDX; in wlc_lcnphy_agc_temp_init()
4726 tab.tbl_offset = 28; in wlc_lcnphy_agc_temp_init()
4727 tab.tbl_width = 32; in wlc_lcnphy_agc_temp_init()
4728 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_agc_temp_init()