Home
last modified time | relevance | path

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

/drivers/cpufreq/
Dcpufreq_stats.c26 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()
275 if (unlikely(READ_ONCE(stats->reset_pending))) in cpufreq_stats_record_transition()
/drivers/char/hw_random/
Dba431-rng.c43 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/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()
967 atomic_set(&priv->reset_pending, 0); in cpmac_open()
/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.h282 unsigned long reset_pending; member
344 return !!hdev->reset_pending; in hclgevf_is_reset_pending()
Dhclgevf_mbx.c357 set_bit(reset_type, &hdev->reset_pending); in hclgevf_mbx_async_handler()
Dhclgevf_main.c2010 set_bit(hdev->reset_type, &hdev->reset_pending); in hclgevf_reset_err_handle()
2187 if (hdev->reset_pending || in hclgevf_reset_prepare_general()
2191 hdev->reset_pending, retry_cnt); in hclgevf_reset_prepare_general()
2291 hclgevf_get_reset_level(hdev, &hdev->reset_pending); in hclgevf_reset_service_task()
2321 set_bit(HNAE3_VF_FULL_RESET, &hdev->reset_pending); in hclgevf_reset_service_task()
2328 set_bit(hdev->reset_level, &hdev->reset_pending); in hclgevf_reset_service_task()
2450 set_bit(HNAE3_VF_RESET, &hdev->reset_pending); in hclgevf_check_evt_cause()
/drivers/net/ethernet/sfc/
Defx_common.c536 efx->reset_pending) in efx_start_all()
838 efx->reset_pending &= -(1 << (method + 1)); in efx_reset()
840 __clear_bit(method, &efx->reset_pending); in efx_reset()
882 pending = READ_ONCE(efx->reset_pending); in efx_reset_work()
941 set_bit(method, &efx->reset_pending); in efx_schedule_reset()
1222 efx->reset_pending = 0; in efx_io_error_detected()
Defx.c538 if (efx->state == STATE_DISABLED || efx->reset_pending) in efx_net_open()
718 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()
1211 efx->reset_pending = 0; in efx_pm_poweroff()
Defx.h221 if ((efx->state != STATE_DISABLED) && !efx->reset_pending) in efx_device_attach_if_not_resetting()
Dnet_driver.h1022 unsigned long reset_pending; member
Dfarch.c831 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()
Def100_nic.c440 __clear_bit(reset_type, &efx->reset_pending); in ef100_reset()
Def10.c2811 if (unlikely(READ_ONCE(efx->reset_pending))) in efx_ef10_handle_rx_event()
2960 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()
3026 efx->reset_pending = 0; in ef4_pm_poweroff()
3094 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()
989 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.h846 unsigned long reset_pending; /* client rst is pending to be served */ member
1092 return !!hdev->reset_pending; in hclge_is_reset_pending()
Dhclge_cmd.c517 hdev->reset_pending); in hclge_cmd_init()
Dhclge_main.c3353 set_bit(HNAE3_IMP_RESET, &hdev->reset_pending); in hclge_check_event_cause()
3363 set_bit(HNAE3_GLOBAL_RESET, &hdev->reset_pending); in hclge_check_event_cause()
3807 set_bit(HNAE3_FUNC_RESET, &hdev->reset_pending); in hclge_do_reset()
3970 if (hdev->reset_pending) { in hclge_reset_err_handle()
3972 hdev->reset_pending); in hclge_reset_err_handle()
3982 set_bit(hdev->reset_type, &hdev->reset_pending); in hclge_reset_err_handle()
4259 hdev->reset_type = hclge_get_reset_level(ae_dev, &hdev->reset_pending); in hclge_reset_subtask()
11543 if (ret || hdev->reset_pending) { in hclge_reset_prepare_general()
11546 if (hdev->reset_pending || in hclge_reset_prepare_general()
11550 hdev->reset_pending, retry_cnt); in hclge_reset_prepare_general()
/drivers/hid/usbhid/
Dhid-core.c1473 int reset_pending = test_bit(HID_RESET_PENDING, &usbhid->iofl); in hid_restart_io() local
1479 if (clear_halt || reset_pending) in hid_restart_io()
1484 if (reset_pending || !test_bit(HID_STARTED, &usbhid->iofl)) in hid_restart_io()
/drivers/md/
Ddm-crypt.c1545 struct convert_context *ctx, bool atomic, bool reset_pending) in crypt_convert() argument
1556 if (reset_pending) in crypt_convert()