Home
last modified time | relevance | path

Searched refs:reset_pending (Results 1 – 16 of 16) sorted by relevance

/drivers/net/ethernet/ti/
Dcpmac.c203 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/
Dhclgevf_main.h248 unsigned long reset_pending; member
307 return !!hdev->reset_pending; in hclgevf_is_reset_pending()
Dhclgevf_mbx.c305 set_bit(reset_type, &hdev->reset_pending); in hclgevf_mbx_async_handler()
Dhclgevf_main.c1525 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/
Defx.c1963 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 …]
Defx.h312 if ((efx->state != STATE_DISABLED) && !efx->reset_pending) in efx_device_attach_if_not_resetting()
Dnet_driver.h962 unsigned long reset_pending; member
Dfarch.c826 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()
Def10.c3544 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/
Defx.c1825 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()
Dnet_driver.h790 unsigned long reset_pending; member
Dfarch.c834 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()
Dfalcon.c1372 isolate = !!READ_ONCE(efx->reset_pending); in falcon_reconfigure_mac_wrapper()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.h727 unsigned long reset_pending; /* client rst is pending to be served */ member
952 return !!hdev->reset_pending; in hclge_is_reset_pending()
Dhclge_main.c2894 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/
Dhid-core.c1435 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()