Home
last modified time | relevance | path

Searched refs:nx_pcibase (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/scsi/qla2xxx/
Dqla_nx.c368 writel(ha->crb_win, CRB_WINDOW_2M + ha->nx_pcibase); in qla82xx_pci_set_crbwindow_2M()
373 win_read = RD_REG_DWORD(CRB_WINDOW_2M + ha->nx_pcibase); in qla82xx_pci_set_crbwindow_2M()
380 *off_out = (off_in & MASK(16)) + CRB_INDIRECT_2M + ha->nx_pcibase; in qla82xx_pci_set_crbwindow_2M()
435 QLA82XX_PCI_CAMQM_2M_BASE + ha->nx_pcibase; in qla82xx_pci_get_crb_addr_2M()
448 *off_out = off_in + m->start_2M - m->start_128M + ha->nx_pcibase; in qla82xx_pci_get_crb_addr_2M()
940 WRT_REG_DWORD(CRB_WINDOW_2M + ha->nx_pcibase, off & 0xFFFF0000); in qla82xx_md_rw_32()
943 RD_REG_DWORD(CRB_WINDOW_2M + ha->nx_pcibase); in qla82xx_md_rw_32()
947 WRT_REG_DWORD(off_value + CRB_INDIRECT_2M + ha->nx_pcibase, in qla82xx_md_rw_32()
951 ha->nx_pcibase); in qla82xx_md_rw_32()
1684 ha->nx_pcibase = ioremap(pci_resource_start(ha->pdev, 0), len); in qla82xx_iospace_config()
[all …]
Dqla_nx2.c37 return readl((void __iomem *) (ha->nx_pcibase + addr)); in qla8044_rd_reg()
43 writel(val, (void __iomem *)((ha)->nx_pcibase + addr)); in qla8044_wr_reg()
2583 r_value = readl((void __iomem *)(r_addr + ha->nx_pcibase)); in qla8044_minidump_process_rdocm()
Dqla_os.c3477 if (!ha->nx_pcibase) in qla2x00_probe_one()
3478 iounmap((device_reg_t *)ha->nx_pcibase); in qla2x00_probe_one()
3628 iounmap((device_reg_t *)ha->nx_pcibase); in qla2x00_unmap_iobases()
Dqla_def.h4214 void __iomem *nx_pcibase; /* Base I/O address */ member
/Linux-v5.4/drivers/scsi/qla4xxx/
Dql4_nx.c43 return (void __iomem *)(ha->nx_pcibase + off); in qla4_8xxx_pci_base_offsetfset()
366 (void __iomem *)(CRB_WINDOW_2M + ha->nx_pcibase)); in qla4_82xx_pci_set_crbwindow_2M()
370 win_read = readl((void __iomem *)(CRB_WINDOW_2M + ha->nx_pcibase)); in qla4_82xx_pci_set_crbwindow_2M()
376 *off = (*off & MASK(16)) + CRB_INDIRECT_2M + ha->nx_pcibase; in qla4_82xx_pci_set_crbwindow_2M()
434 writel(off_value, (void __iomem *)(CRB_WINDOW_2M + ha->nx_pcibase)); in qla4_82xx_md_rd_32()
440 win_read = readl((void __iomem *)(CRB_WINDOW_2M + ha->nx_pcibase)); in qla4_82xx_md_rd_32()
449 ha->nx_pcibase)); in qla4_82xx_md_rd_32()
460 writel(off_value, (void __iomem *)(CRB_WINDOW_2M + ha->nx_pcibase)); in qla4_82xx_md_wr_32()
465 win_read = readl((void __iomem *)(CRB_WINDOW_2M + ha->nx_pcibase)); in qla4_82xx_md_wr_32()
474 ha->nx_pcibase)); in qla4_82xx_md_wr_32()
[all …]
Dql4_83xx.c18 return readl((void __iomem *)(ha->nx_pcibase + addr)); in qla4_83xx_rd_reg()
23 writel(val, (void __iomem *)(ha->nx_pcibase + addr)); in qla4_83xx_wr_reg()
Dql4_def.h727 unsigned long nx_pcibase; /* Base I/O address */ member
Dql4_os.c4177 if (ha->nx_pcibase) in qla4xxx_mem_free()
4179 (struct device_reg_82xx __iomem *)ha->nx_pcibase); in qla4xxx_mem_free()
4181 if (ha->nx_pcibase) in qla4xxx_mem_free()
4183 (struct device_reg_83xx __iomem *)ha->nx_pcibase); in qla4xxx_mem_free()
5518 ha->nx_pcibase = (unsigned long)ioremap(mem_base, mem_len); in qla4_8xxx_iospace_config()
5519 if (!ha->nx_pcibase) { in qla4_8xxx_iospace_config()
5531 ((uint8_t *)ha->nx_pcibase + 0xbc000 + in qla4_8xxx_iospace_config()
5537 ((uint8_t *)ha->nx_pcibase); in qla4_8xxx_iospace_config()