Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/scsi/qla2xxx/
Dqla_nx.c367 writel(ha->crb_win, CRB_WINDOW_2M + ha->nx_pcibase); in qla82xx_pci_set_crbwindow_2M()
372 win_read = rd_reg_dword(CRB_WINDOW_2M + ha->nx_pcibase); in qla82xx_pci_set_crbwindow_2M()
379 *off_out = (off_in & MASK(16)) + CRB_INDIRECT_2M + ha->nx_pcibase; in qla82xx_pci_set_crbwindow_2M()
393 QLA82XX_PCI_CAMQM_2M_BASE + ha->nx_pcibase; in qla82xx_pci_get_crb_addr_2M()
406 *off_out = off_in + m->start_2M - m->start_128M + ha->nx_pcibase; in qla82xx_pci_get_crb_addr_2M()
895 wrt_reg_dword(CRB_WINDOW_2M + ha->nx_pcibase, off & 0xFFFF0000); in qla82xx_md_rw_32()
898 rd_reg_dword(CRB_WINDOW_2M + ha->nx_pcibase); in qla82xx_md_rw_32()
902 wrt_reg_dword(off_value + CRB_INDIRECT_2M + ha->nx_pcibase, in qla82xx_md_rw_32()
906 ha->nx_pcibase); in qla82xx_md_rw_32()
1636 ha->nx_pcibase = ioremap(pci_resource_start(ha->pdev, 0), len); in qla82xx_iospace_config()
[all …]
Dqla_nx2.c36 return readl((void __iomem *) (ha->nx_pcibase + addr)); in qla8044_rd_reg()
42 writel(val, (void __iomem *)((ha)->nx_pcibase + addr)); in qla8044_wr_reg()
2571 r_value = readl((void __iomem *)(r_addr + ha->nx_pcibase)); in qla8044_minidump_process_rdocm()
Dqla_os.c3666 if (!ha->nx_pcibase) in qla2x00_probe_one()
3667 iounmap((device_reg_t *)ha->nx_pcibase); in qla2x00_probe_one()
3840 iounmap((device_reg_t *)ha->nx_pcibase); in qla2x00_unmap_iobases()
Dqla_def.h4751 void __iomem *nx_pcibase; /* Base I/O address */ member
/linux-6.12.1/drivers/scsi/qla4xxx/
Dql4_nx.c42 return (void __iomem *)(ha->nx_pcibase + off); in qla4_8xxx_pci_base_offsetfset()
365 (void __iomem *)(CRB_WINDOW_2M + ha->nx_pcibase)); in qla4_82xx_pci_set_crbwindow_2M()
369 win_read = readl((void __iomem *)(CRB_WINDOW_2M + ha->nx_pcibase)); in qla4_82xx_pci_set_crbwindow_2M()
375 *off = (*off & MASK(16)) + CRB_INDIRECT_2M + ha->nx_pcibase; in qla4_82xx_pci_set_crbwindow_2M()
462 writel(off_value, (void __iomem *)(CRB_WINDOW_2M + ha->nx_pcibase)); in qla4_82xx_md_rd_32()
468 win_read = readl((void __iomem *)(CRB_WINDOW_2M + ha->nx_pcibase)); in qla4_82xx_md_rd_32()
477 ha->nx_pcibase)); in qla4_82xx_md_rd_32()
488 writel(off_value, (void __iomem *)(CRB_WINDOW_2M + ha->nx_pcibase)); in qla4_82xx_md_wr_32()
493 win_read = readl((void __iomem *)(CRB_WINDOW_2M + ha->nx_pcibase)); in qla4_82xx_md_wr_32()
502 ha->nx_pcibase)); in qla4_82xx_md_wr_32()
[all …]
Dql4_83xx.c17 return readl((void __iomem *)(ha->nx_pcibase + addr)); in qla4_83xx_rd_reg()
22 writel(val, (void __iomem *)(ha->nx_pcibase + addr)); in qla4_83xx_wr_reg()
Dql4_def.h735 unsigned long nx_pcibase; /* Base I/O address */ member
Dql4_os.c4210 if (ha->nx_pcibase) in qla4xxx_mem_free()
4212 (struct device_reg_82xx __iomem *)ha->nx_pcibase); in qla4xxx_mem_free()
4214 if (ha->nx_pcibase) in qla4xxx_mem_free()
4216 (struct device_reg_83xx __iomem *)ha->nx_pcibase); in qla4xxx_mem_free()
5549 ha->nx_pcibase = (unsigned long)ioremap(mem_base, mem_len); in qla4_8xxx_iospace_config()
5550 if (!ha->nx_pcibase) { in qla4_8xxx_iospace_config()
5562 ((uint8_t *)ha->nx_pcibase + 0xbc000 + in qla4_8xxx_iospace_config()
5568 ((uint8_t *)ha->nx_pcibase); in qla4_8xxx_iospace_config()