Searched refs:cha_inst (Results 1 – 2 of 2) sorted by relevance
2621 u32 cha_vid, cha_inst; in caam_qi_algapi_init() local2627 cha_inst = rd_reg32(&priv->ctrl->perfmon.cha_num_ls); in caam_qi_algapi_init()2628 des_inst = (cha_inst & CHA_ID_LS_DES_MASK) >> in caam_qi_algapi_init()2630 aes_inst = cha_inst & CHA_ID_LS_AES_MASK; in caam_qi_algapi_init()2631 md_inst = (cha_inst & CHA_ID_LS_MD_MASK) >> CHA_ID_LS_MD_SHIFT; in caam_qi_algapi_init()
3530 u32 cha_vid, cha_inst, aes_rn; in caam_algapi_init() local3536 cha_inst = rd_reg32(&priv->ctrl->perfmon.cha_num_ls); in caam_algapi_init()3537 des_inst = (cha_inst & CHA_ID_LS_DES_MASK) >> in caam_algapi_init()3539 aes_inst = cha_inst & CHA_ID_LS_AES_MASK; in caam_algapi_init()3540 md_inst = (cha_inst & CHA_ID_LS_MD_MASK) >> CHA_ID_LS_MD_SHIFT; in caam_algapi_init()