Searched refs:cregbase (Results 1 – 8 of 8) sorted by relevance
/linux-5.19.10/drivers/scsi/qla2xxx/ |
D | qla_mr.h | 365 wrt_reg_dword((ha)->cregbase + QLAFX00_HST_TO_HBA_REG, \ 369 wrt_reg_dword((ha)->cregbase + QLAFX00_HBA_TO_HOST_REG, \ 373 rd_reg_dword((ha)->cregbase + QLAFX00_HBA_TO_HOST_REG) 376 wrt_reg_dword((ha)->cregbase + QLAFX00_HBA_TO_HOST_REG, \ 380 wrt_reg_dword((ha)->cregbase + off, val) 383 rd_reg_dword((ha)->cregbase + off) 386 wrt_reg_dword((ha)->cregbase + QLAFX00_HST_RST_REG, val) 389 rd_reg_dword((ha)->cregbase + QLAFX00_HBA_ICNTRL_REG) 392 wrt_reg_dword((ha)->cregbase + QLAFX00_HBA_ICNTRL_REG, \ 397 wrt_reg_dword((ha)->cregbase + QLAFX00_HBA_ICNTRL_REG, \ [all …]
|
D | qla_mr.c | 766 ha->cregbase = in qlafx00_iospace_config() 768 if (!ha->cregbase) { in qlafx00_iospace_config() 800 ha->bars, ha->cregbase, ha->iobase); in qlafx00_iospace_config()
|
D | qla_os.c | 3605 if (ha->cregbase) in qla2x00_probe_one() 3606 iounmap(ha->cregbase); in qla2x00_probe_one() 3779 if (ha->cregbase) in qla2x00_unmap_iobases() 3780 iounmap(ha->cregbase); in qla2x00_unmap_iobases()
|
D | qla_def.h | 4077 void __iomem *cregbase; member
|
/linux-5.19.10/drivers/infiniband/hw/qib/ |
D | qib_7220.h | 47 u64 __iomem *cregbase; member
|
D | qib_iba6120.c | 219 u64 __iomem *cregbase; member 392 if (dd->cspec->cregbase && (dd->flags & QIB_PRESENT)) in write_6120_creg() 393 writeq(value, &dd->cspec->cregbase[regno]); in write_6120_creg() 398 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_6120_creg() 400 return readq(&dd->cspec->cregbase[regno]); in read_6120_creg() 405 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_6120_creg32() 407 return readl(&dd->cspec->cregbase[regno]); in read_6120_creg32() 3131 u32 cregbase; in set_6120_baseaddrs() local 3133 cregbase = qib_read_kreg32(dd, kr_counterregbase); in set_6120_baseaddrs() 3134 dd->cspec->cregbase = (u64 __iomem *) in set_6120_baseaddrs() [all …]
|
D | qib_iba7220.c | 292 if (dd->cspec->cregbase && (dd->flags & QIB_PRESENT)) in write_7220_creg() 293 writeq(value, &dd->cspec->cregbase[regno]); in write_7220_creg() 298 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_7220_creg() 300 return readq(&dd->cspec->cregbase[regno]); in read_7220_creg() 305 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_7220_creg32() 307 return readl(&dd->cspec->cregbase[regno]); in read_7220_creg32() 3840 u32 cregbase; in set_7220_baseaddrs() local 3842 cregbase = qib_read_kreg32(dd, kr_counterregbase); in set_7220_baseaddrs() 3843 dd->cspec->cregbase = (u64 __iomem *) in set_7220_baseaddrs() 3844 ((char __iomem *) dd->kregbase + cregbase); in set_7220_baseaddrs()
|
D | qib_iba7322.c | 546 u64 __iomem *cregbase; member 880 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_7322_creg() 882 return readq(&dd->cspec->cregbase[regno]); in read_7322_creg() 889 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_7322_creg32() 891 return readl(&dd->cspec->cregbase[regno]); in read_7322_creg32() 5776 u32 cregbase; in qib_7322_set_baseaddrs() local 5778 cregbase = qib_read_kreg32(dd, kr_counterregbase); in qib_7322_set_baseaddrs() 5780 dd->cspec->cregbase = (u64 __iomem *)(cregbase + in qib_7322_set_baseaddrs()
|