Home
last modified time | relevance | path

Searched refs:reset_count (Results 1 – 25 of 39) sorted by relevance

12

/linux/drivers/misc/mei/
H A Dinit.c134 dev->reset_count++; in mei_reset()
135 if (dev->reset_count > MEI_MAX_CONSEC_RESET) { in mei_reset()
216 dev->reset_count = 0; in mei_start()
263 dev->reset_count = 0; in mei_restart()
416 dev->reset_count = 0; in mei_device_init()
/linux/drivers/net/pcs/
H A Dpcs-rzn1-miic.c228 * @reset_count: Number of entries in the reset_ids array
246 u8 reset_count; member
749 ret = reset_control_bulk_assert(miic->of_data->reset_count, miic->rsts); in miic_reset_control_init()
761 if (!of_data->reset_count) in miic_probe()
764 for (i = 0; i < of_data->reset_count; i++) in miic_probe()
767 ret = devm_reset_control_bulk_get_exclusive(dev, of_data->reset_count, in miic_probe()
773 ret = reset_control_bulk_deassert(of_data->reset_count, miic->rsts); in miic_probe()
875 .reset_count = ARRAY_SIZE(rzt2h_reset_ids),
/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_hangcheck.c353 unsigned int reset_count, count; in igt_reset_nop() local
360 reset_count = i915_reset_count(global); in igt_reset_nop()
401 if (i915_reset_count(global) != reset_count + ++count) { in igt_reset_nop()
403 engine->name, i915_reset_count(global), reset_count, count); in igt_reset_nop()
437 unsigned int reset_count, reset_engine_count, count; in igt_reset_nop_engine() local
456 reset_count = i915_reset_count(global); in igt_reset_nop_engine()
505 if (i915_reset_count(global) != reset_count) { in igt_reset_nop_engine()
704 unsigned int reset_count, reset_engine_count; in __igt_reset_engine() local
722 reset_count = i915_reset_count(global); in __igt_reset_engine()
789 if (i915_reset_count(global) != reset_count) { in __igt_reset_engine()
1301 unsigned int reset_count; igt_reset_wait() local
1684 unsigned int reset_count; igt_reset_queue() local
[all...]
H A Dselftest_reset.c212 unsigned int reset_count; in igt_global_reset() local
221 reset_count = i915_reset_count(&gt->i915->gpu_error); in igt_global_reset()
225 if (i915_reset_count(&gt->i915->gpu_error) == reset_count) { in igt_global_reset()
/linux/drivers/net/ethernet/qualcomm/
H A Dqca_spi.h85 u16 reset_count; member
H A Dqca_spi.c553 qca->reset_count = 0; in qcaspi_qca7k_sync()
556 qca->reset_count++; in qcaspi_qca7k_sync()
558 qca->reset_count); in qcaspi_qca7k_sync()
559 if (qca->reset_count >= QCASPI_RESET_TIMEOUT) { in qcaspi_qca7k_sync()
/linux/drivers/clk/qcom/
H A Dgdsc.h74 unsigned int reset_count; member
H A Dgdsc.c219 for (i = 0; i < sc->reset_count; i++) in gdsc_deassert_reset()
228 for (i = 0; i < sc->reset_count; i++) in gdsc_assert_reset()
H A Dgpucc-sdm660.c245 .reset_count = 1,
H A Dgpucc-msm8998.c261 .reset_count = 1,
H A Dgpucc-qcm2290.c311 .reset_count = 1,
H A Dgpucc-sm6375.c374 .reset_count = 3,
H A Dgpucc-sar2130p.c410 .reset_count = 3,
H A Dgpucc-sm6115.c410 .reset_count = 1,
H A Dgpucc-sm8650.c558 .reset_count = 3,
H A Dgpucc-sm4450.c687 .reset_count = 3,
H A Dgpucc-sm8450.c685 .reset_count = 3,
/linux/drivers/net/wireless/ath/ath12k/
H A Dcore.c1690 atomic_dec(&ab->reset_count); in ath12k_core_reset()
1720 int reset_count, fail_cont_count, i; in ath12k_core_reset()
1740 reset_count = atomic_inc_return(&ab->reset_count); in ath12k_core_reset()
1742 if (reset_count > 1) { in ath12k_core_reset()
1747 ath12k_warn(ab, "already resetting count %d\n", reset_count); in ath12k_core_reset()
1754 atomic_dec(&ab->reset_count); in ath12k_core_get_memory_mode()
1664 int reset_count, fail_cont_count, i; ath12k_core_reset() local
/linux/drivers/scsi/qla2xxx/
H A Dqla_target.h886 uint32_t reset_count; member
1003 uint32_t reset_count; member
1048 uint32_t reset_count; member
/linux/drivers/net/wireless/marvell/libertas/
H A Dif_usb.c845 static int reset_count = 10; in if_usb_prog_firmware()
896 if (--reset_count >= 0) { in if_usb_prog_firmware()
925 if (--reset_count >= 0) { in if_usb_prog_firmware()
837 static int reset_count = 10; if_usb_prog_firmware() local
/linux/drivers/accel/habanalabs/common/
H A Dhabanalabs_ioctl.c301 struct hl_info_reset_count reset_count = {0}; in get_reset_count() local
308 reset_count.hard_reset_cnt = hdev->reset_info.hard_reset_cnt; in get_reset_count()
309 reset_count.soft_reset_cnt = hdev->reset_info.compute_reset_cnt; in get_reset_count()
311 return copy_to_user(out, &reset_count, in get_reset_count()
312 min((size_t) max_size, sizeof(reset_count))) ? -EFAULT : 0; in get_reset_count()
/linux/drivers/net/wireless/ath/ath11k/
H A Dcore.c2534 int reset_count, fail_cont_count; in ath11k_core_reset()
2554 reset_count = atomic_inc_return(&ab->reset_count); in ath11k_core_reset()
2556 if (reset_count > 1) { in ath11k_core_reset()
2561 ath11k_warn(ab, "already resetting count %d\n", reset_count); in ath11k_core_reset()
2569 atomic_dec(&ab->reset_count); in ath11k_core_reset()
2536 int reset_count, fail_cont_count; ath11k_core_reset() local
/linux/drivers/scsi/
H A Dhptiop.h325 atomic_t reset_count; member
/linux/Documentation/ABI/stable/
H A Dsysfs-nvme401 What: /sys/class/nvme/nvmeX/diag/reset_count
411 reset_count: Controller reset counter.
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c133 ethtool_puts(&data, "reset_count"); in otx2_get_strings()
213 *(data++) = pfvf->reset_count; in otx2_get_ethtool_stats()
1423 ethtool_puts(&data, "reset_count"); in otx2vf_get_ethtool_stats()
1442 *(data++) = vf->reset_count; in otx2vf_get_link_ksettings()

12