Home
last modified time | relevance | path

Searched refs:was_enabled (Results 1 – 19 of 19) sorted by relevance

/linux-6.1.9/drivers/clk/ingenic/
Dtcu.c139 bool was_enabled; in ingenic_tcu_set_parent() local
142 was_enabled = ingenic_tcu_enable_regs(hw); in ingenic_tcu_set_parent()
148 if (!was_enabled) in ingenic_tcu_set_parent()
201 bool was_enabled; in ingenic_tcu_set_rate() local
204 was_enabled = ingenic_tcu_enable_regs(hw); in ingenic_tcu_set_rate()
211 if (!was_enabled) in ingenic_tcu_set_rate()
/linux-6.1.9/kernel/trace/
Dtrace_stack.c520 int was_enabled; in stack_trace_sysctl() local
524 was_enabled = !!stack_tracer_enabled; in stack_trace_sysctl()
528 if (ret || !write || (was_enabled == !!stack_tracer_enabled)) in stack_trace_sysctl()
/linux-6.1.9/drivers/clk/
Dclk-apple-nco.c160 bool was_enabled; in applnco_set_rate() local
172 was_enabled = applnco_is_enabled(hw); in applnco_set_rate()
182 if (was_enabled) in applnco_set_rate()
/linux-6.1.9/kernel/kcsan/
Ddebugfs.c66 const bool was_enabled = READ_ONCE(kcsan_enabled); in microbenchmark() local
90 WRITE_ONCE(kcsan_enabled, was_enabled); in microbenchmark()
/linux-6.1.9/drivers/net/wireless/zydas/
Dzd1201.h45 int was_enabled; member
Dzd1201.c1865 zd->was_enabled = zd->mac_enabled; in zd1201_suspend()
1867 if (zd->was_enabled) in zd1201_suspend()
1882 if (zd->was_enabled) in zd1201_resume()
/linux-6.1.9/arch/arm64/kvm/vgic/
Dvgic-mmio-v3.c112 bool was_enabled, is_hwsgi; in vgic_mmio_write_v3_misc() local
116 was_enabled = dist->enabled; in vgic_mmio_write_v3_misc()
126 if (was_enabled && dist->enabled) { in vgic_mmio_write_v3_misc()
137 was_enabled != dist->enabled) in vgic_mmio_write_v3_misc()
139 else if (!was_enabled && dist->enabled) in vgic_mmio_write_v3_misc()
Dvgic-mmio-v2.c57 bool was_enabled = dist->enabled; in vgic_mmio_write_v2_misc() local
62 if (!was_enabled && dist->enabled) in vgic_mmio_write_v2_misc()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_dpio_phy.c485 bool was_enabled; in bxt_ddi_phy_init() local
489 was_enabled = true; in bxt_ddi_phy_init()
491 was_enabled = bxt_ddi_phy_is_enabled(dev_priv, rcomp_phy); in bxt_ddi_phy_init()
497 if (!was_enabled) in bxt_ddi_phy_init()
502 if (!was_enabled) in bxt_ddi_phy_init()
/linux-6.1.9/arch/arm64/include/asm/
Dkvm_mmu.h224 void kvm_toggle_cache(struct kvm_vcpu *vcpu, bool was_enabled);
/linux-6.1.9/drivers/tty/
Dsysrq.c1100 bool was_enabled = sysrq_on(); in sysrq_toggle_support() local
1104 if (was_enabled != sysrq_on()) { in sysrq_toggle_support()
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_crtc.c146 bool was_enabled; in dpu_crtc_set_crc_source() local
167 was_enabled = (current_source != DPU_CRTC_CRC_SOURCE_NONE); in dpu_crtc_set_crc_source()
169 if (!was_enabled && enable) { in dpu_crtc_set_crc_source()
175 } else if (was_enabled && !enable) { in dpu_crtc_set_crc_source()
/linux-6.1.9/arch/arm64/kvm/
Dmmu.c1840 void kvm_toggle_cache(struct kvm_vcpu *vcpu, bool was_enabled) in kvm_toggle_cache() argument
1849 if (now_enabled != was_enabled) in kvm_toggle_cache()
1856 trace_kvm_toggle_cache(*vcpu_pc(vcpu), was_enabled, now_enabled); in kvm_toggle_cache()
Dsys_regs.c155 bool was_enabled = vcpu_has_cache_enabled(vcpu); in access_vm_reg() local
172 kvm_toggle_cache(vcpu, was_enabled); in access_vm_reg()
/linux-6.1.9/drivers/pinctrl/qcom/
Dpinctrl-msm.c1009 bool was_enabled; in msm_gpio_irq_set_type() local
1071 was_enabled = val & BIT(g->intr_raw_status_bit); in msm_gpio_irq_set_type()
1126 if (!was_enabled) in msm_gpio_irq_set_type()
/linux-6.1.9/drivers/gpu/drm/i915/
Dintel_pm.c342 bool was_enabled; in _intel_set_memory_cxsr() local
346 was_enabled = intel_uncore_read(&dev_priv->uncore, FW_BLC_SELF_VLV) & FW_CSPWRDWNEN; in _intel_set_memory_cxsr()
350 was_enabled = intel_uncore_read(&dev_priv->uncore, FW_BLC_SELF) & FW_BLC_SELF_EN; in _intel_set_memory_cxsr()
355 was_enabled = val & PINEVIEW_SELF_REFRESH_EN; in _intel_set_memory_cxsr()
363 was_enabled = intel_uncore_read(&dev_priv->uncore, FW_BLC_SELF) & FW_BLC_SELF_EN; in _intel_set_memory_cxsr()
374 was_enabled = intel_uncore_read(&dev_priv->uncore, INSTPM) & INSTPM_SELF_EN; in _intel_set_memory_cxsr()
383 trace_intel_memory_cxsr(dev_priv, was_enabled, enable); in _intel_set_memory_cxsr()
387 str_enabled_disabled(was_enabled)); in _intel_set_memory_cxsr()
389 return was_enabled; in _intel_set_memory_cxsr()
/linux-6.1.9/sound/soc/codecs/
Dwm8994.c2214 bool was_enabled; in _wm8994_set_fll() local
2233 was_enabled = reg & WM8994_FLL1_ENA; in _wm8994_set_fll()
2292 if (was_enabled) { in _wm8994_set_fll()
2377 if (!was_enabled) { in _wm8994_set_fll()
2415 if (was_enabled) { in _wm8994_set_fll()
/linux-6.1.9/drivers/net/ethernet/broadcom/
Db44.c1280 bool was_enabled; in b44_chip_reset() local
1282 was_enabled = ssb_device_is_enabled(bp->sdev); in b44_chip_reset()
1287 if (was_enabled) { in b44_chip_reset()
/linux-6.1.9/drivers/net/ethernet/sfc/
Def10.c3277 bool was_enabled = efx->port_enabled; in efx_ef10_set_mac_address() local
3320 if (was_enabled) in efx_ef10_set_mac_address()