Searched refs:was_enabled (Results 1 – 13 of 13) sorted by relevance
475 bool was_enabled, require_sync = false; in regmap_cache_only_write_file() local480 was_enabled = map->cache_only; in regmap_cache_only_write_file()488 if (map->cache_only && !was_enabled) { in regmap_cache_only_write_file()491 } else if (!map->cache_only && was_enabled) { in regmap_cache_only_write_file()520 bool was_enabled; in regmap_cache_bypass_write_file() local524 was_enabled = map->cache_bypass; in regmap_cache_bypass_write_file()530 if (map->cache_bypass && !was_enabled) { in regmap_cache_bypass_write_file()533 } else if (!map->cache_bypass && was_enabled) { in regmap_cache_bypass_write_file()
263 bool was_enabled = xen_selfballooning_enabled; in store_selfballooning() local277 if (!was_enabled && xen_selfballooning_enabled) in store_selfballooning()421 bool was_enabled = frontswap_selfshrinking; in store_frontswap_selfshrinking() local433 if (!was_enabled && !xen_selfballooning_enabled && in store_frontswap_selfshrinking()
48 int was_enabled; member
1873 zd->was_enabled = zd->mac_enabled; in zd1201_suspend()1875 if (zd->was_enabled) in zd1201_suspend()1890 if (zd->was_enabled) in zd1201_resume()
270 void kvm_toggle_cache(struct kvm_vcpu *vcpu, bool was_enabled);
272 void kvm_toggle_cache(struct kvm_vcpu *vcpu, bool was_enabled);
1029 bool was_enabled = sysrq_on(); in sysrq_toggle_support() local1033 if (was_enabled != sysrq_on()) { in sysrq_toggle_support()
1917 void kvm_toggle_cache(struct kvm_vcpu *vcpu, bool was_enabled) in kvm_toggle_cache() argument1926 if (now_enabled != was_enabled) in kvm_toggle_cache()1933 trace_kvm_toggle_cache(*vcpu_pc(vcpu), was_enabled, now_enabled); in kvm_toggle_cache()
217 bool was_enabled = vcpu_has_cache_enabled(vcpu); in access_vm_reg() local225 kvm_toggle_cache(vcpu, was_enabled); in access_vm_reg()
1287 bool was_enabled; in b44_chip_reset() local1289 was_enabled = ssb_device_is_enabled(bp->sdev); in b44_chip_reset()1294 if (was_enabled) { in b44_chip_reset()
2141 bool was_enabled; in _wm8994_set_fll() local2159 was_enabled = reg & WM8994_FLL1_ENA; in _wm8994_set_fll()2264 if (!was_enabled) { in _wm8994_set_fll()2301 if (was_enabled) { in _wm8994_set_fll()
100 bool was_enabled = vcpu_has_cache_enabled(vcpu); in access_vm_reg() local112 kvm_toggle_cache(vcpu, was_enabled); in access_vm_reg()
4245 bool was_enabled = efx->port_enabled; in efx_ef10_set_mac_address() local4262 if (was_enabled) in efx_ef10_set_mac_address()