Lines Matching refs:fc_port_regs

853 	__be64 __iomem *fc_port_regs;  in notify_shutdown()  local
868 fc_port_regs = get_fc_port_regs(cfg, i); in notify_shutdown()
870 reg = readq_be(&fc_port_regs[FC_CONFIG2 / 8]); in notify_shutdown()
872 writeq_be(reg, &fc_port_regs[FC_CONFIG2 / 8]); in notify_shutdown()
880 fc_port_regs = get_fc_port_regs(cfg, i); in notify_shutdown()
884 status = readq_be(&fc_port_regs[FC_STATUS / 8]); in notify_shutdown()
1263 __be64 __iomem *fc_port_regs; in afu_err_intr_init() local
1293 fc_port_regs = get_fc_port_regs(cfg, 0); in afu_err_intr_init()
1294 reg = readq_be(&fc_port_regs[FC_CONFIG2 / 8]); in afu_err_intr_init()
1298 writeq_be(reg, &fc_port_regs[FC_CONFIG2 / 8]); in afu_err_intr_init()
1302 fc_port_regs = get_fc_port_regs(cfg, i); in afu_err_intr_init()
1304 writeq_be(0xFFFFFFFFU, &fc_port_regs[FC_ERROR / 8]); in afu_err_intr_init()
1305 writeq_be(0, &fc_port_regs[FC_ERRCAP / 8]); in afu_err_intr_init()
1546 __be64 __iomem *fc_port_regs; in cxlflash_async_err_irq() local
1578 fc_port_regs = get_fc_port_regs(cfg, port); in cxlflash_async_err_irq()
1582 readq_be(&fc_port_regs[FC_STATUS / 8])); in cxlflash_async_err_irq()
1597 reg = readq_be(&fc_port_regs[FC_ERROR / 8]); in cxlflash_async_err_irq()
1607 writeq_be(reg, &fc_port_regs[FC_ERROR / 8]); in cxlflash_async_err_irq()
1608 writeq_be(0, &fc_port_regs[FC_ERRCAP / 8]); in cxlflash_async_err_irq()
1748 __be64 __iomem *fc_port_regs; in init_global() local
1798 fc_port_regs = get_fc_port_regs(cfg, i); in init_global()
1801 writeq_be(0, &fc_port_regs[FC_ERRMSK / 8]); in init_global()
1803 (void)readq_be(&fc_port_regs[FC_CNT_CRCERR / 8]); in init_global()
1804 writeq_be(MC_CRC_THRESH, &fc_port_regs[FC_CRC_THRESH / 8]); in init_global()
1808 afu_set_wwpn(afu, i, &fc_port_regs[0], wwpn[i]); in init_global()
2562 __be64 __iomem *fc_port_regs; in cxlflash_show_port_status() local
2572 fc_port_regs = get_fc_port_regs(cfg, port); in cxlflash_show_port_status()
2573 status = readq_be(&fc_port_regs[FC_MTIP_STATUS / 8]); in cxlflash_show_port_status()
3202 __be64 __iomem *fc_port_regs; in cxlflash_worker_thread() local
3223 fc_port_regs = get_fc_port_regs(cfg, port); in cxlflash_worker_thread()
3224 afu_link_reset(afu, port, fc_port_regs); in cxlflash_worker_thread()
3289 __be64 __iomem *fc_port_regs; in cxlflash_lun_provision() local
3320 fc_port_regs = get_fc_port_regs(cfg, port); in cxlflash_lun_provision()
3322 reg = readq_be(&fc_port_regs[FC_MAX_NUM_LUNS / 8]); in cxlflash_lun_provision()
3324 reg = readq_be(&fc_port_regs[FC_CUR_NUM_LUNS / 8]); in cxlflash_lun_provision()
3326 reg = readq_be(&fc_port_regs[FC_MAX_CAP_PORT / 8]); in cxlflash_lun_provision()
3328 reg = readq_be(&fc_port_regs[FC_CUR_CAP_PORT / 8]); in cxlflash_lun_provision()