Home
last modified time | relevance | path

Searched full:current (Results 1 – 25 of 7791) sorted by relevance

12345678910>>...312

/Linux-v5.15/tools/power/cpupower/lib/
Dcpufreq.c265 struct cpufreq_available_governors *current = NULL; in cpufreq_get_available_governors() local
280 if (current) { in cpufreq_get_available_governors()
281 current->next = malloc(sizeof(*current)); in cpufreq_get_available_governors()
282 if (!current->next) in cpufreq_get_available_governors()
284 current = current->next; in cpufreq_get_available_governors()
289 current = first; in cpufreq_get_available_governors()
291 current->first = first; in cpufreq_get_available_governors()
292 current->next = NULL; in cpufreq_get_available_governors()
294 current->governor = malloc(i - pos + 1); in cpufreq_get_available_governors()
295 if (!current->governor) in cpufreq_get_available_governors()
[all …]
/Linux-v5.15/arch/sparc/kernel/
Dsigutil_32.c19 if (test_tsk_thread_flag(current, TIF_USEDFPU)) { in save_fpu_state()
21 fpsave(&current->thread.float_regs[0], &current->thread.fsr, in save_fpu_state()
22 &current->thread.fpqueue[0], &current->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(&current->thread.float_regs[0], &current->thread.fsr, in save_fpu_state()
30 &current->thread.fpqueue[0], &current->thread.fpqdepth); in save_fpu_state()
36 &current->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-v5.15/Documentation/hwmon/
Dmax16601.rst66 curr1_input VCORE input current, derived from duty cycle
67 and output current.
68 curr1_max Maximum input current.
69 curr1_max_alarm Current high alarm.
72 curr[P+2]_input VCORE phase P input current.
75 curr[N+2]_input VCORE input current, derived from sensor
80 curr[N+3]_input VSA input current.
83 curr[N+4]_input VCORE output current.
84 curr[N+4]_crit Critical output current.
85 curr[N+4]_crit_alarm Output current critical alarm.
[all …]
Dina3221.rst21 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 …]
Dmax16065.rst55 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 …]
Dlochnagar.rst12 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-v5.15/include/linux/platform_data/
Dad7793.h54 * 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-v5.15/Documentation/devicetree/bindings/power/supply/
Dbq25890.yaml34 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 …]
Dgpio-charger.yaml42 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 …]
Drohm,bd99954.yaml28 # 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 …]
Dsummit,smb347-charger.yaml55 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 …]
Dbq2415x.yaml35 ti,current-limit:
37 description: initial maximum current charger can pull from power supply in mA.
49 ti,charge-current:
51 description: maximum charging current in mA.
53 ti,termination-current:
56 charge will be terminated when current in constant-voltage phase drops
70 - ti,current-limit
73 - ti,charge-current
74 - ti,termination-current
89 ti,current-limit = <100>;
[all …]
Dbq24257.yaml33 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 …]
Drichtek,rt9455.yaml25 richtek,output-charge-current:
27 description: output current from the charger to the battery, in uA.
32 percent of the output charge current. When the current in constant-voltage phase drops
47 input voltage level in uV, used to decrease voltage level when the over current of the
49 current provided by the power source. Defaults to 4500000 uV (4.5V).
51 richtek,avg-input-current-regulation:
54 input current value in uA drained by the charger from the power source.
61 - richtek,output-charge-current
82 richtek,output-charge-current = <500000>;
88 richtek,avg-input-current-regulation = <500000>;
/Linux-v5.15/drivers/tty/
Dtty_jobctrl.c18 return (sigismember(&current->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-v5.15/arch/powerpc/kernel/
Dsignal_32.c237 * Save the current user registers on the user stack.
244 flush_fp_to_thread(current); in prepare_save_user_regs()
246 if (current->thread.used_vr) in prepare_save_user_regs()
247 flush_altivec_to_thread(current); in prepare_save_user_regs()
249 current->thread.vrsave = mfspr(SPRN_VRSAVE); in prepare_save_user_regs()
252 if (current->thread.used_vsr && ctx_has_vsx_region) in prepare_save_user_regs()
253 flush_vsx_to_thread(current); in prepare_save_user_regs()
256 if (current->thread.used_spe) in prepare_save_user_regs()
257 flush_spe_to_thread(current); in prepare_save_user_regs()
271 if (current->thread.used_vr) { in __unsafe_save_user_regs()
[all …]
/Linux-v5.15/tools/testing/selftests/arm64/signal/
Dtest_signals.c15 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-v5.15/arch/s390/kernel/
Dguarded_storage.c25 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-v5.15/Documentation/power/regulator/
Doverview.rst2 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-v5.15/scripts/dtc/
Dsrcpos.h28 * 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-v5.15/scripts/gdb/linux/
Dlists.py81 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-v5.15/tools/testing/selftests/cgroup/
Dtest_memcontrol.c93 long anon, current; in alloc_anon_50M_check() local
100 current = cg_read_long(cgroup, "memory.current"); in alloc_anon_50M_check()
101 if (current < size) in alloc_anon_50M_check()
104 if (!values_close(size, current, 3)) in alloc_anon_50M_check()
111 if (!values_close(anon, current, 3)) in alloc_anon_50M_check()
124 long current, file; in alloc_pagecache_50M_check() local
134 current = cg_read_long(cgroup, "memory.current"); in alloc_pagecache_50M_check()
135 if (current < size) in alloc_pagecache_50M_check()
142 if (!values_close(file, current, 10)) in alloc_pagecache_50M_check()
155 * and check memory.current and some memory.stat values.
[all …]
/Linux-v5.15/include/linux/
Dtracehook.h31 * Some tracehook_*() inlines take arguments that the current tracing
60 int ptrace = current->ptrace; in ptrace_report_syscall()
65 current->ptrace_message = message; in ptrace_report_syscall()
73 if (current->exit_code) { in ptrace_report_syscall()
74 send_sig(current->exit_code, current, 1); in ptrace_report_syscall()
75 current->exit_code = 0; in ptrace_report_syscall()
78 current->ptrace_message = 0; in ptrace_report_syscall()
79 return fatal_signal_pending(current); in ptrace_report_syscall()
84 * @regs: user register state of current task
87 * %SYSCALL_WORK_SYSCALL_EMU have been set, when the current task has just
[all …]
/Linux-v5.15/Documentation/admin-guide/cgroup-v1/
Dpids.rst21 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 …]
/Linux-v5.15/include/linux/sched/
Dmm.h95 /* Remove the current tasks stale references to the old mm_struct on exit() */
97 /* Remove the current tasks stale references to the old mm_struct on exec() */
158 unsigned int pflags = READ_ONCE(current->flags); in current_gfp_context()
217 unsigned int flags = current->flags & PF_MEMALLOC_NOIO; in memalloc_noio_save()
218 current->flags |= PF_MEMALLOC_NOIO; in memalloc_noio_save()
232 current->flags = (current->flags & ~PF_MEMALLOC_NOIO) | flags; in memalloc_noio_restore()
248 unsigned int flags = current->flags & PF_MEMALLOC_NOFS; in memalloc_nofs_save()
249 current->flags |= PF_MEMALLOC_NOFS; in memalloc_nofs_save()
263 current->flags = (current->flags & ~PF_MEMALLOC_NOFS) | flags; in memalloc_nofs_restore()
268 unsigned int flags = current->flags & PF_MEMALLOC; in memalloc_noreclaim_save()
[all …]

12345678910>>...312