Lines Matching refs:kregbase
309 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_ureg32()
319 (char __iomem *)dd->kregbase + in qib_read_ureg32()
344 (char __iomem *) dd->kregbase + in qib_write_ureg()
347 if (dd->kregbase && (dd->flags & QIB_PRESENT)) in qib_write_ureg()
354 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_kreg32()
356 return readl((u32 __iomem *)&dd->kregbase[regno]); in qib_read_kreg32()
362 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_kreg64()
365 return readq(&dd->kregbase[regno]); in qib_read_kreg64()
371 if (dd->kregbase && (dd->flags & QIB_PRESENT)) in qib_write_kreg()
372 writeq(value, &dd->kregbase[regno]); in qib_write_kreg()
1781 writeq(val, &dd->kregbase[kr_control]); in qib_6120_setup_reset()
1798 val = readq(&dd->kregbase[kr_revision]); in qib_6120_setup_reset()
1842 if (!dd->kregbase) in qib_6120_put_tid()
1906 if (!dd->kregbase) in qib_6120_put_tid_2()
1950 if (!dd->kregbase || !rcd) in qib_6120_clear_tids()
1957 ((char __iomem *)(dd->kregbase) + in qib_6120_clear_tids()
1967 ((char __iomem *)(dd->kregbase) + in qib_6120_clear_tids()
3105 (((char __iomem *)dd->kregbase) + dd->pio2k_bufbase); in get_6120_chip_params()
3108 (((char __iomem *) dd->kregbase) + in get_6120_chip_params()
3135 ((char __iomem *) dd->kregbase + cregbase); in set_6120_baseaddrs()
3138 ((char __iomem *) dd->kregbase + dd->rcvegrbase); in set_6120_baseaddrs()
3186 dd->revision = readq(&dd->kregbase[kr_revision]); in init_6120_variables()