Searched refs:jrpriv (Results 1 – 1 of 1) sorted by relevance
124 struct caam_drv_private_jr *jrpriv; in caam_jr_remove() local127 jrpriv = dev_get_drvdata(jrdev); in caam_jr_remove()132 if (atomic_read(&jrpriv->tfm_count)) { in caam_jr_remove()142 list_del(&jrpriv->list_node); in caam_jr_remove()281 struct caam_drv_private_jr *jrpriv, *min_jrpriv = NULL; in caam_jr_alloc() local293 list_for_each_entry(jrpriv, &driver_data.jr_list, list_node) { in caam_jr_alloc()294 tfm_cnt = atomic_read(&jrpriv->tfm_count); in caam_jr_alloc()297 min_jrpriv = jrpriv; in caam_jr_alloc()320 struct caam_drv_private_jr *jrpriv = dev_get_drvdata(rdev); in caam_jr_free() local322 atomic_dec(&jrpriv->tfm_count); in caam_jr_free()[all …]