/linux/drivers/cpufreq/ |
H 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()
|
/linux/drivers/char/hw_random/ |
H 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()
|
/linux/drivers/accel/ivpu/ |
H A D | ivpu_pm.c | 123 atomic_set(&vdev->pm->reset_pending, 1); in ivpu_pm_reset_begin() 144 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() 378 atomic_set(&pm->reset_pending, 0); in ivpu_pm_init()
|
H A D | ivpu_pm.h | 20 atomic_t reset_pending; member
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_main.h | 220 unsigned long reset_pending; member 282 return !!hdev->reset_pending; in hclgevf_is_reset_pending()
|
H A D | hclgevf_mbx.c | 362 set_bit(reset_type, &hdev->reset_pending); in hclgevf_mbx_async_handler()
|
H A D | hclgevf_main.c | 1404 set_bit(reset_type, &hdev->reset_pending); in hclgevf_set_reset_pending() 1743 if (!ret && !hdev->reset_pending) in hclgevf_reset_prepare_general() 1748 ret, hdev->reset_pending, retry_cnt); in hclgevf_reset_prepare_general() 1846 hclgevf_get_reset_level(&hdev->reset_pending); in hclgevf_reset_service_task() 2865 hdev->reset_pending); in hclgevf_reset_hdev() 2921 hdev->reset_pending); in hclgevf_init_hdev()
|
/linux/drivers/net/ethernet/sfc/siena/ |
H 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()
|
H 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()
|
H A D | efx.h | 202 if ((efx->state != STATE_DISABLED) && !efx->reset_pending) in efx_device_attach_if_not_resetting()
|
H 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()
|
/linux/drivers/net/ethernet/sfc/ |
H A D | efx.c | 527 if (efx->state == STATE_DISABLED || efx->reset_pending) in efx_net_open() 833 if (efx->reset_pending) { in efx_register_netdev() 1222 efx->reset_pending = 0; in efx_pci_probe() 1232 efx->reset_pending = 0; in efx_pci_probe() 1363 efx->reset_pending = 0; in efx_pm_poweroff()
|
H A D | ef10.c | 2821 if (unlikely(READ_ONCE(efx->reset_pending))) in efx_ef10_handle_rx_event() 2971 if (unlikely(READ_ONCE(efx->reset_pending))) in efx_ef10_handle_tx_event()
|
/linux/kernel/time/ |
H A D | clocksource.c | 434 int next_cpu, reset_pending; in clocksource_watchdog() local 444 reset_pending = atomic_read(&watchdog_reset_pending); in clocksource_watchdog() 585 if (reset_pending) in clocksource_watchdog()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
H 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()
|
H A D | hclge_comm_cmd.h | 497 unsigned long reset_pending);
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.h | 884 unsigned long reset_pending; /* client rst is pending to be served */ member
|
H A D | hclge_main.c | 3586 set_bit(reset_type, &hdev->reset_pending); in hclge_set_reset_pending() 4232 if (hdev->reset_pending) { in hclge_reset_err_handle() 4234 hdev->reset_pending); in hclge_reset_err_handle() 4533 hdev->reset_type = hclge_get_reset_level(ae_dev, &hdev->reset_pending); in hclge_reset_subtask() 11515 if (!ret && !hdev->reset_pending) in hclge_reset_prepare_general() 11520 ret, hdev->reset_pending, retry_cnt); in hclge_reset_prepare_general() 11754 true, hdev->reset_pending); in hclge_init_ae_dev() 12192 true, hdev->reset_pending); in hclge_reset_ae_dev()
|
/linux/drivers/md/ |
H A D | dm-crypt.c | 1591 struct convert_context *ctx, bool atomic, bool reset_pending) in crypt_convert() 1597 * if reset_pending is set we are dealing with the bio for the first time, in crypt_convert() 1601 if (reset_pending) in crypt_convert() 1589 crypt_convert(struct crypt_config * cc,struct convert_context * ctx,bool atomic,bool reset_pending) crypt_convert() argument
|