Home
last modified time | relevance | path

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

/linux-6.6.21/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()
1590 if ((dd->flags & (QIB_PRESENT | QIB_BADINTR)) != QIB_PRESENT) { in qib_6120intr()
1774 dd->flags &= ~(QIB_INITTED | QIB_PRESENT); in qib_6120_setup_reset()
[all …]
Dqib_driver.c103 if (!(dd->flags & QIB_PRESENT) || !dd->kregbase) in qib_count_active_units()
134 if ((dd->flags & QIB_PRESENT) && dd->kregbase) in qib_count_units()
754 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()
817 if (dd->kregbase && (dd->flags & QIB_PRESENT)) in qib_write_ureg()
824 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_kreg32()
832 if (!dd->kregbase || !(dd->flags & QIB_PRESENT)) in qib_read_kreg64()
840 if (dd->kregbase && (dd->flags & QIB_PRESENT)) in qib_write_kreg()
851 if (!ppd->cpspec->kpregbase || !(ppd->dd->flags & QIB_PRESENT)) in qib_read_kreg_port()
860 (ppd->dd->flags & QIB_PRESENT)) in qib_write_kreg_port()
880 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_7322_creg()
889 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_7322_creg32()
900 (ppd->dd->flags & QIB_PRESENT)) in write_7322_creg_port()
[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_pcie.c539 dd->flags &= ~QIB_PRESENT; in qib_pci_error_detected()
Dqib_tx.c287 if (!(dd->flags & QIB_PRESENT)) in qib_getsendbuf_range()
Dqib.h1214 #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.c1345 return dd && (dd->flags & QIB_PRESENT) && dd->kregbase && ppd->lid && in usable()
1486 if (!(dd && (dd->flags & QIB_PRESENT) && dd->kregbase)) in find_shared_ctxt()
Dqib_init.c1140 if (dd->flags & QIB_PRESENT) { in qib_disable_after_error()