Lines Matching +defs:val +defs:event

113  * The hardware has a limit for outstanding asynchronous event requests. Before
115 * asynchronous request. Later when the limit is known more asynchronous event
117 * asynchronous event is posted by the hardware the driver will parse the error
119 * severity of the asynchronous event. The asynchronous event request is then
127 * asynchronous event requests. If a command times out and the hardware appears
154 * - async-event-limit: the maximum number of asynchronous event requests to be
438 nvme_put64(nvme_t *nvme, uintptr_t reg, uint64_t val)
443 ddi_put64(nvme->n_regh, (uint64_t *)(nvme->n_regs + reg), val);
447 nvme_put32(nvme_t *nvme, uintptr_t reg, uint32_t val)
452 ddi_put32(nvme->n_regh, (uint32_t *)(nvme->n_regs + reg), val);
458 uint64_t val;
463 val = ddi_get64(nvme->n_regh, (uint64_t *)(nvme->n_regs + reg));
465 return (val);
471 uint32_t val;
476 val = ddi_get32(nvme->n_regh, (uint32_t *)(nvme->n_regs + reg));
478 return (val);
764 * try again. This can happen for long running commands like async event
949 * detailed error information is returned as async event,
951 * in the async event handler.
1033 "async event request limit exceeded in cmd %p",
1280 nvme_async_event_t event;
1285 * command-specific error is "async event limit exceeded", which
1295 "!async event request returned failure, sct = %x, "
1311 event.r = cmd->nc_cqe.cqe_dw0;
1319 "!failed to resubmit async event request");
1324 switch (event.b.ae_type) {
1326 if (event.b.ae_logpage == NVME_LOGPAGE_ERROR) {
1328 nvme_get_logpage(nvme, event.b.ae_logpage);
1331 "async event reply: %d", event.b.ae_logpage);
1335 switch (event.b.ae_info) {
1377 if (event.b.ae_logpage == NVME_LOGPAGE_HEALTH) {
1379 nvme_get_logpage(nvme, event.b.ae_logpage, -1);
1382 "async event reply: %d", event.b.ae_logpage);
1386 switch (event.b.ae_info) {
1411 dev_err(nvme->n_dip, CE_WARN, "!vendor specific async event "
1412 "received, info = %x, logpage = %x", event.b.ae_info,
1413 event.b.ae_logpage);
1418 dev_err(nvme->n_dip, CE_WARN, "!unknown async event received, "
1419 "type = %x, info = %x, logpage = %x", event.b.ae_type,
1420 event.b.ae_info, event.b.ae_logpage);
1632 nvme_set_features(nvme_t *nvme, uint32_t nsid, uint8_t feature, uint32_t val,
1645 cmd->nc_sqe.sqe_cdw11 = val;
2033 * Post an asynchronous event command to catch errors.
2037 "!failed to post async event");
2073 "async-event-limit", nvme->n_async_event_limit);
2322 * Post more asynchronous events commands to reduce event reporting
2328 "!failed to post async event %d", i);
2533 DDI_PROP_DONTPASS, "async-event-limit",