Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c348 if (reg_addr == NULL || limit == 0 || !(dd->flags & QIB_PRESENT)) { in qib_read_umem64()
392 if (reg_addr == NULL || limit == 0 || !(dd->flags & QIB_PRESENT)) { in qib_write_umem64()
437 if (reg_addr == NULL || limit == 0 || !(dd->flags & QIB_PRESENT)) { in qib_read_umem32()
483 if (reg_addr == NULL || limit == 0 || !(dd->flags & QIB_PRESENT)) { in qib_write_umem32()
519 if (dd == NULL || !(dd->flags & QIB_PRESENT) || in qib_diag_open()
569 if (!dd || !(dd->flags & QIB_PRESENT) || !dd->kregbase) { in qib_diagpkt_write()
Dqib_iba6120.c309 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_ureg32()
347 if (dd->kregbase && (dd->flags & QIB_PRESENT)) in qib_write_ureg()
354 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_kreg32()
362 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_kreg64()
371 if (dd->kregbase && (dd->flags & QIB_PRESENT)) in qib_write_kreg()
392 if (dd->cspec->cregbase && (dd->flags & QIB_PRESENT)) in write_6120_creg()
398 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_6120_creg()
405 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_6120_creg32()
1593 if ((dd->flags & (QIB_PRESENT | QIB_BADINTR)) != QIB_PRESENT) { in qib_6120intr()
1777 dd->flags &= ~(QIB_INITTED | QIB_PRESENT); in qib_6120_setup_reset()
[all …]
Dqib_driver.c102 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()
Dqib_iba7322.c785 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_ureg32()
807 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_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()
854 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_kreg64()
862 if (dd->kregbase && (dd->flags & QIB_PRESENT)) in qib_write_kreg()
873 if (!ppd->cpspec->kpregbase || !(ppd->dd->flags & QIB_PRESENT)) in qib_read_kreg_port()
882 (ppd->dd->flags & QIB_PRESENT)) in qib_write_kreg_port()
902 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_7322_creg()
911 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_7322_creg32()
[all …]
Dqib_iba7220.c233 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_ureg32()
271 if (dd->kregbase && (dd->flags & QIB_PRESENT)) in qib_write_ureg()
292 if (dd->cspec->cregbase && (dd->flags & QIB_PRESENT)) in write_7220_creg()
298 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_7220_creg()
305 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_7220_creg32()
1927 if ((dd->flags & (QIB_PRESENT | QIB_BADINTR)) != QIB_PRESENT) { in qib_7220intr()
2091 dd->flags &= ~(QIB_INITTED | QIB_PRESENT); in qib_setup_7220_reset()
2114 dd->flags |= QIB_PRESENT; /* it's back */ in qib_setup_7220_reset()
3984 dd->flags |= QIB_PRESENT; /* now register routines work */ in qib_init_7220_variables()
Dqib_tx.c290 if (!(dd->flags & QIB_PRESENT)) in qib_getsendbuf_range()
Dqib_pcie.c554 dd->flags &= ~QIB_PRESENT; in qib_pci_error_detected()
Dqib.h1218 #define QIB_PRESENT 0x8 /* chip accesses can be done */ macro
Dqib_verbs.c1051 if (!(dd->flags & QIB_PRESENT)) { in qib_snapshot_counters()
1080 if (!(ppd->dd->flags & QIB_PRESENT)) { in qib_get_counters()
Dqib_file_ops.c1346 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()
Dqib_init.c1141 if (dd->flags & QIB_PRESENT) { in qib_disable_after_error()