Home
last modified time | relevance | path

Searched refs:QIB_PRESENT (Results 1 – 12 of 12) sorted by relevance

/linux-2.6.39/drivers/infiniband/hw/qib/
Dqib_7220.h123 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_kreg32()
131 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_kreg64()
Dqib_diag.c342 if (reg_addr == NULL || limit == 0 || !(dd->flags & QIB_PRESENT)) { in qib_read_umem64()
386 if (reg_addr == NULL || limit == 0 || !(dd->flags & QIB_PRESENT)) { in qib_write_umem64()
430 if (reg_addr == NULL || limit == 0 || !(dd->flags & QIB_PRESENT)) { in qib_read_umem32()
476 if (reg_addr == NULL || limit == 0 || !(dd->flags & QIB_PRESENT)) { in qib_write_umem32()
512 if (dd == NULL || !(dd->flags & QIB_PRESENT) || in qib_diag_open()
562 if (!dd || !(dd->flags & QIB_PRESENT) || !dd->kregbase) { in qib_diagpkt_write()
Dqib_iba7322.c691 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_ureg32()
713 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_ureg()
744 if (dd->kregbase && (dd->flags & QIB_PRESENT)) in qib_write_ureg()
751 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_kreg32()
759 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_kreg64()
767 if (dd->kregbase && (dd->flags & QIB_PRESENT)) in qib_write_kreg()
778 if (!ppd->cpspec->kpregbase || !(ppd->dd->flags & QIB_PRESENT)) in qib_read_kreg_port()
787 (ppd->dd->flags & QIB_PRESENT)) in qib_write_kreg_port()
807 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_7322_creg()
816 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_7322_creg32()
[all …]
Dqib_iba6120.c308 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_ureg32()
345 if (dd->kregbase && (dd->flags & QIB_PRESENT)) in qib_write_ureg()
352 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_kreg32()
360 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_kreg64()
369 if (dd->kregbase && (dd->flags & QIB_PRESENT)) in qib_write_kreg()
390 if (dd->cspec->cregbase && (dd->flags & QIB_PRESENT)) in write_6120_creg()
396 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_6120_creg()
403 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_6120_creg32()
1608 if ((dd->flags & (QIB_PRESENT | QIB_BADINTR)) != QIB_PRESENT) { in qib_6120intr()
1804 dd->flags &= ~(QIB_INITTED | QIB_PRESENT); in qib_6120_setup_reset()
[all …]
Dqib_driver.c101 if (!(dd->flags & QIB_PRESENT) || !dd->kregbase) in qib_count_active_units()
133 if ((dd->flags & QIB_PRESENT) && dd->kregbase) in qib_count_units()
759 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) { in qib_reset_device()
Dqib_iba7220.c231 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_ureg32()
269 if (dd->kregbase && (dd->flags & QIB_PRESENT)) in qib_write_ureg()
290 if (dd->cspec->cregbase && (dd->flags & QIB_PRESENT)) in write_7220_creg()
296 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_7220_creg()
303 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_7220_creg32()
1936 if ((dd->flags & (QIB_PRESENT | QIB_BADINTR)) != QIB_PRESENT) { in qib_7220intr()
2116 dd->flags &= ~(QIB_INITTED | QIB_PRESENT); in qib_setup_7220_reset()
2138 dd->flags |= QIB_PRESENT; /* it's back */ in qib_setup_7220_reset()
3999 dd->flags |= QIB_PRESENT; /* now register routines work */ in qib_init_7220_variables()
Dqib_tx.c292 if (!(dd->flags & QIB_PRESENT)) in qib_getsendbuf_range()
Dqib_pcie.c678 dd->flags &= ~QIB_PRESENT; in qib_pci_error_detected()
Dqib.h1155 #define QIB_PRESENT 0x8 /* chip accesses can be done */ macro
Dqib_file_ops.c1302 return dd && (dd->flags & QIB_PRESENT) && dd->kregbase && ppd->lid && in usable()
1439 if (!(dd && (dd->flags & QIB_PRESENT) && dd->kregbase)) in find_shared_ctxt()
Dqib_verbs.c1369 if (!(dd->flags & QIB_PRESENT)) { in qib_snapshot_counters()
1398 if (!(ppd->dd->flags & QIB_PRESENT)) { in qib_get_counters()
Dqib_init.c992 if (dd->flags & QIB_PRESENT) { in qib_disable_after_error()