/Linux-v6.1/tools/power/cpupower/lib/ |
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 …]
|
/Linux-v6.1/arch/sparc/kernel/ |
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 …]
|
/Linux-v6.1/Documentation/hwmon/ |
D | max16601.rst | 74 curr1_input VCORE input current, derived from duty cycle 75 and output current. 76 curr1_max Maximum input current. 77 curr1_max_alarm Current high alarm. 80 curr[P+2]_input VCORE phase P input current. 83 curr[N+2]_input VCORE input current, derived from sensor 88 curr[N+3]_input VSA input current. 91 curr[N+4]_input VCORE output current. 92 curr[N+4]_crit Critical output current. 93 curr[N+4]_crit_alarm Output current critical alarm. [all …]
|
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 …]
|
D | max16065.rst | 55 accurately monitor (+/-2.5%) one current channel using a dedicated high-side 56 current-sense amplifier. The MAX16065 manages up to twelve system voltages 67 one current channel using a dedicated high-side current-sense amplifier. The 74 MAX16070, and MAX16071 also support supply current monitoring. 99 in12_input Voltage on CSP (Current Sense Positive) pin. 100 Only if the chip supports current sensing and if 101 current sensing is enabled. 120 curr1_input Current sense input; only if the chip supports current 121 sensing and if current sensing is enabled. 122 Displayed current assumes 0.001 Ohm current sense [all …]
|
D | lochnagar.rst | 12 Lochnagar 2 features built-in Current Monitor circuitry that allows for the 13 measurement of both voltage and current on up to eight of the supply voltage 14 rails provided to the minicards. The Current Monitor does not require any 17 The current and voltage measurements are obtained through the standard register 28 curr1_input Measured current for DBVDD1 (milliAmps) 35 curr2_input Measured current for 1V8 DSP (milliAmps) 42 curr3_input Measured current for 1V8 CDC (milliAmps) 49 curr4_input Measured current for VDDCORE DSP (milliAmps) 56 curr5_input Measured current for AVDD 1V8 (milliAmps) 61 curr6_input Measured current for SYSVDD (milliAmps) [all …]
|
/Linux-v6.1/kernel/ |
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 206 current->delays->freepages_start = local_clock(); in __delayacct_freepages_start() 211 delayacct_end(¤t->delays->lock, in __delayacct_freepages_end() 212 ¤t->delays->freepages_start, in __delayacct_freepages_end() 213 ¤t->delays->freepages_delay, in __delayacct_freepages_end() 214 ¤t->delays->freepages_count); in __delayacct_freepages_end() 219 *in_thrashing = !!current->in_thrashing; in __delayacct_thrashing_start() 223 current->in_thrashing = 1; in __delayacct_thrashing_start() 224 current->delays->thrashing_start = local_clock(); in __delayacct_thrashing_start() [all …]
|
/Linux-v6.1/include/linux/platform_data/ |
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 …]
|
/Linux-v6.1/Documentation/devicetree/bindings/power/supply/ |
D | bq25890.yaml | 34 ti,charge-current: 36 description: maximum charging current (in uA) 38 ti,termination-current: 41 charge will be terminated when current in constant-voltage phase 44 ti,precharge-current: 46 description: maximum charge current during precharge phase (in uA) 58 ti,boost-max-current: 60 description: maximum allowed current draw in boost mode (in uA) 68 ILIM resistor will be used and the input current will be the lower 75 temperature above which the charge current is lowered, to avoid overheating [all …]
|
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 …]
|
D | rohm,bd99954.yaml | 28 # Curve (1) represents charging current. 32 # a) Trickle-charge with constant current (8). 33 # b) pre-charge with constant current (6) 35 # First a constant current (5) phase (CC) 37 # target level - until charging current has dropped to termination 69 # - trickle-charge-current-microamp: 70 # Current used at trickle-charge phase (8 in above chart) 74 # - precharge-current-microamp: 75 # Current used at pre-charge phase (6 in above chart) 79 # - constant-charge-current-max-microamp [all …]
|
D | summit,smb347-charger.yaml | 55 summit,mains-current-limit-microamp: 56 description: Maximum input current from AC/DC input (in uA) 58 summit,usb-current-limit-microamp: 59 description: Maximum input current from USB input (in uA) 61 summit,charge-current-compensation-microamp: 62 description: Charge current compensation (in uA) 73 - 1 # SMB3XX_SOFT_TEMP_COMPENSATE_CURRENT Current compensation 106 summit,mains-current-limit-microamp: 110 summit,usb-current-limit-microamp: 114 summit,charge-current-compensation-microamp: [all …]
|
D | bq2415x.yaml | 34 ti,current-limit: 36 description: initial maximum current charger can pull from power supply in mA. 48 ti,charge-current: 50 description: maximum charging current in mA. 52 ti,termination-current: 55 charge will be terminated when current in constant-voltage phase drops 69 - ti,current-limit 72 - ti,charge-current 73 - ti,termination-current 88 ti,current-limit = <100>; [all …]
|
D | bq24257.yaml | 33 ti,charge-current: 35 description: maximum charging current in uA 37 ti,termination-current: 40 charge will be terminated when current in constant-voltage phase 52 ti,current-limit: 55 The maximum current to be drawn from the charger's input (in uA). 56 If this property is not specified, the input limit current is set 78 - ti,charge-current 79 - ti,termination-current 100 ti,charge-current = <1000000>; [all …]
|
/Linux-v6.1/arch/powerpc/kernel/ |
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() 277 if (current->thread.used_vr) { in __unsafe_save_user_regs() [all …]
|
/Linux-v6.1/drivers/tty/ |
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 …]
|
/Linux-v6.1/kernel/events/ |
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 …]
|
/Linux-v6.1/tools/testing/selftests/arm64/signal/ |
D | test_signals.c | 15 struct tdescr *current; variable 19 current = &tde; in main() 21 ksft_print_msg("%s :: %s\n", current->name, current->descr); in main() 22 if (test_setup(current) && test_init(current)) { in main() 23 test_run(current); in main() 24 test_cleanup(current); in main() 26 test_result(current); in main() 28 return current->result; in main()
|
/Linux-v6.1/arch/s390/kernel/ |
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 …]
|
/Linux-v6.1/Documentation/power/regulator/ |
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 …]
|
/Linux-v6.1/Documentation/devicetree/bindings/phy/ |
D | phy-stm32-usbphyc.yaml | 90 st,current-boost-microamp: 91 description: Current boosting in uA 122 st,trim-hs-current: 124 Controls HS driver current trimming for choke compensation 125 - <0> = 18.87 mA target current / nominal + 0% 126 - <1> = 19.165 mA target current / nominal + 1.56% 127 - <2> = 19.46 mA target current / nominal + 3.12% 128 - <3> = 19.755 mA target current / nominal + 4.68% 129 - <4> = 20.05 mA target current / nominal + 6.24% 130 - <5> = 20.345 mA target current / nominal + 7.8% [all …]
|
/Linux-v6.1/tools/testing/selftests/cgroup/ |
D | test_memcontrol.c | 97 long anon, current; in alloc_anon_50M_check() local 104 current = cg_read_long(cgroup, "memory.current"); in alloc_anon_50M_check() 105 if (current < size) in alloc_anon_50M_check() 108 if (!values_close(size, current, 3)) in alloc_anon_50M_check() 115 if (!values_close(anon, current, 3)) in alloc_anon_50M_check() 128 long current, file; in alloc_pagecache_50M_check() local 138 current = cg_read_long(cgroup, "memory.current"); in alloc_pagecache_50M_check() 139 if (current < size) in alloc_pagecache_50M_check() 146 if (!values_close(file, current, 10)) in alloc_pagecache_50M_check() 159 * and check memory.current and some memory.stat values. [all …]
|
/Linux-v6.1/scripts/dtc/ |
D | srcpos.h | 28 * current directory (the directory of the last source file read) and after 68 #define YYLLOC_DEFAULT(Current, Rhs, N) \ argument 71 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \ 72 (Current).first_column = YYRHSLOC(Rhs, 1).first_column; \ 73 (Current).last_line = YYRHSLOC(Rhs, N).last_line; \ 74 (Current).last_column = YYRHSLOC (Rhs, N).last_column; \ 75 (Current).file = YYRHSLOC(Rhs, N).file; \ 77 (Current).first_line = (Current).last_line = \ 79 (Current).first_column = (Current).last_column = \ 81 (Current).file = YYRHSLOC (Rhs, 0).file; \ [all …]
|
/Linux-v6.1/scripts/gdb/linux/ |
D | lists.py | 81 gdb.write('prev.next != current: ' 82 'current@{current_addr}={current} ' 85 current=c, 92 'current@{current_addr}={current}\n'.format( 94 current=c 99 gdb.write('next.prev != current: ' 100 'current@{current_addr}={current} ' 103 current=c, 110 'current@{current_addr}={current}\n'.format( 112 current=c
|
/Linux-v6.1/Documentation/admin-guide/cgroup-v1/ |
D | pids.rst | 21 number of processes currently in the cgroup is given by pids.current. 24 to have pids.current > pids.max. This can be done by either setting the limit to 25 be smaller than pids.current, or attaching enough processes to the cgroup such 26 that pids.current > pids.max. However, it is not possible to violate a cgroup 34 pids.current tracks all child cgroup hierarchies, so parent/pids.current is a 35 superset of parent/child/pids.current. 54 # cat /sys/fs/cgroup/pids/parent/pids.current 61 # cat /sys/fs/cgroup/pids/parent/pids.current 72 # cat /sys/fs/cgroup/pids/parent/pids.current 74 # cat /sys/fs/cgroup/pids/parent/child/pids.current [all …]
|