/Linux-v6.6/tools/perf/bench/ |
D | mem-functions.c | 1 // 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-v6.6/Documentation/devicetree/bindings/regulator/ |
D | dlg,da9121.yaml | 1 # 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-v6.6/include/sound/ac97/ |
D | regs.h | 1 /* 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-v6.6/fs/befs/ |
D | datastream.c | 1 // 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-v6.6/sound/soc/ |
D | soc-ops.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // soc-ops.c -- Generic ASoC operations 11 // with code, comments and ideas from :- 26 #include <sound/soc-dpcm.h> 30 * snd_soc_info_enum_double - enumerated double mixer info callback 34 * Callback to provide information about a double enumerated 42 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in snd_soc_info_enum_double() 44 return snd_ctl_enum_info(uinfo, e->shift_l == e->shift_r ? 1 : 2, in snd_soc_info_enum_double() 45 e->items, e->texts); in snd_soc_info_enum_double() 50 * snd_soc_get_enum_double - enumerated double mixer get callback [all …]
|
/Linux-v6.6/tools/power/cpupower/utils/idle_monitor/ |
D | nhm_idle.c | 1 // 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 …]
|
D | hsw_ext_idle.c | 1 // 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 …]
|
D | snb_idle.c | 1 // 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 …]
|
D | mperf_monitor.c | 1 // 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 …]
|
D | amd_fam14h_idle.c | 1 // 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-v6.6/include/linux/input/ |
D | adxl34x.h | 1 /* 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-v6.6/drivers/ata/ |
D | pata_ftide010.c | 1 // 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-v6.6/tools/testing/selftests/kvm/lib/ |
D | userfaultfd_util.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Copyright (C) 2019-2022 Google LLC 31 int uffd = uffd_desc->uffd; in uffd_handler_thread_fn() 32 int pipefd = uffd_desc->pipefds[0]; in uffd_handler_thread_fn() 33 useconds_t delay = uffd_desc->delay; in uffd_handler_thread_fn() 50 r = poll(pollfd, 2, -1); in uffd_handler_thread_fn() 52 case -1: in uffd_handler_thread_fn() 80 if (r == -1) { in uffd_handler_thread_fn() 97 r = uffd_desc->handler(uffd_desc->uffd_mode, uffd, &msg); in uffd_handler_thread_fn() 106 pages / ((double)ts_diff.tv_sec + (double)ts_diff.tv_nsec / NSEC_PER_SEC)); in uffd_handler_thread_fn() [all …]
|
/Linux-v6.6/tools/thermal/tmon/ |
D | pid.c | 1 // 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-v6.6/tools/perf/pmu-events/arch/x86/meteorlake/ |
D | floating-point.json | 53 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 56 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 62 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 65 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 71 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 74 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 80 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 83 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 89 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 92 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/Linux-v6.6/tools/perf/pmu-events/arch/x86/alderlake/ |
D | floating-point.json | 53 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 56 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 62 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 65 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 71 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 74 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 80 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 83 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 89 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 92 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/Linux-v6.6/arch/xtensa/include/asm/ |
D | processor.h | 6 * 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 */ 139 * pointer sp. reg must be in the range [0..4). 141 #define SPILL_SLOT(sp, reg) (*(((unsigned long *)(sp)) - 4 + (reg))) 144 * pointer sp for the call8. reg must be in the range [4..8). [all …]
|
/Linux-v6.6/tools/perf/util/ |
D | block-range.h | 1 /* 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 …]
|
D | block-range.c | 1 // 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 …]
|
D | time-utils.c | 1 // 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 …]
|
D | block-info.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include "block-info.h" 37 .name = "[Program Block Range]", 49 refcount_inc(&bi->refcnt); in block_info__get() 55 if (bi && refcount_dec_and_test(&bi->refcnt)) in block_info__put() 64 refcount_set(&bi->refcnt, 1); in block_info__new() 70 struct block_info *bi_l = left->block_info; in __block_info__cmp() 71 struct block_info *bi_r = right->block_info; in __block_info__cmp() 74 if (!bi_l->sym || !bi_r->sym) { in __block_info__cmp() 75 if (!bi_l->sym && !bi_r->sym) in __block_info__cmp() [all …]
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | clk_mgr.h | 2 * Copyright 2012-16 Advanced Micro Devices, Inc. 120 double pstate_latency_us; 121 double sr_exit_time_us; 122 double sr_enter_plus_exit_time_us; 138 double pstate_latency_us; 139 double sr_exit_time_us; 140 double sr_enter_plus_exit_time_us; 141 double fclk_change_latency_us; 224 double dummy_pstate_latency_us; 289 /* Custom set a memclk freq range*/
|
/Linux-v6.6/tools/perf/pmu-events/arch/x86/tigerlake/ |
D | floating-point.json | 11 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 14 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 19 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 22 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 27 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 30 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 35 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 38 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 43 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 46 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/Linux-v6.6/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
D | floating-point.json | 47 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 50 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 55 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 58 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 63 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 66 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 71 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 74 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 79 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 82 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/iio/adc/ |
D | adi,ad7923.yaml | 1 # 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 …]
|