Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/s390/pci/
H A Dpci_event.c85 ers_res = driver->err_handler->error_detected(pdev, pdev->error_state); in zpci_event_notify_error_detected()
124 pdev->error_state = pci_channel_io_normal; in zpci_event_do_error_state_clear()
144 pdev->error_state = pci_channel_io_normal; in zpci_event_do_reset()
173 if (pdev->error_state == pci_channel_io_perm_failure) { in zpci_event_attempt_error_recovery()
177 pdev->error_state = pci_channel_io_frozen; in zpci_event_attempt_error_recovery()
234 pdev->error_state = es; in zpci_event_io_failure()
246 driver->err_handler->error_detected(pdev, pdev->error_state); in zpci_event_io_failure()
H A Dpci_bus.c115 pdev->error_state = pci_channel_io_perm_failure; in zpci_bus_remove_device()
/openbmc/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()
770 if (pdev->error_state == pci_channel_io_perm_failure) in eeh_slot_presence_check()
800 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()
/openbmc/linux/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb_leaf.c420 u8 error_state; member
1032 if (es->usbcan.error_state & USBCAN_ERROR_STATE_TX_ERROR) in kvaser_usb_leaf_rx_error_update_can_state()
1034 if (es->usbcan.error_state & USBCAN_ERROR_STATE_RX_ERROR) in kvaser_usb_leaf_rx_error_update_can_state()
1036 if (es->usbcan.error_state & USBCAN_ERROR_STATE_BUSERROR) in kvaser_usb_leaf_rx_error_update_can_state()
1142 if (es->usbcan.error_state & USBCAN_ERROR_STATE_BUSERROR) in kvaser_usb_leaf_rx_error()
1178 es->usbcan.error_state |= USBCAN_ERROR_STATE_TX_ERROR; in kvaser_usb_leaf_usbcan_conditionally_rx_error()
1182 es->usbcan.error_state |= USBCAN_ERROR_STATE_RX_ERROR; in kvaser_usb_leaf_usbcan_conditionally_rx_error()
1187 es->usbcan.error_state |= USBCAN_ERROR_STATE_BUSERROR; in kvaser_usb_leaf_usbcan_conditionally_rx_error()
/openbmc/linux/drivers/misc/echo/
H A Decho.c169 goto error_state; in oslec_create()
199 error_state: in oslec_create()
/openbmc/linux/drivers/cpuidle/
H A Dsysfs.c488 goto error_state; in cpuidle_add_state_sysfs()
500 goto error_state; in cpuidle_add_state_sysfs()
509 error_state: in cpuidle_add_state_sysfs()
/openbmc/linux/drivers/pci/
H A Dpci.h343 xchg(&dev->error_state, pci_channel_io_perm_failure); in pci_dev_set_io_state()
346 old = cmpxchg(&dev->error_state, pci_channel_io_normal, in pci_dev_set_io_state()
350 old = cmpxchg(&dev->error_state, pci_channel_io_frozen, in pci_dev_set_io_state()
H A Dprobe.c1846 dev->error_state = pci_channel_io_normal; in pci_setup_device()
/openbmc/linux/drivers/pci/pcie/
H A Derr.c63 dev->error_state, state); in report_error_detected()
/openbmc/linux/drivers/staging/media/sunxi/sun6i-isp/
H A Dsun6i_isp_capture.c328 goto error_state; in sun6i_isp_capture_start_streaming()
343 error_state: in sun6i_isp_capture_start_streaming()
/openbmc/linux/drivers/media/platform/sunxi/sun6i-csi/
H A Dsun6i_csi_capture.c617 goto error_state; in sun6i_csi_capture_start_streaming()
632 error_state: in sun6i_csi_capture_start_streaming()
/openbmc/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()
/openbmc/linux/drivers/misc/cxl/
H A Dguest.c39 afu_dev->error_state = state; in pci_error_handlers()
46 afu_dev->error_state = state; in pci_error_handlers()
H A Dpci.c1810 afu_dev->error_state = state; in cxl_vphb_error_detected()
2025 afu_dev->error_state = pci_channel_io_normal; in cxl_pci_slot_reset()
/openbmc/linux/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_main.c1188 if ((pdev->error_state) && (pdev->error_state != pci_channel_io_normal)) in pch_gbe_update_stats()
1925 if ((pdev->error_state) && (pdev->error_state != pci_channel_io_normal)) in pch_gbe_down()
/openbmc/linux/include/linux/
H A Dpci.h402 pci_channel_state_t error_state; /* Current connectivity state */ member
550 return (pdev->error_state != pci_channel_io_normal); in pci_channel_offline()
2473 return READ_ONCE(dev->error_state) == pci_channel_io_perm_failure; in pci_dev_is_disconnected()
/openbmc/linux/arch/sparc/kernel/
H A Dpci.c332 dev->error_state = pci_channel_io_normal; in of_create_pci_dev()
/openbmc/linux/Documentation/gpu/rfc/
H A Dxe.rst219 dumped, avoiding a Xe only error_state solution. The goal is to use devcoredump
/openbmc/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_pci.c2100 if (pdev->error_state != pci_channel_io_normal) { in fm10k_probe()
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/
H A Dlio_vf_main.c157 if (dev->error_state == pci_channel_io_normal) in cleanup_aer_uncorrect_error_status()
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_mr.c55 if (ha->pdev->error_state == pci_channel_io_perm_failure) { in qlafx00_mailbox_command()
/openbmc/linux/drivers/nvme/host/
H A Dpci.c2593 if (pdev->error_state != pci_channel_io_normal) in nvme_pci_ctrl_is_dead()

12