Home
last modified time | relevance | path

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

12345678910>>...343

/kernel/linux/linux-5.10/Documentation/hwmon/
Dmax16601.rst58 curr1_input VCORE input current, derived from duty cycle and output
59 current.
60 curr1_max Maximum input current.
61 curr1_max_alarm Current high alarm.
64 curr2_input VCORE phase 0 input current.
67 curr3_input VCORE phase 1 input current.
70 curr4_input VCORE phase 2 input current.
73 curr5_input VCORE phase 3 input current.
76 curr6_input VCORE phase 4 input current.
79 curr7_input VCORE phase 5 input current.
[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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/tools/power/cpupower/lib/
Dcpufreq.c266 struct cpufreq_available_governors *current = NULL; in cpufreq_get_available_governors() local
281 if (current) { in cpufreq_get_available_governors()
282 current->next = malloc(sizeof(*current)); in cpufreq_get_available_governors()
283 if (!current->next) in cpufreq_get_available_governors()
285 current = current->next; in cpufreq_get_available_governors()
290 current = first; in cpufreq_get_available_governors()
292 current->first = first; in cpufreq_get_available_governors()
293 current->next = NULL; in cpufreq_get_available_governors()
295 current->governor = malloc(i - pos + 1); in cpufreq_get_available_governors()
296 if (!current->governor) in cpufreq_get_available_governors()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/include/linux/platform_data/
Dad7793.h55 * enum ad7793_current_source_direction - AD7793 excitation current direction
56 * @AD7793_IEXEC1_IOUT1_IEXEC2_IOUT2: Current source IEXC1 connected to pin
57 * IOUT1, current source IEXC2 connected to pin IOUT2.
58 * @AD7793_IEXEC1_IOUT2_IEXEC2_IOUT1: Current source IEXC2 connected to pin
59 * IOUT1, current source IEXC1 connected to pin IOUT2.
60 * @AD7793_IEXEC1_IEXEC2_IOUT1: Both current sources connected to pin IOUT1.
61 * Only valid when the current sources are set to 10 uA or 210 uA.
62 * @AD7793_IEXEC1_IEXEC2_IOUT2: Both current sources connected to Pin IOUT2.
63 * Only valid when the current ources are set to 10 uA or 210 uA.
73 * enum ad7793_excitation_current - AD7793 excitation current selection
[all …]
/kernel/linux/linux-4.19/drivers/tty/
Dtty_jobctrl.c17 return (sigismember(&current->blocked, sig) || in is_ignored()
18 current->sighand->action[sig-1].sa.sa_handler == SIG_IGN); in is_ignored()
37 if (current->signal->tty != tty) in __tty_check_change()
41 pgrp = task_pgrp(current); in __tty_check_change()
105 tty->pgrp = get_pid(task_pgrp(current)); in __proc_set_tty()
106 tty->session = get_pid(task_session(current)); in __proc_set_tty()
108 if (current->signal->tty) { in __proc_set_tty()
109 tty_debug(tty, "current tty %s not NULL!!\n", in __proc_set_tty()
110 current->signal->tty->name); in __proc_set_tty()
111 tty_kref_put(current->signal->tty); in __proc_set_tty()
[all …]
/kernel/linux/linux-5.10/drivers/tty/
Dtty_jobctrl.c17 return (sigismember(&current->blocked, sig) || in is_ignored()
18 current->sighand->action[sig-1].sa.sa_handler == SIG_IGN); in is_ignored()
37 if (current->signal->tty != tty) in __tty_check_change()
41 pgrp = task_pgrp(current); in __tty_check_change()
105 tty->pgrp = get_pid(task_pgrp(current)); in __proc_set_tty()
106 tty->session = get_pid(task_session(current)); in __proc_set_tty()
108 if (current->signal->tty) { in __proc_set_tty()
109 tty_debug(tty, "current tty %s not NULL!!\n", in __proc_set_tty()
110 current->signal->tty->name); in __proc_set_tty()
111 tty_kref_put(current->signal->tty); in __proc_set_tty()
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/power/supply/
Dbq25890.txt8 - ti,charge-current: integer, maximum charging current (in uA);
9 - ti,termination-current: integer, charge will be terminated when current in
11 - ti,precharge-current: integer, maximum charge current during precharge
17 - ti,boost-max-current: integer, maximum allowed current draw in boost mode
24 input current will be the lower between the resistor setting and the IINLIM
27 current is lowered, to avoid overheating (in degrees Celsius). If omitted,
37 ti,charge-current = <1000000>;
38 ti,termination-current = <50000>;
39 ti,precharge-current = <128000>;
42 ti,boost-max-current = <1000000>;
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsignal_32.c234 * Save the current user registers on the user stack.
245 flush_fp_to_thread(current); in save_user_regs()
253 if (current->thread.used_vr) { in save_user_regs()
254 flush_altivec_to_thread(current); in save_user_regs()
255 if (__copy_to_user(&frame->mc_vregs, &current->thread.vr_state, in save_user_regs()
268 * Note that the current VRSAVE value is in the SPR at this point. in save_user_regs()
271 current->thread.vrsave = mfspr(SPRN_VRSAVE); in save_user_regs()
272 if (__put_user(current->thread.vrsave, (u32 __user *)&frame->mc_vregs[32])) in save_user_regs()
275 if (copy_fpr_to_user(&frame->mc_fregs, current)) in save_user_regs()
290 if (current->thread.used_vsr && ctx_has_vsx_region) { in save_user_regs()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
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 …]
Dbq25890.txt15 - ti,charge-current: integer, maximum charging current (in uA);
16 - ti,termination-current: integer, charge will be terminated when current in
18 - ti,precharge-current: integer, maximum charge current during precharge
24 - ti,boost-max-current: integer, maximum allowed current draw in boost mode
31 input current will be the lower between the resistor setting and the IINLIM
34 current is lowered, to avoid overheating (in degrees Celsius). If omitted,
51 ti,charge-current = <1000000>;
52 ti,termination-current = <50000>;
53 ti,precharge-current = <128000>;
56 ti,boost-max-current = <1000000>;
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
86 summit,mains-current-limit-microamp:
90 summit,usb-current-limit-microamp:
94 summit,charge-current-compensation-microamp:
[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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-4.19/Documentation/hwmon/
Dmax1606535 accurately monitor (+/-2.5%) one current channel using a dedicated high-side
36 current-sense amplifier. The MAX16065 manages up to twelve system voltages
47 one current channel using a dedicated high-side current-sense amplifier. The
54 MAX16070, and MAX16071 also support supply current monitoring.
78 in12_input Voltage on CSP (Current Sense Positive) pin.
79 Only if the chip supports current sensing and if
80 current sensing is enabled.
99 curr1_input Current sense input; only if the chip supports current
100 sensing and if current sensing is enabled.
101 Displayed current assumes 0.001 Ohm current sense
[all …]
/kernel/linux/linux-4.19/arch/powerpc/kernel/
Dsignal_32.c383 * Save the current user registers on the user stack.
394 flush_fp_to_thread(current); in save_user_regs()
402 if (current->thread.used_vr) { in save_user_regs()
403 flush_altivec_to_thread(current); in save_user_regs()
404 if (__copy_to_user(&frame->mc_vregs, &current->thread.vr_state, in save_user_regs()
417 * Note that the current VRSAVE value is in the SPR at this point. in save_user_regs()
420 current->thread.vrsave = mfspr(SPRN_VRSAVE); in save_user_regs()
421 if (__put_user(current->thread.vrsave, (u32 __user *)&frame->mc_vregs[32])) in save_user_regs()
424 if (copy_fpr_to_user(&frame->mc_fregs, current)) in save_user_regs()
439 if (current->thread.used_vsr && ctx_has_vsx_region) { in save_user_regs()
[all …]
/kernel/linux/linux-4.19/Documentation/power/regulator/
Doverview.txt1 Linux voltage and current regulator framework
8 voltage and current regulators.
12 regulators (where voltage output is controllable) and current sinks (where
13 current limit is controllable).
26 some can control their output voltage and or current.
39 current limit. It only needs to enable or disable its
44 current limit to meet operation demands.
94 - regulator current output limit is 20mA @ 5V but is
103 - Domain-3 current limit is 0mA -> 20mA.
106 dynamically setting voltage or current limit levels.
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/iio/dac/
Dad5758.txt24 current or voltage output at the VIOUT pin. Only one mode
28 * 1: DPC current mode
30 * 3: PPC current mode
32 Depending on the selected output mode (voltage or current) one of the
42 - adi,range-microamp: Current output range
43 The array of current output ranges must contain two fields:
44 * <0 20000>: 0 mA to 20 mA current range
45 * <0 24000>: 0 mA to 24 mA current range
46 * <4 24000>: 4 mA to 20 mA current range
47 * <(-20000) 20000>: ±20 mA current range
[all …]
/kernel/linux/linux-4.19/arch/m68k/mm/
Dfault.c27 signo = current->thread.signo; in send_fault_sig()
28 si_code = current->thread.code; in send_fault_sig()
29 addr = (void __user *)current->thread.faddr; in send_fault_sig()
33 force_sig_fault(signo, si_code, addr, current); in send_fault_sig()
39 // force_sig_fault(si_signo, si_code, addr, current); in send_fault_sig()
71 struct mm_struct *mm = current->mm; in do_page_fault()
141 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) in do_page_fault()
161 current->maj_flt++; in do_page_fault()
163 current->min_flt++; in do_page_fault()
195 current->thread.signo = SIGBUS; in do_page_fault()
[all …]
/kernel/linux/linux-4.19/scripts/gdb/linux/
Dlists.py59 gdb.write('prev.next != current: '
60 'current@{current_addr}={current} '
63 current=c,
70 'current@{current_addr}={current}\n'.format(
72 current=c
77 gdb.write('next.prev != current: '
78 'current@{current_addr}={current} '
81 current=c,
88 'current@{current_addr}={current}\n'.format(
90 current=c

12345678910>>...343