/Linux-v5.15/drivers/devfreq/ |
D | devfreq-event.c | 46 && edev->enable_count == 0) { in devfreq_event_enable_edev() 51 edev->enable_count++; in devfreq_event_enable_edev() 77 if (edev->enable_count <= 0) { in devfreq_event_disable_edev() 84 && edev->enable_count == 1) { in devfreq_event_disable_edev() 89 edev->enable_count--; in devfreq_event_disable_edev() 115 if (edev->enable_count > 0) in devfreq_event_is_enabled() 326 edev->enable_count = 0; in devfreq_event_add_edev() 360 WARN_ON(edev->enable_count); in devfreq_event_remove_edev() 459 return sprintf(buf, "%d\n", edev->enable_count); in enable_count_show() 461 static DEVICE_ATTR_RO(enable_count);
|
/Linux-v5.15/drivers/gpu/drm/i915/ |
D | i915_pmu.c | 655 BUILD_BUG_ON(ARRAY_SIZE(pmu->enable_count) != I915_PMU_MASK_BITS); in i915_pmu_enable() 656 GEM_BUG_ON(bit >= ARRAY_SIZE(pmu->enable_count)); in i915_pmu_enable() 657 GEM_BUG_ON(pmu->enable_count[bit] == ~0); in i915_pmu_enable() 660 pmu->enable_count[bit]++; in i915_pmu_enable() 679 BUILD_BUG_ON(ARRAY_SIZE(engine->pmu.enable_count) != in i915_pmu_enable() 683 GEM_BUG_ON(sample >= ARRAY_SIZE(engine->pmu.enable_count)); in i915_pmu_enable() 685 GEM_BUG_ON(engine->pmu.enable_count[sample] == ~0); in i915_pmu_enable() 688 engine->pmu.enable_count[sample]++; in i915_pmu_enable() 723 GEM_BUG_ON(sample >= ARRAY_SIZE(engine->pmu.enable_count)); in i915_pmu_disable() 725 GEM_BUG_ON(engine->pmu.enable_count[sample] == 0); in i915_pmu_disable() [all …]
|
D | i915_pmu.h | 109 unsigned int enable_count[I915_PMU_MASK_BITS]; member
|
/Linux-v5.15/drivers/clocksource/ |
D | sh_tmu.c | 49 unsigned int enable_count; member 174 if (ch->enable_count++ > 0) in sh_tmu_enable() 197 if (WARN_ON(ch->enable_count == 0)) in sh_tmu_disable() 200 if (--ch->enable_count > 0) in sh_tmu_disable() 293 if (--ch->enable_count == 0) { in sh_tmu_clocksource_suspend() 306 if (ch->enable_count++ == 0) { in sh_tmu_clocksource_resume() 473 ch->enable_count = 0; in sh_tmu_channel_setup()
|
/Linux-v5.15/Documentation/ABI/testing/ |
D | sysfs-class-devfreq-event | 18 What: /sys/class/devfreq-event/event(x)/enable_count 22 The /sys/class/devfreq-event/event(x)/enable_count attribute
|
/Linux-v5.15/drivers/pwm/ |
D | pwm-imx-tpm.c | 65 u32 enable_count; member 276 if (++tpm->enable_count == 1) in pwm_imx_tpm_apply_hw() 279 if (--tpm->enable_count == 0) in pwm_imx_tpm_apply_hw() 397 if (tpm->enable_count > 0) in pwm_imx_tpm_suspend()
|
/Linux-v5.15/drivers/acpi/ |
D | device_pm.c | 763 if (wakeup->enable_count > 0) in __acpi_device_wakeup_enable() 768 if (wakeup->enable_count > 0) { in __acpi_device_wakeup_enable() 770 wakeup->enable_count = 0; in __acpi_device_wakeup_enable() 775 if (wakeup->enable_count > 0) in __acpi_device_wakeup_enable() 789 if (wakeup->enable_count < INT_MAX) in __acpi_device_wakeup_enable() 790 wakeup->enable_count++; in __acpi_device_wakeup_enable() 831 if (!wakeup->enable_count) in acpi_device_wakeup_disable() 837 wakeup->enable_count--; in acpi_device_wakeup_disable()
|
/Linux-v5.15/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_kms.h | 70 int enable_count; member 169 WARN_ON(mdp5_kms->enable_count <= 0); in mdp5_write() 175 WARN_ON(mdp5_kms->enable_count <= 0); in mdp5_read()
|
D | mdp5_kms.c | 295 mdp5_kms->enable_count--; in mdp5_disable() 296 WARN_ON(mdp5_kms->enable_count < 0); in mdp5_disable() 315 mdp5_kms->enable_count++; in mdp5_enable()
|
/Linux-v5.15/drivers/net/dsa/mv88e6xxx/ |
D | hwtstamp.c | 152 chip->enable_count += 1; in mv88e6xxx_set_hwtstamp_config() 153 if (chip->enable_count == 1 && ptp_ops->global_enable) in mv88e6xxx_set_hwtstamp_config() 160 chip->enable_count -= 1; in mv88e6xxx_set_hwtstamp_config() 161 if (chip->enable_count == 0 && ptp_ops->global_disable) in mv88e6xxx_set_hwtstamp_config()
|
D | chip.h | 376 u16 enable_count; member
|
/Linux-v5.15/drivers/regulator/ |
D | internal.h | 52 unsigned int enable_count; member
|
D | core.c | 67 u32 enable_count; /* a number of enabled shared GPIO */ member 775 if (regulator->enable_count) in requested_microamps_show() 942 if (sibling->enable_count) in drms_uA_update() 2256 WARN_ON(regulator->enable_count); in _regulator_put() 2492 if (pin->enable_count == 0) in regulator_ena_gpio_ctrl() 2495 pin->enable_count++; in regulator_ena_gpio_ctrl() 2497 if (pin->enable_count > 1) { in regulator_ena_gpio_ctrl() 2498 pin->enable_count--; in regulator_ena_gpio_ctrl() 2503 if (pin->enable_count <= 1) { in regulator_ena_gpio_ctrl() 2505 pin->enable_count = 0; in regulator_ena_gpio_ctrl() [all …]
|
/Linux-v5.15/include/linux/ |
D | devfreq-event.h | 31 u32 enable_count; member
|
/Linux-v5.15/drivers/media/platform/ti-vpe/ |
D | cal-camerarx.c | 288 if (phy->enable_count > 0) { in cal_camerarx_start() 289 phy->enable_count++; in cal_camerarx_start() 417 phy->enable_count++; in cal_camerarx_start() 426 if (--phy->enable_count > 0) in cal_camerarx_stop()
|
D | cal.h | 190 unsigned int enable_count; member
|
/Linux-v5.15/drivers/clk/ |
D | clk.c | 75 unsigned int enable_count; member 234 return core->enable_count; in clk_core_is_enabled() 470 return !clk ? 0 : clk->core->enable_count; in __clk_get_enable_count() 824 WARN(core->enable_count > 0, "Unpreparing enabled %s\n", core->name); in clk_core_unprepare() 952 if (WARN(core->enable_count == 0, "%s already disabled\n", core->name)) in clk_core_disable() 955 if (WARN(core->enable_count == 1 && core->flags & CLK_IS_CRITICAL, in clk_core_disable() 959 if (--core->enable_count > 0) in clk_core_disable() 1015 if (core->enable_count == 0) { in clk_core_enable() 1034 core->enable_count++; in clk_core_enable() 1064 if (core->enable_count) in clk_gate_restore_context() [all …]
|
/Linux-v5.15/drivers/gpu/drm/i915/gt/ |
D | intel_engine_types.h | 349 unsigned int enable_count[I915_ENGINE_SAMPLE_COUNT]; member
|
/Linux-v5.15/include/acpi/ |
D | acpi_bus.h | 332 int enable_count; member
|
/Linux-v5.15/Documentation/driver-api/ |
D | clk.rst | 120 Nothing about clock topology or accounting, such as enable_count or
|