Lines Matching defs:bbp
2630 uint8_t rf, bbp;
2669 bbp = rt2860_mcu_bbp_read(sc, 4);
2670 rt2860_mcu_bbp_write(sc, 4, (bbp & ~0x08) | 0x10);
2679 bbp = rt2860_mcu_bbp_read(sc, 4);
2680 rt2860_mcu_bbp_write(sc, 4, bbp & ~0x18);
2691 bbp = rt2860_mcu_bbp_read(sc, 138);
2694 bbp |= 0x60; /* turn off DAC1 and DAC2 */
2696 bbp |= 0x40; /* turn off DAC2 */
2698 bbp &= ~0x06; /* turn off ADC1 and ADC2 */
2700 bbp &= ~0x04; /* turn off ADC2 */
2703 bbp |= 0x20; /* turn off DAC1 */
2705 bbp &= ~0x02; /* turn off ADC1 */
2707 rt2860_mcu_bbp_write(sc, 138, bbp);
2737 uint8_t rf, bbp;
2783 bbp = rt2860_mcu_bbp_read(sc, 138);
2785 bbp |= 0x20; /* Turn off DAC1. */
2787 bbp &= ~0x02; /* Turn off ADC1. */
2788 rt2860_mcu_bbp_write(sc, 138, bbp);
2973 uint8_t bbp;
2981 bbp = rt2860_mcu_bbp_read(sc, 31);
2982 rt2860_mcu_bbp_write(sc, 31, bbp & ~0x03);
3386 sc->bbp[i].val = val & 0xff;
3387 sc->bbp[i].reg = val >> 8;
3388 DPRINTF(("BBP%d=0x%02x\n", sc->bbp[i].reg, sc->bbp[i].val));
3695 uint8_t bbp;
3700 bbp = rt2860_mcu_bbp_read(sc, 105);
3701 rt2860_mcu_bbp_write(sc, 105, bbp | RT5390_MLD);
3705 bbp = rt2860_mcu_bbp_read(sc, 4);
3706 rt2860_mcu_bbp_write(sc, 4, bbp | RT5390_MAC_IF_CTRL);
3722 bbp = rt2860_mcu_bbp_read(sc, 152);
3723 rt2860_mcu_bbp_write(sc, 152, bbp | 0x80);
3968 if (sc->bbp[i].reg == 0 || sc->bbp[i].reg == 0xff)
3970 rt2860_mcu_bbp_write(sc, sc->bbp[i].reg, sc->bbp[i].val);