Lines Matching refs:bbp
2459 uint8_t rf, bbp;
2505 bbp = rt2860_mcu_bbp_read(sc, 4);
2506 rt2860_mcu_bbp_write(sc, 4, (bbp & ~0x08) | 0x10);
2515 bbp = rt2860_mcu_bbp_read(sc, 4);
2516 rt2860_mcu_bbp_write(sc, 4, bbp & ~0x18);
2527 bbp = rt2860_mcu_bbp_read(sc, 138);
2530 bbp |= 0x60; /* turn off DAC1 and DAC2 */
2532 bbp |= 0x40; /* turn off DAC2 */
2534 bbp &= ~0x06; /* turn off ADC1 and ADC2 */
2536 bbp &= ~0x04; /* turn off ADC2 */
2539 bbp |= 0x20; /* turn off DAC1 */
2541 bbp &= ~0x02; /* turn off ADC1 */
2543 rt2860_mcu_bbp_write(sc, 138, bbp);
2573 uint8_t rf, bbp;
2626 bbp = rt2860_mcu_bbp_read(sc, 138);
2628 bbp |= 0x20; /* Turn off DAC1. */
2630 bbp &= ~0x02; /* Turn off ADC1. */
2631 rt2860_mcu_bbp_write(sc, 138, bbp);
2820 uint8_t bbp;
2828 bbp = rt2860_mcu_bbp_read(sc, 31);
2829 rt2860_mcu_bbp_write(sc, 31, bbp & ~0x03);
3217 sc->bbp[i].val = val & 0xff;
3218 sc->bbp[i].reg = val >> 8;
3219 DPRINTF(("BBP%d=0x%02x\n", sc->bbp[i].reg, sc->bbp[i].val));
3528 uint8_t bbp;
3533 bbp = rt2860_mcu_bbp_read(sc, 105);
3534 rt2860_mcu_bbp_write(sc, 105, bbp | RT5390_MLD);
3538 bbp = rt2860_mcu_bbp_read(sc, 4);
3539 rt2860_mcu_bbp_write(sc, 4, bbp | RT5390_MAC_IF_CTRL);
3561 bbp = rt2860_mcu_bbp_read(sc, 152);
3562 rt2860_mcu_bbp_write(sc, 152, bbp | 0x80);
3848 if (sc->bbp[i].reg == 0 || sc->bbp[i].reg == 0xff)
3850 rt2860_mcu_bbp_write(sc, sc->bbp[i].reg, sc->bbp[i].val);