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()
1778 writeq(val, &dd->kregbase[kr_control]); in qib_6120_setup_reset()
1795 val = readq(&dd->kregbase[kr_revision]); in qib_6120_setup_reset()
1839 if (!dd->kregbase) in qib_6120_put_tid()
1903 if (!dd->kregbase) in qib_6120_put_tid_2()
1947 if (!dd->kregbase || !rcd) in qib_6120_clear_tids()
1954 ((char __iomem *)(dd->kregbase) + in qib_6120_clear_tids()
1964 ((char __iomem *)(dd->kregbase) + in qib_6120_clear_tids()
3102 (((char __iomem *)dd->kregbase) + dd->pio2k_bufbase); in get_6120_chip_params()
3105 (((char __iomem *) dd->kregbase) + in get_6120_chip_params()
3132 ((char __iomem *) dd->kregbase + cregbase); in set_6120_baseaddrs()
3135 ((char __iomem *) dd->kregbase + dd->rcvegrbase); in set_6120_baseaddrs()
3183 dd->revision = readq(&dd->kregbase[kr_revision]); in init_6120_variables()