• Home
  • Raw
  • Download

Lines Matching refs:fc_port_regs

858 	__be64 __iomem *fc_port_regs;  in notify_shutdown()  local
873 fc_port_regs = get_fc_port_regs(cfg, i); in notify_shutdown()
875 reg = readq_be(&fc_port_regs[FC_CONFIG2 / 8]); in notify_shutdown()
877 writeq_be(reg, &fc_port_regs[FC_CONFIG2 / 8]); in notify_shutdown()
885 fc_port_regs = get_fc_port_regs(cfg, i); in notify_shutdown()
889 status = readq_be(&fc_port_regs[FC_STATUS / 8]); in notify_shutdown()
1268 __be64 __iomem *fc_port_regs; in afu_err_intr_init() local
1298 fc_port_regs = get_fc_port_regs(cfg, 0); in afu_err_intr_init()
1299 reg = readq_be(&fc_port_regs[FC_CONFIG2 / 8]); in afu_err_intr_init()
1303 writeq_be(reg, &fc_port_regs[FC_CONFIG2 / 8]); in afu_err_intr_init()
1307 fc_port_regs = get_fc_port_regs(cfg, i); in afu_err_intr_init()
1309 writeq_be(0xFFFFFFFFU, &fc_port_regs[FC_ERROR / 8]); in afu_err_intr_init()
1310 writeq_be(0, &fc_port_regs[FC_ERRCAP / 8]); in afu_err_intr_init()
1551 __be64 __iomem *fc_port_regs; in cxlflash_async_err_irq() local
1583 fc_port_regs = get_fc_port_regs(cfg, port); in cxlflash_async_err_irq()
1587 readq_be(&fc_port_regs[FC_STATUS / 8])); in cxlflash_async_err_irq()
1602 reg = readq_be(&fc_port_regs[FC_ERROR / 8]); in cxlflash_async_err_irq()
1612 writeq_be(reg, &fc_port_regs[FC_ERROR / 8]); in cxlflash_async_err_irq()
1613 writeq_be(0, &fc_port_regs[FC_ERRCAP / 8]); in cxlflash_async_err_irq()
1776 __be64 __iomem *fc_port_regs; in init_global() local
1826 fc_port_regs = get_fc_port_regs(cfg, i); in init_global()
1829 writeq_be(0, &fc_port_regs[FC_ERRMSK / 8]); in init_global()
1831 (void)readq_be(&fc_port_regs[FC_CNT_CRCERR / 8]); in init_global()
1832 writeq_be(MC_CRC_THRESH, &fc_port_regs[FC_CRC_THRESH / 8]); in init_global()
1836 afu_set_wwpn(afu, i, &fc_port_regs[0], wwpn[i]); in init_global()
2590 __be64 __iomem *fc_port_regs; in cxlflash_show_port_status() local
2600 fc_port_regs = get_fc_port_regs(cfg, port); in cxlflash_show_port_status()
2601 status = readq_be(&fc_port_regs[FC_MTIP_STATUS / 8]); in cxlflash_show_port_status()
3226 __be64 __iomem *fc_port_regs; in cxlflash_worker_thread() local
3247 fc_port_regs = get_fc_port_regs(cfg, port); in cxlflash_worker_thread()
3248 afu_link_reset(afu, port, fc_port_regs); in cxlflash_worker_thread()
3313 __be64 __iomem *fc_port_regs; in cxlflash_lun_provision() local
3344 fc_port_regs = get_fc_port_regs(cfg, port); in cxlflash_lun_provision()
3346 reg = readq_be(&fc_port_regs[FC_MAX_NUM_LUNS / 8]); in cxlflash_lun_provision()
3348 reg = readq_be(&fc_port_regs[FC_CUR_NUM_LUNS / 8]); in cxlflash_lun_provision()
3350 reg = readq_be(&fc_port_regs[FC_MAX_CAP_PORT / 8]); in cxlflash_lun_provision()
3352 reg = readq_be(&fc_port_regs[FC_CUR_CAP_PORT / 8]); in cxlflash_lun_provision()