Lines Matching refs:cregbase
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()
3128 u32 cregbase; in set_6120_baseaddrs() local
3130 cregbase = qib_read_kreg32(dd, kr_counterregbase); in set_6120_baseaddrs()
3131 dd->cspec->cregbase = (u64 __iomem *) in set_6120_baseaddrs()
3132 ((char __iomem *) dd->kregbase + cregbase); in set_6120_baseaddrs()