Lines Matching refs:afu_map

712 		if (likely(afu->afu_map)) {  in stop_afu()
713 cfg->ops->psa_unmap(afu->afu_map); in stop_afu()
714 afu->afu_map = NULL; in stop_afu()
861 if (!afu || !afu->afu_map) { in notify_shutdown()
1021 cfg->afu->afu_map = NULL; in alloc_mem()
1231 port_sel = readq_be(&afu->afu_map->global.regs.afu_port_sel); in afu_link_reset()
1233 writeq_be(port_sel, &afu->afu_map->global.regs.afu_port_sel); in afu_link_reset()
1250 writeq_be(port_sel, &afu->afu_map->global.regs.afu_port_sel); in afu_link_reset()
1276 writeq_be(-1ULL, &afu->afu_map->global.regs.aintr_mask); in afu_err_intr_init()
1282 writeq_be(reg, &afu->afu_map->global.regs.afu_ctrl); in afu_err_intr_init()
1284 writeq_be(-1ULL, &afu->afu_map->global.regs.aintr_clear); in afu_err_intr_init()
1287 writeq_be(SISL_ASTATUS_MASK, &afu->afu_map->global.regs.aintr_mask); in afu_err_intr_init()
1290 writeq_be(-1ULL, &afu->afu_map->global.regs.aintr_clear); in afu_err_intr_init()
1545 struct sisl_global_map __iomem *global = &afu->afu_map->global; in cxlflash_async_err_irq()
1716 ctrl_map = &afu->afu_map->ctrls[i].ctrl; in init_pcr()
1730 hwq->host_map = &afu->afu_map->hosts[hwq->ctx_hndl].host; in init_pcr()
1731 hwq->ctrl_map = &afu->afu_map->ctrls[hwq->ctx_hndl].ctrl; in init_pcr()
1778 reg = readq_be(&afu->afu_map->global.regs.afu_config); in init_global()
1784 writeq_be(reg, &afu->afu_map->global.regs.afu_config); in init_global()
1789 writeq_be(PORT0, &afu->afu_map->global.regs.afu_port_sel); in init_global()
1793 &afu->afu_map->global.regs.afu_port_sel); in init_global()
1859 afu->hb = readq_be(&afu->afu_map->global.regs.afu_hb); in init_global()
2071 port_mask = readq_be(&afu->afu_map->global.regs.afu_port_sel); in get_num_afu_ports()
2115 afu->afu_map = cfg->ops->psa_map(hwq->ctx_cookie); in init_afu()
2116 if (!afu->afu_map) { in init_afu()
2123 reg = readq(&afu->afu_map->global.regs.afu_version); in init_afu()
2126 readq_be(&afu->afu_map->global.regs.interface_version); in init_afu()