| /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/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/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/networking/ |
| 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 | 180 .thp_enabled = thp_read_string("enabled", thp_enabled_strings), in thp_read_num() 202 settings->hugepages[i].enabled = THP_NEVER; in thp_read_settings() 205 snprintf(path, PATH_MAX, "hugepages-%ukB/enabled", in thp_read_settings() 207 settings->hugepages[i].enabled = in thp_read_settings() 213 settings->shmem_hugepages[i].enabled = SHMEM_NEVER; in thp_read_settings() 218 settings->shmem_hugepages[i].enabled = in thp_read_settings() 229 int enabled; in thp_read_settings() 232 thp_write_string("enabled", thp_enabled_strings[settings->thp_enabled]); in thp_read_settings() 254 snprintf(path, PATH_MAX, "hugepages-%ukB/enabled", in thp_write_settings() 256 enabled in thp_write_settings() 258 int enabled; thp_write_settings() local [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/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 | 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/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/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/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 …]
|