/linux/tools/testing/selftests/drivers/net/hw/ |
H A D | ethtool_mm.sh | 56 # NXP ENETC does not, and requires tx-enabled on in order to respond to 58 ethtool --set-mm $rx tx-enabled on 59 ethtool --set-mm $tx verify-enabled on tx-enabled on 74 ethtool --set-mm $tx verify-enabled off tx-enabled off 75 ethtool --set-mm $rx tx-enabled off 97 ethtool --set-mm $tx verify-enabled off tx-enabled on 109 ethtool --set-mm $tx verify-enabled off tx-enabled off 131 ethtool --set-mm $rx pmac-enabled off 132 ethtool --set-mm $tx verify-enabled on tx-enabled on 147 ethtool --set-mm $tx verify-enabled off tx-enabled off [all …]
|
/linux/drivers/pinctrl/aspeed/ |
H A D | pinmux-aspeed.c | 24 * aspeed_sig_desc_eval() - Query the enabled or disabled state of a signal 28 * @enabled: True to query the enabled state, false to query disabled state 32 * selected by @enabled, 0 if not, and less than zero if an unrecoverable 37 * a value that is neither the enabled nor disabled state recorded in the 39 * is enabled). Thus we must explicitly test for either condition as required. 42 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() 62 * aspeed_sig_expr_eval - Query the enabled or disabled state for a 67 * @enabled: True to query the enabled state, false to query disabled state [all …]
|
/linux/tools/verification/models/sched/ |
H A D | opid.dot | 6 {node [shape = doublecircle] "enabled"}; 7 {node [shape = circle] "enabled"}; 16 "enabled" [label = "enabled", color = green3]; 17 "enabled" -> "enabled" [ label = "preempt_enable" ]; 18 "enabled" -> "irq_disabled" [ label = "irq_disable" ]; 19 "enabled" -> "preempt_disabled" [ label = "preempt_disable" ]; 21 "in_irq" -> "enabled" [ label = "irq_enable" ]; 25 "irq_disabled" -> "enabled" [ label = "irq_enable" ]; 30 "preempt_disabled" -> "enabled" [ label = "preempt_enable" ];
|
/linux/rust/kernel/ |
H A D | regulator.rs | 31 impl Sealed for super::Enabled {} implementation 41 /// A state where the [`Regulator`] is known to be enabled. 45 pub struct Enabled; 48 /// underlying regulator to be enabled. This means that this reference does not 52 impl RegulatorState for Enabled { 60 /// A trait that abstracts the ability to check if a [`Regulator`] is enabled. implementation 79 /// cares about the regulator being enabled. 114 /// This example uses [`Regulator<Enabled>`], which is suitable for drivers that 118 /// These users can store [`Regulator<Enabled>`] directly in their driver's 125 /// # use kernel::regulator::{Voltage, Regulator, Disabled, Enabled}; 46 pub struct Enabled; global() struct 310 try_into_enabled(self) -> Result<Regulator<Enabled>, Error<Disabled>> try_into_enabled() argument 339 try_into_disabled(self) -> Result<Regulator<Disabled>, Error<Enabled>> try_into_disabled() argument [all...] |
/linux/samples/damon/ |
H A D | wsse.c | 31 static bool enabled __read_mostly; 32 module_param_cb(enabled, &enabled_param_ops, &enabled, 0600); 33 MODULE_PARM_DESC(enabled, "Enable or disable DAMON_SAMPLE_WSSE"); 108 bool is_enabled = enabled; in damon_sample_wsse_enable_store() 111 err = kstrtobool(val, &enabled); in damon_sample_wsse_enable_store() 115 if (enabled == is_enabled) in damon_sample_wsse_enable_store() 121 if (enabled) { in damon_sample_wsse_enable_store() 124 enabled = false; in damon_sample_wsse_enable_store() 137 if (enabled) in damon_sample_wsse_init() 138 enabled = false; in damon_sample_wsse_init() [all …]
|
H A D | prcl.c | 30 static bool enabled __read_mostly; 31 module_param_cb(enabled, &enabled_param_ops, &enabled, 0600); 32 MODULE_PARM_DESC(enabled, "Enable or disable DAMON_SAMPLE_PRCL"); 128 bool is_enabled = enabled; in damon_sample_prcl_enable_store() 131 err = kstrtobool(val, &enabled); in damon_sample_prcl_enable_store() 135 if (enabled == is_enabled) in damon_sample_prcl_enable_store() 141 if (enabled) { in damon_sample_prcl_enable_store() 144 enabled = false; in damon_sample_prcl_enable_store() 156 if (enabled) in damon_sample_prcl_init() 157 enabled = false; in damon_sample_prcl_init() [all …]
|
H A D | mtier.c | 46 static bool enabled __read_mostly; 47 module_param_cb(enabled, &enabled_param_ops, &enabled, 0600); 48 MODULE_PARM_DESC(enabled, "Enable or disable DAMON_SAMPLE_MTIER"); 199 bool is_enabled = enabled; in damon_sample_mtier_enable_store() 202 err = kstrtobool(val, &enabled); in damon_sample_mtier_enable_store() 206 if (enabled == is_enabled) in damon_sample_mtier_enable_store() 212 if (enabled) { in damon_sample_mtier_enable_store() 215 enabled = false; in damon_sample_mtier_enable_store() 227 if (enabled) in damon_sample_mtier_init() 228 enabled = false; in damon_sample_mtier_init() [all …]
|
/linux/tools/perf/pmu-events/arch/x86/clearwaterforest/ |
H A D | cache.json | 39 …ed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.", 45 …hreshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled. Available PDIST … 50 …ed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.", 56 …hreshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled. Available PDIST … 61 …ed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.", 67 …hreshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled. Available PDIST … 72 …ed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.", 78 …hreshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled. Available PDIST … 83 …ed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.", 89 …hreshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled. Available PDIST … [all …]
|
/linux/drivers/net/wireless/broadcom/b43/ |
H A D | rfkill.c | 15 /* Returns TRUE, if the radio is enabled in hardware. */ 27 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/drivers/net/wireless/broadcom/b43legacy/ |
H A D | rfkill.c | 16 /* Returns TRUE, if the radio is enabled in hardware. */ 44 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/include/trace/events/ |
H A D | rtc.h | 82 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/drivers/base/power/ |
H A D | sysfs.c | 35 * + "enabled\n" to issue the events; 64 * state transitions can be enabled by writing "enabled" to this file. 70 * + "enabled\n" to permit the asynchronous suspend/resume of the device; 76 * attribute is set to "enabled" by bus type code or device drivers and in 320 static const char _enabled[] = "enabled"; 352 bool enabled = false; in wakeup_count_show() local 357 enabled = true; in wakeup_count_show() 361 if (!enabled) in wakeup_count_show() 373 bool enabled = false; in wakeup_active_count_show() local 378 enabled = true; in wakeup_active_count_show() [all …]
|
/linux/Documentation/networking/ |
H A D | ipvs-sysctl.rst | 22 enabled and the variable is automatically set to 2, otherwise 27 - not 0 - enabled 54 - not 0 - enabled 59 This should be enabled if connections handled by IPVS are to be 67 Only available when IPVS is compiled with CONFIG_IP_VS_NFCT enabled. 71 - not 0 - enabled 73 If it is enabled, forward packets to the original destination 93 Only available when IPVS is compiled with CONFIG_IP_VS_DEBUG enabled. 114 is enabled and the variable is automatically set to 2, 116 1), and 3 means that the strategy is always enabled. [all …]
|
H A D | nf_conntrack-sysctl.rst | 12 - not 0 - enabled 26 - not 0 - enabled (default) 29 in INVALID state. If this is enabled, such packets will not be 37 - 1 - enabled 40 If this option is enabled, the connection tracking code will 104 - not 0 - enabled 111 - 1 - enabled 117 - not 0 - enabled (default) 161 - not 0 - enabled 214 - not 0 - enabled [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | mediatek,mt8365-pinctrl.yaml | 84 101: (R1, R0) = (0, 1) which means R1 disabled and R0 enabled. 85 102: (R1, R0) = (1, 0) which means R1 enabled and R0 disabled. 86 103: (R1, R0) = (1, 1) which means R1 enabled and R0 enabled. 98 101: (R1, R0) = (0, 1) which means R1 disabled and R0 enabled. 99 102: (R1, R0) = (1, 0) which means R1 enabled and R0 disabled. 100 103: (R1, R0) = (1, 1) which means R1 enabled and R0 enabled. 156 1: (R1, R0) = (0, 1) which means R1 disabled and R0 enabled. 157 2: (R1, R0) = (1, 0) which means R1 enabled and R0 disabled. 158 3: (R1, R0) = (1, 1) which means R1 enabled and R0 enabled. 170 1: (R1, R0) = (0, 1) which means R1 disabled and R0 enabled. [all …]
|
/linux/tools/testing/selftests/mm/ |
H A D | thp_settings.c | 209 .thp_enabled = thp_read_string("enabled", thp_enabled_strings), in thp_read_settings() 231 settings->hugepages[i].enabled = THP_NEVER; in thp_read_settings() 234 snprintf(path, PATH_MAX, "hugepages-%ukB/enabled", in thp_read_settings() 236 settings->hugepages[i].enabled = in thp_read_settings() 242 settings->shmem_hugepages[i].enabled = SHMEM_NEVER; in thp_read_settings() 247 settings->shmem_hugepages[i].enabled = in thp_read_settings() 258 int enabled; in thp_write_settings() local 261 thp_write_string("enabled", thp_enabled_strings[settings->thp_enabled]); in thp_write_settings() 283 snprintf(path, PATH_MAX, "hugepages-%ukB/enabled", in thp_write_settings() 285 enabled = settings->hugepages[i].enabled; in thp_write_settings() [all …]
|
/linux/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi_audio.c | 19 bool enabled = audio->enabled; in msm_hdmi_audio_update() local 26 DBG("audio: enabled=%d, channels=%d, rate=%d", in msm_hdmi_audio_update() 27 audio->enabled, audio->channels, audio->rate); in msm_hdmi_audio_update() 31 if (enabled && !(hdmi->power_on && hdmi->pixclock)) { in msm_hdmi_audio_update() 33 enabled = false; in msm_hdmi_audio_update() 45 if (enabled) { in msm_hdmi_audio_update() 114 COND(enabled, HDMI_AUD_INT_AUD_FIFO_URUN_INT) | in msm_hdmi_audio_update() 115 COND(enabled, HDMI_AUD_INT_AUD_SAM_DROP_INT)); in msm_hdmi_audio_update() 120 DBG("audio %sabled", enabled ? "en" : "dis"); in msm_hdmi_audio_update() 161 hdmi->audio.enabled = true; in msm_hdmi_bridge_audio_prepare() [all …]
|
/linux/Documentation/trace/coresight/ |
H A D | coresight-config.rst | 15 can then be easily enabled from sysfs or perf. 20 be defined and enabled as named configurations. 45 The feature will not be active on the device until the feature is enabled, and 46 the device itself is enabled. When the device is enabled then enabled features 49 A feature is enabled as part of a configuration being enabled on the system. 56 feature being enabled that can adjust the behaviour of the operation programmed 60 at a given rate. When the feature is enabled then the current value of the 70 is enabled on that device. 82 enabled on a class of devices - i.e. any ETMv4, or specific devices, e.g. a 86 This will define the features that must be enabled as part of the configuration [all …]
|
/linux/drivers/rtc/ |
H A D | interface.c | 141 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() 378 if (err && alarm->enabled) in __rtc_read_alarm() 400 alarm->enabled = rtc->aie_timer.enabled; in rtc_read_alarm() 494 if (rtc->aie_timer.enabled) in rtc_set_alarm() 507 if (alarm->enabled) in rtc_set_alarm() 537 /* Alarm has to be enabled & in the future for us to enqueue it */ in rtc_initialize_alarm() 538 if (alarm->enabled && (rtc_tm_to_ktime(now) < in rtc_initialize_alarm() 540 rtc->aie_timer.enabled = 1; in rtc_initialize_alarm() [all …]
|
/linux/Documentation/admin-guide/hw-vuln/ |
H A D | attack_vector_controls.rst | 27 To control the enabled attack vectors, see :ref:`cmdline`. 47 *user-to-kernel mitigations are enabled by default* 67 *user-to-user mitigations are enabled by default* 81 *guest-to-host mitigations are enabled by default if KVM support is present* 100 *guest-to-guest mitigations are enabled by default if KVM support is present* 114 If cross-thread mitigations are fully enabled ('auto,nosmt'), all mitigations 115 for cross-thread attacks will be enabled. SMT may be disabled depending on 118 If cross-thread mitigations are partially enabled ('auto'), mitigations for 119 cross-thread attacks will be enabled but SMT will not be disabled. 122 attacks will be enabled. [all …]
|
/linux/mm/damon/ |
H A D | stat.c | 27 static bool enabled __read_mostly = IS_ENABLED( 29 module_param_cb(enabled, &enabled_param_ops, &enabled, 0600); 30 MODULE_PARM_DESC(enabled, "Enable of disable DAMON_STAT"); 226 bool is_enabled = enabled; in damon_stat_enabled_store() 229 err = kstrtobool(val, &enabled); in damon_stat_enabled_store() 233 if (is_enabled == enabled) in damon_stat_enabled_store() 243 if (enabled) { in damon_stat_enabled_store() 246 enabled = false; in damon_stat_enabled_store() 263 if (enabled) in damon_stat_init() 267 if (err && enabled) in damon_stat_init() [all …]
|
/linux/tools/testing/selftests/livepatch/ |
H A D | test-sysfs.sh | 20 check_sysfs_rights "$MOD_LIVEPATCH" "enabled" "-rw-r--r--" 21 check_sysfs_value "$MOD_LIVEPATCH" "enabled" "1" 41 % echo 0 > $SYSFS_KLP_DIR/$MOD_LIVEPATCH/enabled 82 % echo 0 > $SYSFS_KLP_DIR/test_klp_callbacks_demo/enabled 91 start_test "sysfs test replace enabled" 108 % echo 0 > $SYSFS_KLP_DIR/$MOD_LIVEPATCH/enabled 131 % echo 0 > $SYSFS_KLP_DIR/$MOD_LIVEPATCH/enabled 184 % echo 0 > $SYSFS_KLP_DIR/$MOD_LIVEPATCH2/enabled 192 % echo 0 > $SYSFS_KLP_DIR/$MOD_LIVEPATCH3/enabled 198 % echo 0 > $SYSFS_KLP_DIR/$MOD_LIVEPATCH/enabled
|
/linux/include/linux/ |
H A D | jump_label.h | 87 atomic_t enabled; member 242 * We should be using ATOMIC_INIT() for initializing .enabled, but 244 * in 'low-level' headers. Thus, we are initializing .enabled with a 249 { .enabled = { 1 }, \ 252 { .enabled = { 0 }, \ 262 return raw_atomic_read(&key->enabled); in static_key_count() 292 * Prevent key->enabled getting negative to follow the same semantics in static_key_fast_inc_not_disabled() 295 v = atomic_read(&key->enabled); in static_key_fast_inc_not_disabled() 299 } while (!likely(atomic_try_cmpxchg(&key->enabled, &v, v + 1))); in static_key_fast_inc_not_disabled() 307 atomic_dec(&key->enabled); in static_key_slow_dec() [all …]
|
/linux/tools/testing/selftests/kexec/ |
H A D | test_kexec_load.sh | 16 kconfig_enabled "CONFIG_KEXEC=y" "kexec_load is enabled" 18 log_skip "kexec_load is not enabled" 21 kconfig_enabled "CONFIG_IMA_APPRAISE=y" "IMA enabled" 25 "IMA architecture specific policy enabled" 31 # kexec_load should fail in secure boot mode and CONFIG_IMA_ARCH_POLICY enabled 38 log_info "Either IMA or the IMA arch policy is not enabled"
|
/linux/tools/verification/rv/src/ |
H A D | in_kernel.c | 38 long long enabled; in __ikm_read_enable() local 43 retval = tracefs_instance_file_read_number(NULL, path, &enabled); in __ikm_read_enable() 47 return enabled; in __ikm_read_enable() 102 int enabled; in ikm_read_enable() local 104 enabled = __ikm_read_enable(monitor_name); in ikm_read_enable() 105 if (enabled < 0) { in ikm_read_enable() 106 err_msg("ikm: fail read enabled: %d\n", enabled); in ikm_read_enable() 110 debug_msg("ikm: read enabled: %d\n", enabled); in ikm_read_enable() 112 return enabled; in ikm_read_enable() 125 debug_msg("ikm: writing enabled: %s\n", enable_disable); in ikm_write_enable() [all …]
|