Searched refs:cregbase (Results 1 – 8 of 8) sorted by relevance
/drivers/scsi/qla2xxx/ |
D | qla_mr.h | 362 WRT_REG_DWORD((ha)->cregbase + QLAFX00_HST_TO_HBA_REG, \ 366 WRT_REG_DWORD((ha)->cregbase + QLAFX00_HBA_TO_HOST_REG, \ 370 RD_REG_DWORD((ha)->cregbase + QLAFX00_HBA_TO_HOST_REG) 373 WRT_REG_DWORD((ha)->cregbase + QLAFX00_HBA_TO_HOST_REG, \ 377 WRT_REG_DWORD((ha)->cregbase + off, val) 380 RD_REG_DWORD((ha)->cregbase + off) 383 WRT_REG_DWORD((ha)->cregbase + QLAFX00_HST_RST_REG, val) 386 RD_REG_DWORD((ha)->cregbase + QLAFX00_HBA_ICNTRL_REG) 389 WRT_REG_DWORD((ha)->cregbase + QLAFX00_HBA_ICNTRL_REG, \ 394 WRT_REG_DWORD((ha)->cregbase + QLAFX00_HBA_ICNTRL_REG, \ [all …]
|
D | qla_mr.c | 791 ha->cregbase = in qlafx00_iospace_config() 793 if (!ha->cregbase) { in qlafx00_iospace_config() 825 ha->bars, ha->cregbase, ha->iobase); in qlafx00_iospace_config()
|
D | qla_os.c | 3494 if (ha->cregbase) in qla2x00_probe_one() 3495 iounmap(ha->cregbase); in qla2x00_probe_one() 3645 if (ha->cregbase) in qla2x00_unmap_iobases() 3646 iounmap(ha->cregbase); in qla2x00_unmap_iobases()
|
D | qla_def.h | 3686 void __iomem *cregbase; member
|
/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() 3132 u32 cregbase; in set_6120_baseaddrs() local 3134 cregbase = qib_read_kreg32(dd, kr_counterregbase); in set_6120_baseaddrs() 3135 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 902 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_7322_creg() 904 return readq(&dd->cspec->cregbase[regno]); in read_7322_creg() 911 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_7322_creg32() 913 return readl(&dd->cspec->cregbase[regno]); in read_7322_creg32() 5800 u32 cregbase; in qib_7322_set_baseaddrs() local 5802 cregbase = qib_read_kreg32(dd, kr_counterregbase); in qib_7322_set_baseaddrs() 5804 dd->cspec->cregbase = (u64 __iomem *)(cregbase + in qib_7322_set_baseaddrs()
|