Lines Matching +full:hw +full:- +full:settle +full:- +full:time
24 * - Redistributions of source code must retain the above copyright
26 * - Redistributions in binary form must reproduce the above copyright
30 * - Neither the name of Intel Corporation nor the names of its
61 struct hfi1_devdata *dd = ppd->dd; in set_mgmt_allowed()
63 if (ppd->neighbor_type == NEIGHBOR_TYPE_HFI) { in set_mgmt_allowed()
64 ppd->mgmt_allowed = 1; in set_mgmt_allowed()
67 ppd->mgmt_allowed = (frame >> MGMT_ALLOWED_SHIFT) in set_mgmt_allowed()
75 * (0-based) pkey array position. Note that we should already have
81 struct hfi1_devdata *dd = ppd->dd; in add_full_mgmt_pkey()
83 /* Sanity check - ppd->pkeys[2] should be 0, or already initialized */ in add_full_mgmt_pkey()
84 if (!((ppd->pkeys[2] == 0) || (ppd->pkeys[2] == FULL_MGMT_P_KEY))) in add_full_mgmt_pkey()
86 __func__, ppd->pkeys[2], FULL_MGMT_P_KEY); in add_full_mgmt_pkey()
87 ppd->pkeys[2] = FULL_MGMT_P_KEY; in add_full_mgmt_pkey()
89 hfi1_event_pkey_change(ppd->dd, ppd->port); in add_full_mgmt_pkey()
93 * format_hwmsg - format a single hwerror message
106 * hfi1_format_hwerrors - format hardware error messages for display
126 struct hfi1_devdata *dd = ppd->dd; in signal_ib_event()
133 if (!(dd->flags & HFI1_INITTED)) in signal_ib_event()
135 event.device = &dd->verbs_dev.rdi.ibdev; in signal_ib_event()
136 event.element.port_num = ppd->port; in signal_ib_event()
142 * handle_linkup_change - finish linkup/down state changes
147 * The HW needs time to finish its link up state change. Give it that chance.
154 struct hfi1_pportdata *ppd = &dd->pport[0]; in handle_linkup_change()
157 if (!(ppd->linkup ^ !!linkup)) in handle_linkup_change()
164 * - VerifyCap interrupt in handle_linkup_change()
165 * - VerifyCap frames in handle_linkup_change()
175 if (quick_linkup || dd->icode == ICODE_FUNCTIONAL_SIMULATOR) { in handle_linkup_change()
176 set_up_vau(dd, dd->vau); in handle_linkup_change()
177 set_up_vl15(dd, dd->vl15_init); in handle_linkup_change()
178 assign_remote_cm_au_table(dd, dd->vcu); in handle_linkup_change()
181 ppd->neighbor_guid = in handle_linkup_change()
183 ppd->neighbor_type = in handle_linkup_change()
186 ppd->neighbor_port_number = in handle_linkup_change()
189 ppd->neighbor_fm_security = in handle_linkup_change()
194 ppd->neighbor_guid, ppd->neighbor_type, in handle_linkup_change()
195 ppd->neighbor_port_number); in handle_linkup_change()
197 /* HW needs LINK_UP_DELAY to settle, give it that chance */ in handle_linkup_change()
206 if (ppd->mgmt_allowed) in handle_linkup_change()
210 ppd->linkup = 1; in handle_linkup_change()
211 ppd->offline_disabled_reason = in handle_linkup_change()
219 ppd->linkup = 0; in handle_linkup_change()
221 /* clear HW details of the previous connection */ in handle_linkup_change()
222 ppd->actual_vls_operational = 0; in handle_linkup_change()
233 ppd->neighbor_normal = 0; in handle_linkup_change()
246 struct hfi1_devdata *dd = rcd->dd; in handle_user_interrupt()
249 spin_lock_irqsave(&dd->uctxt_lock, flags); in handle_user_interrupt()
250 if (bitmap_empty(rcd->in_use_ctxts, HFI1_MAX_SHARED_CTXTS)) in handle_user_interrupt()
253 if (test_and_clear_bit(HFI1_CTXT_WAITING_RCV, &rcd->event_flags)) { in handle_user_interrupt()
254 wake_up_interruptible(&rcd->wait); in handle_user_interrupt()
257 &rcd->event_flags)) { in handle_user_interrupt()
258 rcd->urgent++; in handle_user_interrupt()
259 wake_up_interruptible(&rcd->wait); in handle_user_interrupt()
262 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in handle_user_interrupt()