Home
last modified time | relevance | path

Searched refs:cpspec (Results 1 – 4 of 4) sorted by relevance

/drivers/infiniband/hw/qib/
Dqib_iba7322.c790 if (!ppd->cpspec->kpregbase || !(ppd->dd->flags & QIB_PRESENT)) in qib_read_kreg_port()
792 return readq(&ppd->cpspec->kpregbase[regno]); in qib_read_kreg_port()
798 if (ppd->cpspec && ppd->dd && ppd->cpspec->kpregbase && in qib_write_kreg_port()
800 writeq(value, &ppd->cpspec->kpregbase[regno]); in qib_write_kreg_port()
838 if (ppd->cpspec && ppd->cpspec->cpregbase && in write_7322_creg_port()
840 writeq(value, &ppd->cpspec->cpregbase[regno]); in write_7322_creg_port()
846 if (!ppd->cpspec || !ppd->cpspec->cpregbase || in read_7322_creg_port()
849 return readq(&ppd->cpspec->cpregbase[regno]); in read_7322_creg_port()
855 if (!ppd->cpspec || !ppd->cpspec->cpregbase || in read_7322_creg32_port()
858 return readl(&ppd->cpspec->cpregbase[regno]); in read_7322_creg32_port()
[all …]
Dqib_iba7220.c1046 ppd->cpspec->chase_timer.expires = 0; in reenable_7220_chase()
1070 if (ppd->cpspec->chase_end && in handle_7220_chase()
1071 time_after(tnow, ppd->cpspec->chase_end)) { in handle_7220_chase()
1072 ppd->cpspec->chase_end = 0; in handle_7220_chase()
1076 ppd->cpspec->chase_timer.expires = jiffies + in handle_7220_chase()
1078 add_timer(&ppd->cpspec->chase_timer); in handle_7220_chase()
1079 } else if (!ppd->cpspec->chase_end) in handle_7220_chase()
1080 ppd->cpspec->chase_end = tnow + QIB_CHASE_TIME; in handle_7220_chase()
1084 ppd->cpspec->chase_end = 0; in handle_7220_chase()
1519 qib_write_kreg(dd, kr_ibcctrl, ppd->cpspec->ibcctrl | mod_wd); in qib_set_ib_7220_lstate()
[all …]
Dqib.h520 struct qib_chippport_specific *cpspec; /* chip-specific per-port */ member
Dqib_iba6120.c3218 ppd->cpspec = NULL; /* not used in this chip */ in init_6120_variables()