Lines Matching defs:fault
313 "fault led state", /* 20 */
1084 * LOM communications fault are grouped into three categories:
1087 * 2) Transient fault - something which might recover after a retry
1097 * which is less severe than a fault but means that a sequence of
1098 * commands had some fault which cannot be recovered.
1126 * bscv_resync_comms() - resynchronise communications after a transient fault.
1465 BSCV_TRACE(ssp, 'J', "bscv_clear_fault", "clearing fault flag");
1474 BSCV_TRACE(ssp, 'J', "bscv_set_fault", "setting fault flag");
1498 /* This command is due to an I/O fault - retry might fix */
1523 uint32_t fault;
1539 /* Clear any pending fault */
1543 /* Do the access and get fault code - may take a long time */
1546 fault = ddi_get32(ssp->channel[chan].handle,
1549 ssp->command_error = fault;
1551 if (fault == 0) {
1557 } else if (fault >= LOMBUS_ERR_BASE) {
1559 cmn_err(CE_WARN, "!bscv_put8_once: Had comms fault "
1560 "for address 0x%x.%02x - data 0x%x, fault 0x%x",
1561 addr >> 8, addr & 0xff, val, fault);
1565 * Note: we do not set fault status here. That
1569 * get the fault set - we just live with that!
1581 uint32_t fault;
1597 /* Clear any pending fault */
1601 /* Do the access and get fault code - may take a long time */
1604 fault = ddi_get32(ssp->channel[chan].handle,
1606 ssp->command_error = fault;
1608 if (fault >= LOMBUS_ERR_BASE) {
1610 cmn_err(CE_WARN, "!bscv_get8_once: Had comms fault "
1611 "for address 0x%x.%02x - data 0x%x, fault 0x%x",
1612 addr >> 8, addr & 0xff, val, fault);
1616 * Note: we do not set fault status here. That
1620 * get the fault set - we just live with that!
1643 bscv_probe(bscv_soft_state_t *ssp, int chan, uint32_t *fault)
1650 * fault indicator and return a dummy value.
1654 *fault = LOMBUS_ERR_REG_NUM;
1662 *fault = ddi_get32(ssp->channel[chan].handle,
1669 "async status 0x%x, fault 0x%x", async_reg, *fault);
1678 uint32_t fault = 0;
1695 "Attempting comms resync after comms fault 0x%x",
1699 fault = ddi_get32(ssp->channel[chan].handle,
1703 if (fault == 0) {
1708 "had fault 0x%x", try, fault);
1711 if (fault != 0) {
2164 * LOMIOCFLEDSTATE - returns the state of the fault LED
2923 uint32_t fault;
2945 async_reg = bscv_probe(ssp, chan_general, &fault);
2947 "process event: async_reg 0x%x, fault 0x%x",
2948 async_reg, fault);
2950 if (!fault) {
2951 /* Treat non-fault conditions */
2962 /* Previous fault has cleared */
2966 "!bscv_event_daemon previous fault "
2969 /* Previous fault has cleared */
2984 * so throw away any fault indication.
2986 fault = B_FALSE;
3007 * because there was never a fault
3015 "!bscv_event_daemon had fault 0x%x",
3016 fault);
3096 * Had fault during event session. We always
3327 * Signal event fault to make the thread wait
3336 cmn_err(CE_NOTE, "Event pointer fault recovered.");
3892 * log the fault led on as being EVENT_LEVEL_FAULT
3912 * is a case whereby a fatal fault (eg. over temp) could
4940 /* Explicit clear fault because things may have been mended now */
5222 * fault records down.