/openbmc/bmcweb/test/redfish-core/lib/ |
H A D | system_test.cpp | 51 nlohmann::json::array_t allowed; in TEST() local 52 allowed.emplace_back(resource::ResetType::ForceOff); in TEST() 53 allowed.emplace_back(resource::ResetType::PowerCycle); in TEST() 54 allowed.emplace_back(resource::ResetType::Nmi); in TEST() 55 allowed.emplace_back(resource::ResetType::On); in TEST() 56 allowed.emplace_back(resource::ResetType::ForceOn); in TEST() 57 allowed.emplace_back(resource::ResetType::ForceRestart); in TEST() 58 allowed.emplace_back(resource::ResetType::GracefulRestart); in TEST() 59 allowed.emplace_back(resource::ResetType::GracefulShutdown); in TEST() 60 parameter["AllowableValues"] = std::move(allowed); in TEST() [all …]
|
/openbmc/dbus-sensors/src/ |
H A D | meson.build | 4 get_option('validate-unsecure-feature').allowed(), 8 get_option('insecure-sensor-override').allowed(), 69 if get_option('intel-cpu').allowed() 74 if get_option('adc').allowed() 78 if get_option('exit-air').allowed() 82 if get_option('fan').allowed() 86 if get_option('hwmon-temp').allowed() 90 if get_option('intrusion').allowed() 94 if get_option('ipmb').allowed() 98 if get_option('mctp').allowed() [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | 88pm860x_charger.c | 109 unsigned allowed:1; member 318 (info->present) ? "present" : "N/A", info->allowed); in set_charging_fsm() 323 if (info->online && info->present && info->allowed) { in set_charging_fsm() 344 if (info->online && info->present && info->allowed) { in set_charging_fsm() 355 if (info->online && info->present && info->allowed) { in set_charging_fsm() 366 if (info->online && info->present && info->allowed) { in set_charging_fsm() 390 (info->present) ? "present" : "N/A", info->allowed); in set_charging_fsm() 409 info->allowed = 1; in pm860x_charger_handler() 412 info->allowed = 0; in pm860x_charger_handler() 416 (info->online) ? "online" : "N/A", info->allowed); in pm860x_charger_handler() [all …]
|
/openbmc/phosphor-fan-presence/ |
H A D | meson.build | 62 if (get_option('tests').allowed()) 79 not get_option('tests').allowed(), 112 if get_option('json-config').allowed() and get_option('json-control').allowed() 120 if get_option('monitor-use-host-state').allowed() 125 if get_option('json-config').allowed() 143 if get_option('use-host-power-state').allowed() 147 if get_option('skip-power-checking').allowed() 169 if get_option('control-service').allowed() 178 if get_option('monitor-service').allowed() 181 if not get_option('json-config').allowed() [all …]
|
/openbmc/qemu/block/ |
H A D | meson.build | 47 if get_option('qcow1').allowed() 50 if get_option('vdi').allowed() 53 if get_option('vhdx').allowed() 60 if get_option('vmdk').allowed() 63 if get_option('vpc').allowed() 66 if get_option('cloop').allowed() 69 if get_option('bochs').allowed() 72 if get_option('vvfat').allowed() 75 if get_option('dmg').allowed() 78 if get_option('qed').allowed() [all …]
|
/openbmc/smbios-mdr/src/ |
H A D | meson.build | 2 if get_option('dimm-dbus').allowed() 6 if get_option('assoc-trim-path').allowed() 10 if get_option('dimm-only-locator').allowed() 34 if get_option('cpuinfo').allowed() 42 if get_option('cpuinfo-peci').allowed() 68 if get_option('smbios-ipmi-blob').allowed()
|
/openbmc/pldm/ |
H A D | meson.build | 46 if get_option('libpldmresponder').allowed() 50 get_option('system-specific-bios-json').allowed(), 77 if get_option('softoff').allowed() 87 if get_option('oem-ibm').allowed() 165 if get_option('tests').allowed() 181 not get_option('tests').allowed(), 194 if get_option('oem-ampere').allowed() 232 if get_option('oem-ampere').allowed() 236 if get_option('libpldmresponder').allowed() 268 if get_option('systemd').allowed() [all …]
|
/openbmc/x86-power-control/ |
H A D | meson.build | 23 if get_option('chassis-system-reset').allowed() 26 if get_option('use-plt-rst').allowed() 29 if get_option('use-acboot').allowed() 32 if get_option('ignore-soft-resets-during-post').allowed() 35 if get_option('button-passthrough').allowed()
|
/openbmc/phosphor-bmc-code-mgmt/bmc/ |
H A D | meson.build | 54 conf.set('HOST_BIOS_UPGRADE', get_option('host-bios-upgrade').allowed()) 55 conf.set('WANT_SIGNATURE_VERIFY', get_option('verify-signature').allowed()) 58 get_option('software-update-dbus-interface').allowed(), 62 conf.set('ACTIVE_BMC_MAX_ALLOWED', get_option('active-bmc-max-allowed')) 81 if get_option('host-bios-upgrade').allowed() 85 if get_option('bmc-static-dual-image').allowed() 88 get_option('bmc-static-dual-image').allowed(), 148 if get_option('host-bios-upgrade').allowed() 152 if get_option('bmc-static-dual-image').allowed() 160 if get_option('sync-bmc-files').allowed() [all …]
|
/openbmc/qemu/authz/ |
H A D | base.c | 31 bool allowed; in qauthz_is_allowed() local 33 allowed = cls->is_allowed(authz, identity, errp); in qauthz_is_allowed() 34 trace_qauthz_is_allowed(authz, identity, allowed); in qauthz_is_allowed() 36 return allowed; in qauthz_is_allowed()
|
/openbmc/phosphor-host-ipmid/ |
H A D | meson.build | 27 if get_option('softoff').allowed() 51 if get_option('shortname-remove-suffix').allowed() 54 if get_option('shortname-replace-words').allowed() 57 if get_option('open-power').allowed() 89 if get_option('get-dbus-active-software').allowed() 109 if (get_option(option_key).allowed()) 180 if get_option('softoff').allowed() 186 if get_option('ipmi-whitelist').allowed() 259 if get_option('transport-oem').allowed() 271 if get_option('open-power').allowed() [all …]
|
/openbmc/openpower-occ-control/ |
H A D | meson.build | 39 if get_option('i2c-occ').allowed() 51 conf_data.set('I2C_OCC', get_option('i2c-occ').allowed()) 52 conf_data.set('READ_OCC_SENSORS', get_option('read-occ-sensors').allowed()) 54 conf_data.set('POWER10', get_option('power10-support').allowed()) 55 conf_data.set('PHAL_SUPPORT', get_option('phal-support').allowed()) 141 if get_option('power10-support').allowed() 147 if get_option('phal-support').allowed() 179 if get_option('tests').allowed()
|
/openbmc/linux/security/selinux/ |
H A D | avc.c | 205 rc = security_xperm_test(xpd->allowed->p, perm); in avc_xperms_has_perm() 221 if (xpd && xpd->allowed) in avc_xperms_allow_perm() 222 security_xperm_set(xpd->allowed->p, perm); in avc_xperms_allow_perm() 230 if (xpd->allowed) in avc_xperms_decision_free() 231 kmem_cache_free(avc_xperms_data_cachep, xpd->allowed); in avc_xperms_decision_free() 259 memcpy(dest->allowed->p, src->allowed->p, in avc_copy_xperms_decision() 260 sizeof(src->allowed->p)); in avc_copy_xperms_decision() 285 dest->allowed->p[i] = src->allowed->p[i]; in avc_quick_copy_xperms_decision() 305 xpd->allowed = kmem_cache_zalloc(avc_xperms_data_cachep, in avc_xperms_decision_alloc() 307 if (!xpd->allowed) in avc_xperms_decision_alloc() [all …]
|
/openbmc/phosphor-led-manager/ |
H A D | meson.build | 27 conf_data.set('LED_USE_JSON', get_option('use-json').allowed()) 28 conf_data.set('USE_LAMP_TEST', get_option('use-lamp-test').allowed()) 31 get_option('monitor-operational-status').allowed(), 35 get_option('persistent-led-asserted').allowed(), 96 if get_option('tests').allowed()
|
/openbmc/u-boot/doc/device-tree-bindings/regulator/ |
H A D | sandbox.txt | 22 - regulator-min-microvolt: minimum allowed Voltage to set 23 - regulator-max-microvolt: minimum allowed Voltage to set 24 - regulator-min-microamps: minimum allowed Current limit to set (LDO1/BUCK1) 25 - regulator-max-microamps: minimum allowed Current limit to set (LDO1/BUCK1)
|
/openbmc/libmctp/ |
H A D | meson.build | 63 ).allowed() 89 if feat_fileio.allowed() 111 ).allowed() 133 ).allowed() 193 if feat_fileio.allowed() 197 if get_option('tests').allowed()
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | sa8775p-ride.dtsi | 64 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 74 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 84 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 94 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 104 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 114 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 129 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 139 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 149 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 171 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM [all …]
|
/openbmc/linux/tools/testing/selftests/wireguard/ |
H A D | netns.sh | 105 allowed-ips 192.168.241.2/32,fd00::2/128 111 allowed-ips 192.168.241.1/32,fd00::1/128 225 n1 wg set wg0 peer "$pub2" allowed-ips 192.168.241.0/24 233 n1 wg set wg0 peer "$more_specific_key" allowed-ips 192.168.241.2/32 245 n1 wg set wg0 private-key <(echo "$key1") peer "$pub2" preshared-key <(echo "$psk") allowed-ips 192… 246 … <(echo "$key2") listen-port 2 peer "$pub1" preshared-key <(echo "$psk") allowed-ips 192.168.241.1… 249 n2 wg set wg0 peer "$pub3" preshared-key <(echo "$psk") allowed-ips 192.168.241.1/32 peer "$pub1" r… 258 n1 wg set wg0 private-key <(echo "$key1") peer "$pub2" preshared-key <(echo "$psk") allowed-ips fd0… 259 … <(echo "$key2") listen-port 2 peer "$pub1" preshared-key <(echo "$psk") allowed-ips fd00::5:1/128… 268 n1 wg set wg1 listen-port 5 private-key <(echo "$key3") peer "$pub4" allowed-ips 192.168.241.2/32,f… [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | ltc2992.rst | 37 inX_min Minimum voltage allowed. 38 inX_max Maximum voltage allowed. 45 currX_min Minimum current allowed. 46 currX_max Maximum current allowed.
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | uevent.c | 35 atomic_t allowed; member 45 atomic_set(&uevent->allowed, 0); in nvkm_uevent_mthd_block() 56 atomic_set(&uevent->allowed, 1); in nvkm_uevent_mthd_allow() 89 if (atomic_read(&uevent->allowed)) in nvkm_uevent_init()
|
H A D | event.c | 68 if (atomic_read(&ntfy->allowed) != ntfy->running) { in nvkm_event_ntfy_state() 104 if (atomic_xchg(&ntfy->allowed, 0) == 1) { in nvkm_event_ntfy_block_() 123 if (atomic_xchg(&ntfy->allowed, 1) == 0) { in nvkm_event_ntfy_allow() 156 atomic_set(&ntfy->allowed, 0); in nvkm_event_ntfy_add() 183 if (atomic_read(&ntfy->allowed)) in nvkm_event_ntfy()
|
/openbmc/phosphor-ipmi-flash/ |
H A D | meson.build | 52 if get_option('tests').allowed() 69 get_option('tests').allowed() \ 151 if get_option('tests').allowed() 177 if get_option('bmc-blob-handler').allowed() 181 if get_option('host-tool').allowed() 185 if get_option('cleanup-delete').allowed()
|
/openbmc/phosphor-state-manager/ |
H A D | meson.build | 30 conf.set('BOOT_COUNT_MAX_ALLOWED', get_option('boot-count-max-allowed')) 34 if build_host_gpios.allowed() 67 get_option('check-fwupdate-before-do-transition').allowed(), 72 if (get_option('warm-reboot').allowed()) 76 if (get_option('force-warm-reboot').allowed()) 80 if (get_option('apply-power-policy-bmc-ready').allowed()) 273 if build_host_gpios.allowed() 284 if build_tests.allowed()
|
/openbmc/phosphor-certificate-manager/dist/ |
H A D | meson.build | 10 if get_option('ca-cert-extension').allowed() 15 if get_option('config-bmcweb').allowed() 26 if get_option('config-authority').allowed()
|
/openbmc/linux/mm/ |
H A D | util.c | 888 unsigned long allowed; in vm_commit_limit() local 891 allowed = sysctl_overcommit_kbytes >> (PAGE_SHIFT - 10); in vm_commit_limit() 893 allowed = ((totalram_pages() - hugetlb_total_pages()) in vm_commit_limit() 895 allowed += total_swap_pages; in vm_commit_limit() 897 return allowed; in vm_commit_limit() 943 long allowed; in __vm_enough_memory() local 959 allowed = vm_commit_limit(); in __vm_enough_memory() 964 allowed -= sysctl_admin_reserve_kbytes >> (PAGE_SHIFT - 10); in __vm_enough_memory() 972 allowed -= min_t(long, mm->total_vm / 32, reserve); in __vm_enough_memory() 975 if (percpu_counter_read_positive(&vm_committed_as) < allowed) in __vm_enough_memory()
|