| /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 | |
| /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 | 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/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"); 113 bool is_enabled = enabled; in damon_sample_wsse_enable_store() 116 err = kstrtobool(val, &enabled); in damon_sample_wsse_enable_store() 120 if (enabled == is_enabled) in damon_sample_wsse_enable_store() 126 if (enabled) { in damon_sample_wsse_enable_store() 129 enabled = false; in damon_sample_wsse_enable_store() 142 if (enabled) 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"); 133 bool is_enabled = enabled; in damon_sample_prcl_enable_store() 136 err = kstrtobool(val, &enabled); in damon_sample_prcl_enable_store() 140 if (enabled == is_enabled) in damon_sample_prcl_enable_store() 146 if (enabled) { in damon_sample_prcl_enable_store() 149 enabled = false; in damon_sample_prcl_enable_store() 161 if (enabled) 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"); 214 bool is_enabled = enabled; in damon_sample_mtier_enable_store() 217 err = kstrtobool(val, &enabled); in damon_sample_mtier_enable_store() 221 if (enabled == is_enabled) in damon_sample_mtier_enable_store() 227 if (enabled) { in damon_sample_mtier_enable_store() 230 enabled = false; in damon_sample_mtier_init() 242 if (enabled) in damon_sample_mtier_init() [all...] |
| /linux/tools/perf/pmu-events/arch/x86/clearwaterforest/ |
| H A D | cache.json | |
| /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/rust/kernel/ |
| H A D | regulator.rs | 34 impl Sealed for super::Enabled {} implementation 44 /// A state where the [`Regulator`] is known to be enabled. 48 pub struct Enabled; struct 51 /// underlying regulator to be enabled. This means that this reference does not 55 impl RegulatorState for Enabled { implementation 63 /// A trait that abstracts the ability to check if a [`Regulator`] is enabled. 82 /// cares about the regulator being enabled. 119 /// This example uses [`Regulator<Enabled>`], which is suitable for drivers that 123 /// These users can store [`Regulator<Enabled>`] directly in their driver's 129 /// # use kernel::regulator::{Voltage, Regulator, Disabled, 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/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() 419 alarm->enabled = 1; in rtc_read_next_alarm() 440 alarm->enabled = rtc->aie_timer.enabled; in rtc_read_alarm() 534 if (rtc->aie_timer.enabled) in rtc_set_alarm() 547 if (alarm->enabled) in rtc_set_alarm() 577 /* Alarm has to be enabled & in the future for us to enqueue it */ in rtc_initialize_alarm() 578 if (alarm->enabled && (rtc_tm_to_ktime(now) < in rtc_initialize_alarm() [all …]
|
| /linux/tools/testing/selftests/mm/ |
| H A D | thp_settings.c | |
| /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/drivers/gpu/drm/vkms/ |
| H A D | vkms_configfs.c | 26 * @enabled: Protected by @lock. The device is created or destroyed when this 38 bool enabled; member 162 if (crtc->dev->enabled) in crtc_writeback_store() 212 if (dev->enabled) in make_crtc_group() 257 if (plane->dev->enabled) in plane_possible_crtcs_allow_link() 318 if (plane->dev->enabled) in plane_type_store() 368 if (dev->enabled) in make_plane_group() 419 if (encoder->dev->enabled) in encoder_possible_crtcs_allow_link() 484 if (dev->enabled) in make_encoder_group() 554 if (connector->dev->enabled) in connector_status_store() [all …]
|
| /linux/tools/testing/selftests/livepatch/ |
| H A D | test-sysfs.sh | 24 check_sysfs_rights "$MOD_LIVEPATCH" "enabled" "-rw-r--r--" 25 check_sysfs_value "$MOD_LIVEPATCH" "enabled" "1" 57 % echo 0 > $SYSFS_KLP_DIR/$MOD_LIVEPATCH/enabled 98 % echo 0 > $SYSFS_KLP_DIR/$MOD_LIVEPATCH2/enabled 109 start_test "sysfs test replace enabled" 126 % echo 0 > $SYSFS_KLP_DIR/$MOD_ATOMIC_REPLACE/enabled 149 % echo 0 > $SYSFS_KLP_DIR/$MOD_ATOMIC_REPLACE/enabled 204 % echo 0 > $SYSFS_KLP_DIR/$MOD_LIVEPATCH2/enabled 212 % echo 0 > $SYSFS_KLP_DIR/$MOD_LIVEPATCH3/enabled 218 % echo 0 > $SYSFS_KLP_DIR/$MOD_LIVEPATCH/enabled [all...] |
| /linux/security/ |
| H A D | lsm_init.c | 13 /* LSM enabled constants. */ 100 * lsm_enabled_set - Mark a LSM as enabled 102 * @enabled: enabled flag 104 static void __init lsm_enabled_set(struct lsm_info *lsm, bool enabled) in lsm_enabled_set() argument 108 * a hard-coded location for storing the default enabled state. in lsm_enabled_set() 110 if (!lsm->enabled || in lsm_enabled_set() 111 lsm->enabled == &lsm_enabled_true || in lsm_enabled_set() 112 lsm->enabled == &lsm_enabled_false) { in lsm_enabled_set() 113 lsm->enabled in lsm_enabled_set() [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/testing/selftests/drivers/net/bonding/ |
| H A D | netcons_over_bonding.sh | 169 echo 0 > "${NETCONS_PATH}"/enabled 181 if [[ $(cat "${NETCONS_PATH}"/enabled) -eq 1 ]] 199 if [[ $(cat "${NETCONS_PATH}"/enabled) -eq 0 ]] 224 # BOND_TX1_SLAVE_IF has netconsole enabled on it, bind it to BOND_TX_MAIN_IF. 228 if [[ $(cat "${NETCONS_PATH}"/enabled) -eq 0 ]] 230 echo "test failed: netconsole expected to be enabled against BOND_TX1_SLAVE_IF" >&2 249 if [[ $(cat "${NETCONS_PATH}"/enabled) -eq 1 ]] 251 echo "test failed: Device is part of a bond iface, cannot have netcons enabled" >&2 256 # Get netconsole enabled on a bonding interface and attach a second 267 if [[ $(cat "${NETCONS_PATH}"/enabled) -eq 0 ]] [all …]
|
| /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() 104 int enabled; in ikm_read_enable() 106 enabled = __ikm_read_enable(monitor_name); in ikm_read_enable() 107 if (enabled < 0) { in ikm_read_enable() 108 err_msg("ikm: fail read enabled: %d\n", enabled); in ikm_read_enable() 112 debug_msg("ikm: read enabled: %d\n", enabled); in ikm_read_enable() 102 int enabled; ikm_read_enable() local 188 int enabled; ikm_fill_monitor_definition() local [all...] |