/linux/drivers/clk/ingenic/ |
H A D | tcu.c | 139 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 D | clk-apple-nco.c | 160 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 D | trace_stack.c | 520 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 D | debugfs.c | 66 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 D | vgic-mmio-v3.c | 112 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 D | vgic-mmio-v2.c | 57 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 D | intel_dpio_phy.c | 493 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 D | i9xx_wm.c | 139 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 D | vdo.c | 1375 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 D | dpu_crtc.c | 136 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 D | sysrq.c | 1109 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 D | pinctrl-msm.c | 1047 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 D | wm8994.c | 2214 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 D | b44.c | 1258 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 D | kfd_chardev.c | 2822 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 D | ef10.c | 3306 bool was_enabled = efx->port_enabled; in efx_ef10_set_mac_address() local 3349 if (was_enabled) in efx_ef10_set_mac_address()
|