Home
last modified time | relevance | path

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

12345678910>>...110

/linux-6.6.21/Documentation/admin-guide/
Dkernel-parameters.rst93 were enabled and if respective hardware is present. This list should be kept
98 ACPI ACPI support is enabled.
99 AGP AGP (Accelerated Graphics Port) is enabled.
100 ALSA ALSA sound support is enabled.
101 APIC APIC support is enabled.
102 APM Advanced Power Management support is enabled.
103 APPARMOR AppArmor support is enabled.
104 ARM ARM architecture is enabled.
105 ARM64 ARM64 architecture is enabled.
106 AX25 Appropriate AX.25 support is enabled.
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/tools/testing/selftests/net/forwarding/
Dethtool_mm.sh53 ethtool --set-mm $rx tx-enabled on
54 ethtool --set-mm $tx verify-enabled on tx-enabled on
69 ethtool --set-mm $tx verify-enabled off tx-enabled off
70 ethtool --set-mm $rx tx-enabled off
92 ethtool --set-mm $tx verify-enabled off tx-enabled on
104 ethtool --set-mm $tx verify-enabled off tx-enabled off
126 ethtool --set-mm $rx pmac-enabled off
127 ethtool --set-mm $tx verify-enabled on tx-enabled on
142 ethtool --set-mm $tx verify-enabled off tx-enabled off
143 ethtool --set-mm $rx pmac-enabled on
[all …]
/linux-6.6.21/drivers/usb/typec/mux/
Dgpio-sbu-mux.c22 bool enabled; member
30 bool enabled; in gpio_sbu_switch_set() local
35 enabled = sbu_mux->enabled; in gpio_sbu_switch_set()
40 enabled = false; in gpio_sbu_switch_set()
50 if (enabled != sbu_mux->enabled) in gpio_sbu_switch_set()
51 gpiod_set_value(sbu_mux->enable_gpio, enabled); in gpio_sbu_switch_set()
56 sbu_mux->enabled = enabled; in gpio_sbu_switch_set()
74 sbu_mux->enabled = false; in gpio_sbu_mux_set()
79 sbu_mux->enabled = true; in gpio_sbu_mux_set()
85 gpiod_set_value(sbu_mux->enable_gpio, sbu_mux->enabled); in gpio_sbu_mux_set()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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",
/linux-6.6.21/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()
379 if (err && alarm->enabled) in __rtc_read_alarm()
399 alarm->enabled = rtc->aie_timer.enabled; in rtc_read_alarm()
470 if (rtc->aie_timer.enabled) in rtc_set_alarm()
483 if (alarm->enabled) in rtc_set_alarm()
514 if (alarm->enabled && (rtc_tm_to_ktime(now) < in rtc_initialize_alarm()
516 rtc->aie_timer.enabled = 1; in rtc_initialize_alarm()
525 int rtc_alarm_irq_enable(struct rtc_device *rtc, unsigned int enabled) in rtc_alarm_irq_enable() argument
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/regulator/
Duserspace-consumer.c27 bool enabled; member
47 if (data->enabled) in state_show()
57 bool enabled; in state_store() local
65 enabled = true; in state_store()
67 enabled = false; in state_store()
74 if (enabled != data->enabled) { in state_store()
75 if (enabled) in state_store()
83 data->enabled = enabled; in state_store()
187 drvdata->enabled = !!ret; in regulator_userspace_consumer_probe()
203 if (data->enabled && !data->no_autoswitch) in regulator_userspace_consumer_remove()
/linux-6.6.21/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 …]
/linux-6.6.21/include/linux/
Djump_label.h86 atomic_t enabled; member
247 { .enabled = { 1 }, \
250 { .enabled = { 0 }, \
260 return raw_atomic_read(&key->enabled); in static_key_count()
291 v = atomic_read(&key->enabled); in static_key_fast_inc_not_disabled()
295 } while (!likely(atomic_try_cmpxchg(&key->enabled, &v, v + 1))); in static_key_fast_inc_not_disabled()
303 atomic_dec(&key->enabled); in static_key_slow_dec()
321 if (atomic_read(&key->enabled) != 0) { in static_key_enable()
322 WARN_ON_ONCE(atomic_read(&key->enabled) != 1); in static_key_enable()
325 atomic_set(&key->enabled, 1); in static_key_enable()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/samples/user_events/
Dexample.c19 int enabled = 0; variable
21 static int event_reg(int fd, const char *command, int *write, int *enabled) in event_reg() argument
27 reg.enable_size = sizeof(*enabled); in event_reg()
28 reg.enable_addr = (__u64)enabled; in event_reg()
47 if (event_reg(data_fd, "test u32 count", &write, &enabled) == -1) in main()
60 if (enabled) { in main()
/linux-6.6.21/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()
/linux-6.6.21/drivers/pinctrl/aspeed/
Dpinmux-aspeed.c42 bool enabled, struct regmap *map) in aspeed_sig_desc_eval() argument
55 aspeed_sig_desc_print_val(desc, enabled, raw); in aspeed_sig_desc_eval()
56 want = enabled ? desc->enable : desc->disable; in aspeed_sig_desc_eval()
84 const struct aspeed_sig_expr *expr, bool enabled) in aspeed_sig_expr_eval() argument
90 return ctx->ops->eval(ctx, expr, enabled); in aspeed_sig_expr_eval()
95 ret = aspeed_sig_desc_eval(desc, enabled, ctx->maps[desc->ip]); in aspeed_sig_expr_eval()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Doffloading.c48 u32 enabled = 0, size; in iwl_mvm_send_proto_offload() local
115 enabled |= IWL_D3_PROTO_IPV6_VALID; in iwl_mvm_send_proto_offload()
142 enabled |= IWL_D3_PROTO_IPV6_VALID; in iwl_mvm_send_proto_offload()
164 enabled |= IWL_D3_PROTO_IPV6_VALID; in iwl_mvm_send_proto_offload()
169 if (offload_ns && (enabled & IWL_D3_PROTO_IPV6_VALID)) in iwl_mvm_send_proto_offload()
170 enabled |= IWL_D3_PROTO_OFFLOAD_NS; in iwl_mvm_send_proto_offload()
196 enabled |= IWL_D3_PROTO_OFFLOAD_ARP | IWL_D3_PROTO_IPV4_VALID; in iwl_mvm_send_proto_offload()
203 enabled |= IWL_D3_PROTO_OFFLOAD_BTM; in iwl_mvm_send_proto_offload()
206 common->enabled = cpu_to_le32(enabled); in iwl_mvm_send_proto_offload()
/linux-6.6.21/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()
/linux-6.6.21/tools/verification/rv/src/
Din_kernel.c35 long long enabled; in __ikm_read_enable() local
40 retval = tracefs_instance_file_read_number(NULL, path, &enabled); in __ikm_read_enable()
44 return enabled; in __ikm_read_enable()
54 int enabled; in ikm_read_enable() local
56 enabled = __ikm_read_enable(monitor_name); in ikm_read_enable()
57 if (enabled < 0) { in ikm_read_enable()
58 err_msg("ikm: fail read enabled: %d\n", enabled); in ikm_read_enable()
62 debug_msg("ikm: read enabled: %d\n", enabled); in ikm_read_enable()
64 return enabled; in ikm_read_enable()
139 int enabled; in ikm_fill_monitor_definition() local
[all …]
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/
Dnetconsole.c105 bool enabled; member
231 nt->enabled = true; in alloc_param_target()
281 return sysfs_emit(buf, "%d\n", to_target(item)->enabled); in enabled_show()
354 bool enabled; in enabled_store() local
358 err = kstrtobool(buf, &enabled); in enabled_store()
363 if ((bool)enabled == nt->enabled) { in enabled_store()
365 nt->enabled ? "started" : "stopped"); in enabled_store()
369 if (enabled) { /* true */ in enabled_store()
395 nt->enabled = false; in enabled_store()
400 nt->enabled = enabled; in enabled_store()
[all …]
/linux-6.6.21/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
/linux-6.6.21/tools/perf/util/bpf_skel/
Dbperf_cgroup.bpf.c61 int enabled = 0; variable
170 val.counter = val.enabled = val.running = 0; in bperf_cgroup_count()
184 if (enabled) { in bperf_cgroup_count()
186 delta.enabled = val.enabled - prev_val->enabled; in bperf_cgroup_count()
200 cgrp_val->enabled += delta.enabled; in bperf_cgroup_count()
/linux-6.6.21/tools/testing/selftests/mm/
Dmdwe_test.c46 bool enabled; in FIXTURE_VARIANT() local
52 .enabled = false, in FIXTURE_VARIANT_ADD()
56 FIXTURE_VARIANT_ADD(mdwe, enabled) in FIXTURE_VARIANT_ADD() argument
58 .enabled = true, in FIXTURE_VARIANT_ADD()
64 .enabled = true, in FIXTURE_VARIANT_ADD()
76 if (!variant->enabled) in FIXTURE_SETUP()
116 if (variant->enabled) { in TEST_F()
142 if (variant->enabled) { in TEST_F()
157 if (variant->enabled) { in TEST_F()
/linux-6.6.21/drivers/video/fbdev/core/
Dfb_cmdline.c40 bool enabled; in fb_get_options() local
45 enabled = __video_get_options(name, &options, is_of); in fb_get_options()
49 enabled = false; in fb_get_options()
59 return enabled ? 0 : 1; // 0 on success, 1 otherwise in fb_get_options()

12345678910>>...110