Home
last modified time | relevance | path

Searched refs:enabled (Results 1 – 25 of 2496) sorted by relevance

12345678910>>...100

/kernel/linux/linux-5.10/Documentation/admin-guide/
Dkernel-parameters.rst81 enabled and if respective hardware is present. The text in square brackets at
85 ACPI ACPI support is enabled.
86 AGP AGP (Accelerated Graphics Port) is enabled.
87 ALSA ALSA sound support is enabled.
88 APIC APIC support is enabled.
89 APM Advanced Power Management support is enabled.
90 ARM ARM architecture is enabled.
91 ARM64 ARM64 architecture is enabled.
92 AX25 Appropriate AX.25 support is enabled.
93 CLK Common clock infrastructure is enabled.
[all …]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsecure_boot.c25 bool enabled = false; in is_ppc_secureboot_enabled() local
29 enabled = of_property_read_bool(node, "os-secureboot-enforcing"); in is_ppc_secureboot_enabled()
32 if (enabled) in is_ppc_secureboot_enabled()
36 enabled = (secureboot > 1); in is_ppc_secureboot_enabled()
39 pr_info("Secure boot mode %s\n", enabled ? "enabled" : "disabled"); in is_ppc_secureboot_enabled()
41 return enabled; in is_ppc_secureboot_enabled()
47 bool enabled = false; in is_ppc_trustedboot_enabled() local
51 enabled = of_property_read_bool(node, "trusted-enabled"); in is_ppc_trustedboot_enabled()
54 if (enabled) in is_ppc_trustedboot_enabled()
58 enabled = (trustedboot > 0); in is_ppc_trustedboot_enabled()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
Drfkill.c27 bool enabled; in b43_rfkill_poll() local
40 enabled = b43_is_hw_radio_enabled(dev); in b43_rfkill_poll()
42 if (unlikely(enabled != dev->radio_hw_enable)) { in b43_rfkill_poll()
43 dev->radio_hw_enable = enabled; in b43_rfkill_poll()
45 enabled ? "ENABLED" : "DISABLED"); in b43_rfkill_poll()
46 wiphy_rfkill_set_hw_state(hw->wiphy, !enabled); in b43_rfkill_poll()
47 if (enabled != dev->phy.radio_on) in b43_rfkill_poll()
48 b43_software_rfkill(dev, !enabled); in b43_rfkill_poll()
/kernel/linux/linux-5.10/drivers/regulator/
Duserspace-consumer.c26 bool enabled; member
45 if (data->enabled) in reg_show_state()
55 bool enabled; in reg_set_state() local
63 enabled = true; in reg_set_state()
65 enabled = false; in reg_set_state()
72 if (enabled != data->enabled) { in reg_set_state()
73 if (enabled) in reg_set_state()
81 data->enabled = enabled; in reg_set_state()
146 drvdata->enabled = pdata->init_on; in regulator_userspace_consumer_probe()
163 if (data->enabled) in regulator_userspace_consumer_remove()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/
Drfkill.c44 bool enabled; in b43legacy_rfkill_poll() local
57 enabled = b43legacy_is_hw_radio_enabled(dev); in b43legacy_rfkill_poll()
59 if (unlikely(enabled != dev->radio_hw_enable)) { in b43legacy_rfkill_poll()
60 dev->radio_hw_enable = enabled; in b43legacy_rfkill_poll()
62 enabled ? "ENABLED" : "DISABLED"); in b43legacy_rfkill_poll()
63 wiphy_rfkill_set_hw_state(hw->wiphy, !enabled); in b43legacy_rfkill_poll()
64 if (enabled != dev->phy.radio_on) { in b43legacy_rfkill_poll()
65 if (enabled) in b43legacy_rfkill_poll()
/kernel/linux/linux-5.10/arch/mips/oprofile/
Dop_model_loongson2.c63 if (cfg[0].enabled) { in loongson2_reg_setup()
68 if (cfg[1].enabled) { in loongson2_reg_setup()
73 if (cfg[0].enabled || cfg[1].enabled) { in loongson2_reg_setup()
83 reg.cnt1_enabled = cfg[0].enabled; in loongson2_reg_setup()
84 reg.cnt2_enabled = cfg[1].enabled; in loongson2_reg_setup()
110 int enabled; in loongson2_perfcount_handler() local
113 enabled = read_c0_perfctrl() & LOONGSON2_PERFCTRL_ENABLE; in loongson2_perfcount_handler()
114 if (!enabled) in loongson2_perfcount_handler()
116 enabled = reg.cnt1_enabled | reg.cnt2_enabled; in loongson2_perfcount_handler()
117 if (!enabled) in loongson2_perfcount_handler()
/kernel/linux/linux-5.10/include/trace/events/
Drtc.h82 TP_PROTO(int enabled, int err),
84 TP_ARGS(enabled, err),
87 __field(int, enabled)
92 __entry->enabled = enabled;
97 __entry->enabled ? "enable" : "disable",
104 TP_PROTO(unsigned int enabled, int err),
106 TP_ARGS(enabled, err),
109 __field(unsigned int, enabled)
114 __entry->enabled = enabled;
119 __entry->enabled ? "enable" : "disable",
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/hdmi/
Dhdmi_audio.c79 bool enabled = audio->enabled; in msm_hdmi_audio_update() local
85 audio->enabled, info->channels, info->channel_allocation, in msm_hdmi_audio_update()
89 if (enabled && !(hdmi->power_on && hdmi->pixclock)) { in msm_hdmi_audio_update()
91 enabled = false; in msm_hdmi_audio_update()
94 if (enabled) { in msm_hdmi_audio_update()
99 enabled = false; in msm_hdmi_audio_update()
113 if (enabled) { in msm_hdmi_audio_update()
206 COND(enabled, HDMI_AUD_INT_AUD_FIFO_URUN_INT) | in msm_hdmi_audio_update()
207 COND(enabled, HDMI_AUD_INT_AUD_SAM_DROP_INT)); in msm_hdmi_audio_update()
212 DBG("audio %sabled", enabled ? "en" : "dis"); in msm_hdmi_audio_update()
[all …]
/kernel/linux/linux-5.10/drivers/rtc/
Dinterface.c141 uie = rtc->uie_rtctimer.enabled || rtc->uie_irq_active; in rtc_set_time()
143 uie = rtc->uie_rtctimer.enabled; in rtc_set_time()
192 alarm->enabled = 0; in rtc_read_alarm_internal()
399 alarm->enabled = rtc->aie_timer.enabled; in rtc_read_alarm()
468 if (rtc->aie_timer.enabled) in rtc_set_alarm()
473 if (alarm->enabled) in rtc_set_alarm()
504 if (alarm->enabled && (rtc_tm_to_ktime(now) < in rtc_initialize_alarm()
506 rtc->aie_timer.enabled = 1; in rtc_initialize_alarm()
515 int rtc_alarm_irq_enable(struct rtc_device *rtc, unsigned int enabled) in rtc_alarm_irq_enable() argument
523 if (rtc->aie_timer.enabled != enabled) { in rtc_alarm_irq_enable()
[all …]
/kernel/linux/linux-5.10/include/linux/
Djump_label.h88 atomic_t enabled; member
111 atomic_t enabled; member
241 { .enabled = { 1 }, \
244 { .enabled = { 0 }, \
254 return arch_atomic_read(&key->enabled); in static_key_count()
279 atomic_inc(&key->enabled); in static_key_slow_inc()
285 atomic_dec(&key->enabled); in static_key_slow_dec()
308 if (atomic_read(&key->enabled) != 0) { in static_key_enable()
309 WARN_ON_ONCE(atomic_read(&key->enabled) != 1); in static_key_enable()
312 atomic_set(&key->enabled, 1); in static_key_enable()
[all …]
/kernel/linux/linux-5.10/drivers/base/power/
Dsysfs.c353 bool enabled = false; in wakeup_count_show() local
358 enabled = true; in wakeup_count_show()
362 if (!enabled) in wakeup_count_show()
374 bool enabled = false; in wakeup_active_count_show() local
379 enabled = true; in wakeup_active_count_show()
383 if (!enabled) in wakeup_active_count_show()
395 bool enabled = false; in wakeup_abort_count_show() local
400 enabled = true; in wakeup_abort_count_show()
404 if (!enabled) in wakeup_abort_count_show()
416 bool enabled = false; in wakeup_expire_count_show() local
[all …]
/kernel/linux/linux-5.10/drivers/greybus/
Dsvc_watchdog.c18 bool enabled; member
98 watchdog->enabled = false; in do_work()
103 if (watchdog->enabled) in do_work()
119 watchdog->enabled = false; in gb_svc_watchdog_create()
164 return svc->watchdog->enabled; in gb_svc_watchdog_enabled()
175 if (watchdog->enabled) in gb_svc_watchdog_enable()
178 watchdog->enabled = true; in gb_svc_watchdog_enable()
191 if (!watchdog->enabled) in gb_svc_watchdog_disable()
194 watchdog->enabled = false; in gb_svc_watchdog_disable()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtl818x/rtl8187/
Drfkill.c44 bool enabled; in rtl8187_rfkill_poll() local
48 enabled = rtl8187_is_radio_enabled(priv); in rtl8187_rfkill_poll()
49 if (unlikely(enabled != priv->rfkill_off)) { in rtl8187_rfkill_poll()
50 priv->rfkill_off = enabled; in rtl8187_rfkill_poll()
52 enabled ? "on" : "off"); in rtl8187_rfkill_poll()
53 wiphy_rfkill_set_hw_state(hw->wiphy, !enabled); in rtl8187_rfkill_poll()
/kernel/linux/linux-5.10/drivers/pinctrl/aspeed/
Dpinmux-aspeed.c41 bool enabled, struct regmap *map) in aspeed_sig_desc_eval() argument
54 aspeed_sig_desc_print_val(desc, enabled, raw); in aspeed_sig_desc_eval()
55 want = enabled ? desc->enable : desc->disable; in aspeed_sig_desc_eval()
82 const struct aspeed_sig_expr *expr, bool enabled) in aspeed_sig_expr_eval() argument
88 return ctx->ops->eval(ctx, expr, enabled); in aspeed_sig_expr_eval()
93 ret = aspeed_sig_desc_eval(desc, enabled, ctx->maps[desc->ip]); in aspeed_sig_expr_eval()
/kernel/linux/linux-5.10/drivers/net/
Dnetconsole.c101 bool enabled; member
199 nt->enabled = true; in alloc_param_target()
248 return snprintf(buf, PAGE_SIZE, "%d\n", to_target(item)->enabled); in enabled_show()
316 int enabled; in enabled_store() local
320 err = kstrtoint(buf, 10, &enabled); in enabled_store()
325 if (enabled < 0 || enabled > 1) in enabled_store()
327 if ((bool)enabled == nt->enabled) { in enabled_store()
329 nt->enabled ? "started" : "stopped"); in enabled_store()
333 if (enabled) { /* true */ in enabled_store()
356 nt->enabled = false; in enabled_store()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/vkms/
Dvkms_composer.c258 static int vkms_crc_parse_source(const char *src_name, bool *enabled) in vkms_crc_parse_source() argument
263 *enabled = false; in vkms_crc_parse_source()
265 *enabled = true; in vkms_crc_parse_source()
267 *enabled = false; in vkms_crc_parse_source()
277 bool enabled; in vkms_verify_crc_source() local
279 if (vkms_crc_parse_source(src_name, &enabled) < 0) { in vkms_verify_crc_source()
289 void vkms_set_composer(struct vkms_output *out, bool enabled) in vkms_set_composer() argument
293 if (enabled) in vkms_set_composer()
298 out->composer_enabled = enabled; in vkms_set_composer()
308 bool enabled = false; in vkms_set_crc_source() local
[all …]
/kernel/linux/linux-5.10/arch/mips/mm/
Dsc-debugfs.c16 bool enabled = bc_prefetch_is_enabled(); in sc_prefetch_read() local
19 buf[0] = enabled ? 'Y' : 'N'; in sc_prefetch_read()
30 bool enabled; in sc_prefetch_write() local
33 err = kstrtobool_from_user(user_buf, count, &enabled); in sc_prefetch_write()
37 if (enabled) in sc_prefetch_write()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Doffloading.c103 u32 enabled = 0, size; in iwl_mvm_send_proto_offload() local
168 enabled |= IWL_D3_PROTO_IPV6_VALID; in iwl_mvm_send_proto_offload()
195 enabled |= IWL_D3_PROTO_IPV6_VALID; in iwl_mvm_send_proto_offload()
217 enabled |= IWL_D3_PROTO_IPV6_VALID; in iwl_mvm_send_proto_offload()
222 if (offload_ns && (enabled & IWL_D3_PROTO_IPV6_VALID)) in iwl_mvm_send_proto_offload()
223 enabled |= IWL_D3_PROTO_OFFLOAD_NS; in iwl_mvm_send_proto_offload()
240 enabled |= IWL_D3_PROTO_OFFLOAD_ARP | IWL_D3_PROTO_IPV4_VALID; in iwl_mvm_send_proto_offload()
246 common->enabled = cpu_to_le32(enabled); in iwl_mvm_send_proto_offload()
/kernel/linux/linux-5.10/drivers/acpi/acpica/
Dextrace.c171 u8 enabled = FALSE; in acpi_ex_start_trace_method() local
179 enabled = acpi_ex_interpreter_trace_enabled(pathname); in acpi_ex_start_trace_method()
180 if (enabled && !acpi_gbl_trace_method_object) { in acpi_ex_start_trace_method()
196 if (enabled) { in acpi_ex_start_trace_method()
228 u8 enabled; in acpi_ex_stop_trace_method() local
236 enabled = acpi_ex_interpreter_trace_enabled(NULL); in acpi_ex_stop_trace_method()
238 if (enabled) { in acpi_ex_stop_trace_method()
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-class-backlight-driver-lm353348 bit 5 PWM-input enabled in Zone 4
49 bit 4 PWM-input enabled in Zone 3
50 bit 3 PWM-input enabled in Zone 2
51 bit 2 PWM-input enabled in Zone 1
52 bit 1 PWM-input enabled in Zone 0
53 bit 0 PWM-input enabled
/kernel/linux/linux-5.10/arch/alpha/oprofile/
Dop_model_ev4.c39 ctl |= (ctr[0].enabled ? ctr[0].event << 8 : 14 << 8); in ev4_reg_setup()
40 ctl |= (ctr[1].enabled ? (ctr[1].event - 16) << 32 : 7ul << 32); in ev4_reg_setup()
54 ctl |= (ctr[0].enabled && hilo) << 3; in ev4_reg_setup()
62 ctl |= (ctr[1].enabled && hilo); in ev4_reg_setup()
98 if (!ctr[which].enabled) in ev4_handle_interrupt()
/kernel/linux/linux-5.10/drivers/net/ipa/
Dipa_interrupt.c41 u32 enabled; member
79 u32 enabled = interrupt->enabled; in ipa_interrupt_process_all() local
87 while ((mask &= enabled)) { in ipa_interrupt_process_all()
121 if (mask & interrupt->enabled) in ipa_isr()
190 interrupt->enabled |= BIT(ipa_irq); in ipa_interrupt_add()
191 iowrite32(interrupt->enabled, ipa->reg_virt + IPA_REG_IRQ_EN_OFFSET); in ipa_interrupt_add()
202 interrupt->enabled &= ~BIT(ipa_irq); in ipa_interrupt_remove()
203 iowrite32(interrupt->enabled, ipa->reg_virt + IPA_REG_IRQ_EN_OFFSET); in ipa_interrupt_remove()
/kernel/linux/linux-5.10/net/dsa/
Dtag_8021q.c150 u16 flags, bool enabled) in dsa_8021q_vid_apply() argument
154 if (enabled) in dsa_8021q_vid_apply()
213 bool enabled) in dsa_8021q_setup_port() argument
247 err = dsa_8021q_vid_apply(ctx, i, rx_vid, flags, enabled); in dsa_8021q_setup_port()
259 err = dsa_8021q_vid_apply(ctx, upstream, rx_vid, 0, enabled); in dsa_8021q_setup_port()
274 if (enabled) in dsa_8021q_setup_port()
282 enabled); in dsa_8021q_setup_port()
289 err = dsa_8021q_vid_apply(ctx, upstream, tx_vid, 0, enabled); in dsa_8021q_setup_port()
300 int dsa_8021q_setup(struct dsa_8021q_context *ctx, bool enabled) in dsa_8021q_setup() argument
307 rc = dsa_8021q_setup_port(ctx, port, enabled); in dsa_8021q_setup()
[all …]
/kernel/linux/linux-5.10/tools/perf/arch/x86/tests/
Drdpmc.c41 u64 count, cyc = 0, time_offset = 0, enabled, running, delta; in mmap_read_self() local
47 enabled = pc->time_enabled; in mmap_read_self()
50 if (enabled != running) { in mmap_read_self()
65 if (enabled != running) { in mmap_read_self()
73 enabled += delta; in mmap_read_self()
79 count = quot * enabled + (rem * enabled) / running; in mmap_read_self()
/kernel/linux/linux-5.10/drivers/input/misc/
Dsc27xx-vibra.c23 bool enabled; member
32 info->enabled = true; in sc27xx_vibra_set()
38 info->enabled = false; in sc27xx_vibra_set()
52 if (info->strength && !info->enabled) in sc27xx_vibra_play_work()
54 else if (info->strength == 0 && info->enabled) in sc27xx_vibra_play_work()
74 if (info->enabled) in sc27xx_vibra_close()
112 info->enabled = false; in sc27xx_vibra_probe()

12345678910>>...100