Home
last modified time | relevance | path

Searched refs:pdadc (Results 1 – 4 of 4) sorted by relevance

/openbsd/src/sys/dev/ic/
Dar9280.c590 int8_t pdadc, txgain, tcomp; in ar9280_olpc_temp_compensation() local
595 pdadc = MS(reg, AR_PHY_TX_PWRCTRL_PD_AVG_OUT); in ar9280_olpc_temp_compensation()
596 DPRINTFN(3, ("PD Avg Out=%d\n", pdadc)); in ar9280_olpc_temp_compensation()
598 if (sc->pdadc == 0 || pdadc == 0) in ar9280_olpc_temp_compensation()
604 tcomp = (pdadc - sc->pdadc + 4) / 8; in ar9280_olpc_temp_compensation()
606 tcomp = (pdadc - sc->pdadc + 5) / 10; in ar9280_olpc_temp_compensation()
Dar9287.c361 sc->pdadc = in ar9287_set_power_calib()
557 int8_t pdadc, slope, tcomp; in ar9287_olpc_temp_compensation() local
561 pdadc = MS(reg, AR_PHY_TX_PWRCTRL_PD_AVG_OUT); in ar9287_olpc_temp_compensation()
562 DPRINTFN(3, ("PD Avg Out=%d\n", pdadc)); in ar9287_olpc_temp_compensation()
564 if (sc->pdadc == 0 || pdadc == 0) in ar9287_olpc_temp_compensation()
573 tcomp = ((pdadc - sc->pdadc) * 4) / slope; in ar9287_olpc_temp_compensation()
Dathnvar.h496 int8_t pdadc; member
Dar5416.c449 sc->pdadc = in ar5416_set_power_calib()