Home
last modified time | relevance | path

Searched refs:afu_map (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/scsi/cxlflash/
Dmain.c721 if (likely(afu->afu_map)) { in stop_afu()
722 cfg->ops->psa_unmap(afu->afu_map); in stop_afu()
723 afu->afu_map = NULL; in stop_afu()
867 if (!afu || !afu->afu_map) { in notify_shutdown()
1023 cfg->afu->afu_map = NULL; in alloc_mem()
1233 port_sel = readq_be(&afu->afu_map->global.regs.afu_port_sel); in afu_link_reset()
1235 writeq_be(port_sel, &afu->afu_map->global.regs.afu_port_sel); in afu_link_reset()
1252 writeq_be(port_sel, &afu->afu_map->global.regs.afu_port_sel); in afu_link_reset()
1278 writeq_be(-1ULL, &afu->afu_map->global.regs.aintr_mask); in afu_err_intr_init()
1284 writeq_be(reg, &afu->afu_map->global.regs.afu_ctrl); in afu_err_intr_init()
[all …]
Dcommon.h240 struct cxlflash_afu_map __iomem *afu_map; /* entire MMIO map */ member
316 return &afu->afu_map->global.bank[CHAN2PORTBANK(i)]; in get_fc_port_bank()
Dsuperpipe.c764 if (afu->afu_map && ctxi->ctrl_map) { in destroy_context()
837 ctxi->ctrl_map = &afu->afu_map->ctrls[ctxid].ctrl; in init_context()
1479 attach->mmio_size = sizeof(afu->afu_map->hosts[0].harea); in cxlflash_disk_attach()
1580 ctxi->ctrl_map = &afu->afu_map->ctrls[ctxid].ctrl; in recover_context()
1736 recover->mmio_size = sizeof(afu->afu_map->hosts[0].harea); in cxlflash_afu_recover()