Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/crypto/
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()
123 if (atomic_read(&i2c_priv->tfm_count)) { in atmel_sha204a_remove()
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()
351 if (atomic_read(&i2c_priv->tfm_count)) { in atmel_ecc_remove()
Datmel-i2c.h141 atomic_t tfm_count ____cacheline_aligned;
Datmel-i2c.c363 atomic_set(&i2c_priv->tfm_count, 0); in atmel_i2c_probe()
/Linux-v5.15/drivers/crypto/caam/
Djr.c144 if (atomic_read(&jrpriv->tfm_count)) { in caam_jr_remove()
306 tfm_cnt = atomic_read(&jrpriv->tfm_count); in caam_jr_alloc()
316 atomic_inc(&min_jrpriv->tfm_count); in caam_jr_alloc()
334 atomic_dec(&jrpriv->tfm_count); in caam_jr_free()
595 atomic_set(&jrpriv->tfm_count, 0); in caam_jr_probe()
Dintern.h61 atomic_t tfm_count ____cacheline_aligned;
/Linux-v5.15/crypto/
Dpcrypt.c28 atomic_t tfm_count; member
175 cpu_index = (unsigned int)atomic_inc_return(&ictx->tfm_count) % in pcrypt_aead_init_tfm()