Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/qla2xxx/
Dqla_mr.h365 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 …]
Dqla_mr.c766 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()
Dqla_os.c3635 if (ha->cregbase) in qla2x00_probe_one()
3636 iounmap(ha->cregbase); in qla2x00_probe_one()
3809 if (ha->cregbase) in qla2x00_unmap_iobases()
3810 iounmap(ha->cregbase); in qla2x00_unmap_iobases()
Dqla_def.h4088 void __iomem *cregbase; member
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_7220.h47 u64 __iomem *cregbase; member
Dqib_iba6120.c219 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 …]
Dqib_iba7220.c292 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()
Dqib_iba7322.c546 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()