/openbmc/qemu/tests/image-fuzzer/qcow2/ |
H A D | fuzz.py | 87 def validator(current, pick, choices): argument 88 """Return a value not equal to the current selected by the pick 93 if not val == current: 97 def int_validator(current, intervals): argument 98 """Return a random value from intervals not equal to the current. 100 This function is useful for selection from valid values except current one. 102 return validator(current, random_from_intervals, intervals) 105 def bit_validator(current, bit_ranges): argument 106 """Return a random bit mask not equal to the current. 108 This function is useful for selection from valid values except current one. [all …]
|
/openbmc/u-boot/arch/x86/lib/ |
H A D | acpi_table.c | 191 int acpi_create_madt_lapics(u32 current) in acpi_create_madt_lapics() argument 201 (struct acpi_madt_lapic *)current, in acpi_create_madt_lapics() 203 current += length; in acpi_create_madt_lapics() 248 static int acpi_create_madt_irq_overrides(u32 current) in acpi_create_madt_irq_overrides() argument 254 irqovr = (void *)current; in acpi_create_madt_irq_overrides() 257 irqovr = (void *)(current + length); in acpi_create_madt_irq_overrides() 263 __weak u32 acpi_fill_madt(u32 current) in acpi_fill_madt() argument 265 current += acpi_create_madt_lapics(current); in acpi_fill_madt() 267 current += acpi_create_madt_ioapic((struct acpi_madt_ioapic *)current, in acpi_fill_madt() 270 current += acpi_create_madt_irq_overrides(current); in acpi_fill_madt() [all …]
|
/openbmc/u-boot/net/ |
H A D | eth-uclass.c | 30 * @current: The Ethernet device that the network functions are using 33 struct udevice *current; member 53 if (uc_priv->current) in eth_set_current_to_next() 54 uclass_next_device(&uc_priv->current); in eth_set_current_to_next() 55 if (!uc_priv->current) in eth_set_current_to_next() 56 uclass_first_device(UCLASS_ETH, &uc_priv->current); in eth_set_current_to_next() 70 if (!uc_priv->current) in eth_get_dev() 72 &uc_priv->current); in eth_get_dev() 73 return uc_priv->current; in eth_get_dev() 89 eth_get_uclass_priv()->current = dev; in eth_set_dev() [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/sensors/phosphor-virtual-sensor/sbp1/ |
H A D | virtual_sensor_config.json | 209 "SensorType": "current" 276 "SensorType": "current" 343 "SensorType": "current" 410 "SensorType": "current" 447 "SensorType": "current" 474 "SensorType": "current" 501 "SensorType": "current" 528 "SensorType": "current" 555 "SensorType": "current" 582 "SensorType": "current" [all...] |
/openbmc/linux/tools/power/cpupower/lib/ |
H A D | cpufreq.c | 274 struct cpufreq_available_governors *current = NULL; in cpufreq_get_available_governors() local 289 if (current) { in cpufreq_get_available_governors() 290 current->next = malloc(sizeof(*current)); in cpufreq_get_available_governors() 291 if (!current->next) in cpufreq_get_available_governors() 293 current = current->next; in cpufreq_get_available_governors() 298 current = first; in cpufreq_get_available_governors() 300 current->first = first; in cpufreq_get_available_governors() 301 current->next = NULL; in cpufreq_get_available_governors() 303 current->governor = malloc(i - pos + 1); in cpufreq_get_available_governors() 304 if (!current->governor) in cpufreq_get_available_governors() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/imagemagick/ |
H A D | imagemagick_7.1.1-43.bb | 105 CVE_STATUS[CVE-2014-9804] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE … 106 CVE_STATUS[CVE-2014-9805] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE … 107 CVE_STATUS[CVE-2014-9806] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE … 108 CVE_STATUS[CVE-2014-9807] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE … 109 CVE_STATUS[CVE-2014-9808] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE … 110 CVE_STATUS[CVE-2014-9809] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE … 111 CVE_STATUS[CVE-2014-9810] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE … 112 CVE_STATUS[CVE-2014-9811] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE … 113 CVE_STATUS[CVE-2014-9812] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE … 114 CVE_STATUS[CVE-2014-9813] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE … [all …]
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | sigutil_32.c | 19 if (test_tsk_thread_flag(current, TIF_USEDFPU)) { in save_fpu_state() 21 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, in save_fpu_state() 22 ¤t->thread.fpqueue[0], ¤t->thread.fpqdepth); in save_fpu_state() 24 clear_tsk_thread_flag(current, TIF_USEDFPU); in save_fpu_state() 27 if (current == last_task_used_math) { in save_fpu_state() 29 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, in save_fpu_state() 30 ¤t->thread.fpqueue[0], ¤t->thread.fpqdepth); in save_fpu_state() 36 ¤t->thread.float_regs[0], in save_fpu_state() 38 err |= __put_user(current->thread.fsr, &fpu->si_fsr); in save_fpu_state() 39 err |= __put_user(current->thread.fpqdepth, &fpu->si_fpqdepth); in save_fpu_state() [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | max16601.rst | 83 curr1_input VCORE input current, derived from duty cycle 84 and output current. 85 curr1_max Maximum input current. 86 curr1_max_alarm Current high alarm. 89 curr[P+2]_input VCORE phase P input current. 92 curr[N+2]_input VCORE input current, derived from sensor 97 curr[N+3]_input VSA input current. 100 curr[N+4]_input VCORE output current. 101 curr[N+4]_crit Critical output current. 102 curr[N+4]_crit_alarm Output current critical alarm. [all …]
|
H A D | ina3221.rst | 21 The Texas Instruments INA3221 monitors voltage, current, and power on the high 23 and supply voltage, with programmable conversion times and averaging, current 33 curr[123]_input Current(mA) measurement channels 35 curr[123]_crit Critical alert current(mA) setting, activates the 36 corresponding alarm when the respective current 38 curr[123]_crit_alarm Critical alert current limit exceeded 39 curr[123]_max Warning alert current(mA) setting, activates the 40 corresponding alarm when the respective current 42 curr[123]_max_alarm Warning alert current limit exceeded 46 curr4_input Sum of current(mA) measurement channels, [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/libsdl/libsdl-1.2.15/ |
H A D | CVE-2019-7637.patch | 107 + if (!current->pitch) { 117 current -> w = width ; 118 current -> h = height ; 119 current -> pitch = SDL_CalculatePitch (current) ; 120 + if (!current->pitch) { 121 + current = NULL; 124 NX_ResizeImage (this, current, flags) ; 131 current->w = width; 132 current->h = height; 133 current->pitch = SDL_CalculatePitch(current); [all …]
|
/openbmc/linux/kernel/ |
H A D | delayacct.c | 114 current->delays->blkio_start = local_clock(); in __delayacct_blkio_start() 118 * We cannot rely on the `current` macro, as we haven't yet switched back to 209 current->delays->freepages_start = local_clock(); in __delayacct_freepages_start() 214 delayacct_end(¤t->delays->lock, in __delayacct_freepages_end() 215 ¤t->delays->freepages_start, in __delayacct_freepages_end() 216 ¤t->delays->freepages_delay, in __delayacct_freepages_end() 217 ¤t->delays->freepages_count); in __delayacct_freepages_end() 222 *in_thrashing = !!current->in_thrashing; in __delayacct_thrashing_start() 226 current->in_thrashing = 1; in __delayacct_thrashing_start() 227 current->delays->thrashing_start = local_clock(); in __delayacct_thrashing_start() [all …]
|
/openbmc/linux/include/linux/platform_data/ |
H A D | ad7793.h | 54 * enum ad7793_current_source_direction - AD7793 excitation current direction 55 * @AD7793_IEXEC1_IOUT1_IEXEC2_IOUT2: Current source IEXC1 connected to pin 56 * IOUT1, current source IEXC2 connected to pin IOUT2. 57 * @AD7793_IEXEC1_IOUT2_IEXEC2_IOUT1: Current source IEXC2 connected to pin 58 * IOUT1, current source IEXC1 connected to pin IOUT2. 59 * @AD7793_IEXEC1_IEXEC2_IOUT1: Both current sources connected to pin IOUT1. 60 * Only valid when the current sources are set to 10 uA or 210 uA. 61 * @AD7793_IEXEC1_IEXEC2_IOUT2: Both current sources connected to Pin IOUT2. 62 * Only valid when the current ources are set to 10 uA or 210 uA. 72 * enum ad7793_excitation_current - AD7793 excitation current selection [all …]
|
/openbmc/openbmc-test-automation/redfish/systems/ |
H A D | test_alternate_fan_settings.robot | 27 Verify Current Fan Thermal Mode 28 [Documentation] Check current thermal fan mode is a valid mode value. 36 # "Current": "DEFAULT", 48 ${current}= Read Attribute ${THERMAL_CONTROL_URI} Current 49 Rprint Vars current 51 Valid Value current valid_values=${VALID_MODE_VALUES} 113 ${mode}= Redfish.Put ${THERMAL_CONTROL_URI}/attr/Current body={"data": "${thermal_mode}"} 115 ${current}= Read Attribute ${THERMAL_CONTROL_URI} Current 116 Should Be Equal As Strings ${thermal_mode} ${current} 117 ... msg=The thermal mode does not match the current fan mode. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | bq25890.yaml | 38 ti,charge-current: 40 description: maximum charging current (in uA) 42 ti,termination-current: 45 charge will be terminated when current in constant-voltage phase 48 ti,precharge-current: 50 description: maximum charge current during precharge phase (in uA) 62 ti,boost-max-current: 64 description: maximum allowed current draw in boost mode (in uA) 72 ILIM resistor will be used and the input current will be the lower 79 temperature above which the charge current is lowered, to avoid overheating [all …]
|
H A D | gpio-charger.yaml | 42 charge-current-limit-gpios: 45 description: GPIOs used for current limiting 47 charge-current-limit-mapping: 48 description: List of tuples with current in uA and a GPIO bitmap (in 50 current limit. 55 Current limit in uA 58 charge-current-limit-gpios property. Bit 1 second to last 70 - charge-current-limit-gpios 73 charge-current-limit-gpios: [ charge-current-limit-mapping ] 74 charge-current-limit-mapping: [ charge-current-limit-gpios ] [all …]
|
H A D | rohm,bd99954.yaml | 29 # Curve (1) represents charging current. 33 # a) Trickle-charge with constant current (8). 34 # b) pre-charge with constant current (6) 36 # First a constant current (5) phase (CC) 38 # target level - until charging current has dropped to termination 70 # - trickle-charge-current-microamp: 71 # Current used at trickle-charge phase (8 in above chart) 75 # - precharge-current-microamp: 76 # Current used at pre-charge phase (6 in above chart) 80 # - constant-charge-current-max-microamp [all …]
|
/openbmc/linux/drivers/tty/ |
H A D | tty_jobctrl.c | 18 return (sigismember(¤t->blocked, sig) || in is_ignored() 19 current->sighand->action[sig-1].sa.sa_handler == SIG_IGN); in is_ignored() 39 if (current->signal->tty != tty) in __tty_check_change() 43 pgrp = task_pgrp(current); in __tty_check_change() 109 tty->ctrl.pgrp = get_pid(task_pgrp(current)); in __proc_set_tty() 110 tty->ctrl.session = get_pid(task_session(current)); in __proc_set_tty() 112 if (current->signal->tty) { in __proc_set_tty() 113 tty_debug(tty, "current tty %s not NULL!!\n", in __proc_set_tty() 114 current->signal->tty->name); in __proc_set_tty() 115 tty_kref_put(current->signal->tty); in __proc_set_tty() [all …]
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | signal_32.c | 243 * Save the current user registers on the user stack. 250 flush_fp_to_thread(current); in prepare_save_user_regs() 252 if (current->thread.used_vr) in prepare_save_user_regs() 253 flush_altivec_to_thread(current); in prepare_save_user_regs() 255 current->thread.vrsave = mfspr(SPRN_VRSAVE); in prepare_save_user_regs() 258 if (current->thread.used_vsr && ctx_has_vsx_region) in prepare_save_user_regs() 259 flush_vsx_to_thread(current); in prepare_save_user_regs() 262 if (current->thread.used_spe) in prepare_save_user_regs() 263 flush_spe_to_thread(current); in prepare_save_user_regs() 278 if (current->thread.used_vr) { in __unsafe_save_user_regs() [all …]
|
/openbmc/phosphor-fan-presence/control/json/ |
H A D | dbus_zone.cpp | 46 std::string DBusZone::current(std::string value) in current() function in phosphor::fan::control::json::DBusZone 48 auto current = ThermalModeIntf::current(); in current() local 58 if (isSupported && value != current) in current() 60 current = ThermalModeIntf::current(value); in current() 67 return current; in current() 72 auto current = ThermalModeIntf::current(); in restoreCurrentMode() local 85 iArch(current); in restoreCurrentMode() 94 std::format("Unable to restore persisted `Current` thermal mode " in restoreCurrentMode() 98 current = ThermalModeIntf::current(); in restoreCurrentMode() 101 this->current(current); in restoreCurrentMode() [all …]
|
/openbmc/linux/kernel/events/ |
H A D | hw_breakpoint_test.c | 127 TEST_EXPECT_NOSPC(register_test_bp(-1, current, idx)); in test_one_cpu() 150 fill_bp_slots(test, &idx, -1, current, 0); in test_one_task_on_all_cpus() 151 TEST_EXPECT_NOSPC(register_test_bp(-1, current, idx)); in test_one_task_on_all_cpus() 152 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), current, idx)); in test_one_task_on_all_cpus() 164 fill_bp_slots(test, &idx, -1, current, 0); in test_two_tasks_on_all_cpus() 167 TEST_EXPECT_NOSPC(register_test_bp(-1, current, idx)); in test_two_tasks_on_all_cpus() 169 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), current, idx)); in test_two_tasks_on_all_cpus() 181 fill_bp_slots(test, &idx, get_test_cpu(0), current, 0); in test_one_task_on_one_cpu() 182 TEST_EXPECT_NOSPC(register_test_bp(-1, current, idx)); in test_one_task_on_one_cpu() 183 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), current, idx)); in test_one_task_on_one_cpu() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/addac/ |
H A D | adi,ad74115.yaml | 62 2 - Current output 64 4 - Current input, externally-powered 65 5 - Current input, loop-powered 70 10 - Current output with HART 71 11 - Current input, externally-powered, with HART 72 12 - Current input, loop-powered, with HART 146 description: Sink current in digital input mode. 192 adi,dac-current-limit-low: 195 When not present, the DAC short-circuit current limit is 32mA in 210 adi,rtd-excitation-current-microamp: [all …]
|
/openbmc/linux/arch/s390/kernel/ |
H A D | guarded_storage.c | 25 if (!current->thread.gs_cb) { in gs_enable() 33 current->thread.gs_cb = gs_cb; in gs_enable() 41 if (current->thread.gs_cb) { in gs_disable() 43 kfree(current->thread.gs_cb); in gs_disable() 44 current->thread.gs_cb = NULL; in gs_disable() 55 gs_cb = current->thread.gs_bc_cb; in gs_set_bc_cb() 60 current->thread.gs_bc_cb = gs_cb; in gs_set_bc_cb() 71 gs_cb = current->thread.gs_bc_cb; in gs_clear_bc_cb() 72 current->thread.gs_bc_cb = NULL; in gs_clear_bc_cb() 83 gs_cb = current->thread.gs_bc_cb; in gs_load_bc_cb() [all …]
|
/openbmc/qemu/util/ |
H A D | qemu-progress.c | 29 float current; member 41 * @percent relative percent of current operation 46 printf(" (%3.2f/100%%)\r", state.current); in progress_simple_print() 71 fprintf(stderr, " (%3.2f/100%%)\n", state.current); in progress_dummy_print() 144 float current; in qemu_progress_print() local 147 current = delta; in qemu_progress_print() 149 current = state.current + delta / 100 * max; in qemu_progress_print() 151 if (current > 100) { in qemu_progress_print() 152 current = 100; in qemu_progress_print() 154 state.current = current; in qemu_progress_print() [all …]
|
/openbmc/linux/Documentation/power/regulator/ |
H A D | overview.rst | 2 Linux voltage and current regulator framework 9 voltage and current regulators. 13 regulators (where voltage output is controllable) and current sinks (where 14 current limit is controllable). 29 some can control their output voltage and or current. 44 current limit. It only needs to enable or disable its 49 current limit to meet operation demands. 101 - regulator current output limit is 20mA @ 5V but is 110 - Domain-3 current limit is 0mA -> 20mA. 113 dynamically setting voltage or current limit levels. [all …]
|
/openbmc/linux/tools/testing/selftests/arm64/signal/ |
H A D | test_signals.c | 15 struct tdescr *current = &tde; variable 19 ksft_print_msg("%s :: %s\n", current->name, current->descr); in main() 20 if (test_setup(current) && test_init(current)) { in main() 21 test_run(current); in main() 22 test_cleanup(current); in main() 24 test_result(current); in main() 26 return current->result; in main()
|