Home
last modified time | relevance | path

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

/netbsd/src/sys/opencrypto/
Dcryptodev.c115 const struct comp_algo *tcomp; member
474 if (cse->tcomp == NULL && cse->txform == NULL && cse->thash == NULL) in cryptodev_op()
479 if ((cse->tcomp) && cop->dst_len) { in cryptodev_op()
505 crp = crypto_getreq((cse->tcomp != NULL) + (cse->txform != NULL) + (cse->thash != NULL)); in cryptodev_op()
519 if (cse->tcomp) { in cryptodev_op()
530 } else if (!cse->tcomp) { in cryptodev_op()
967 const struct auth_hash *thash, const struct comp_algo *tcomp) in csecreate() argument
984 cse->tcomp = tcomp; in csecreate()
1114 cse->tcomp == NULL) { in cryptodev_mop()
1127 (cse->tcomp != NULL)); in cryptodev_mop()
[all …]
/netbsd/src/sys/dev/ic/
Darn9280.c594 int8_t pdadc, txgain, tcomp; in ar9280_olpc_temp_compensation() local
608 tcomp = (pdadc - sc->sc_pdadc + 4) / 8; in ar9280_olpc_temp_compensation()
610 tcomp = (pdadc - sc->sc_pdadc + 5) / 10; in ar9280_olpc_temp_compensation()
611 DPRINTFN(DBG_RF, sc, "OLPC temp compensation=%d\n", tcomp); in ar9280_olpc_temp_compensation()
613 if (tcomp == sc->sc_tcomp) in ar9280_olpc_temp_compensation()
615 sc->sc_tcomp = tcomp; in ar9280_olpc_temp_compensation()
619 txgain = sc->sc_tx_gain_tbl[i] - tcomp; in ar9280_olpc_temp_compensation()
Darn9287.c560 int8_t pdadc, slope, tcomp; in ar9287_olpc_temp_compensation() local
576 tcomp = ((pdadc - sc->sc_pdadc) * 4) / slope; in ar9287_olpc_temp_compensation()
578 tcomp = 0; in ar9287_olpc_temp_compensation()
579 DPRINTFN(DBG_RF, sc, "OLPC temp compensation=%d\n", tcomp); in ar9287_olpc_temp_compensation()
583 reg = RW(reg, AR_PHY_TX_PWRCTRL_OLPC_TEMP_COMP, tcomp); in ar9287_olpc_temp_compensation()
587 reg = RW(reg, AR_PHY_TX_PWRCTRL_OLPC_TEMP_COMP, tcomp); in ar9287_olpc_temp_compensation()
/netbsd/src/sys/netipsec/
Dxform_ipcomp.c101 const struct comp_algo *tcomp; in ipcomp_init() local
106 tcomp = ipcomp_algorithm_lookup(sav->alg_enc); in ipcomp_init()
107 if (tcomp == NULL) { in ipcomp_init()
114 sav->tdb_compalgxform = tcomp; in ipcomp_init()