Searched refs:kregbase (Results 1 - 11 of 11) sorted by relevance

/drivers/infiniband/hw/qib/
H A Dqib_7220.h123 if (!dd->kregbase || !(dd->flags & QIB_PRESENT))
125 return readl((u32 __iomem *)&dd->kregbase[regno]);
131 if (!dd->kregbase || !(dd->flags & QIB_PRESENT))
134 return readq(&dd->kregbase[regno]);
140 if (dd->kregbase)
141 writeq(value, &dd->kregbase[regno]);
H A Dqib_diag.c236 u32 __iomem *krb32 = (u32 __iomem *)dd->kregbase;
242 kreglen = (dd->kregend - dd->kregbase) * sizeof(u64);
514 !dd->kregbase) {
563 if (!dd || !(dd->flags & QIB_PRESENT) || !dd->kregbase) {
770 kreg_base = dd->kregbase;
846 kreg_base = dd->kregbase;
H A Dqib_pcie.c149 dd->kregbase = __ioremap(addr, len, _PAGE_NO_CACHE | _PAGE_WRITETHRU);
151 dd->kregbase = ioremap_nocache(addr, len);
154 if (!dd->kregbase)
157 dd->kregend = (u64 __iomem *)((void __iomem *) dd->kregbase + len);
179 u64 __iomem *base = (void __iomem *) dd->kregbase;
181 dd->kregbase = NULL;
H A Dqib_iba6120.c308 if (!dd->kregbase || !(dd->flags & QIB_PRESENT))
318 (char __iomem *)dd->kregbase +
342 (char __iomem *) dd->kregbase +
345 if (dd->kregbase && (dd->flags & QIB_PRESENT))
352 if (!dd->kregbase || !(dd->flags & QIB_PRESENT))
354 return readl((u32 __iomem *)&dd->kregbase[regno]);
360 if (!dd->kregbase || !(dd->flags & QIB_PRESENT))
363 return readq(&dd->kregbase[regno]);
369 if (dd->kregbase && (dd->flags & QIB_PRESENT))
370 writeq(value, &dd->kregbase[regn
[all...]
H A Dqib_driver.c102 if (!(dd->flags & QIB_PRESENT) || !dd->kregbase)
134 if ((dd->flags & QIB_PRESENT) && dd->kregbase)
763 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) {
H A Dqib_iba7322.c699 if (!dd->kregbase || !(dd->flags & QIB_PRESENT))
704 (char __iomem *)dd->kregbase + dd->uregbase)));
721 if (!dd->kregbase || !(dd->flags & QIB_PRESENT))
726 (char __iomem *)dd->kregbase + dd->uregbase)));
749 (char __iomem *) dd->kregbase +
752 if (dd->kregbase && (dd->flags & QIB_PRESENT))
759 if (!dd->kregbase || !(dd->flags & QIB_PRESENT))
761 return readl((u32 __iomem *) &dd->kregbase[regno]);
767 if (!dd->kregbase || !(dd->flags & QIB_PRESENT))
769 return readq(&dd->kregbase[regn
[all...]
H A Dqib_iba7220.c232 if (!dd->kregbase || !(dd->flags & QIB_PRESENT))
242 (char __iomem *)dd->kregbase +
267 (char __iomem *) dd->kregbase +
270 if (dd->kregbase && (dd->flags & QIB_PRESENT))
2120 writeq(val, &dd->kregbase[kr_control]);
2137 val = readq(&dd->kregbase[kr_revision]);
2223 if (!dd->kregbase || !rcd)
2230 ((char __iomem *)(dd->kregbase) +
2239 ((char __iomem *)(dd->kregbase) +
3852 ((char __iomem *) dd->kregbase
[all...]
H A Dqib_init.c1192 * the kregbase check, and we need to call it
1475 dd->kregbase +
1523 iounmap(dd->kregbase);
1524 dd->kregbase = NULL;
1566 dd->kregbase = qib_kregbase;
H A Dqib_sd7220.c1047 taddr = dd->kregbase + kr_serdes_maptable;
1048 iaddr = dd->kregbase + kr_serdes_ddsrxeq0;
H A Dqib_file_ops.c330 tidbase = (u64 __iomem *) (((char __iomem *) dd->kregbase) +
499 tidbase = (u64 __iomem *) ((char __iomem *)(dd->kregbase) +
1304 return dd && (dd->flags & QIB_PRESENT) && dd->kregbase && ppd->lid &&
1441 if (!(dd && (dd->flags & QIB_PRESENT) && dd->kregbase))
1781 if (dd->kregbase) {
H A Dqib.h676 u64 __iomem *kregbase; member in struct:qib_devdata

Completed in 431 milliseconds