| /linux/drivers/tty/vt/ |
| H A D | gen_ucs_width_table.py | 2 # SPDX-License-Identifier: GPL-2.0 17 # --- Global Constants for Width Assignments --- 19 # Known zero-width characters 22 0x200C, # ZERO WIDTH NON-JOINER 25 0xFEFF # ZERO WIDTH NO-BREAK SPACE (BOM) 28 # Zero-width emoji modifiers and components 29 # NOTE: Some of these characters would normally be single-width according to 31 # zero-width because they function as modifiers in emoji sequences. 37 (0xFE00, 0xFE0F), # Variation Selectors 1-16 40 # These would be single-width by Unicode properties, but are zero-width [all …]
|
| H A D | gen_ucs_fallback_table.py | 2 # SPDX-License-Identifier: GPL-2.0 11 # python3 gen_ucs_fallback_table.py -o FILE # Specify output file 33 # Define the range marker value 40 # Process BMP characters (0x0000 - 0xFFFF) to keep table size manageable 41 for cp in range(0x0080, 0x10000): # Skip ASCII range (0x00-0x7F) 69 # Multi-character unidecode output 70 # These map to single chars instead of unidecode's multiple-char mappings 72 overrides[0x00C6] = ord('E') # Æ LATIN CAPITAL LETTER AE -> E (unidecode: "AE") 73 overrides[0x00E6] = ord('e') # æ LATIN SMALL LETTER AE -> e (unidecode: "ae") 74 overrides[0x0152] = ord('E') # Œ LATIN CAPITAL LIGATURE OE -> E (unidecode: "OE") [all …]
|
| H A D | ucs.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ucs.c - Universal Character Set processing 28 if (cp < entry->first) in interval16_cmp() 29 return -1; in interval16_cmp() 30 if (cp > entry->last) in interval16_cmp() 40 if (cp < entry->first) in interval32_cmp() 41 return -1; in interval32_cmp() 42 if (cp > entry->last) in interval32_cmp() 49 if (cp < ranges[0].first || cp > ranges[size - 1].last) in cp_in_range16() 58 if (cp < ranges[0].first || cp > ranges[size - 1].last) in cp_in_range32() [all …]
|
| /linux/sound/soc/ |
| H A 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 :- 30 * snd_soc_info_enum_double - enumerated double mixer info callback 34 * Callback to provide information about a double enumerate [all...] |
| H A D | soc-ops-test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <sound/soc-component.h> 108 ITEST("Test Control", DOUBLE, BOOLEAN, volsw, 0, 1, 0, 1, 0, 0, 0), 109 ITEST("Test Volume", DOUBLE, INTEGER, volsw, 0, 1, 0, 1, 0, 0, 0), 110 ITEST("Test Volume Control", DOUBLE, BOOLEAN, volsw, 0, 1, 0, 1, 0, 0, 0), 114 ITEST("Test Control", DOUBLE, BOOLEAN, volsw, 0, 1, 0, 1, 0, 0, 1), 115 ITEST("Test Volume", DOUBLE, INTEGER, volsw, 0, 1, 0, 1, 0, 0, 1), 116 ITEST("Test Volume Control", DOUBLE, BOOLEAN, volsw, 0, 1, 0, 1, 0, 0, 1), 124 ITEST("Test Control", SINGLE, INTEGER, volsw, 0, 20, -10, 10, 0, 4, 0), 125 ITEST("Test Control", SINGLE, INTEGER, volsw, 0, 15, -10, 10, 15, 4, 0), [all …]
|
| /linux/include/sound/ac97/ |
| H A 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/Documentation/devicetree/bindings/regulator/ |
| H A 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/fs/befs/ |
| H A 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/include/linux/input/ |
| H A 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/arch/xtensa/include/asm/ |
| H A 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 */ 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/drivers/ata/ |
| H A 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/tools/perf/scripts/python/ |
| H A D | parallel-perf.py | 2 # 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/tools/thermal/tmon/ |
| H A 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/tools/power/cpupower/utils/idle_monitor/ |
| H A 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 …]
|
| H A 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/tools/perf/util/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| /linux/tools/perf/bench/ |
| H A 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" 51 "Specify page-size for mapping memory buffers. " 68 "Specify the chunk-size for each invocation. " 126 cycles_fd = sys_perf_event_open(&cycle_attr, getpid(), -1, -1, perf_event_open_cloexec_flag()); in init_cycles() 130 return -1; in init_cycles() [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/tigerlake/ |
| H A D | floating-point.json | 12 …-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/Documentation/devicetree/bindings/iio/dac/ |
| H A D | adi,ad3530r.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kim Seer Paller <kimseer.paller@analog.com> 13 The AD3530/AD3530R (8-channel) and AD3531/AD3531R (4-channel) are low-power, 14 16-bit, buffered voltage output digital-to-analog converters (DACs) with 15 software-programmable gain controls, providing full-scale output spans of 2.5V 20 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3530_ad530r.pdf 21 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3531-ad3531r.pdf 26 - adi,ad3530 [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/alderlake/ |
| H A D | floating-point.json | 104 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 108 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 114 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 118 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 124 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 128 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 134 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 138 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 144 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 148 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
| H A D | clk_mgr.h | 2 * Copyright 2012-16 Advanced Micro Devices, Inc. 151 double pstate_latency_us; 152 double sr_exit_time_us; 153 double sr_enter_plus_exit_time_us; 169 double pstate_latency_us; 170 double sr_exit_time_us; 171 double sr_enter_plus_exit_time_us; 172 double fclk_change_latency_us; 326 /* Custom set a memclk freq range*/
|
| /linux/tools/testing/memblock/tests/ |
| H A D | basic_api.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 57 ASSERT_EQ(rgn->base, r.base); in memblock_add_simple_check() 58 ASSERT_EQ(rgn->size, r.size); in memblock_add_simple_check() 90 ASSERT_EQ(rgn->base, r.base); in memblock_add_node_simple_check() 91 ASSERT_EQ(rgn->size, r.size); in memblock_add_node_simple_check() 93 ASSERT_EQ(rgn->nid, 1); in memblock_add_node_simple_check() 95 ASSERT_EQ(rgn->flags, MEMBLOCK_HOTPLUG); in memblock_add_node_simple_check() 109 * | +--------+ +--------+ | 111 * +--------+--------+--------+--------+--+ 139 ASSERT_EQ(rgn1->base, r1.base); in memblock_add_disjoint_check() [all …]
|
| /linux/Documentation/devicetree/bindings/iio/adc/ |
| H A 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 …]
|