Lines Matching refs:bbp
1479 .bbp = {
2685 u8 bbp; in rt2800_config_channel_rf3053() local
2689 bbp = rt2800_bbp_read(rt2x00dev, 109); in rt2800_config_channel_rf3053()
2690 rt2x00_set_field8(&bbp, BBP109_TX0_POWER, 0); in rt2800_config_channel_rf3053()
2691 rt2x00_set_field8(&bbp, BBP109_TX1_POWER, 0); in rt2800_config_channel_rf3053()
2692 rt2800_bbp_write(rt2x00dev, 109, bbp); in rt2800_config_channel_rf3053()
2694 bbp = rt2800_bbp_read(rt2x00dev, 110); in rt2800_config_channel_rf3053()
2695 rt2x00_set_field8(&bbp, BBP110_TX2_POWER, 0); in rt2800_config_channel_rf3053()
2696 rt2800_bbp_write(rt2x00dev, 110, bbp); in rt2800_config_channel_rf3053()
2979 u8 bbp; in rt2800_config_channel_rf3853() local
3148 bbp = (info->default_power1 >> 5) | in rt2800_config_channel_rf3853()
3150 rt2800_bbp_write(rt2x00dev, 109, bbp); in rt2800_config_channel_rf3853()
3152 bbp = rt2800_bbp_read(rt2x00dev, 110); in rt2800_config_channel_rf3853()
3153 bbp &= 0x0f; in rt2800_config_channel_rf3853()
3154 bbp |= (info->default_power3 & 0xe0) >> 1; in rt2800_config_channel_rf3853()
3155 rt2800_bbp_write(rt2x00dev, 110, bbp); in rt2800_config_channel_rf3853()
3170 bbp = rt2800_bbp_read(rt2x00dev, 49); in rt2800_config_channel_rf3853()
3172 rt2800_bbp_write(rt2x00dev, 49, bbp & 0xfe); in rt2800_config_channel_rf3853()
3173 rt2800_bbp_write(rt2x00dev, 49, bbp); in rt2800_config_channel_rf3853()
3804 u8 bbp; in rt2800_config_alc() local
3853 bbp = rt2800_bbp_read(rt2x00dev, 30); in rt2800_config_alc()
3854 bbp = 0x40; in rt2800_config_alc()
3855 rt2800_bbp_write(rt2x00dev, 30, bbp); in rt2800_config_alc()
3862 bbp = rt2800_bbp_read(rt2x00dev, 30); in rt2800_config_alc()
3863 bbp = 0x1f; in rt2800_config_alc()
3864 rt2800_bbp_write(rt2x00dev, 30, bbp); in rt2800_config_alc()
3999 u8 bbp; in rt3883_bbp_adjust() local
4001 bbp = (rf->channel > 14) ? 0x48 : 0x38; in rt3883_bbp_adjust()
4002 rt2800_bbp_write_with_rx_chain(rt2x00dev, 66, bbp); in rt3883_bbp_adjust()
4033 u8 bbp, rfcsr; in rt2800_config_channel() local
4371 bbp = rt2800_bbp_read(rt2x00dev, 4); in rt2800_config_channel()
4372 rt2x00_set_field8(&bbp, BBP4_BANDWIDTH, 2 * conf_is_ht40(conf)); in rt2800_config_channel()
4373 rt2800_bbp_write(rt2x00dev, 4, bbp); in rt2800_config_channel()
4375 bbp = rt2800_bbp_read(rt2x00dev, 3); in rt2800_config_channel()
4376 rt2x00_set_field8(&bbp, BBP3_HT40_MINUS, conf_is_ht40_minus(conf)); in rt2800_config_channel()
4377 rt2800_bbp_write(rt2x00dev, 3, bbp); in rt2800_config_channel()
4405 bbp = rt2800_bbp_read(rt2x00dev, 49); in rt2800_config_channel()
4406 rt2x00_set_field8(&bbp, BBP49_UPDATE_FLAG, 0); in rt2800_config_channel()
4407 rt2800_bbp_write(rt2x00dev, 49, bbp); in rt2800_config_channel()
6941 u8 bbp; in rt2800_init_bbp_6352() local
6944 bbp = rt2800_bbp_read(rt2x00dev, 105); in rt2800_init_bbp_6352()
6945 rt2x00_set_field8(&bbp, BBP105_MLD, in rt2800_init_bbp_6352()
6947 rt2800_bbp_write(rt2x00dev, 105, bbp); in rt2800_init_bbp_6352()
6953 bbp = rt2800_bbp_read(rt2x00dev, 1); in rt2800_init_bbp_6352()
6954 bbp |= 0x04; in rt2800_init_bbp_6352()
6955 rt2800_bbp_write(rt2x00dev, 1, bbp); in rt2800_init_bbp_6352()
7220 u8 bbp; in rt2800_init_rx_filter() local
7229 bbp = rt2800_bbp_read(rt2x00dev, 4); in rt2800_init_rx_filter()
7230 rt2x00_set_field8(&bbp, BBP4_BANDWIDTH, 2 * bw40); in rt2800_init_rx_filter()
7231 rt2800_bbp_write(rt2x00dev, 4, bbp); in rt2800_init_rx_filter()
7299 u8 rfcsr, bbp; in rt2800_rx_filter_calibration() local
7335 bbp = rt2800_bbp_read(rt2x00dev, 4); in rt2800_rx_filter_calibration()
7336 rt2x00_set_field8(&bbp, BBP4_BANDWIDTH, 0); in rt2800_rx_filter_calibration()
7337 rt2800_bbp_write(rt2x00dev, 4, bbp); in rt2800_rx_filter_calibration()
7343 u8 min_gain, rfcsr, bbp; in rt2800_normal_mode_setup_3xxx() local
7367 bbp = rt2800_bbp_read(rt2x00dev, 138); in rt2800_normal_mode_setup_3xxx()
7370 rt2x00_set_field8(&bbp, BBP138_RX_ADC1, 0); in rt2800_normal_mode_setup_3xxx()
7372 rt2x00_set_field8(&bbp, BBP138_TX_DAC1, 1); in rt2800_normal_mode_setup_3xxx()
7373 rt2800_bbp_write(rt2x00dev, 138, bbp); in rt2800_normal_mode_setup_3xxx()
7856 u8 bbp; in rt3593_post_bbp_init() local
7859 bbp = rt2800_bbp_read(rt2x00dev, 105); in rt3593_post_bbp_init()
7861 rt2x00_set_field8(&bbp, BBP105_MLD, 0); in rt3593_post_bbp_init()
7863 rt2x00_set_field8(&bbp, BBP105_MLD, 1); in rt3593_post_bbp_init()
7864 rt2800_bbp_write(rt2x00dev, 105, bbp); in rt3593_post_bbp_init()