Lines Matching refs:bbp
2641 uint8_t rf, bbp;
2680 bbp = rt2860_mcu_bbp_read(sc, 4);
2681 rt2860_mcu_bbp_write(sc, 4, (bbp & ~0x08) | 0x10);
2690 bbp = rt2860_mcu_bbp_read(sc, 4);
2691 rt2860_mcu_bbp_write(sc, 4, bbp & ~0x18);
2702 bbp = rt2860_mcu_bbp_read(sc, 138);
2705 bbp |= 0x60; /* turn off DAC1 and DAC2 */
2707 bbp |= 0x40; /* turn off DAC2 */
2709 bbp &= ~0x06; /* turn off ADC1 and ADC2 */
2711 bbp &= ~0x04; /* turn off ADC2 */
2714 bbp |= 0x20; /* turn off DAC1 */
2716 bbp &= ~0x02; /* turn off ADC1 */
2718 rt2860_mcu_bbp_write(sc, 138, bbp);
2748 uint8_t rf, bbp;
2794 bbp = rt2860_mcu_bbp_read(sc, 138);
2796 bbp |= 0x20; /* Turn off DAC1. */
2798 bbp &= ~0x02; /* Turn off ADC1. */
2799 rt2860_mcu_bbp_write(sc, 138, bbp);
2984 uint8_t bbp;
2992 bbp = rt2860_mcu_bbp_read(sc, 31);
2993 rt2860_mcu_bbp_write(sc, 31, bbp & ~0x03);
3397 sc->bbp[i].val = val & 0xff;
3398 sc->bbp[i].reg = val >> 8;
3399 DPRINTF(("BBP%d=0x%02x\n", sc->bbp[i].reg, sc->bbp[i].val));
3706 uint8_t bbp;
3711 bbp = rt2860_mcu_bbp_read(sc, 105);
3712 rt2860_mcu_bbp_write(sc, 105, bbp | RT5390_MLD);
3716 bbp = rt2860_mcu_bbp_read(sc, 4);
3717 rt2860_mcu_bbp_write(sc, 4, bbp | RT5390_MAC_IF_CTRL);
3733 bbp = rt2860_mcu_bbp_read(sc, 152);
3734 rt2860_mcu_bbp_write(sc, 152, bbp | 0x80);
3979 if (sc->bbp[i].reg == 0 || sc->bbp[i].reg == 0xff)
3981 rt2860_mcu_bbp_write(sc, sc->bbp[i].reg, sc->bbp[i].val);