Searched refs:mdha (Results 1 – 5 of 5) sorted by relevance
2633 u32 aesa, mdha; in caam_qi_algapi_init() local2636 mdha = rd_reg32(&priv->ctrl->vreg.mdha); in caam_qi_algapi_init()2639 md_vid = (mdha & CHA_VER_VID_MASK) >> CHA_VER_VID_SHIFT; in caam_qi_algapi_init()2643 md_inst = mdha & CHA_VER_NUM_MASK; in caam_qi_algapi_init()
1954 u32 mdha = rd_reg32(&priv->ctrl->vreg.mdha); in caam_algapi_hash_init() local1956 md_vid = (mdha & CHA_VER_VID_MASK) >> CHA_VER_VID_SHIFT; in caam_algapi_hash_init()1957 md_inst = mdha & CHA_VER_NUM_MASK; in caam_algapi_hash_init()
3541 u32 aesa, mdha; in caam_algapi_init() local3544 mdha = rd_reg32(&priv->ctrl->vreg.mdha); in caam_algapi_init()3547 md_vid = (mdha & CHA_VER_VID_MASK) >> CHA_VER_VID_SHIFT; in caam_algapi_init()3551 md_inst = mdha & CHA_VER_NUM_MASK; in caam_algapi_init()
288 u32 mdha; /* MDHA_VERSION */ member
336 u32 aesa, mdha;339 - mdha = rd_reg32(&priv->ctrl->vreg.mdha);341 + mdha = rd_reg32(&vreg->mdha);344 md_vid = (mdha & CHA_VER_VID_MASK) >> CHA_VER_VID_SHIFT;349 md_inst = mdha & CHA_VER_NUM_MASK;2082 - u32 mdha = rd_reg32(&priv->ctrl->vreg.mdha);2083 + u32 mdha = rd_reg32(&priv->jr[0]->vreg.mdha);2085 md_vid = (mdha & CHA_VER_VID_MASK) >> CHA_VER_VID_SHIFT;2086 md_inst = mdha & CHA_VER_NUM_MASK;