Searched refs:cspec (Results 1 – 5 of 5) sorted by relevance
/drivers/infiniband/hw/qib/ |
D | qib_iba6120.c | 392 if (dd->cspec->cregbase && (dd->flags & QIB_PRESENT)) in write_6120_creg() 393 writeq(value, &dd->cspec->cregbase[regno]); in write_6120_creg() 398 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_6120_creg() 400 return readq(&dd->cspec->cregbase[regno]); in read_6120_creg() 405 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_6120_creg32() 407 return readl(&dd->cspec->cregbase[regno]); in read_6120_creg32() 730 qib_write_kreg(dd, kr_errmask, dd->cspec->errormask); in qib_6120_clear_freeze() 771 hwerrs &= dd->cspec->hwerrmask; in qib_handle_6120_hwerrors() 819 dd->cspec->hwerrmask &= ~HWE_MASK(PowerOnBISTFailed); in qib_handle_6120_hwerrors() 820 qib_write_kreg(dd, kr_hwerrmask, dd->cspec->hwerrmask); in qib_handle_6120_hwerrors() [all …]
|
D | qib_iba7322.c | 880 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_7322_creg() 882 return readq(&dd->cspec->cregbase[regno]); in read_7322_creg() 889 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_7322_creg32() 891 return readl(&dd->cspec->cregbase[regno]); in read_7322_creg32() 1499 if ((op & QIB_SDMA_SENDCTRL_OP_DRAIN) && ppd->dd->cspec->r1) in qib_7322_sdma_sendctrl() 1644 errs &= dd->cspec->errormask; in handle_7322_errors() 1645 msg = dd->cspec->emsgbuf; in handle_7322_errors() 1650 qib_7322_handle_hwerrors(dd, msg, sizeof(dd->cspec->emsgbuf)); in handle_7322_errors() 1672 err_decode(msg, sizeof(dd->cspec->emsgbuf), errs & ~mask, in handle_7322_errors() 1719 qib_write_kreg(dd, kr_errmask, dd->cspec->errormask); in qib_error_tasklet() [all …]
|
D | qib_iba7220.c | 292 if (dd->cspec->cregbase && (dd->flags & QIB_PRESENT)) in write_7220_creg() 293 writeq(value, &dd->cspec->cregbase[regno]); in write_7220_creg() 298 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_7220_creg() 300 return readq(&dd->cspec->cregbase[regno]); in read_7220_creg() 305 if (!dd->cspec->cregbase || !(dd->flags & QIB_PRESENT)) in read_7220_creg32() 307 return readl(&dd->cspec->cregbase[regno]); in read_7220_creg32() 905 msg = dd->cspec->sdmamsgbuf; in sdma_7220_errors() 907 sizeof(dd->cspec->sdmamsgbuf)); in sdma_7220_errors() 1103 errs &= dd->cspec->errormask; in handle_7220_errors() 1104 msg = dd->cspec->emsgbuf; in handle_7220_errors() [all …]
|
D | qib_sd7220.c | 128 if (!dd->cspec->serdes_first_init_done && in qib_ibsd_ucode_loaded() 130 dd->cspec->serdes_first_init_done = 1; in qib_ibsd_ucode_loaded() 131 return dd->cspec->serdes_first_init_done; in qib_ibsd_ucode_loaded() 239 spin_lock_irqsave(&dd->cspec->sdepb_lock, flags); in qib_ibsd_reset() 244 dd->cspec->hwerrmask & in qib_ibsd_reset() 252 spin_unlock_irqrestore(&dd->cspec->sdepb_lock, flags); in qib_ibsd_reset() 265 dd->cspec->hwerrmask & in qib_ibsd_reset() 292 dd->cspec->hwerrmask &= in qib_ibsd_reset() 296 dd->cspec->hwerrmask); in qib_ibsd_reset() 519 dd->cspec->serdes_first_init_done = 1; in qib_sd7220_init() [all …]
|
D | qib.h | 732 struct qib_chip_specific *cspec; /* chip-specific */ member
|