Home
last modified time | relevance | path

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

/linux/drivers/clk/ingenic/
H A 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()
204 bool was_enabled; in ingenic_tcu_set_rate() local
207 was_enabled = ingenic_tcu_enable_regs(hw); in ingenic_tcu_set_rate()
214 if (!was_enabled) in ingenic_tcu_set_rate()
/linux/drivers/clk/
H A 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/kernel/trace/
H A 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/kernel/kcsan/
H A Ddebugfs.c66 const bool was_enabled = READ_ONCE(kcsan_enabled); in microbenchmark() local
90 WRITE_ONCE(kcsan_enabled, was_enabled); in microbenchmark()
/linux/arch/arm64/kvm/vgic/
H A 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()
H A 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/drivers/gpu/drm/i915/display/
H A Dintel_dpio_phy.c493 bool was_enabled; in bxt_dpio_phy_init() local
497 was_enabled = true; in bxt_dpio_phy_init()
499 was_enabled = bxt_dpio_phy_is_enabled(dev_priv, rcomp_phy); in bxt_dpio_phy_init()
505 if (!was_enabled) in bxt_dpio_phy_init()
510 if (!was_enabled) in bxt_dpio_phy_init()
H A Di9xx_wm.c139 bool was_enabled; in _intel_set_memory_cxsr() local
143 was_enabled = intel_uncore_read(&dev_priv->uncore, FW_BLC_SELF_VLV) & FW_CSPWRDWNEN; in _intel_set_memory_cxsr()
147 was_enabled = intel_uncore_read(&dev_priv->uncore, FW_BLC_SELF) & FW_BLC_SELF_EN; in _intel_set_memory_cxsr()
152 was_enabled = val & PINEVIEW_SELF_REFRESH_EN; in _intel_set_memory_cxsr()
160 was_enabled = intel_uncore_read(&dev_priv->uncore, FW_BLC_SELF) & FW_BLC_SELF_EN; in _intel_set_memory_cxsr()
171 was_enabled = intel_uncore_read(&dev_priv->uncore, INSTPM) & INSTPM_SELF_EN; in _intel_set_memory_cxsr()
180 trace_intel_memory_cxsr(dev_priv, was_enabled, enable); in _intel_set_memory_cxsr()
184 str_enabled_disabled(was_enabled)); in _intel_set_memory_cxsr()
186 return was_enabled; in _intel_set_memory_cxsr()
/linux/drivers/md/dm-vdo/
H A Dvdo.c1375 bool was_enabled = vdo_get_compressing(vdo); in set_compression_callback() local
1377 if (*enable != was_enabled) { in set_compression_callback()
1379 if (was_enabled) { in set_compression_callback()
1386 *enable = was_enabled; in set_compression_callback()
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_crtc.c136 bool was_enabled; in dpu_crtc_set_crc_source() local
157 was_enabled = (current_source != DPU_CRTC_CRC_SOURCE_NONE); in dpu_crtc_set_crc_source()
159 if (!was_enabled && enable) { in dpu_crtc_set_crc_source()
165 } else if (was_enabled && !enable) { in dpu_crtc_set_crc_source()
/linux/drivers/tty/
H A Dsysrq.c1109 bool was_enabled = sysrq_on(); in sysrq_toggle_support() local
1113 if (was_enabled != sysrq_on()) { in sysrq_toggle_support()
/linux/drivers/pinctrl/qcom/
H A Dpinctrl-msm.c1047 bool was_enabled; in msm_gpio_irq_set_type() local
1111 was_enabled = val & BIT(g->intr_raw_status_bit); in msm_gpio_irq_set_type()
1166 if (!was_enabled) in msm_gpio_irq_set_type()
/linux/sound/soc/codecs/
H A 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/drivers/net/ethernet/broadcom/
H A Db44.c1258 bool was_enabled; in b44_chip_reset() local
1260 was_enabled = ssb_device_is_enabled(bp->sdev); in b44_chip_reset()
1265 if (was_enabled) { in b44_chip_reset()
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_chardev.c2822 bool was_enabled = p->runtime_info.runtime_state == DEBUG_RUNTIME_STATE_ENABLED; in runtime_disable() local
2828 if (was_enabled) in runtime_disable()
2844 if (was_enabled && p->runtime_info.ttmp_setup) { in runtime_disable()
/linux/drivers/net/ethernet/sfc/
H A Def10.c3306 bool was_enabled = efx->port_enabled; in efx_ef10_set_mac_address() local
3349 if (was_enabled) in efx_ef10_set_mac_address()