Lines Matching refs:bbp
2645 uint8_t rf, bbp;
2684 bbp = rt2860_mcu_bbp_read(sc, 4);
2685 rt2860_mcu_bbp_write(sc, 4, (bbp & ~0x08) | 0x10);
2694 bbp = rt2860_mcu_bbp_read(sc, 4);
2695 rt2860_mcu_bbp_write(sc, 4, bbp & ~0x18);
2706 bbp = rt2860_mcu_bbp_read(sc, 138);
2709 bbp |= 0x60; /* turn off DAC1 and DAC2 */
2711 bbp |= 0x40; /* turn off DAC2 */
2713 bbp &= ~0x06; /* turn off ADC1 and ADC2 */
2715 bbp &= ~0x04; /* turn off ADC2 */
2718 bbp |= 0x20; /* turn off DAC1 */
2720 bbp &= ~0x02; /* turn off ADC1 */
2722 rt2860_mcu_bbp_write(sc, 138, bbp);
2752 uint8_t rf, bbp;
2798 bbp = rt2860_mcu_bbp_read(sc, 138);
2800 bbp |= 0x20; /* Turn off DAC1. */
2802 bbp &= ~0x02; /* Turn off ADC1. */
2803 rt2860_mcu_bbp_write(sc, 138, bbp);
2988 uint8_t bbp;
2996 bbp = rt2860_mcu_bbp_read(sc, 31);
2997 rt2860_mcu_bbp_write(sc, 31, bbp & ~0x03);
3398 sc->bbp[i].val = val & 0xff;
3399 sc->bbp[i].reg = val >> 8;
3400 DPRINTF(("BBP%d=0x%02x\n", sc->bbp[i].reg, sc->bbp[i].val));
3707 uint8_t bbp;
3712 bbp = rt2860_mcu_bbp_read(sc, 105);
3713 rt2860_mcu_bbp_write(sc, 105, bbp | RT5390_MLD);
3717 bbp = rt2860_mcu_bbp_read(sc, 4);
3718 rt2860_mcu_bbp_write(sc, 4, bbp | RT5390_MAC_IF_CTRL);
3734 bbp = rt2860_mcu_bbp_read(sc, 152);
3735 rt2860_mcu_bbp_write(sc, 152, bbp | 0x80);
3980 if (sc->bbp[i].reg == 0 || sc->bbp[i].reg == 0xff)
3982 rt2860_mcu_bbp_write(sc, sc->bbp[i].reg, sc->bbp[i].val);