Searched refs:reset_pending (Results 1 – 16 of 16) sorted by relevance
/drivers/net/ethernet/ti/ |
D | cpmac.c | 203 atomic_t reset_pending; member 526 atomic_inc(&priv->reset_pending); in cpmac_poll() 529 atomic_dec(&priv->reset_pending); in cpmac_poll() 542 if (unlikely(atomic_read(&priv->reset_pending))) in cpmac_start_xmit() 726 atomic_dec(&priv->reset_pending); in cpmac_hw_error() 760 atomic_inc(&priv->reset_pending); in cpmac_check_status() 810 atomic_inc(&priv->reset_pending); in cpmac_tx_timeout() 814 atomic_dec(&priv->reset_pending); in cpmac_tx_timeout() 977 atomic_set(&priv->reset_pending, 0); in cpmac_open()
|
/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_main.h | 248 unsigned long reset_pending; member 307 return !!hdev->reset_pending; in hclgevf_is_reset_pending()
|
D | hclgevf_mbx.c | 305 set_bit(reset_type, &hdev->reset_pending); in hclgevf_mbx_async_handler()
|
D | hclgevf_main.c | 1525 set_bit(hdev->reset_type, &hdev->reset_pending); in hclgevf_reset_err_handle() 1771 hclgevf_get_reset_level(hdev, &hdev->reset_pending)) in hclgevf_reset_service_task() 1805 set_bit(HNAE3_VF_FULL_RESET, &hdev->reset_pending); in hclgevf_reset_service_task() 1812 set_bit(hdev->reset_level, &hdev->reset_pending); in hclgevf_reset_service_task() 1909 set_bit(HNAE3_VF_RESET, &hdev->reset_pending); in hclgevf_check_evt_cause()
|
/drivers/net/ethernet/sfc/ |
D | efx.c | 1963 efx->reset_pending) in efx_start_all() 2234 if (efx->state == STATE_DISABLED || efx->reset_pending) in efx_net_open() 2571 if (efx->reset_pending) { in efx_register_netdev() 2776 efx->reset_pending &= -(1 << (method + 1)); in efx_reset() 2778 __clear_bit(method, &efx->reset_pending); in efx_reset() 2860 pending = READ_ONCE(efx->reset_pending); in efx_reset_work() 2919 set_bit(method, &efx->reset_pending); in efx_schedule_reset() 3590 efx->reset_pending = 0; in efx_pci_probe() 3600 efx->reset_pending = 0; in efx_pci_probe() 3720 efx->reset_pending = 0; in efx_pm_poweroff() [all …]
|
D | efx.h | 312 if ((efx->state != STATE_DISABLED) && !efx->reset_pending) in efx_device_attach_if_not_resetting()
|
D | net_driver.h | 962 unsigned long reset_pending; member
|
D | farch.c | 826 if (unlikely(READ_ONCE(efx->reset_pending))) in efx_farch_handle_tx_event() 978 if (unlikely(READ_ONCE(efx->reset_pending))) in efx_farch_handle_rx_event()
|
D | ef10.c | 3544 if (unlikely(READ_ONCE(efx->reset_pending))) in efx_ef10_handle_rx_event() 3693 if (unlikely(READ_ONCE(efx->reset_pending))) in efx_ef10_handle_tx_event()
|
/drivers/net/ethernet/sfc/falcon/ |
D | efx.c | 1825 efx->reset_pending) in ef4_start_all() 2286 if (efx->reset_pending) { in ef4_register_netdev() 2450 efx->reset_pending &= -(1 << (method + 1)); in ef4_reset() 2452 __clear_bit(method, &efx->reset_pending); in ef4_reset() 2516 pending = READ_ONCE(efx->reset_pending); in ef4_reset_work() 2570 set_bit(method, &efx->reset_pending); in ef4_schedule_reset() 3065 efx->reset_pending = 0; in ef4_pm_poweroff() 3133 efx->reset_pending = 0; in ef4_io_error_detected()
|
D | net_driver.h | 790 unsigned long reset_pending; member
|
D | farch.c | 834 if (unlikely(READ_ONCE(efx->reset_pending))) in ef4_farch_handle_tx_event() 990 if (unlikely(READ_ONCE(efx->reset_pending))) in ef4_farch_handle_rx_event()
|
D | falcon.c | 1372 isolate = !!READ_ONCE(efx->reset_pending); in falcon_reconfigure_mac_wrapper()
|
/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.h | 727 unsigned long reset_pending; /* client rst is pending to be served */ member 952 return !!hdev->reset_pending; in hclge_is_reset_pending()
|
D | hclge_main.c | 2894 set_bit(HNAE3_IMP_RESET, &hdev->reset_pending); in hclge_check_event_cause() 2904 set_bit(HNAE3_GLOBAL_RESET, &hdev->reset_pending); in hclge_check_event_cause() 3373 set_bit(HNAE3_FUNC_RESET, &hdev->reset_pending); in hclge_do_reset() 3379 set_bit(HNAE3_FLR_RESET, &hdev->reset_pending); in hclge_do_reset() 3558 if (hdev->reset_pending) { in hclge_reset_err_handle() 3560 hdev->reset_pending); in hclge_reset_err_handle() 3570 set_bit(hdev->reset_type, &hdev->reset_pending); in hclge_reset_err_handle() 3837 hdev->reset_type = hclge_get_reset_level(ae_dev, &hdev->reset_pending); in hclge_reset_subtask()
|
/drivers/hid/usbhid/ |
D | hid-core.c | 1435 int reset_pending = test_bit(HID_RESET_PENDING, &usbhid->iofl); in hid_restart_io() local 1441 if (clear_halt || reset_pending) in hid_restart_io() 1446 if (reset_pending || !test_bit(HID_STARTED, &usbhid->iofl)) in hid_restart_io()
|