Home
last modified time | relevance | path

Searched refs:tfm_count (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/crypto/
H A Datmel-sha204a.c33 atomic_dec(&i2c_priv->tfm_count); in atmel_sha204a_rng_done()
45 if (!atomic_add_unless(&i2c_priv->tfm_count, 1, 1)) in atmel_sha204a_rng_read_nonblocking()
121 if (atomic_read(&i2c_priv->tfm_count)) { in atmel_sha204a_remove()
H A Datmel-ecc.c221 tfm_cnt = atomic_read(&i2c_priv->tfm_count); in atmel_ecc_i2c_client_alloc()
231 atomic_inc(&min_i2c_priv->tfm_count); in atmel_ecc_i2c_client_alloc()
244 atomic_dec(&i2c_priv->tfm_count); in atmel_ecc_i2c_client_free()
350 if (atomic_read(&i2c_priv->tfm_count)) { in atmel_ecc_remove()
H A Datmel-i2c.h141 atomic_t tfm_count ____cacheline_aligned;
H A Datmel-i2c.c371 atomic_set(&i2c_priv->tfm_count, 0); in atmel_i2c_probe()
/openbmc/linux/drivers/crypto/caam/
H A Djr.c198 if (atomic_read(&jrpriv->tfm_count)) { in caam_jr_remove()
367 tfm_cnt = atomic_read(&jrpriv->tfm_count); in caam_jr_alloc()
377 atomic_inc(&min_jrpriv->tfm_count); in caam_jr_alloc()
395 atomic_dec(&jrpriv->tfm_count); in caam_jr_free()
678 atomic_set(&jrpriv->tfm_count, 0); in caam_jr_probe()
H A Dintern.h72 atomic_t tfm_count ____cacheline_aligned;
/openbmc/linux/crypto/
H A Dpcrypt.c28 atomic_t tfm_count; member
187 cpu_index = (unsigned int)atomic_inc_return(&ictx->tfm_count) % in pcrypt_aead_init_tfm()