Searched refs:pdadc (Results 1 – 4 of 4) sorted by relevance
| /openbsd/src/sys/dev/ic/ |
| D | ar9280.c | 590 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()
|
| D | ar9287.c | 361 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()
|
| D | athnvar.h | 496 int8_t pdadc; member
|
| D | ar5416.c | 449 sc->pdadc = in ar5416_set_power_calib()
|