HomeSort by: relevance | last modified time | path
    Searched defs:pdadc (Results 1 - 2 of 2) sorted by relevancy

  /src/sys/dev/ic/
arn9280.c 456 /* Fill phase domain analog-to-digital converter (PDADC) table. */
594 int8_t pdadc, txgain, tcomp; local in function:ar9280_olpc_temp_compensation
599 pdadc = MS(reg, AR_PHY_TX_PWRCTRL_PD_AVG_OUT);
600 DPRINTFN(DBG_RF, sc, "PD Avg Out=%d\n", pdadc);
602 if (sc->sc_pdadc == 0 || pdadc == 0)
608 tcomp = (pdadc - sc->sc_pdadc + 4) / 8;
610 tcomp = (pdadc - sc->sc_pdadc + 5) / 10;
arn9287.c 298 /* Shift the PDADC table to start at the new offset. */
418 /* Write PDADC values. */
560 int8_t pdadc, slope, tcomp; local in function:ar9287_olpc_temp_compensation
564 pdadc = MS(reg, AR_PHY_TX_PWRCTRL_PD_AVG_OUT);
565 DPRINTFN(DBG_RF, sc, "PD Avg Out=%d\n", pdadc);
567 if (sc->sc_pdadc == 0 || pdadc == 0)
576 tcomp = ((pdadc - sc->sc_pdadc) * 4) / slope;

Completed in 30 milliseconds