Lines Matching refs:ctrl_map
269 struct sisl_ctrl_map __iomem *ctrl_map = ctxi->ctrl_map; in afu_attach() local
276 readq_be(&ctrl_map->mbox_r); in afu_attach()
278 writeq_be(val, &ctrl_map->ctx_cap); in afu_attach()
279 val = readq_be(&ctrl_map->ctx_cap); in afu_attach()
291 writeq_be(val, &ctrl_map->lisn_ea[i]); in afu_attach()
296 writeq_be(SISL_LISN_PASID(val, val), &ctrl_map->lisn_pasid[0]); in afu_attach()
297 writeq_be(SISL_LISN_PASID(0UL, val), &ctrl_map->lisn_pasid[1]); in afu_attach()
301 writeq_be((u64)ctxi->rht_start, &ctrl_map->rht_start); in afu_attach()
303 writeq_be(val, &ctrl_map->rht_cnt_id); in afu_attach()
764 if (afu->afu_map && ctxi->ctrl_map) { in destroy_context()
765 writeq_be(0, &ctxi->ctrl_map->rht_start); in destroy_context()
766 writeq_be(0, &ctxi->ctrl_map->rht_cnt_id); in destroy_context()
767 writeq_be(0, &ctxi->ctrl_map->ctx_cap); in destroy_context()
837 ctxi->ctrl_map = &afu->afu_map->ctrls[ctxid].ctrl; in init_context()
1252 ctxi->ctrl_map = NULL; in cxlflash_mark_contexts_error()
1580 ctxi->ctrl_map = &afu->afu_map->ctrls[ctxid].ctrl; in recover_context()
1741 reg = readq_be(&hwq->ctrl_map->mbox_r); in cxlflash_afu_recover()