Home
last modified time | relevance | path

Searched refs:error_state (Results 1 – 20 of 20) sorted by relevance

/linux/arch/s390/pci/
H A Dpci_event.c89 ers_res = driver->err_handler->error_detected(pdev, pdev->error_state); in zpci_event_notify_error_detected()
135 pdev->error_state = pci_channel_io_normal; in zpci_event_do_error_state_clear()
155 pdev->error_state = pci_channel_io_normal; in zpci_event_do_reset()
191 if (pdev->error_state == pci_channel_io_perm_failure) { in zpci_event_attempt_error_recovery()
195 pdev->error_state = pci_channel_io_frozen; in zpci_event_attempt_error_recovery()
274 pdev->error_state = es; in zpci_event_io_failure()
286 driver->err_handler->error_detected(pdev, pdev->error_state); in zpci_event_io_failure()
/linux/drivers/gpu/drm/imagination/
H A Dpvr_rogue_mips_check.h29 static_assert(offsetof(struct rogue_mips_state, error_state) == 0,
H A Dpvr_rogue_mips.h318 u32 error_state; /* This must come first in the structure. */ member
/linux/arch/powerpc/kernel/
H A Deeh_driver.c85 if (edev->pdev->error_state == pci_channel_io_perm_failure) in eeh_edev_actionable()
224 edev->pdev->error_state = s; in eeh_set_channel_state()
771 if (pdev->error_state == pci_channel_io_perm_failure) in eeh_slot_presence_check()
801 if (pdev->error_state == pci_channel_io_perm_failure) in eeh_clear_slot_attention()
H A Deeh_pe.c545 pdev->error_state = pci_channel_io_frozen; in eeh_pe_mark_isolated()
612 pdev->error_state = pci_channel_io_normal; in eeh_pe_state_clear()
H A Dpci_of_scan.c212 dev->error_state = pci_channel_io_normal; in of_create_pci_dev()
H A Deeh.c519 dev->error_state == pci_channel_io_perm_failure) || in eeh_dev_check_failure()
/linux/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb_leaf.c469 u8 error_state; member
1173 if (es->usbcan.error_state & USBCAN_ERROR_STATE_TX_ERROR) in kvaser_usb_leaf_rx_error_update_can_state()
1175 if (es->usbcan.error_state & USBCAN_ERROR_STATE_RX_ERROR) in kvaser_usb_leaf_rx_error_update_can_state()
1177 if (es->usbcan.error_state & USBCAN_ERROR_STATE_BUSERROR) in kvaser_usb_leaf_rx_error_update_can_state()
1275 if (es->usbcan.error_state & USBCAN_ERROR_STATE_BUSERROR) in kvaser_usb_leaf_rx_error()
1311 es->usbcan.error_state |= USBCAN_ERROR_STATE_TX_ERROR; in kvaser_usb_leaf_usbcan_conditionally_rx_error()
1315 es->usbcan.error_state |= USBCAN_ERROR_STATE_RX_ERROR; in kvaser_usb_leaf_usbcan_conditionally_rx_error()
1320 es->usbcan.error_state |= USBCAN_ERROR_STATE_BUSERROR; in kvaser_usb_leaf_usbcan_conditionally_rx_error()
/linux/drivers/pci/pcie/
H A Derr.c63 dev->error_state, state); in report_error_detected()
/linux/drivers/pci/
H A Dpci.h657 xchg(&dev->error_state, pci_channel_io_perm_failure); in pci_dev_set_io_state()
660 old = cmpxchg(&dev->error_state, pci_channel_io_normal, in pci_dev_set_io_state()
664 old = cmpxchg(&dev->error_state, pci_channel_io_frozen, in pci_dev_set_io_state()
H A Dprobe.c2034 dev->error_state = pci_channel_io_normal; in pci_setup_device()
/linux/drivers/usb/dwc2/
H A Dhcd.h115 u8 error_state; member
H A Dhcd.c525 if (chan->error_state) in dwc2_hc_enable_slave_ints()
541 if (chan->error_state) in dwc2_hc_enable_slave_ints()
593 if (chan->error_state && !chan->do_split && in dwc2_hc_enable_dma_ints()
2585 chan->error_state = (qtd->error_count > 0); in dwc2_assign_and_init_hc()
/linux/include/linux/
H A Dpci.h423 pci_channel_state_t error_state; /* Current connectivity state */ member
600 return (pdev->error_state != pci_channel_io_normal); in pci_channel_offline()
2642 return READ_ONCE(dev->error_state) == pci_channel_io_perm_failure; in pci_dev_is_disconnected()
/linux/arch/sparc/kernel/
H A Dpci.c332 dev->error_state = pci_channel_io_normal; in of_create_pci_dev()
/linux/drivers/scsi/qla2xxx/
H A Dqla_mr.c55 if (ha->pdev->error_state == pci_channel_io_perm_failure) { in qlafx00_mailbox_command()
H A Dqla_mbx.c126 if (ha->pdev->error_state == pci_channel_io_perm_failure) { in qla2x00_mailbox_command()
/linux/drivers/nvme/host/
H A Dpci.c3072 if (pdev->error_state != pci_channel_io_normal) in nvme_pci_ctrl_is_dead()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c308 if (adap->pdev->error_state != pci_channel_io_normal) in t4_wr_mbox_meat_timeout()
/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c6463 if (tp->pdev->error_state != pci_channel_io_normal) { in tg3_dump_state()
11273 tp->pdev->error_state != pci_channel_io_normal) { in tg3_reset_task()