Lines Matching refs:bbp

1466 	.bbp	= {
2675 u8 bbp; in rt2800_config_channel_rf3053() local
2679 bbp = rt2800_bbp_read(rt2x00dev, 109); in rt2800_config_channel_rf3053()
2680 rt2x00_set_field8(&bbp, BBP109_TX0_POWER, 0); in rt2800_config_channel_rf3053()
2681 rt2x00_set_field8(&bbp, BBP109_TX1_POWER, 0); in rt2800_config_channel_rf3053()
2682 rt2800_bbp_write(rt2x00dev, 109, bbp); in rt2800_config_channel_rf3053()
2684 bbp = rt2800_bbp_read(rt2x00dev, 110); in rt2800_config_channel_rf3053()
2685 rt2x00_set_field8(&bbp, BBP110_TX2_POWER, 0); in rt2800_config_channel_rf3053()
2686 rt2800_bbp_write(rt2x00dev, 110, bbp); in rt2800_config_channel_rf3053()
2969 u8 bbp; in rt2800_config_channel_rf3853() local
3138 bbp = (info->default_power1 >> 5) | in rt2800_config_channel_rf3853()
3140 rt2800_bbp_write(rt2x00dev, 109, bbp); in rt2800_config_channel_rf3853()
3142 bbp = rt2800_bbp_read(rt2x00dev, 110); in rt2800_config_channel_rf3853()
3143 bbp &= 0x0f; in rt2800_config_channel_rf3853()
3144 bbp |= (info->default_power3 & 0xe0) >> 1; in rt2800_config_channel_rf3853()
3145 rt2800_bbp_write(rt2x00dev, 110, bbp); in rt2800_config_channel_rf3853()
3160 bbp = rt2800_bbp_read(rt2x00dev, 49); in rt2800_config_channel_rf3853()
3162 rt2800_bbp_write(rt2x00dev, 49, bbp & 0xfe); in rt2800_config_channel_rf3853()
3163 rt2800_bbp_write(rt2x00dev, 49, bbp); in rt2800_config_channel_rf3853()
3794 u8 bbp; in rt2800_config_alc() local
3843 bbp = rt2800_bbp_read(rt2x00dev, 30); in rt2800_config_alc()
3844 bbp = 0x40; in rt2800_config_alc()
3845 rt2800_bbp_write(rt2x00dev, 30, bbp); in rt2800_config_alc()
3852 bbp = rt2800_bbp_read(rt2x00dev, 30); in rt2800_config_alc()
3853 bbp = 0x1f; in rt2800_config_alc()
3854 rt2800_bbp_write(rt2x00dev, 30, bbp); in rt2800_config_alc()
3989 u8 bbp; in rt3883_bbp_adjust() local
3991 bbp = (rf->channel > 14) ? 0x48 : 0x38; in rt3883_bbp_adjust()
3992 rt2800_bbp_write_with_rx_chain(rt2x00dev, 66, bbp); in rt3883_bbp_adjust()
4023 u8 bbp, rfcsr; in rt2800_config_channel() local
4361 bbp = rt2800_bbp_read(rt2x00dev, 4); in rt2800_config_channel()
4362 rt2x00_set_field8(&bbp, BBP4_BANDWIDTH, 2 * conf_is_ht40(conf)); in rt2800_config_channel()
4363 rt2800_bbp_write(rt2x00dev, 4, bbp); in rt2800_config_channel()
4365 bbp = rt2800_bbp_read(rt2x00dev, 3); in rt2800_config_channel()
4366 rt2x00_set_field8(&bbp, BBP3_HT40_MINUS, conf_is_ht40_minus(conf)); in rt2800_config_channel()
4367 rt2800_bbp_write(rt2x00dev, 3, bbp); in rt2800_config_channel()
4395 bbp = rt2800_bbp_read(rt2x00dev, 49); in rt2800_config_channel()
4396 rt2x00_set_field8(&bbp, BBP49_UPDATE_FLAG, 0); in rt2800_config_channel()
4397 rt2800_bbp_write(rt2x00dev, 49, bbp); in rt2800_config_channel()
6928 u8 bbp; in rt2800_init_bbp_6352() local
6931 bbp = rt2800_bbp_read(rt2x00dev, 105); in rt2800_init_bbp_6352()
6932 rt2x00_set_field8(&bbp, BBP105_MLD, in rt2800_init_bbp_6352()
6934 rt2800_bbp_write(rt2x00dev, 105, bbp); in rt2800_init_bbp_6352()
6940 bbp = rt2800_bbp_read(rt2x00dev, 1); in rt2800_init_bbp_6352()
6941 bbp |= 0x04; in rt2800_init_bbp_6352()
6942 rt2800_bbp_write(rt2x00dev, 1, bbp); in rt2800_init_bbp_6352()
7207 u8 bbp; in rt2800_init_rx_filter() local
7216 bbp = rt2800_bbp_read(rt2x00dev, 4); in rt2800_init_rx_filter()
7217 rt2x00_set_field8(&bbp, BBP4_BANDWIDTH, 2 * bw40); in rt2800_init_rx_filter()
7218 rt2800_bbp_write(rt2x00dev, 4, bbp); in rt2800_init_rx_filter()
7286 u8 rfcsr, bbp; in rt2800_rx_filter_calibration() local
7322 bbp = rt2800_bbp_read(rt2x00dev, 4); in rt2800_rx_filter_calibration()
7323 rt2x00_set_field8(&bbp, BBP4_BANDWIDTH, 0); in rt2800_rx_filter_calibration()
7324 rt2800_bbp_write(rt2x00dev, 4, bbp); in rt2800_rx_filter_calibration()
7330 u8 min_gain, rfcsr, bbp; in rt2800_normal_mode_setup_3xxx() local
7354 bbp = rt2800_bbp_read(rt2x00dev, 138); in rt2800_normal_mode_setup_3xxx()
7357 rt2x00_set_field8(&bbp, BBP138_RX_ADC1, 0); in rt2800_normal_mode_setup_3xxx()
7359 rt2x00_set_field8(&bbp, BBP138_TX_DAC1, 1); in rt2800_normal_mode_setup_3xxx()
7360 rt2800_bbp_write(rt2x00dev, 138, bbp); in rt2800_normal_mode_setup_3xxx()
7843 u8 bbp; in rt3593_post_bbp_init() local
7846 bbp = rt2800_bbp_read(rt2x00dev, 105); in rt3593_post_bbp_init()
7848 rt2x00_set_field8(&bbp, BBP105_MLD, 0); in rt3593_post_bbp_init()
7850 rt2x00_set_field8(&bbp, BBP105_MLD, 1); in rt3593_post_bbp_init()
7851 rt2800_bbp_write(rt2x00dev, 105, bbp); in rt3593_post_bbp_init()