Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/clk/ingenic/
Dtcu.c143 bool was_enabled; in ingenic_tcu_set_parent() local
146 was_enabled = ingenic_tcu_enable_regs(hw); in ingenic_tcu_set_parent()
152 if (!was_enabled) in ingenic_tcu_set_parent()
205 bool was_enabled; in ingenic_tcu_set_rate() local
208 was_enabled = ingenic_tcu_enable_regs(hw); in ingenic_tcu_set_rate()
215 if (!was_enabled) in ingenic_tcu_set_rate()
/kernel/linux/linux-5.10/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()
238 bool was_enabled = vgic_cpu->lpis_enabled; in vgic_mmio_write_v3r_ctlr() local
245 if (was_enabled && !vgic_cpu->lpis_enabled) { in vgic_mmio_write_v3r_ctlr()
250 if (!was_enabled && vgic_cpu->lpis_enabled) in vgic_mmio_write_v3r_ctlr()
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()
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_stack.c521 int was_enabled; in stack_trace_sysctl() local
525 was_enabled = !!stack_tracer_enabled; in stack_trace_sysctl()
529 if (ret || !write || (was_enabled == !!stack_tracer_enabled)) in stack_trace_sysctl()
/kernel/linux/linux-5.10/kernel/kcsan/
Ddebugfs.c61 const bool was_enabled = READ_ONCE(kcsan_enabled); in microbenchmark() local
85 WRITE_ONCE(kcsan_enabled, was_enabled); in microbenchmark()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_dpio_phy.c474 bool was_enabled; in bxt_ddi_phy_init() local
478 was_enabled = true; in bxt_ddi_phy_init()
480 was_enabled = bxt_ddi_phy_is_enabled(dev_priv, rcomp_phy); in bxt_ddi_phy_init()
486 if (!was_enabled) in bxt_ddi_phy_init()
491 if (!was_enabled) in bxt_ddi_phy_init()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dkvm_mmu.h175 void kvm_toggle_cache(struct kvm_vcpu *vcpu, bool was_enabled);
/kernel/linux/linux-5.10/arch/arm64/kvm/
Dmmu.c1451 void kvm_toggle_cache(struct kvm_vcpu *vcpu, bool was_enabled) in kvm_toggle_cache() argument
1460 if (now_enabled != was_enabled) in kvm_toggle_cache()
1467 trace_kvm_toggle_cache(*vcpu_pc(vcpu), was_enabled, now_enabled); in kvm_toggle_cache()
Dsys_regs.c221 bool was_enabled = vcpu_has_cache_enabled(vcpu); in access_vm_reg() local
243 kvm_toggle_cache(vcpu, was_enabled); in access_vm_reg()
/kernel/linux/linux-5.10/drivers/tty/
Dsysrq.c1094 bool was_enabled = sysrq_on(); in sysrq_toggle_support() local
1098 if (was_enabled != sysrq_on()) { in sysrq_toggle_support()
/kernel/linux/linux-5.10/drivers/pinctrl/qcom/
Dpinctrl-msm.c958 bool was_enabled; in msm_gpio_irq_set_type() local
1020 was_enabled = val & BIT(g->intr_raw_status_bit); in msm_gpio_irq_set_type()
1075 if (!was_enabled) in msm_gpio_irq_set_type()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Dintel_pm.c364 bool was_enabled; in _intel_set_memory_cxsr() local
368 was_enabled = I915_READ(FW_BLC_SELF_VLV) & FW_CSPWRDWNEN; in _intel_set_memory_cxsr()
372 was_enabled = I915_READ(FW_BLC_SELF) & FW_BLC_SELF_EN; in _intel_set_memory_cxsr()
377 was_enabled = val & PINEVIEW_SELF_REFRESH_EN; in _intel_set_memory_cxsr()
385 was_enabled = I915_READ(FW_BLC_SELF) & FW_BLC_SELF_EN; in _intel_set_memory_cxsr()
396 was_enabled = I915_READ(INSTPM) & INSTPM_SELF_EN; in _intel_set_memory_cxsr()
405 trace_intel_memory_cxsr(dev_priv, was_enabled, enable); in _intel_set_memory_cxsr()
409 enableddisabled(was_enabled)); in _intel_set_memory_cxsr()
411 return was_enabled; in _intel_set_memory_cxsr()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Db44.c1279 bool was_enabled; in b44_chip_reset() local
1281 was_enabled = ssb_device_is_enabled(bp->sdev); in b44_chip_reset()
1286 if (was_enabled) { in b44_chip_reset()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Def10.c3252 bool was_enabled = efx->port_enabled; in efx_ef10_set_mac_address() local
3273 if (was_enabled) in efx_ef10_set_mac_address()