Home
last modified time | relevance | path

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

/drivers/infiniband/hw/qib/
Dqib_iba7220.c1047 struct qib_chippport_specific *cpspec = from_timer(cpspec, t, in reenable_7220_chase() local
1049 struct qib_pportdata *ppd = &cpspec->pportdata; in reenable_7220_chase()
1051 ppd->cpspec->chase_timer.expires = 0; in reenable_7220_chase()
1075 if (ppd->cpspec->chase_end && in handle_7220_chase()
1076 time_after(tnow, ppd->cpspec->chase_end)) { in handle_7220_chase()
1077 ppd->cpspec->chase_end = 0; in handle_7220_chase()
1081 ppd->cpspec->chase_timer.expires = jiffies + in handle_7220_chase()
1083 add_timer(&ppd->cpspec->chase_timer); in handle_7220_chase()
1084 } else if (!ppd->cpspec->chase_end) in handle_7220_chase()
1085 ppd->cpspec->chase_end = tnow + QIB_CHASE_TIME; in handle_7220_chase()
[all …]
Dqib_iba7322.c851 if (!ppd->cpspec->kpregbase || !(ppd->dd->flags & QIB_PRESENT)) in qib_read_kreg_port()
853 return readq(&ppd->cpspec->kpregbase[regno]); in qib_read_kreg_port()
859 if (ppd->cpspec && ppd->dd && ppd->cpspec->kpregbase && in qib_write_kreg_port()
861 writeq(value, &ppd->cpspec->kpregbase[regno]); in qib_write_kreg_port()
899 if (ppd->cpspec && ppd->cpspec->cpregbase && in write_7322_creg_port()
901 writeq(value, &ppd->cpspec->cpregbase[regno]); in write_7322_creg_port()
907 if (!ppd->cpspec || !ppd->cpspec->cpregbase || in read_7322_creg_port()
910 return readq(&ppd->cpspec->cpregbase[regno]); in read_7322_creg_port()
916 if (!ppd->cpspec || !ppd->cpspec->cpregbase || in read_7322_creg32_port()
919 return readl(&ppd->cpspec->cpregbase[regno]); in read_7322_creg32_port()
[all …]
Dqib.h523 struct qib_chippport_specific *cpspec; /* chip-specific per-port */ member
Dqib_iba6120.c3178 ppd->cpspec = NULL; /* not used in this chip */ in init_6120_variables()