Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/cpufreq/
A 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()
273 if (unlikely(READ_ONCE(stats->reset_pending))) in cpufreq_stats_record_transition()
/linux-6.3-rc2/drivers/char/hw_random/
A 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()
/linux-6.3-rc2/drivers/net/ethernet/ti/
A 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()
971 atomic_set(&priv->reset_pending, 0); in cpmac_open()
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3vf/
A Dhclgevf_main.h220 unsigned long reset_pending; member
281 return !!hdev->reset_pending; in hclgevf_is_reset_pending()
A Dhclgevf_main.c1551 set_bit(hdev->reset_type, &hdev->reset_pending); in hclgevf_reset_err_handle()
1725 if (!ret && !hdev->reset_pending) in hclgevf_reset_prepare_general()
1730 ret, hdev->reset_pending, retry_cnt); in hclgevf_reset_prepare_general()
1828 hclgevf_get_reset_level(hdev, &hdev->reset_pending); in hclgevf_reset_service_task()
1858 set_bit(HNAE3_VF_FULL_RESET, &hdev->reset_pending); in hclgevf_reset_service_task()
1865 set_bit(hdev->reset_level, &hdev->reset_pending); in hclgevf_reset_service_task()
1987 set_bit(HNAE3_VF_RESET, &hdev->reset_pending); in hclgevf_check_evt_cause()
2836 hdev->reset_pending); in hclgevf_reset_hdev()
2894 hdev->reset_pending); in hclgevf_init_hdev()
A Dhclgevf_mbx.c355 set_bit(reset_type, &hdev->reset_pending); in hclgevf_mbx_async_handler()
/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/
A Defx_common.c537 efx->reset_pending) in efx_siena_start_all()
846 efx->reset_pending &= -(1 << (method + 1)); in efx_siena_reset()
848 __clear_bit(method, &efx->reset_pending); in efx_siena_reset()
890 pending = READ_ONCE(efx->reset_pending); in efx_reset_work()
949 set_bit(method, &efx->reset_pending); in efx_siena_schedule_reset()
1231 efx->reset_pending = 0; in efx_io_error_detected()
A Defx.c540 if (efx->state == STATE_DISABLED || efx->reset_pending) in efx_net_open()
720 if (efx->reset_pending) { in efx_register_netdev()
1070 efx->reset_pending = 0; in efx_pci_probe()
1080 efx->reset_pending = 0; in efx_pci_probe()
1211 efx->reset_pending = 0; in efx_pm_poweroff()
A Defx.h202 if ((efx->state != STATE_DISABLED) && !efx->reset_pending) in efx_device_attach_if_not_resetting()
A Dnet_driver.h974 unsigned long reset_pending; member
A Dfarch.c833 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-6.3-rc2/drivers/net/ethernet/sfc/
A Defx_common.c538 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()
1217 efx->reset_pending = 0; in efx_io_error_detected()
A Defx.c539 if (efx->state == STATE_DISABLED || efx->reset_pending) in efx_net_open()
720 if (efx->reset_pending) { in efx_register_netdev()
1102 efx->reset_pending = 0; in efx_pci_probe()
1112 efx->reset_pending = 0; in efx_pci_probe()
1245 efx->reset_pending = 0; in efx_pm_poweroff()
A Defx.h224 if ((efx->state != STATE_DISABLED) && !efx->reset_pending) { in efx_device_attach_if_not_resetting()
A Dnet_driver.h1045 unsigned long reset_pending; member
A Def100_nic.c474 __clear_bit(reset_type, &efx->reset_pending); in ef100_reset()
/linux-6.3-rc2/drivers/net/ethernet/sfc/falcon/
A Defx.c1816 efx->reset_pending) in ef4_start_all()
2276 if (efx->reset_pending) { in ef4_register_netdev()
2440 efx->reset_pending &= -(1 << (method + 1)); in ef4_reset()
2442 __clear_bit(method, &efx->reset_pending); in ef4_reset()
2506 pending = READ_ONCE(efx->reset_pending); in ef4_reset_work()
2560 set_bit(method, &efx->reset_pending); in ef4_schedule_reset()
3016 efx->reset_pending = 0; in ef4_pm_poweroff()
3084 efx->reset_pending = 0; in ef4_io_error_detected()
A Dnet_driver.h790 unsigned long reset_pending; member
A 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()
/linux-6.3-rc2/kernel/time/
A Dclocksource.c402 int next_cpu, reset_pending; in clocksource_watchdog() local
413 reset_pending = atomic_read(&watchdog_reset_pending); in clocksource_watchdog()
537 if (reset_pending) in clocksource_watchdog()
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3_common/
A Dhclge_comm_cmd.c554 unsigned long reset_pending) in hclge_comm_cmd_init() argument
577 if (reset_pending) { in hclge_comm_cmd_init()
A Dhclge_comm_cmd.h463 unsigned long reset_pending);
/linux-6.3-rc2/drivers/hid/usbhid/
A Dhid-core.c1478 int reset_pending = test_bit(HID_RESET_PENDING, &usbhid->iofl); in hid_restart_io() local
1484 if (clear_halt || reset_pending) in hid_restart_io()
1489 if (reset_pending || !test_bit(HID_STARTED, &usbhid->iofl)) in hid_restart_io()
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_main.h860 unsigned long reset_pending; /* client rst is pending to be served */ member
A Dhclge_main.c3618 set_bit(HNAE3_IMP_RESET, &hdev->reset_pending); in hclge_check_event_cause()
3628 set_bit(HNAE3_GLOBAL_RESET, &hdev->reset_pending); in hclge_check_event_cause()
4071 set_bit(HNAE3_FUNC_RESET, &hdev->reset_pending); in hclge_do_reset()
4234 if (hdev->reset_pending) { in hclge_reset_err_handle()
4236 hdev->reset_pending); in hclge_reset_err_handle()
4246 set_bit(hdev->reset_type, &hdev->reset_pending); in hclge_reset_err_handle()
4523 hdev->reset_type = hclge_get_reset_level(ae_dev, &hdev->reset_pending); in hclge_reset_subtask()
11441 if (!ret && !hdev->reset_pending) in hclge_reset_prepare_general()
11446 ret, hdev->reset_pending, retry_cnt); in hclge_reset_prepare_general()
11565 true, hdev->reset_pending); in hclge_init_ae_dev()
[all …]

Completed in 101 milliseconds

12