Lines Matching refs:event

25  * command word is set or a REBOOT event is sent. If we notice a reboot
513 /* Ensure that if the completion event arrives later,
580 /* MCDI v2 responses don't fit in an event */
670 "MCDI request was completed without an event\n");
779 /* Wait for a proxy event, or timeout. */
1036 * context. It will fail if event queues are disabled or if MCDI
1037 * event completions have been disabled due to an error.
1041 * (a) the completion event is received (in NAPI context)
1042 * (b) event queues are disabled (in the process that disables them)
1113 /* We can switch from event completion to polled completion, because
1126 /* Flush any running or queued asynchronous requests, after event processing
1174 /* If already in event completion mode, nothing to do.
1175 * If in fail-fast state, don't switch to event completion. FLR
1181 /* We can't switch from polled to event completion in the middle of a
1198 * either by a BADASSERT or REBOOT event. If the mcdi interface is
1201 * for a CMDDONE event it won't receive it [and since all MCDI events
1210 * we might receive a REBOOT event *before* the request has
1213 * event mode, this condition is just an edge-case of
1214 * receiving a REBOOT event after posting the MCDI
1242 /* On EF10, a CODE_MC_REBOOT event can be received without the
1309 efx_qword_t *event)
1312 int code = EFX_QWORD_FIELD(*event, MCDI_EVENT_CODE);
1313 u32 data = EFX_QWORD_FIELD(*event, MCDI_EVENT_DATA);
1323 netif_info(efx, wol, efx->net_dev, "MCDI PM event.\n");
1328 MCDI_EVENT_FIELD(*event, CMDDONE_SEQ),
1329 MCDI_EVENT_FIELD(*event, CMDDONE_DATALEN),
1330 MCDI_EVENT_FIELD(*event, CMDDONE_ERRNO));
1334 efx_mcdi_process_link_change(efx, event);
1337 efx_sensor_event(efx, event);
1357 efx_ptp_event(efx, event);
1360 efx_time_sync_event(channel, event);
1364 /* Two flush events will be sent: one to the same event
1365 * queue as completions, and one to event queue 0.
1367 * flag will be set, and we should ignore the event
1372 if (!MCDI_EVENT_FIELD(*event, TX_FLUSH_TO_DRIVER))
1378 "%s DMA error (event: "EFX_QWORD_FMT")\n",
1380 EFX_QWORD_VAL(*event));
1385 MCDI_EVENT_FIELD(*event, PROXY_RESPONSE_HANDLE),
1386 MCDI_EVENT_FIELD(*event, PROXY_RESPONSE_RC));
1390 "Unknown MCDI event " EFX_QWORD_FMT "\n",
1391 EFX_QWORD_VAL(*event));