Lines Matching refs:bbp
1466 .bbp = {
2672 u8 bbp; in rt2800_config_channel_rf3053() local
2676 bbp = rt2800_bbp_read(rt2x00dev, 109); in rt2800_config_channel_rf3053()
2677 rt2x00_set_field8(&bbp, BBP109_TX0_POWER, 0); in rt2800_config_channel_rf3053()
2678 rt2x00_set_field8(&bbp, BBP109_TX1_POWER, 0); in rt2800_config_channel_rf3053()
2679 rt2800_bbp_write(rt2x00dev, 109, bbp); in rt2800_config_channel_rf3053()
2681 bbp = rt2800_bbp_read(rt2x00dev, 110); in rt2800_config_channel_rf3053()
2682 rt2x00_set_field8(&bbp, BBP110_TX2_POWER, 0); in rt2800_config_channel_rf3053()
2683 rt2800_bbp_write(rt2x00dev, 110, bbp); in rt2800_config_channel_rf3053()
2966 u8 bbp; in rt2800_config_channel_rf3853() local
3135 bbp = (info->default_power1 >> 5) | in rt2800_config_channel_rf3853()
3137 rt2800_bbp_write(rt2x00dev, 109, bbp); in rt2800_config_channel_rf3853()
3139 bbp = rt2800_bbp_read(rt2x00dev, 110); in rt2800_config_channel_rf3853()
3140 bbp &= 0x0f; in rt2800_config_channel_rf3853()
3141 bbp |= (info->default_power3 & 0xe0) >> 1; in rt2800_config_channel_rf3853()
3142 rt2800_bbp_write(rt2x00dev, 110, bbp); in rt2800_config_channel_rf3853()
3157 bbp = rt2800_bbp_read(rt2x00dev, 49); in rt2800_config_channel_rf3853()
3159 rt2800_bbp_write(rt2x00dev, 49, bbp & 0xfe); in rt2800_config_channel_rf3853()
3160 rt2800_bbp_write(rt2x00dev, 49, bbp); in rt2800_config_channel_rf3853()
3791 u8 bbp; in rt2800_config_alc() local
3840 bbp = rt2800_bbp_read(rt2x00dev, 30); in rt2800_config_alc()
3841 bbp = 0x40; in rt2800_config_alc()
3842 rt2800_bbp_write(rt2x00dev, 30, bbp); in rt2800_config_alc()
3849 bbp = rt2800_bbp_read(rt2x00dev, 30); in rt2800_config_alc()
3850 bbp = 0x1f; in rt2800_config_alc()
3851 rt2800_bbp_write(rt2x00dev, 30, bbp); in rt2800_config_alc()
3986 u8 bbp; in rt3883_bbp_adjust() local
3988 bbp = (rf->channel > 14) ? 0x48 : 0x38; in rt3883_bbp_adjust()
3989 rt2800_bbp_write_with_rx_chain(rt2x00dev, 66, bbp); in rt3883_bbp_adjust()
4020 u8 bbp, rfcsr; in rt2800_config_channel() local
4358 bbp = rt2800_bbp_read(rt2x00dev, 4); in rt2800_config_channel()
4359 rt2x00_set_field8(&bbp, BBP4_BANDWIDTH, 2 * conf_is_ht40(conf)); in rt2800_config_channel()
4360 rt2800_bbp_write(rt2x00dev, 4, bbp); in rt2800_config_channel()
4362 bbp = rt2800_bbp_read(rt2x00dev, 3); in rt2800_config_channel()
4363 rt2x00_set_field8(&bbp, BBP3_HT40_MINUS, conf_is_ht40_minus(conf)); in rt2800_config_channel()
4364 rt2800_bbp_write(rt2x00dev, 3, bbp); in rt2800_config_channel()
4392 bbp = rt2800_bbp_read(rt2x00dev, 49); in rt2800_config_channel()
4393 rt2x00_set_field8(&bbp, BBP49_UPDATE_FLAG, 0); in rt2800_config_channel()
4394 rt2800_bbp_write(rt2x00dev, 49, bbp); in rt2800_config_channel()
6922 u8 bbp; in rt2800_init_bbp_6352() local
6925 bbp = rt2800_bbp_read(rt2x00dev, 105); in rt2800_init_bbp_6352()
6926 rt2x00_set_field8(&bbp, BBP105_MLD, in rt2800_init_bbp_6352()
6928 rt2800_bbp_write(rt2x00dev, 105, bbp); in rt2800_init_bbp_6352()
6934 bbp = rt2800_bbp_read(rt2x00dev, 1); in rt2800_init_bbp_6352()
6935 bbp |= 0x04; in rt2800_init_bbp_6352()
6936 rt2800_bbp_write(rt2x00dev, 1, bbp); in rt2800_init_bbp_6352()
7201 u8 bbp; in rt2800_init_rx_filter() local
7210 bbp = rt2800_bbp_read(rt2x00dev, 4); in rt2800_init_rx_filter()
7211 rt2x00_set_field8(&bbp, BBP4_BANDWIDTH, 2 * bw40); in rt2800_init_rx_filter()
7212 rt2800_bbp_write(rt2x00dev, 4, bbp); in rt2800_init_rx_filter()
7280 u8 rfcsr, bbp; in rt2800_rx_filter_calibration() local
7316 bbp = rt2800_bbp_read(rt2x00dev, 4); in rt2800_rx_filter_calibration()
7317 rt2x00_set_field8(&bbp, BBP4_BANDWIDTH, 0); in rt2800_rx_filter_calibration()
7318 rt2800_bbp_write(rt2x00dev, 4, bbp); in rt2800_rx_filter_calibration()
7324 u8 min_gain, rfcsr, bbp; in rt2800_normal_mode_setup_3xxx() local
7348 bbp = rt2800_bbp_read(rt2x00dev, 138); in rt2800_normal_mode_setup_3xxx()
7351 rt2x00_set_field8(&bbp, BBP138_RX_ADC1, 0); in rt2800_normal_mode_setup_3xxx()
7353 rt2x00_set_field8(&bbp, BBP138_TX_DAC1, 1); in rt2800_normal_mode_setup_3xxx()
7354 rt2800_bbp_write(rt2x00dev, 138, bbp); in rt2800_normal_mode_setup_3xxx()
7837 u8 bbp; in rt3593_post_bbp_init() local
7840 bbp = rt2800_bbp_read(rt2x00dev, 105); in rt3593_post_bbp_init()
7842 rt2x00_set_field8(&bbp, BBP105_MLD, 0); in rt3593_post_bbp_init()
7844 rt2x00_set_field8(&bbp, BBP105_MLD, 1); in rt3593_post_bbp_init()
7845 rt2800_bbp_write(rt2x00dev, 105, bbp); in rt3593_post_bbp_init()