Home
last modified time | relevance | path

Searched refs:tfm_count (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/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()
123 if (atomic_read(&i2c_priv->tfm_count)) { in atmel_sha204a_remove()
H A Datmel-ecc.c234 tfm_cnt = atomic_read(&i2c_priv->tfm_count); in atmel_ecc_i2c_client_alloc()
244 atomic_inc(&min_i2c_priv->tfm_count); in atmel_ecc_i2c_client_alloc()
257 atomic_dec(&i2c_priv->tfm_count); in atmel_ecc_i2c_client_free()
363 if (atomic_read(&i2c_priv->tfm_count)) { in atmel_ecc_remove()
H A Datmel-i2c.h126 * @tfm_count : number of active crypto transformations on i2c client
141 atomic_t tfm_count ____cacheline_aligned;
H A Datmel-i2c.c363 atomic_set(&i2c_priv->tfm_count, 0); in atmel_i2c_probe()
/kernel/linux/linux-6.6/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.h126 * @tfm_count : number of active crypto transformations on i2c client
141 atomic_t tfm_count ____cacheline_aligned;
H A Datmel-i2c.c371 atomic_set(&i2c_priv->tfm_count, 0); in atmel_i2c_probe()
/kernel/linux/linux-5.10/drivers/crypto/caam/
H A 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()
593 atomic_set(&jrpriv->tfm_count, 0); in caam_jr_probe()
H A Dintern.h53 atomic_t tfm_count ____cacheline_aligned;
/kernel/linux/linux-6.6/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;
/kernel/linux/linux-5.10/crypto/
H A Dpcrypt.c28 atomic_t tfm_count; member
183 cpu_index = (unsigned int)atomic_inc_return(&ictx->tfm_count) % in pcrypt_aead_init_tfm()
/kernel/linux/linux-6.6/crypto/
H A Dpcrypt.c28 atomic_t tfm_count; member
183 cpu_index = (unsigned int)atomic_inc_return(&ictx->tfm_count) % in pcrypt_aead_init_tfm()

Completed in 9 milliseconds