| /drivers/cpufreq/ |
| A 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() 274 if (unlikely(READ_ONCE(stats->reset_pending))) in cpufreq_stats_record_transition()
|
| /drivers/char/hw_random/ |
| A 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() 185 atomic_set(&ba431->reset_pending, 0); in ba431_trng_probe()
|
| /drivers/accel/ivpu/ |
| A D | ivpu_pm.c | 128 atomic_set(&vdev->pm->reset_pending, 1); in ivpu_pm_reset_begin() 149 atomic_set(&vdev->pm->reset_pending, 0); in ivpu_pm_reset_complete() 186 if (atomic_cmpxchg(&vdev->pm->reset_pending, 0, 1) == 0) { in ivpu_pm_trigger_recovery() 402 atomic_set(&pm->reset_pending, 0); in ivpu_pm_init()
|
| A D | ivpu_pm.h | 20 atomic_t reset_pending; member
|
| A D | ivpu_debugfs.c | 116 seq_printf(s, "%d\n", atomic_read(&vdev->pm->reset_pending)); in reset_pending_show()
|
| /drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
| A D | hclgevf_main.h | 220 unsigned long reset_pending; member 283 return !!hdev->reset_pending; in hclgevf_is_reset_pending()
|
| A D | hclgevf_mbx.c | 362 set_bit(reset_type, &hdev->reset_pending); in hclgevf_mbx_async_handler()
|
| A D | hclgevf_main.c | 1416 set_bit(reset_type, &hdev->reset_pending); in hclgevf_set_reset_pending() 1755 if (!ret && !hdev->reset_pending) in hclgevf_reset_prepare_general() 1760 ret, hdev->reset_pending, retry_cnt); in hclgevf_reset_prepare_general() 1858 hclgevf_get_reset_level(&hdev->reset_pending); in hclgevf_reset_service_task() 2878 hdev->reset_pending); in hclgevf_reset_hdev() 2934 hdev->reset_pending); in hclgevf_init_hdev()
|
| /drivers/net/ethernet/sfc/siena/ |
| A D | efx_common.c | 537 efx->reset_pending) in efx_siena_start_all() 841 efx->reset_pending &= -(1 << (method + 1)); in efx_siena_reset() 843 __clear_bit(method, &efx->reset_pending); in efx_siena_reset() 885 pending = READ_ONCE(efx->reset_pending); in efx_reset_work() 944 set_bit(method, &efx->reset_pending); in efx_siena_schedule_reset() 1224 efx->reset_pending = 0; in efx_io_error_detected()
|
| A D | efx.c | 534 if (efx->state == STATE_DISABLED || efx->reset_pending) in efx_net_open() 733 if (efx->reset_pending) { in efx_register_netdev() 1081 efx->reset_pending = 0; in efx_pci_probe() 1091 efx->reset_pending = 0; in efx_pci_probe() 1220 efx->reset_pending = 0; in efx_pm_poweroff()
|
| A D | efx.h | 202 if ((efx->state != STATE_DISABLED) && !efx->reset_pending) in efx_device_attach_if_not_resetting()
|
| A D | net_driver.h | 966 unsigned long reset_pending; member
|
| A D | farch.c | 833 if (unlikely(READ_ONCE(efx->reset_pending))) in efx_farch_handle_tx_event() 982 if (unlikely(READ_ONCE(efx->reset_pending))) in efx_farch_handle_rx_event()
|
| /drivers/net/ethernet/sfc/ |
| A D | efx_common.c | 533 efx->reset_pending) in efx_start_all() 817 efx->reset_pending &= -(1 << (method + 1)); in efx_reset() 819 __clear_bit(method, &efx->reset_pending); in efx_reset() 861 pending = READ_ONCE(efx->reset_pending); in efx_reset_work() 920 set_bit(method, &efx->reset_pending); in efx_schedule_reset() 1195 efx->reset_pending = 0; in efx_io_error_detected()
|
| A D | efx.c | 505 if (efx->state == STATE_DISABLED || efx->reset_pending) in efx_net_open() 810 if (efx->reset_pending) { in efx_register_netdev() 1198 efx->reset_pending = 0; in efx_pci_probe() 1208 efx->reset_pending = 0; in efx_pci_probe() 1339 efx->reset_pending = 0; in efx_pm_poweroff()
|
| A D | efx.h | 221 if ((efx->state != STATE_DISABLED) && !efx->reset_pending) { in efx_device_attach_if_not_resetting()
|
| A D | net_driver.h | 1047 unsigned long reset_pending; member
|
| A D | ef100_nic.c | 479 __clear_bit(reset_type, &efx->reset_pending); in ef100_reset()
|
| /drivers/net/ethernet/sfc/falcon/ |
| A D | efx.c | 1815 efx->reset_pending) in ef4_start_all() 2267 if (efx->reset_pending) { in ef4_register_netdev() 2431 efx->reset_pending &= -(1 << (method + 1)); in ef4_reset() 2433 __clear_bit(method, &efx->reset_pending); in ef4_reset() 2497 pending = READ_ONCE(efx->reset_pending); in ef4_reset_work() 2551 set_bit(method, &efx->reset_pending); in ef4_schedule_reset() 2999 efx->reset_pending = 0; in ef4_pm_poweroff() 3067 efx->reset_pending = 0; in ef4_io_error_detected()
|
| A D | net_driver.h | 790 unsigned long reset_pending; member
|
| A 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()
|
| /drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
| A D | hclge_comm_cmd.c | 614 unsigned long reset_pending) in hclge_comm_cmd_init() argument 637 if (reset_pending) { in hclge_comm_cmd_init()
|
| A D | hclge_comm_cmd.h | 497 unsigned long reset_pending);
|
| /drivers/hid/usbhid/ |
| A D | hid-core.c | 1484 int reset_pending = test_bit(HID_RESET_PENDING, &usbhid->iofl); in hid_restart_io() local 1490 if (clear_halt || reset_pending) in hid_restart_io() 1495 if (reset_pending || !test_bit(HID_STARTED, &usbhid->iofl)) in hid_restart_io()
|
| /drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| A D | hclge_main.h | 884 unsigned long reset_pending; /* client rst is pending to be served */ member
|