Home
last modified time | relevance | path

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

/openbsd-src/sys/dev/ic/
H A Dar9280.c583 sc->tcomp = 0; in ar9280_olpc_init()
590 int8_t pdadc, txgain, tcomp; in ar9280_olpc_temp_compensation() local
604 tcomp = (pdadc - sc->pdadc + 4) / 8; in ar9280_olpc_temp_compensation()
606 tcomp = (pdadc - sc->pdadc + 5) / 10; in ar9280_olpc_temp_compensation()
607 DPRINTFN(3, ("OLPC temp compensation=%d\n", tcomp)); in ar9280_olpc_temp_compensation()
609 if (tcomp == sc->tcomp) in ar9280_olpc_temp_compensation()
611 sc->tcomp = tcomp; in ar9280_olpc_temp_compensation()
615 txgain = sc->tx_gain_tbl[i] - tcomp; in ar9280_olpc_temp_compensation()
H A Dar9287.c557 int8_t pdadc, slope, tcomp; in ar9287_olpc_temp_compensation() local
573 tcomp = ((pdadc - sc->pdadc) * 4) / slope; in ar9287_olpc_temp_compensation()
575 tcomp = 0; in ar9287_olpc_temp_compensation()
576 DPRINTFN(3, ("OLPC temp compensation=%d\n", tcomp)); in ar9287_olpc_temp_compensation()
580 reg = RW(reg, AR_PHY_TX_PWRCTRL_OLPC_TEMP_COMP, tcomp); in ar9287_olpc_temp_compensation()
584 reg = RW(reg, AR_PHY_TX_PWRCTRL_OLPC_TEMP_COMP, tcomp); in ar9287_olpc_temp_compensation()
H A Dathnvar.h497 int8_t tcomp; member
/openbsd-src/sys/netinet/
H A Dip_ipcomp.c85 const struct comp_algo *tcomp = NULL; in ipcomp_init() local
91 tcomp = &comp_algo_deflate; in ipcomp_init()
99 tdbp->tdb_compalgxform = tcomp; in ipcomp_init()
101 DPRINTF("initialized TDB with ipcomp algorithm %s", tcomp->name); in ipcomp_init()