| /Linux-v5.10/drivers/cpufreq/ |
| D | cpufreq_stats.c | 26 unsigned int reset_pending; member 49 WRITE_ONCE(stats->reset_pending, 0); in cpufreq_stats_reset_table() 62 if (READ_ONCE(stats->reset_pending)) in show_total_trans() 72 bool pending = READ_ONCE(stats->reset_pending); in show_time_in_state() 118 WRITE_ONCE(stats->reset_pending, 1); in store_reset() 127 bool pending = READ_ONCE(stats->reset_pending); in show_trans_table() 276 if (unlikely(READ_ONCE(stats->reset_pending))) in cpufreq_stats_record_transition()
|
| /Linux-v5.10/drivers/char/hw_random/ |
| D | ba431-rng.c | 43 atomic_t reset_pending; member 104 atomic_set(&ba431->reset_pending, 0); in ba431_trng_reset_work() 109 if (atomic_cmpxchg(&ba431->reset_pending, 0, 1)) in ba431_trng_schedule_reset() 187 atomic_set(&ba431->reset_pending, 0); in ba431_trng_probe()
|
| /Linux-v5.10/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() 967 atomic_set(&priv->reset_pending, 0); in cpmac_open()
|
| /Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
| D | hclgevf_main.h | 271 unsigned long reset_pending; member 330 return !!hdev->reset_pending; in hclgevf_is_reset_pending()
|
| D | hclgevf_mbx.c | 325 set_bit(reset_type, &hdev->reset_pending); in hclgevf_mbx_async_handler()
|
| D | hclgevf_main.c | 1871 set_bit(hdev->reset_type, &hdev->reset_pending); in hclgevf_reset_err_handle() 2047 if (hdev->reset_pending || in hclgevf_flr_prepare() 2051 hdev->reset_pending, retry_cnt); in hclgevf_flr_prepare() 2148 hclgevf_get_reset_level(hdev, &hdev->reset_pending)) in hclgevf_reset_service_task() 2178 set_bit(HNAE3_VF_FULL_RESET, &hdev->reset_pending); in hclgevf_reset_service_task() 2185 set_bit(hdev->reset_level, &hdev->reset_pending); in hclgevf_reset_service_task() 2307 set_bit(HNAE3_VF_RESET, &hdev->reset_pending); in hclgevf_check_evt_cause()
|
| /Linux-v5.10/drivers/net/ethernet/sfc/ |
| D | efx_common.c | 536 efx->reset_pending) in efx_start_all() 836 efx->reset_pending &= -(1 << (method + 1)); in efx_reset() 838 __clear_bit(method, &efx->reset_pending); in efx_reset() 880 pending = READ_ONCE(efx->reset_pending); in efx_reset_work() 939 set_bit(method, &efx->reset_pending); in efx_schedule_reset() 1218 efx->reset_pending = 0; in efx_io_error_detected()
|
| D | efx.c | 544 if (efx->state == STATE_DISABLED || efx->reset_pending) in efx_net_open() 726 if (efx->reset_pending) { in efx_register_netdev() 1128 efx->reset_pending = 0; in efx_pci_probe() 1138 efx->reset_pending = 0; in efx_pci_probe() 1258 efx->reset_pending = 0; in efx_pm_poweroff()
|
| D | efx.h | 221 if ((efx->state != STATE_DISABLED) && !efx->reset_pending) in efx_device_attach_if_not_resetting()
|
| D | net_driver.h | 973 unsigned long reset_pending; member
|
| D | farch.c | 831 if (unlikely(READ_ONCE(efx->reset_pending))) in efx_farch_handle_tx_event() 980 if (unlikely(READ_ONCE(efx->reset_pending))) in efx_farch_handle_rx_event()
|
| D | ef100_nic.c | 428 __clear_bit(reset_type, &efx->reset_pending); in ef100_reset()
|
| D | ef10.c | 2774 if (unlikely(READ_ONCE(efx->reset_pending))) in efx_ef10_handle_rx_event() 2923 if (unlikely(READ_ONCE(efx->reset_pending))) in efx_ef10_handle_tx_event()
|
| /Linux-v5.10/kernel/time/ |
| D | clocksource.c | 192 int next_cpu, reset_pending; in clocksource_watchdog() local 198 reset_pending = atomic_read(&watchdog_reset_pending); in clocksource_watchdog() 286 if (reset_pending) in clocksource_watchdog()
|
| /Linux-v5.10/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() 989 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()
|
| /Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| D | hclge_main.h | 735 unsigned long reset_pending; /* client rst is pending to be served */ member 966 return !!hdev->reset_pending; in hclge_is_reset_pending()
|
| D | hclge_cmd.c | 467 hdev->reset_pending); in hclge_cmd_init()
|
| D | hclge_main.c | 3082 set_bit(HNAE3_IMP_RESET, &hdev->reset_pending); in hclge_check_event_cause() 3092 set_bit(HNAE3_GLOBAL_RESET, &hdev->reset_pending); in hclge_check_event_cause() 3560 set_bit(HNAE3_FUNC_RESET, &hdev->reset_pending); in hclge_do_reset() 3730 if (hdev->reset_pending) { in hclge_reset_err_handle() 3732 hdev->reset_pending); in hclge_reset_err_handle() 3742 set_bit(hdev->reset_type, &hdev->reset_pending); in hclge_reset_err_handle() 4008 hdev->reset_type = hclge_get_reset_level(ae_dev, &hdev->reset_pending); in hclge_reset_subtask() 9970 if (ret || hdev->reset_pending) { in hclge_flr_prepare() 9973 if (hdev->reset_pending || in hclge_flr_prepare() 9977 hdev->reset_pending, retry_cnt); in hclge_flr_prepare()
|
| /Linux-v5.10/drivers/hid/usbhid/ |
| D | hid-core.c | 1456 int reset_pending = test_bit(HID_RESET_PENDING, &usbhid->iofl); in hid_restart_io() local 1462 if (clear_halt || reset_pending) in hid_restart_io() 1467 if (reset_pending || !test_bit(HID_STARTED, &usbhid->iofl)) in hid_restart_io()
|