Searched refs:kregbase (Results 1 – 11 of 11) sorted by relevance
123 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_kreg32()125 return readl((u32 __iomem *)&dd->kregbase[regno]); in qib_read_kreg32()131 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_kreg64()134 return readq(&dd->kregbase[regno]); in qib_read_kreg64()140 if (dd->kregbase) in qib_write_kreg()141 writeq(value, &dd->kregbase[regno]); in qib_write_kreg()
148 dd->kregbase = ioremap_nocache(addr, len); in qib_pcie_ddinit()149 if (!dd->kregbase) in qib_pcie_ddinit()152 dd->kregend = (u64 __iomem *)((void __iomem *) dd->kregbase + len); in qib_pcie_ddinit()174 u64 __iomem *base = (void __iomem *) dd->kregbase; in qib_pcie_ddcleanup()176 dd->kregbase = NULL; in qib_pcie_ddcleanup()
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()[all …]
239 u32 __iomem *krb32 = (u32 __iomem *)dd->kregbase; in qib_remap_ioaddr32()245 kreglen = (dd->kregend - dd->kregbase) * sizeof(u64); in qib_remap_ioaddr32()520 !dd->kregbase) { in qib_diag_open()569 if (!dd || !(dd->flags & QIB_PRESENT) || !dd->kregbase) { in qib_diagpkt_write()
102 if (!(dd->flags & QIB_PRESENT) || !dd->kregbase) in qib_count_active_units()133 if ((dd->flags & QIB_PRESENT) && dd->kregbase) in qib_count_units()753 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) { in qib_reset_device()
233 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_ureg32()243 (char __iomem *)dd->kregbase + in qib_read_ureg32()268 (char __iomem *) dd->kregbase + in qib_write_ureg()271 if (dd->kregbase && (dd->flags & QIB_PRESENT)) in qib_write_ureg()2095 writeq(val, &dd->kregbase[kr_control]); in qib_setup_7220_reset()2112 val = readq(&dd->kregbase[kr_revision]); in qib_setup_7220_reset()2198 if (!dd->kregbase || !rcd) in qib_7220_clear_tids()2205 ((char __iomem *)(dd->kregbase) + in qib_7220_clear_tids()2214 ((char __iomem *)(dd->kregbase) + in qib_7220_clear_tids()3814 ((char __iomem *) dd->kregbase + dd->pio2k_bufbase); in get_7220_chip_params()[all …]
785 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_ureg32()790 (char __iomem *)dd->kregbase + dd->uregbase))); in qib_read_ureg32()807 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_ureg()812 (char __iomem *)dd->kregbase + dd->uregbase))); in qib_read_ureg()836 (char __iomem *) dd->kregbase + in qib_write_ureg()839 if (dd->kregbase && (dd->flags & QIB_PRESENT)) in qib_write_ureg()846 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_kreg32()848 return readl((u32 __iomem *) &dd->kregbase[regno]); in qib_read_kreg32()854 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_kreg64()856 return readq(&dd->kregbase[regno]); in qib_read_kreg64()[all …]
1686 dd->kregbase + in qib_setup_eagerbufs()1734 iounmap(dd->kregbase); in init_chip_wc_pat()1735 dd->kregbase = NULL; in init_chip_wc_pat()1777 dd->kregbase = qib_kregbase; in init_chip_wc_pat()
340 tidbase = (u64 __iomem *) (((char __iomem *) dd->kregbase) + in qib_tid_update()514 tidbase = (u64 __iomem *) ((char __iomem *)(dd->kregbase) + in qib_tid_free()1346 return dd && (dd->flags & QIB_PRESENT) && dd->kregbase && ppd->lid && in usable()1487 if (!(dd && (dd->flags & QIB_PRESENT) && dd->kregbase)) in find_shared_ctxt()1851 if (dd->kregbase) { in qib_close()
1051 taddr = dd->kregbase + kr_serdes_maptable; in qib_sd_setvals()1052 iaddr = dd->kregbase + kr_serdes_ddsrxeq0; in qib_sd_setvals()
724 u64 __iomem *kregbase; member