Lines Matching refs:tab
991 struct phytbl_info tab; in wlc_lcnphy_common_read_table() local
992 tab.tbl_id = tbl_id; in wlc_lcnphy_common_read_table()
993 tab.tbl_ptr = tbl_ptr; in wlc_lcnphy_common_read_table()
994 tab.tbl_len = tbl_len; in wlc_lcnphy_common_read_table()
995 tab.tbl_width = tbl_width; in wlc_lcnphy_common_read_table()
996 tab.tbl_offset = tbl_offset; in wlc_lcnphy_common_read_table()
997 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_common_read_table()
1006 struct phytbl_info tab; in wlc_lcnphy_common_write_table() local
1007 tab.tbl_id = tbl_id; in wlc_lcnphy_common_write_table()
1008 tab.tbl_ptr = tbl_ptr; in wlc_lcnphy_common_write_table()
1009 tab.tbl_len = tbl_len; in wlc_lcnphy_common_write_table()
1010 tab.tbl_width = tbl_width; in wlc_lcnphy_common_write_table()
1011 tab.tbl_offset = tbl_offset; in wlc_lcnphy_common_write_table()
1012 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_common_write_table()
1965 struct phytbl_info tab; in wlc_lcnphy_get_bbmult() local
1967 tab.tbl_ptr = &m0m1; in wlc_lcnphy_get_bbmult()
1968 tab.tbl_len = 1; in wlc_lcnphy_get_bbmult()
1969 tab.tbl_id = LCNPHY_TBL_ID_IQLOCAL; in wlc_lcnphy_get_bbmult()
1970 tab.tbl_offset = 87; in wlc_lcnphy_get_bbmult()
1971 tab.tbl_width = 16; in wlc_lcnphy_get_bbmult()
1972 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_get_bbmult()
1980 struct phytbl_info tab; in wlc_lcnphy_set_bbmult() local
1982 tab.tbl_ptr = &m0m1; in wlc_lcnphy_set_bbmult()
1983 tab.tbl_len = 1; in wlc_lcnphy_set_bbmult()
1984 tab.tbl_id = LCNPHY_TBL_ID_IQLOCAL; in wlc_lcnphy_set_bbmult()
1985 tab.tbl_offset = 87; in wlc_lcnphy_set_bbmult()
1986 tab.tbl_width = 16; in wlc_lcnphy_set_bbmult()
1987 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_set_bbmult()
1993 struct phytbl_info tab; in wlc_lcnphy_clear_tx_power_offsets() local
1997 tab.tbl_id = LCNPHY_TBL_ID_TXPWRCTL; in wlc_lcnphy_clear_tx_power_offsets()
1998 tab.tbl_width = 32; in wlc_lcnphy_clear_tx_power_offsets()
1999 tab.tbl_ptr = data_buf; in wlc_lcnphy_clear_tx_power_offsets()
2003 tab.tbl_len = 30; in wlc_lcnphy_clear_tx_power_offsets()
2004 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_RATE_OFFSET; in wlc_lcnphy_clear_tx_power_offsets()
2005 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_clear_tx_power_offsets()
2008 tab.tbl_len = 64; in wlc_lcnphy_clear_tx_power_offsets()
2009 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_MAC_OFFSET; in wlc_lcnphy_clear_tx_power_offsets()
2010 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_clear_tx_power_offsets()
2137 struct phytbl_info tab; in wlc_lcnphy_tssi_setup() local
2149 tab.tbl_id = LCNPHY_TBL_ID_TXPWRCTL; in wlc_lcnphy_tssi_setup()
2150 tab.tbl_width = 32; in wlc_lcnphy_tssi_setup()
2151 tab.tbl_ptr = &ind; in wlc_lcnphy_tssi_setup()
2152 tab.tbl_len = 1; in wlc_lcnphy_tssi_setup()
2153 tab.tbl_offset = 0; in wlc_lcnphy_tssi_setup()
2155 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_tssi_setup()
2156 tab.tbl_offset++; in wlc_lcnphy_tssi_setup()
2158 tab.tbl_offset = 704; in wlc_lcnphy_tssi_setup()
2160 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_tssi_setup()
2161 tab.tbl_offset++; in wlc_lcnphy_tssi_setup()
2238 tab.tbl_id = LCNPHY_TBL_ID_RFSEQ; in wlc_lcnphy_tssi_setup()
2239 tab.tbl_width = 16; in wlc_lcnphy_tssi_setup()
2240 tab.tbl_ptr = &rfseq; in wlc_lcnphy_tssi_setup()
2241 tab.tbl_len = 1; in wlc_lcnphy_tssi_setup()
2242 tab.tbl_offset = 6; in wlc_lcnphy_tssi_setup()
2243 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_tssi_setup()
2304 struct phytbl_info tab; in wlc_lcnphy_txpower_recalc_target() local
2319 tab.tbl_id = LCNPHY_TBL_ID_TXPWRCTL; in wlc_lcnphy_txpower_recalc_target()
2320 tab.tbl_width = 32; in wlc_lcnphy_txpower_recalc_target()
2321 tab.tbl_len = ARRAY_SIZE(rate_table); in wlc_lcnphy_txpower_recalc_target()
2322 tab.tbl_ptr = rate_table; in wlc_lcnphy_txpower_recalc_target()
2323 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_RATE_OFFSET; in wlc_lcnphy_txpower_recalc_target()
2324 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_txpower_recalc_target()
2339 struct phytbl_info tab; in wlc_lcnphy_set_tx_pwr_soft_ctrl() local
2353 tab.tbl_id = LCNPHY_TBL_ID_TXPWRCTL; in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2354 tab.tbl_width = 32; in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2355 tab.tbl_len = 4; in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2356 tab.tbl_ptr = cck_offset; in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2357 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_RATE_OFFSET; in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2358 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2360 tab.tbl_len = 1; in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2361 tab.tbl_ptr = &ofdm_offset; in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2363 tab.tbl_offset = i; in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2364 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2943 struct phytbl_info tab; in wlc_lcnphy_vbat_temp_sense_setup() local
3021 tab.tbl_id = LCNPHY_TBL_ID_RFSEQ; in wlc_lcnphy_vbat_temp_sense_setup()
3022 tab.tbl_width = 16; in wlc_lcnphy_vbat_temp_sense_setup()
3023 tab.tbl_len = 1; in wlc_lcnphy_vbat_temp_sense_setup()
3024 tab.tbl_ptr = &val; in wlc_lcnphy_vbat_temp_sense_setup()
3025 tab.tbl_offset = 6; in wlc_lcnphy_vbat_temp_sense_setup()
3026 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_vbat_temp_sense_setup()
3083 struct phytbl_info tab; in wlc_lcnphy_tx_pwr_ctrl_init() local
3125 tab.tbl_id = LCNPHY_TBL_ID_TXPWRCTL; in wlc_lcnphy_tx_pwr_ctrl_init()
3126 tab.tbl_width = 32; in wlc_lcnphy_tx_pwr_ctrl_init()
3127 tab.tbl_ptr = &pwr; in wlc_lcnphy_tx_pwr_ctrl_init()
3128 tab.tbl_len = 1; in wlc_lcnphy_tx_pwr_ctrl_init()
3129 tab.tbl_offset = 0; in wlc_lcnphy_tx_pwr_ctrl_init()
3134 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_tx_pwr_ctrl_init()
3135 tab.tbl_offset++; in wlc_lcnphy_tx_pwr_ctrl_init()
3177 struct phytbl_info tab; in wlc_lcnphy_set_tx_iqcc() local
3183 tab.tbl_id = LCNPHY_TBL_ID_IQLOCAL; in wlc_lcnphy_set_tx_iqcc()
3184 tab.tbl_width = 16; in wlc_lcnphy_set_tx_iqcc()
3185 tab.tbl_ptr = iqcc; in wlc_lcnphy_set_tx_iqcc()
3186 tab.tbl_len = 2; in wlc_lcnphy_set_tx_iqcc()
3187 tab.tbl_offset = 80; in wlc_lcnphy_set_tx_iqcc()
3188 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_set_tx_iqcc()
3193 struct phytbl_info tab; in wlc_lcnphy_set_tx_locc() local
3195 tab.tbl_id = LCNPHY_TBL_ID_IQLOCAL; in wlc_lcnphy_set_tx_locc()
3196 tab.tbl_width = 16; in wlc_lcnphy_set_tx_locc()
3197 tab.tbl_ptr = &didq; in wlc_lcnphy_set_tx_locc()
3198 tab.tbl_len = 1; in wlc_lcnphy_set_tx_locc()
3199 tab.tbl_offset = 85; in wlc_lcnphy_set_tx_locc()
3200 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_set_tx_locc()
3205 struct phytbl_info tab; in wlc_lcnphy_set_tx_pwr_by_index() local
3215 tab.tbl_id = LCNPHY_TBL_ID_TXPWRCTL; in wlc_lcnphy_set_tx_pwr_by_index()
3216 tab.tbl_width = 32; in wlc_lcnphy_set_tx_pwr_by_index()
3217 tab.tbl_len = 1; in wlc_lcnphy_set_tx_pwr_by_index()
3221 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_IQ_OFFSET + index; in wlc_lcnphy_set_tx_pwr_by_index()
3222 tab.tbl_ptr = &bbmultiqcomp; in wlc_lcnphy_set_tx_pwr_by_index()
3223 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_set_tx_pwr_by_index()
3225 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_GAIN_OFFSET + index; in wlc_lcnphy_set_tx_pwr_by_index()
3226 tab.tbl_width = 32; in wlc_lcnphy_set_tx_pwr_by_index()
3227 tab.tbl_ptr = &txgain; in wlc_lcnphy_set_tx_pwr_by_index()
3228 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_set_tx_pwr_by_index()
3248 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_LO_OFFSET + index; in wlc_lcnphy_set_tx_pwr_by_index()
3249 tab.tbl_ptr = &locoeffs; in wlc_lcnphy_set_tx_pwr_by_index()
3250 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_set_tx_pwr_by_index()
3254 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_PWR_OFFSET + index; in wlc_lcnphy_set_tx_pwr_by_index()
3255 tab.tbl_ptr = &rfpower; in wlc_lcnphy_set_tx_pwr_by_index()
3256 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_set_tx_pwr_by_index()
3265 struct phytbl_info tab; in wlc_lcnphy_clear_papd_comptable() local
3267 tab.tbl_ptr = temp_offset; in wlc_lcnphy_clear_papd_comptable()
3268 tab.tbl_len = 128; in wlc_lcnphy_clear_papd_comptable()
3269 tab.tbl_id = LCNPHY_TBL_ID_PAPDCOMPDELTATBL; in wlc_lcnphy_clear_papd_comptable()
3270 tab.tbl_width = 32; in wlc_lcnphy_clear_papd_comptable()
3271 tab.tbl_offset = 0; in wlc_lcnphy_clear_papd_comptable()
3277 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_clear_papd_comptable()
3421 struct phytbl_info tab; in wlc_lcnphy_start_tx_tone() local
3464 tab.tbl_ptr = data_buf; in wlc_lcnphy_start_tx_tone()
3465 tab.tbl_len = num_samps; in wlc_lcnphy_start_tx_tone()
3466 tab.tbl_id = LCNPHY_TBL_ID_SAMPLEPLAY; in wlc_lcnphy_start_tx_tone()
3467 tab.tbl_offset = 0; in wlc_lcnphy_start_tx_tone()
3468 tab.tbl_width = 32; in wlc_lcnphy_start_tx_tone()
3469 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_start_tx_tone()
3865 struct phytbl_info tab; in wlc_lcnphy_get_tx_iqcc() local
3867 tab.tbl_ptr = iqcc; in wlc_lcnphy_get_tx_iqcc()
3868 tab.tbl_len = 2; in wlc_lcnphy_get_tx_iqcc()
3869 tab.tbl_id = 0; in wlc_lcnphy_get_tx_iqcc()
3870 tab.tbl_offset = 80; in wlc_lcnphy_get_tx_iqcc()
3871 tab.tbl_width = 16; in wlc_lcnphy_get_tx_iqcc()
3872 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_get_tx_iqcc()
3902 struct phytbl_info tab; in wlc_lcnphy_get_tx_locc() local
3905 tab.tbl_id = 0; in wlc_lcnphy_get_tx_locc()
3906 tab.tbl_width = 16; in wlc_lcnphy_get_tx_locc()
3907 tab.tbl_ptr = &didq; in wlc_lcnphy_get_tx_locc()
3908 tab.tbl_len = 1; in wlc_lcnphy_get_tx_locc()
3909 tab.tbl_offset = 85; in wlc_lcnphy_get_tx_locc()
3910 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_get_tx_locc()
3924 struct phytbl_info tab; in wlc_lcnphy_txpwrtbl_iqlo_cal() local
3988 tab.tbl_id = LCNPHY_TBL_ID_TXPWRCTL; in wlc_lcnphy_txpwrtbl_iqlo_cal()
3989 tab.tbl_width = 32; in wlc_lcnphy_txpwrtbl_iqlo_cal()
3990 tab.tbl_ptr = &val; in wlc_lcnphy_txpwrtbl_iqlo_cal()
3992 tab.tbl_len = 1; in wlc_lcnphy_txpwrtbl_iqlo_cal()
3993 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_RATE_OFFSET; in wlc_lcnphy_txpwrtbl_iqlo_cal()
3996 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_IQ_OFFSET + idx; in wlc_lcnphy_txpwrtbl_iqlo_cal()
3998 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_txpwrtbl_iqlo_cal()
4001 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_txpwrtbl_iqlo_cal()
4004 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_LO_OFFSET + idx; in wlc_lcnphy_txpwrtbl_iqlo_cal()
4005 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_txpwrtbl_iqlo_cal()
4218 struct phytbl_info tab; in wlc_lcnphy_periodic_cal() local
4260 tab.tbl_id = LCNPHY_TBL_ID_TXPWRCTL; in wlc_lcnphy_periodic_cal()
4261 tab.tbl_width = 32; in wlc_lcnphy_periodic_cal()
4262 tab.tbl_ptr = &pwr; in wlc_lcnphy_periodic_cal()
4263 tab.tbl_len = 1; in wlc_lcnphy_periodic_cal()
4264 tab.tbl_offset = 0; in wlc_lcnphy_periodic_cal()
4268 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_periodic_cal()
4269 tab.tbl_offset++; in wlc_lcnphy_periodic_cal()
4370 struct phytbl_info tab; in wlc_lcnphy_load_tx_gain_table() local
4379 tab.tbl_id = LCNPHY_TBL_ID_TXPWRCTL; in wlc_lcnphy_load_tx_gain_table()
4380 tab.tbl_width = 32; in wlc_lcnphy_load_tx_gain_table()
4381 tab.tbl_len = 1; in wlc_lcnphy_load_tx_gain_table()
4382 tab.tbl_ptr = &val; in wlc_lcnphy_load_tx_gain_table()
4393 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_GAIN_OFFSET + j; in wlc_lcnphy_load_tx_gain_table()
4394 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_load_tx_gain_table()
4397 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_IQ_OFFSET + j; in wlc_lcnphy_load_tx_gain_table()
4398 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_load_tx_gain_table()
4404 struct phytbl_info tab; in wlc_lcnphy_load_rfpower() local
4410 tab.tbl_id = LCNPHY_TBL_ID_TXPWRCTL; in wlc_lcnphy_load_rfpower()
4411 tab.tbl_width = 32; in wlc_lcnphy_load_rfpower()
4412 tab.tbl_len = 1; in wlc_lcnphy_load_rfpower()
4415 tab.tbl_ptr = &bbmult; in wlc_lcnphy_load_rfpower()
4416 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_IQ_OFFSET + index; in wlc_lcnphy_load_rfpower()
4417 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_load_rfpower()
4420 tab.tbl_ptr = &rfgain; in wlc_lcnphy_load_rfpower()
4421 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_GAIN_OFFSET + index; in wlc_lcnphy_load_rfpower()
4422 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_load_rfpower()
4445 tab.tbl_ptr = &val; in wlc_lcnphy_load_rfpower()
4446 tab.tbl_offset = LCNPHY_TX_PWR_CTRL_PWR_OFFSET + index; in wlc_lcnphy_load_rfpower()
4447 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_load_rfpower()
4631 struct phytbl_info tab; in wlc_lcnphy_tbl_init() local
4641 tab.tbl_id = LCNPHY_TBL_ID_RFSEQ; in wlc_lcnphy_tbl_init()
4642 tab.tbl_width = 16; in wlc_lcnphy_tbl_init()
4643 tab.tbl_ptr = &val; in wlc_lcnphy_tbl_init()
4644 tab.tbl_len = 1; in wlc_lcnphy_tbl_init()
4646 tab.tbl_offset = 4; in wlc_lcnphy_tbl_init()
4647 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_tbl_init()
4651 tab.tbl_id = LCNPHY_TBL_ID_RFSEQ; in wlc_lcnphy_tbl_init()
4652 tab.tbl_width = 16; in wlc_lcnphy_tbl_init()
4653 tab.tbl_ptr = &val; in wlc_lcnphy_tbl_init()
4654 tab.tbl_len = 1; in wlc_lcnphy_tbl_init()
4657 tab.tbl_offset = 0; in wlc_lcnphy_tbl_init()
4658 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_tbl_init()
4661 tab.tbl_offset = 1; in wlc_lcnphy_tbl_init()
4662 wlc_lcnphy_write_table(pi, &tab); in wlc_lcnphy_tbl_init()
4775 struct phytbl_info tab; in wlc_lcnphy_agc_temp_init() local
4790 tab.tbl_ptr = tableBuffer; in wlc_lcnphy_agc_temp_init()
4791 tab.tbl_len = 2; in wlc_lcnphy_agc_temp_init()
4792 tab.tbl_id = 17; in wlc_lcnphy_agc_temp_init()
4793 tab.tbl_offset = 59; in wlc_lcnphy_agc_temp_init()
4794 tab.tbl_width = 32; in wlc_lcnphy_agc_temp_init()
4795 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_agc_temp_init()
4815 tab.tbl_ptr = tableBuffer; in wlc_lcnphy_agc_temp_init()
4816 tab.tbl_len = 2; in wlc_lcnphy_agc_temp_init()
4817 tab.tbl_id = LCNPHY_TBL_ID_GAIN_IDX; in wlc_lcnphy_agc_temp_init()
4818 tab.tbl_offset = 28; in wlc_lcnphy_agc_temp_init()
4819 tab.tbl_width = 32; in wlc_lcnphy_agc_temp_init()
4820 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_agc_temp_init()