/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/Documentation/networking/ |
H A D | ip-sysctl.rst | 20 - 1 (enabled) 30 Disable Path MTU Discovery. If enabled in mode 1 and a 46 association. This mode should not be enabled globally but is 49 protocols should be discarded. If enabled globally this mode 72 - 1 (enabled) 79 If disabled, these packets have a fwmark of zero. If enabled, they have the 85 - 1 (enabled) 93 built with CONFIG_IP_ROUTE_MULTIPATH enabled. 98 - 1 (enabled) 104 for kernels built with CONFIG_IP_ROUTE_MULTIPATH enabled. [all …]
|
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/drivers/dpll/zl3073x/ |
H A D | core.h | 31 * @enabled: input reference is enabled or disabled 36 bool enabled; member 43 * @enabled: out is enabled or disabled 48 bool enabled; member 57 * @enabled: synth is enabled or disabled 62 bool enabled; member 202 * zl3073x_ref_is_enabled - check if the given input reference is enabled 206 * Return: true if input refernce is enabled, false otherwise 211 return zldev->ref[index].enabled; in zl3073x_ref_is_enabled() 241 * zl3073x_synth_is_enabled - check if the given synth is enabled [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 42 /// A state where the [`Regulator`] is known to be enabled. 46 pub struct Enabled; struct 49 /// underlying regulator to be enabled. This means that this reference does not 53 /// A state that models the C API. The [`Regulator`] can be either enabled or 60 impl RegulatorState for Enabled { implementation 72 /// A trait that abstracts the ability to check if a [`Regulator`] is enabled. 92 /// This example uses [`Regulator<Enabled>`], which is suitable for drivers that 96 /// These users can store [`Regulator<Enabled>`] directly in their driver's 103 /// # use kernel::regulator::{Voltage, Regulator, Disabled, Enabled}; [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/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/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/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() 471 if (rtc->aie_timer.enabled) in rtc_set_alarm() 484 if (alarm->enabled) in rtc_set_alarm() 514 /* Alarm has to be enabled & in the future for us to enqueue it */ in rtc_initialize_alarm() 515 if (alarm->enabled && (rtc_tm_to_ktime(now) < in rtc_initialize_alarm() 517 rtc->aie_timer.enabled = 1; in rtc_initialize_alarm() [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/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/Documentation/ABI/testing/ |
H A D | sysfs-devices-power | 14 space to check if the device is enabled to wake up the system 24 + "enabled\n" to issue the events; 28 by the contents of this file by writing either "enabled", or 33 be enabled to wake up the system from sleep states. 67 + "enabled\n" to permit the asynchronous suspend/resume; 71 "enabled", or "disabled" to it. 76 devices this attribute is set to "enabled" by bus type code or 88 If the device is not enabled to wake up the system from sleep 100 the device is not enabled to wake up the system from sleep 112 attribute is not present. If the device is not enabled to wake [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 …]
|
/linux/kernel/trace/rv/ |
H A D | rv.c | 70 * a verification session. For instance, when a given monitor is enabled, 94 * - Lists the enabled monitors, one per line; 97 * - Truncating the file disables all enabled monitors. 113 * Note that more than one monitor can be enabled concurrently. 117 * that it does not disable enabled monitors or detach events, 247 buff = mon->enabled ? "1\n" : "0\n"; in monitor_enable_read_data() 253 * __rv_disable_monitor - disabled an enabled monitor 259 if (mon->enabled) { in __rv_disable_monitor() 260 mon->enabled = 0; in __rv_disable_monitor() 267 * be inconsistent. i.e., if the monitor is re-enabled. in __rv_disable_monitor() [all …]
|
/linux/Documentation/power/regulator/ |
H A D | consumer.rst | 44 The supply may already be enabled before regulator_enable() is called. 46 previously enabled by bootloader or kernel board initialization code. 48 A consumer can determine if a regulator is enabled by calling:: 52 This will return > zero when the regulator is enabled. 61 regulator will only be disabled when the enabled reference count is zero. 87 NOTE: this can be called when the regulator is enabled or disabled. If called 88 when enabled, then the voltage changes instantly, otherwise the voltage 90 next enabled. 98 regulator is enabled or disabled and should NOT be used to determine regulator 119 this can be called when the regulator is enabled or disabled. If called [all …]
|