Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/cpufreq/
H 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()
274 if (unlikely(READ_ONCE(stats->reset_pending))) in cpufreq_stats_record_transition()
/openbmc/linux/drivers/char/hw_random/
H 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()
/openbmc/linux/drivers/net/ethernet/ti/
H 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()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.h220 unsigned long reset_pending; member
282 return !!hdev->reset_pending; in hclgevf_is_reset_pending()
H A Dhclgevf_main.c1510 set_bit(hdev->reset_type, &hdev->reset_pending); in hclgevf_reset_err_handle()
1682 if (!ret && !hdev->reset_pending) in hclgevf_reset_prepare_general()
1687 ret, hdev->reset_pending, retry_cnt); in hclgevf_reset_prepare_general()
1785 hclgevf_get_reset_level(&hdev->reset_pending); in hclgevf_reset_service_task()
1815 set_bit(HNAE3_VF_FULL_RESET, &hdev->reset_pending); in hclgevf_reset_service_task()
1822 set_bit(hdev->reset_level, &hdev->reset_pending); in hclgevf_reset_service_task()
1945 set_bit(HNAE3_VF_RESET, &hdev->reset_pending); in hclgevf_check_evt_cause()
2801 hdev->reset_pending); in hclgevf_reset_hdev()
2855 hdev->reset_pending); in hclgevf_init_hdev()
H A Dhclgevf_mbx.c362 set_bit(reset_type, &hdev->reset_pending); in hclgevf_mbx_async_handler()
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H 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()
H A Defx.c539 if (efx->state == STATE_DISABLED || efx->reset_pending) in efx_net_open()
719 if (efx->reset_pending) { in efx_register_netdev()
1067 efx->reset_pending = 0; in efx_pci_probe()
1077 efx->reset_pending = 0; in efx_pci_probe()
1206 efx->reset_pending = 0; in efx_pm_poweroff()
H A Defx.h202 if ((efx->state != STATE_DISABLED) && !efx->reset_pending) in efx_device_attach_if_not_resetting()
H A Dnet_driver.h974 unsigned long reset_pending; member
H 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()
/openbmc/linux/drivers/net/ethernet/sfc/
H A Defx_common.c533 efx->reset_pending) in efx_start_all()
833 efx->reset_pending &= -(1 << (method + 1)); in efx_reset()
835 __clear_bit(method, &efx->reset_pending); in efx_reset()
877 pending = READ_ONCE(efx->reset_pending); in efx_reset_work()
936 set_bit(method, &efx->reset_pending); in efx_schedule_reset()
1212 efx->reset_pending = 0; in efx_io_error_detected()
H A Defx.c539 if (efx->state == STATE_DISABLED || efx->reset_pending) in efx_net_open()
718 if (efx->reset_pending) { in efx_register_netdev()
1103 efx->reset_pending = 0; in efx_pci_probe()
1113 efx->reset_pending = 0; in efx_pci_probe()
1244 efx->reset_pending = 0; in efx_pm_poweroff()
H A Defx.h222 if ((efx->state != STATE_DISABLED) && !efx->reset_pending) { in efx_device_attach_if_not_resetting()
H A Dnet_driver.h1008 unsigned long reset_pending; member
H A Def100_nic.c479 __clear_bit(reset_type, &efx->reset_pending); in ef100_reset()
/openbmc/linux/drivers/net/ethernet/sfc/falcon/
H A Defx.c1815 efx->reset_pending) in ef4_start_all()
2275 if (efx->reset_pending) { in ef4_register_netdev()
2439 efx->reset_pending &= -(1 << (method + 1)); in ef4_reset()
2441 __clear_bit(method, &efx->reset_pending); in ef4_reset()
2505 pending = READ_ONCE(efx->reset_pending); in ef4_reset_work()
2559 set_bit(method, &efx->reset_pending); in ef4_schedule_reset()
3007 efx->reset_pending = 0; in ef4_pm_poweroff()
3075 efx->reset_pending = 0; in ef4_io_error_detected()
H A Dnet_driver.h790 unsigned long reset_pending; member
H 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()
/openbmc/linux/kernel/time/
H A Dclocksource.c412 int next_cpu, reset_pending; in clocksource_watchdog() local
422 reset_pending = atomic_read(&watchdog_reset_pending); in clocksource_watchdog()
563 if (reset_pending) in clocksource_watchdog()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A Dhclge_comm_cmd.c588 unsigned long reset_pending) in hclge_comm_cmd_init() argument
611 if (reset_pending) { in hclge_comm_cmd_init()
H A Dhclge_comm_cmd.h474 unsigned long reset_pending);
/openbmc/linux/drivers/hid/usbhid/
H 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()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.h866 unsigned long reset_pending; /* client rst is pending to be served */ member
H A Dhclge_main.c3551 set_bit(HNAE3_IMP_RESET, &hdev->reset_pending); in hclge_check_event_cause()
3561 set_bit(HNAE3_GLOBAL_RESET, &hdev->reset_pending); in hclge_check_event_cause()
4009 set_bit(HNAE3_FUNC_RESET, &hdev->reset_pending); in hclge_do_reset()
4172 if (hdev->reset_pending) { in hclge_reset_err_handle()
4174 hdev->reset_pending); in hclge_reset_err_handle()
4184 set_bit(hdev->reset_type, &hdev->reset_pending); in hclge_reset_err_handle()
4461 hdev->reset_type = hclge_get_reset_level(ae_dev, &hdev->reset_pending); in hclge_reset_subtask()
11414 if (!ret && !hdev->reset_pending) in hclge_reset_prepare_general()
11419 ret, hdev->reset_pending, retry_cnt); in hclge_reset_prepare_general()
11652 true, hdev->reset_pending); in hclge_init_ae_dev()
[all …]

12