Home
last modified time | relevance | path

Searched +full:range +full:- +full:double (Results 1 – 25 of 525) sorted by relevance

12345678910>>...21

/linux-6.12.1/tools/perf/bench/
Dmem-functions.c1 // SPDX-License-Identifier: GPL-2.0
3 * mem-memcpy.c
11 #include "../perf-sys.h"
12 #include <subcmd/parse-options.h>
17 #include "mem-memcpy-arch.h"
18 #include "mem-memset-arch.h"
73 cycles_fd = sys_perf_event_open(&cycle_attr, getpid(), -1, -1, perf_event_open_cloexec_flag()); in init_cycles()
77 return -1; in init_cycles()
94 static double timeval2double(struct timeval *ts) in timeval2double()
96 return (double)ts->tv_sec + (double)ts->tv_usec / (double)USEC_PER_SEC; in timeval2double()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/regulator/
Ddlg,da9121.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Adam Ward <Adam.Ward.opensource@diasemi.com>
13 Dialog Semiconductor DA9121 Single-channel 10A double-phase buck converter
14 Dialog Semiconductor DA9122 Double-channel 5A single-phase buck converter
15 Dialog Semiconductor DA9220 Double-channel 3A single-phase buck converter
16 Dialog Semiconductor DA9217 Single-channel 6A double-phase buck converter
17 Dialog Semiconductor DA9130 Single-channel 10A double-phase buck converter
18 Dialog Semiconductor DA9131 Double-channel 5A single-phase buck converter
[all …]
/linux-6.12.1/include/sound/ac97/
Dregs.h1 /* SPDX-License-Identifier: GPL-2.0+
33 /* range 0x28-0x3a - AUDIO AC'97 2.0 extensions */
44 /* range 0x3c-0x58 - MODEM */
59 /* range 0x5a-0x7b - Vendor Specific */
62 /* range 0x60-0x6f (page 1) - extended codec registers */
85 #define AC97_SLOT_PCM_LEFT_0 7 /* double rate operation */
88 #define AC97_SLOT_PCM_RIGHT_0 8 /* double rate operation */
93 #define AC97_SLOT_PCM_LEFT_1 10 /* double rate operation */
96 #define AC97_SLOT_PCM_RIGHT_1 11 /* double rate operation */
99 #define AC97_SLOT_PCM_CENTER_1 12 /* double rate operation */
[all …]
/linux-6.12.1/fs/befs/
Ddatastream.c1 // SPDX-License-Identifier: GPL-2.0
7 * Based on portions of file.c by Makoto Kato <m_kato@ga2.so-net.ne.jp>
39 * befs_read_datastream - get buffer_head containing data, starting from pos.
43 * @off: offset of data in buffer_head->b_data
56 befs_debug(sb, "---> %s %llu", __func__, pos); in befs_read_datastream()
57 block = pos >> BEFS_SB(sb)->block_shift; in befs_read_datastream()
59 *off = pos - (block << BEFS_SB(sb)->block_shift); in befs_read_datastream()
64 befs_debug(sb, "<--- %s ERROR", __func__); in befs_read_datastream()
74 befs_debug(sb, "<--- %s read data, starting at %llu", __func__, pos); in befs_read_datastream()
80 * befs_fblock2brun - give back block run for fblock
[all …]
/linux-6.12.1/sound/soc/
Dsoc-ops.c1 // SPDX-License-Identifier: GPL-2.0+
3 // soc-ops.c -- Generic ASoC operations
11 // with code, comments and ideas from :-
27 #include <sound/soc-dpcm.h>
31 * snd_soc_info_enum_double - enumerated double mixer info callback
35 * Callback to provide information about a double enumerated
43 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in snd_soc_info_enum_double()
45 return snd_ctl_enum_info(uinfo, e->shift_l == e->shift_r ? 1 : 2, in snd_soc_info_enum_double()
46 e->items, e->texts); in snd_soc_info_enum_double()
51 * snd_soc_get_enum_double - enumerated double mixer get callback
[all …]
/linux-6.12.1/tools/power/cpupower/utils/idle_monitor/
Dnhm_idle.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #include "idle_monitor/cpupower-monitor.h"
29 static int nhm_get_count_percent(unsigned int self_id, double *percent,
37 .range = RANGE_CORE,
44 .range = RANGE_CORE,
52 .range = RANGE_PACKAGE,
59 .range = RANGE_PACKAGE,
93 return -1; in nhm_get_count()
96 return -1; in nhm_get_count()
101 static int nhm_get_count_percent(unsigned int id, double *percent, in nhm_get_count_percent()
[all …]
Dhsw_ext_idle.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Based on SandyBridge monitor. Implements the new package C-states
17 #include "idle_monitor/cpupower-monitor.h"
28 static int hsw_ext_get_count_percent(unsigned int self_id, double *percent,
36 .range = RANGE_PACKAGE,
43 .range = RANGE_PACKAGE,
50 .range = RANGE_PACKAGE,
81 return -1; in hsw_ext_get_count()
84 return -1; in hsw_ext_get_count()
88 static int hsw_ext_get_count_percent(unsigned int id, double *percent, in hsw_ext_get_count_percent()
[all …]
Dsnb_idle.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #include "idle_monitor/cpupower-monitor.h"
26 static int snb_get_count_percent(unsigned int self_id, double *percent,
34 .range = RANGE_CORE,
41 .range = RANGE_PACKAGE,
48 .range = RANGE_PACKAGE,
79 return -1; in snb_get_count()
82 return -1; in snb_get_count()
86 static int snb_get_count_percent(unsigned int id, double *percent, in snb_get_count_percent()
92 return -1; in snb_get_count_percent()
[all …]
Dmperf_monitor.c1 // SPDX-License-Identifier: GPL-2.0-only
17 #include "idle_monitor/cpupower-monitor.h"
32 static int mperf_get_count_percent(unsigned int self_id, double *percent,
43 .range = RANGE_THREAD,
50 .range = RANGE_THREAD,
58 .range = RANGE_THREAD,
156 static int mperf_get_count_percent(unsigned int id, double *percent, in mperf_get_count_percent()
163 return -1; in mperf_get_count_percent()
166 return -1; in mperf_get_count_percent()
168 mperf_diff = mperf_current_count[cpu] - mperf_previous_count[cpu]; in mperf_get_count_percent()
[all …]
Damd_fam14h_idle.c1 // SPDX-License-Identifier: GPL-2.0-only
19 #include "idle_monitor/cpupower-monitor.h"
45 static int fam14h_get_count_percent(unsigned int self_id, double *percent,
55 .range = RANGE_PACKAGE,
62 .range = RANGE_PACKAGE,
69 .range = RANGE_PACKAGE,
76 .range = RANGE_PACKAGE,
101 switch (state->id) { in amd_fam14h_get_pci_info()
119 return -1; in amd_fam14h_get_pci_info()
133 /* NBP1 needs extra treating -> write 1 to D18F6x98 bit 1 for init */ in amd_fam14h_init()
[all …]
/linux-6.12.1/include/linux/input/
Dadxl34x.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
33 * Setting the SUPPRESS bit suppresses Double Tap detection if
51 * behavior if Tap/Double Tap is enabled.
61 * value will prevent Tap/Double Tap functions from working.
71 * factor is 1.25 ms/LSB. A zero value will disable the Double Tap
82 * disable the Double Tap function.
152 * result in the function appearing un-responsive if the
162 * holds the threshold value for Free-Fall detection.
163 * The data format is unsigned. The root-sum-square(RSS) value
167 * result in undesirable behavior if Free-Fall interrupt is
[all …]
/linux-6.12.1/arch/xtensa/include/asm/
Dprocessor.h6 * Copyright (C) 2001 - 2008 Tensilica Inc.
53 * kernel, double); and their specific causes are reported via DEBUGCAUSE
62 * We use DEPC also as a flag to distinguish between double and regular
65 * valid double exception address.
83 * general-purpose interrupts.
86 #define LOCKLEVEL (PROFILING_INTLEVEL - 1)
98 #define WBBITS (XCHAL_NUM_AREGS_LOG2 - 2) /* width of WINDOWBASE in bits */
118 * Note: 'text' is the address within the same 1GB range as the ra
139 * pointer sp. reg must be in the range [0..4).
141 #define SPILL_SLOT(sp, reg) (*(((unsigned long *)(sp)) - 4 + (reg)))
[all …]
/linux-6.12.1/drivers/ata/
Dpata_ftide010.c1 // SPDX-License-Identifier: GPL-2.0-only
24 * struct ftide010 - state container for the Faraday FTIDE010
48 /* Gemini-specific properties */
99 * 1, 2, 3 and 4. Range 0..15.
101 * 1, 2, 3 and 4. Range 0..15.
103 * word DMA, Mode 0, 1, and 2 at 50 MHz. Range 0..15.
105 * multi word DMA, Mode 0, 1 and 2 at 50 MHz. Range 0..15.
107 * word DMA, Mode 0, 1 and 2 at 66 MHz. Range 0..15.
109 * multi word DMA, Mode 0, 1 and 2 at 66 MHz. Range 0..15.
111 * DMA, Mode 0, 1, 2, 3, 4 and 5 at 50 MHz. Range 0..7.
[all …]
/linux-6.12.1/tools/perf/scripts/python/
Dparallel-perf.py2 # SPDX-License-Identifier: GPL-2.0
5 # options --cpu and --time so that each job processes a different chunk
20 glb_prog_name = "parallel-perf.py"
88 return [ f"Non-empty error file {self.stderr_name}" ]
139 x = "0" * (10 - len(x)) + x
140 return x[:len(x) - 9] + "." + x[-9:]
150 max_len = len(str(cpus[-1]))
151 cpu_dir_fmt = f"cpu-%.{max_len}u"
157 cpu_option = f"--cpu={cpu}"
162 tr_dir_fmt = "time-range"
[all …]
/linux-6.12.1/tools/thermal/tmon/
Dpid.c1 // SPDX-License-Identifier: GPL-2.0-or-later
29 * PID (Proportional-Integral-Derivative) controller is commonly used in
39 * y[k] = y[k-1] - kp*(x[k] - x[k-1]) + Ki*Ts*e[k] - Kd*(x[k]
40 * - 2*x[k-1]+x[k-2])/Ts
46 static double xk_1, xk_2; /* input temperature x[k-#] */
51 * 2. calculate PID based on Ziegler-Nichols rule
73 syslog(LOG_DEBUG, "TC inactive, relax p-state\n"); in controller_reset()
81 * y[k] = y[k-1] - kp*(x[k] - x[k-1]) + Ki*Ts*e[k] - Kd*(x[k]
82 * - 2*x[k-1]+x[k-2])/Ts
86 void controller_handler(const double xk, double *yk) in controller_handler()
[all …]
/linux-6.12.1/tools/perf/util/
Dblock-range.h1 /* SPDX-License-Identifier: GPL-2.0 */
12 * struct block_range - non-overlapping parts of basic blocks
14 * @start: inclusive start of range
15 * @end: inclusive end of range
18 * @coverage: number of blocks that cover this range
40 struct rb_node *n = rb_next(&br->node); in block_range__next()
53 return iter->start; in block_range_iter()
58 if (iter->start == iter->end) in block_range_iter__next()
61 iter->start = block_range__next(iter->start); in block_range_iter__next()
67 if (!iter->start || !iter->end) in block_range_iter__valid()
[all …]
Dblock-range.c1 // SPDX-License-Identifier: GPL-2.0
2 #include "block-range.h"
21 assert(old < entry->start); in block_range__debug()
22 assert(entry->start <= entry->end); /* single instruction block; jump to a jump */ in block_range__debug()
24 old = entry->end; in block_range__debug()
39 if (addr < entry->start) in block_range__find()
40 p = &parent->rb_left; in block_range__find()
41 else if (addr > entry->end) in block_range__find()
42 p = &parent->rb_right; in block_range__find()
52 struct rb_node **p = &node->rb_left; in rb_link_left_of_node()
[all …]
Dtime-utils.c1 // SPDX-License-Identifier: GPL-2.0
14 #include "time-utils.h"
25 return -1; in parse_nsec_time()
32 return -1; in parse_nsec_time()
43 return -1; in parse_nsec_time()
55 (parse_nsec_time(start_str, &ptime->start) != 0)) { in parse_timestr_sec_nsec()
56 return -1; in parse_timestr_sec_nsec()
60 (parse_nsec_time(end_str, &ptime->end) != 0)) { in parse_timestr_sec_nsec()
61 return -1; in parse_timestr_sec_nsec()
78 return -ENOMEM; in split_start_end()
[all …]
/linux-6.12.1/tools/perf/pmu-events/arch/x86/tigerlake/
Dfloating-point.json12-bit packed double precision floating-point instructions retired; some instructions will count twi…
16-bit packed double precision floating-point instructions retired; some instructions will count twi…
21-bit packed single precision floating-point instructions retired; some instructions will count twi…
25-bit packed single precision floating-point instructions retired; some instructions will count twi…
30-bit packed double precision floating-point instructions retired; some instructions will count twi…
34-bit packed double precision floating-point instructions retired; some instructions will count twi…
39-bit packed single precision floating-point instructions retired; some instructions will count twi…
43-bit packed single precision floating-point instructions retired; some instructions will count twi…
48-bit packed single and 256-bit packed double precision FP instructions retired; some instructions …
52-bit packed single precision and 256-bit packed double precision floating-point instructions reti…
[all …]
/linux-6.12.1/tools/perf/pmu-events/arch/x86/alderlake/
Dfloating-point.json86-bit packed double precision floating-point instructions retired; some instructions will count twi…
90-bit packed double precision floating-point instructions retired; some instructions will count twi…
96-bit packed single precision floating-point instructions retired; some instructions will count twi…
100-bit packed single precision floating-point instructions retired; some instructions will count twi…
106-bit packed double precision floating-point instructions retired; some instructions will count twi…
110-bit packed double precision floating-point instructions retired; some instructions will count twi…
116-bit packed single precision floating-point instructions retired; some instructions will count twi…
120-bit packed single precision floating-point instructions retired; some instructions will count twi…
126-bit packed single and 256-bit packed double precision FP instructions retired; some instructions …
130-bit packed single precision and 256-bit packed double precision floating-point instructions reti…
[all …]
/linux-6.12.1/tools/testing/selftests/kvm/lib/
Duserfaultfd_util.c1 // SPDX-License-Identifier: GPL-2.0
7 * Copyright (C) 2019-2022 Google LLC
29 int uffd = reader_args->uffd; in uffd_handler_thread_fn()
46 TEST_ASSERT(!epoll_ctl(epollfd, EPOLL_CTL_ADD, reader_args->pipe, &evt), in uffd_handler_thread_fn()
54 r = epoll_wait(epollfd, &evt, 1, -1); in uffd_handler_thread_fn()
64 r = read(reader_args->pipe, &tmp_chr, 1); in uffd_handler_thread_fn()
74 if (r == -1) { in uffd_handler_thread_fn()
86 if (reader_args->delay) in uffd_handler_thread_fn()
87 usleep(reader_args->delay); in uffd_handler_thread_fn()
88 r = reader_args->handler(reader_args->uffd_mode, uffd, &msg); in uffd_handler_thread_fn()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/
Dclk_mgr.h2 * Copyright 2012-16 Advanced Micro Devices, Inc.
140 double pstate_latency_us;
141 double sr_exit_time_us;
142 double sr_enter_plus_exit_time_us;
158 double pstate_latency_us;
159 double sr_exit_time_us;
160 double sr_enter_plus_exit_time_us;
161 double fclk_change_latency_us;
312 /* Custom set a memclk freq range*/
/linux-6.12.1/Documentation/devicetree/bindings/iio/adc/
Dadi,ad7923.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Michael Hennerich <michael.hennerich@analog.com>
17 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7923.pdf
18 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7904_7914_7924.pdf
19 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7908_7918_7928.pdf
24 - enum:
25 - adi,ad7904
26 - adi,ad7908
[all …]
/linux-6.12.1/tools/perf/pmu-events/arch/x86/meteorlake/
Dfloating-point.json96-bit packed double precision floating-point instructions retired; some instructions will count twi…
100-bit packed double precision floating-point instructions retired; some instructions will count twi…
106-bit packed single precision floating-point instructions retired; some instructions will count twi…
110-bit packed single precision floating-point instructions retired; some instructions will count twi…
116-bit packed double precision floating-point instructions retired; some instructions will count twi…
120-bit packed double precision floating-point instructions retired; some instructions will count twi…
126-bit packed single precision floating-point instructions retired; some instructions will count twi…
130-bit packed single precision floating-point instructions retired; some instructions will count twi…
136-bit packed single and 256-bit packed double precision FP instructions retired; some instructions …
140-bit packed single precision and 256-bit packed double precision floating-point instructions reti…
[all …]
/linux-6.12.1/tools/perf/pmu-events/arch/x86/graniterapids/
Dfloating-point.json77-bit packed double precision floating-point instructions retired; some instructions will count twi…
81-bit packed double precision floating-point instructions retired; some instructions will count twi…
86-bit packed single precision floating-point instructions retired; some instructions will count twi…
90-bit packed single precision floating-point instructions retired; some instructions will count twi…
95-bit packed double precision floating-point instructions retired; some instructions will count twi…
99-bit packed double precision floating-point instructions retired; some instructions will count twi…
104-bit packed single precision floating-point instructions retired; some instructions will count twi…
108-bit packed single precision floating-point instructions retired; some instructions will count twi…
113-bit packed single and 256-bit packed double precision FP instructions retired; some instructions …
117-bit packed single precision and 256-bit packed double precision floating-point instructions reti…
[all …]

12345678910>>...21