/src/sys/dev/ic/ |
arn9280.c | 594 int8_t pdadc, txgain, tcomp; local in function:ar9280_olpc_temp_compensation 608 tcomp = (pdadc - sc->sc_pdadc + 4) / 8; 610 tcomp = (pdadc - sc->sc_pdadc + 5) / 10; 611 DPRINTFN(DBG_RF, sc, "OLPC temp compensation=%d\n", tcomp); 613 if (tcomp == sc->sc_tcomp) 615 sc->sc_tcomp = tcomp; 619 txgain = sc->sc_tx_gain_tbl[i] - tcomp;
|
arn9287.c | 560 int8_t pdadc, slope, tcomp; local in function:ar9287_olpc_temp_compensation 576 tcomp = ((pdadc - sc->sc_pdadc) * 4) / slope; 578 tcomp = 0; 579 DPRINTFN(DBG_RF, sc, "OLPC temp compensation=%d\n", tcomp); 583 reg = RW(reg, AR_PHY_TX_PWRCTRL_OLPC_TEMP_COMP, tcomp); 587 reg = RW(reg, AR_PHY_TX_PWRCTRL_OLPC_TEMP_COMP, tcomp);
|
/src/sys/netipsec/ |
xform_ipcomp.c | 101 const struct comp_algo *tcomp; local in function:ipcomp_init 106 tcomp = ipcomp_algorithm_lookup(sav->alg_enc); 107 if (tcomp == NULL) { 114 sav->tdb_compalgxform = tcomp;
|
/src/sys/opencrypto/ |
cryptodev.c | 115 const struct comp_algo *tcomp; member in struct:csession 474 if (cse->tcomp == NULL && cse->txform == NULL && cse->thash == NULL) 479 if ((cse->tcomp) && cop->dst_len) { 505 crp = crypto_getreq((cse->tcomp != NULL) + (cse->txform != NULL) + (cse->thash != NULL)); 512 /* crds are always ordered tcomp, thash, then txform */ 519 if (cse->tcomp) { 530 } else if (!cse->tcomp) { 967 const struct auth_hash *thash, const struct comp_algo *tcomp) 984 cse->tcomp = tcomp; 1462 const struct comp_algo *tcomp = NULL; local in function:cryptodev_session [all...] |