| /kernel/linux/linux-5.10/tools/perf/util/ |
| D | values.c | 9 #include "values.h" 12 int perf_read_values_init(struct perf_read_values *values) in perf_read_values_init() argument 14 values->threads_max = 16; in perf_read_values_init() 15 values->pid = malloc(values->threads_max * sizeof(*values->pid)); in perf_read_values_init() 16 values->tid = malloc(values->threads_max * sizeof(*values->tid)); in perf_read_values_init() 17 values->value = zalloc(values->threads_max * sizeof(*values->value)); in perf_read_values_init() 18 if (!values->pid || !values->tid || !values->value) { in perf_read_values_init() 22 values->threads = 0; in perf_read_values_init() 24 values->counters_max = 16; in perf_read_values_init() 25 values->counterrawid = malloc(values->counters_max in perf_read_values_init() [all …]
|
| D | counts.c | 14 struct xyarray *values; in perf_counts__new() local 16 values = xyarray__new(ncpus, nthreads, sizeof(struct perf_counts_values)); in perf_counts__new() 17 if (!values) { in perf_counts__new() 22 counts->values = values; in perf_counts__new() 24 values = xyarray__new(ncpus, nthreads, sizeof(bool)); in perf_counts__new() 25 if (!values) { in perf_counts__new() 26 xyarray__delete(counts->values); in perf_counts__new() 31 counts->loaded = values; in perf_counts__new() 41 xyarray__delete(counts->values); in perf_counts__delete() 49 xyarray__reset(counts->values); in perf_counts__reset()
|
| /kernel/linux/linux-6.6/tools/perf/util/ |
| D | values.c | 9 #include "values.h" 12 int perf_read_values_init(struct perf_read_values *values) in perf_read_values_init() argument 14 values->threads_max = 16; in perf_read_values_init() 15 values->pid = malloc(values->threads_max * sizeof(*values->pid)); in perf_read_values_init() 16 values->tid = malloc(values->threads_max * sizeof(*values->tid)); in perf_read_values_init() 17 values->value = zalloc(values->threads_max * sizeof(*values->value)); in perf_read_values_init() 18 if (!values->pid || !values->tid || !values->value) { in perf_read_values_init() 22 values->threads = 0; in perf_read_values_init() 24 values->counters_max = 16; in perf_read_values_init() 25 values->counterrawid = malloc(values->counters_max in perf_read_values_init() [all …]
|
| D | counts.c | 15 struct xyarray *values; in perf_counts__new() local 17 values = xyarray__new(ncpus, nthreads, sizeof(struct perf_counts_values)); in perf_counts__new() 18 if (!values) { in perf_counts__new() 23 counts->values = values; in perf_counts__new() 25 values = xyarray__new(ncpus, nthreads, sizeof(bool)); in perf_counts__new() 26 if (!values) { in perf_counts__new() 27 xyarray__delete(counts->values); in perf_counts__new() 32 counts->loaded = values; in perf_counts__new() 42 xyarray__delete(counts->values); in perf_counts__delete() 50 xyarray__reset(counts->values); in perf_counts__reset()
|
| /kernel/linux/linux-6.6/drivers/iio/test/ |
| D | iio-test-format.c | 47 int values[2]; in iio_test_iio_format_value_fixedpoint() local 55 values[0] = 1; in iio_test_iio_format_value_fixedpoint() 56 values[1] = 10; in iio_test_iio_format_value_fixedpoint() 58 ret = iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO, ARRAY_SIZE(values), values); in iio_test_iio_format_value_fixedpoint() 61 ret = iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO_DB, ARRAY_SIZE(values), values); in iio_test_iio_format_value_fixedpoint() 64 ret = iio_format_value(buf, IIO_VAL_INT_PLUS_NANO, ARRAY_SIZE(values), values); in iio_test_iio_format_value_fixedpoint() 68 values[0] = 0; in iio_test_iio_format_value_fixedpoint() 69 values[1] = 12; in iio_test_iio_format_value_fixedpoint() 71 ret = iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO, ARRAY_SIZE(values), values); in iio_test_iio_format_value_fixedpoint() 74 ret = iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO_DB, ARRAY_SIZE(values), values); in iio_test_iio_format_value_fixedpoint() [all …]
|
| /kernel/linux/linux-5.10/lib/ |
| D | test_min_heap.c | 36 int *values = heap->data; in pop_verify_heap() local 40 last = values[0]; in pop_verify_heap() 44 if (last > values[0]) { in pop_verify_heap() 46 values[0]); in pop_verify_heap() 50 if (last < values[0]) { in pop_verify_heap() 52 values[0]); in pop_verify_heap() 56 last = values[0]; in pop_verify_heap() 64 int values[] = { 3, 1, 2, 4, 0x8000000, 0x7FFFFFF, 0, in test_heapify_all() local 67 .data = values, in test_heapify_all() 68 .nr = ARRAY_SIZE(values), in test_heapify_all() [all …]
|
| D | linear_ranges.c | 3 * helpers to map values in a linear range to range index 18 * linear_range_values_in_range - return the amount of values in a range 19 * @r: pointer to linear range where values are counted 21 * Compute the amount of values in range pointed by @r. Note, values can 23 * 3 values even though they are all equal. 25 * Return: the amount of values in range pointed by @r 36 * linear_range_values_in_range_array - return the amount of values in ranges 37 * @r: pointer to array of linear ranges where values are counted 40 * Compute the amount of values in ranges pointed by @r. Note, values can 42 * 3 values even though they are all equal. [all …]
|
| /kernel/linux/linux-6.6/lib/ |
| D | test_min_heap.c | 36 int *values = heap->data; in pop_verify_heap() local 40 last = values[0]; in pop_verify_heap() 44 if (last > values[0]) { in pop_verify_heap() 46 values[0]); in pop_verify_heap() 50 if (last < values[0]) { in pop_verify_heap() 52 values[0]); in pop_verify_heap() 56 last = values[0]; in pop_verify_heap() 64 int values[] = { 3, 1, 2, 4, 0x8000000, 0x7FFFFFF, 0, in test_heapify_all() local 67 .data = values, in test_heapify_all() 68 .nr = ARRAY_SIZE(values), in test_heapify_all() [all …]
|
| /kernel/liteos_m/tools/ |
| D | mem_analysis.py | 62 for base_address, values in static_map.items(): 64 c.value = values.get('offsets') 66 c.value = values.get('section') 68 c.value = values.get('sizeH') 70 c.value = values.get('sizeD') 72 c.value = values.get('symbol') 74 c.value = values.get('lib') 76 c.value = values.get('obj') 84 for base_address, values in static_map.items(): 85 target_list.append('{:<10s}'.format(values.get('offsets'))) [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/bridge/synopsys/ |
| D | dw-hdmi.h | 543 /* PRODUCT_ID0 field values */ 546 /* PRODUCT_ID1 field values */ 551 /* CONFIG0_ID field values */ 555 /* CONFIG1_ID field values */ 558 /* CONFIG3_ID field values */ 562 /* IH_FC_INT2 field values */ 567 /* IH_FC_STAT2 field values */ 572 /* IH_PHY_STAT0 field values */ 580 /* IH_I2CM_STAT0 and IH_MUTE_I2CM_STAT0 field values */ 584 /* IH_MUTE_I2CMPHY_STAT0 field values */ [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/bridge/synopsys/ |
| D | dw-hdmi.h | 534 /* PRODUCT_ID0 field values */ 537 /* PRODUCT_ID1 field values */ 542 /* CONFIG0_ID field values */ 546 /* CONFIG1_ID field values */ 549 /* CONFIG3_ID field values */ 553 /* IH_FC_INT2 field values */ 558 /* IH_FC_STAT2 field values */ 563 /* IH_PHY_STAT0 field values */ 571 /* IH_I2CM_STAT0 and IH_MUTE_I2CM_STAT0 field values */ 575 /* IH_MUTE_I2CMPHY_STAT0 field values */ [all …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| D | sysfs-class-power | 10 Valid values: Represented as string 19 Valid values: Represented as string 28 Valid values: Represented as string 37 Valid values: "Battery", "UPS", "Mains", "USB", "Wireless" 60 Valid values: Represented in microamps. Negative values are 61 used for discharging batteries, positive values for charging 77 Valid values: Represented in microamps 100 Valid values: Represented in microamps. Negative values are 101 used for discharging batteries, positive values for charging 120 Valid values: Represented in 1/10 Degrees Celsius [all …]
|
| /kernel/linux/linux-6.6/Documentation/ABI/stable/ |
| D | sysfs-devices-system-cpu | 10 Values: 64 bit unsigned integer (bit field) 25 Values: 64 bit unsigned integer (bit field) 31 Values: integer 37 Values: integer 43 Values: integer 49 Values: integer 55 Values: integer 61 Values: integer 66 Values: hexadecimal bitmask. 72 Values: decimal list. [all …]
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| D | sysfs-class-power | 10 Valid values: Represented as string 19 Valid values: Represented as string 28 Valid values: Represented as string 37 Valid values: "Battery", "UPS", "Mains", "USB", "Wireless" 60 Valid values: Represented in microamps. Negative values are 61 used for discharging batteries, positive values for charging 77 Valid values: Represented in microamps 100 Valid values: Represented in microamps. Negative values are 101 used for discharging batteries, positive values for charging 120 Valid values: Represented in 1/10 Degrees Celsius [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/map_tests/ |
| D | array_map_batch_ops.c | 13 int *values) in map_batch_update() argument 23 values[i] = i + 1; in map_batch_update() 26 err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &opts); in map_batch_update() 31 int *keys, int *values) in map_batch_verify() argument 37 CHECK(keys[i] + 1 != values[i], "key/value checking", in map_batch_verify() 38 "error: i %d key %d value %d\n", i, keys[i], values[i]); in map_batch_verify() 55 int map_fd, *keys, *values, *visited; in test_array_map_batch_ops() local 72 values = malloc(max_entries * sizeof(int)); in test_array_map_batch_ops() 74 CHECK(!keys || !values || !visited, "malloc()", "error:%s\n", in test_array_map_batch_ops() 78 map_batch_update(map_fd, max_entries, keys, values); in test_array_map_batch_ops() [all …]
|
| D | htab_map_batch_ops.c | 14 void *values, bool is_pcpu) in map_batch_update() argument 25 v = (value *)values; in map_batch_update() 33 ((int *)values)[i] = i + 2; in map_batch_update() 36 err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &opts); in map_batch_update() 41 int *keys, void *values, bool is_pcpu) in map_batch_verify() argument 48 v = (value *)values; in map_batch_verify() 61 CHECK(keys[i] + 1 != ((int *)values)[i], in map_batch_verify() 64 ((int *)values)[i]); in map_batch_verify() 85 void *values; in __test_map_lookup_and_delete_batch() local 106 values = pcpu_values; in __test_map_lookup_and_delete_batch() [all …]
|
| /kernel/linux/linux-5.10/drivers/pcmcia/ |
| D | max1600.c | 70 DECLARE_BITMAP(values, MAX1600_GPIO_MAX) = { 0, }; in max1600_configure() 75 __assign_bit(MAX1600_GPIO_0VPP, values, 0); in max1600_configure() 76 __assign_bit(MAX1600_GPIO_1VPP, values, 0); in max1600_configure() 78 __assign_bit(MAX1600_GPIO_0VPP, values, 0); in max1600_configure() 79 __assign_bit(MAX1600_GPIO_1VPP, values, 1); in max1600_configure() 81 __assign_bit(MAX1600_GPIO_0VPP, values, 1); in max1600_configure() 82 __assign_bit(MAX1600_GPIO_1VPP, values, 0); in max1600_configure() 95 __assign_bit(MAX1600_GPIO_0VCC, values, 0); in max1600_configure() 96 __assign_bit(MAX1600_GPIO_1VCC, values, 0); in max1600_configure() 98 __assign_bit(MAX1600_GPIO_0VCC, values, 1); in max1600_configure() [all …]
|
| /kernel/linux/linux-6.6/drivers/pcmcia/ |
| D | max1600.c | 70 DECLARE_BITMAP(values, MAX1600_GPIO_MAX) = { 0, }; in max1600_configure() 75 __assign_bit(MAX1600_GPIO_0VPP, values, 0); in max1600_configure() 76 __assign_bit(MAX1600_GPIO_1VPP, values, 0); in max1600_configure() 78 __assign_bit(MAX1600_GPIO_0VPP, values, 0); in max1600_configure() 79 __assign_bit(MAX1600_GPIO_1VPP, values, 1); in max1600_configure() 81 __assign_bit(MAX1600_GPIO_0VPP, values, 1); in max1600_configure() 82 __assign_bit(MAX1600_GPIO_1VPP, values, 0); in max1600_configure() 95 __assign_bit(MAX1600_GPIO_0VCC, values, 0); in max1600_configure() 96 __assign_bit(MAX1600_GPIO_1VCC, values, 0); in max1600_configure() 98 __assign_bit(MAX1600_GPIO_0VCC, values, 1); in max1600_configure() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/map_tests/ |
| D | htab_map_batch_ops.c | 15 void *values, bool is_pcpu) in map_batch_update() argument 26 v = (value *)values; in map_batch_update() 34 ((int *)values)[i] = i + 2; in map_batch_update() 37 err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &opts); in map_batch_update() 42 int *keys, void *values, bool is_pcpu) in map_batch_verify() argument 49 v = (value *)values; in map_batch_verify() 62 CHECK(keys[i] + 1 != ((int *)values)[i], in map_batch_verify() 65 ((int *)values)[i]); in map_batch_verify() 86 void *values; in __test_map_lookup_and_delete_batch() local 100 values = pcpu_values; in __test_map_lookup_and_delete_batch() [all …]
|
| D | array_map_batch_ops.c | 16 __s64 *values, bool is_pcpu) in map_batch_update() argument 30 (values + cpu_offset)[j] = i + 1 + j; in map_batch_update() 32 values[i] = i + 1; in map_batch_update() 36 err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &opts); in map_batch_update() 41 __s64 *values, bool is_pcpu) in map_batch_verify() argument 51 __s64 value = (values + cpu_offset)[j]; in map_batch_verify() 58 CHECK(keys[i] + 1 != values[i], "key/value checking", in map_batch_verify() 60 values[i]); in map_batch_verify() 77 void *values; in __test_map_lookup_and_update_batch() local 93 values = calloc(max_entries, value_size); in __test_map_lookup_and_update_batch() [all …]
|
| D | lpm_trie_map_batch_ops.c | 23 struct test_lpm_key *keys, int *values) in map_batch_update() argument 37 values[i] = i + 1; in map_batch_update() 40 err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &opts); in map_batch_update() 45 struct test_lpm_key *keys, int *values) in map_batch_verify() argument 56 CHECK(lower_byte != values[i], "key/value checking", in map_batch_verify() 57 "error: i %d key %s value %d\n", i, buff, values[i]); in map_batch_verify() 70 int map_fd, *values, *visited; in test_lpm_trie_map_batch_ops() local 87 values = malloc(max_entries * sizeof(int)); in test_lpm_trie_map_batch_ops() 89 CHECK(!keys || !values || !visited, "malloc()", "error:%s\n", in test_lpm_trie_map_batch_ops() 94 map_batch_update(map_fd, max_entries, keys, values); in test_lpm_trie_map_batch_ops() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/usb/cx231xx/ |
| D | cx231xx-dif.h | 22 /* BEGIN - DIF BPF register values from 30_quant.dat*/ 42 /* END - DIF BPF register values from 30_quant.dat*/ 46 /* BEGIN - DIF BPF register values from 31_quant.dat*/ 66 /* END - DIF BPF register values from 31_quant.dat*/ 70 /* BEGIN - DIF BPF register values from 32_quant.dat*/ 90 /* END - DIF BPF register values from 32_quant.dat*/ 94 /* BEGIN - DIF BPF register values from 33_quant.dat*/ 114 /* END - DIF BPF register values from 33_quant.dat*/ 118 /* BEGIN - DIF BPF register values from 34_quant.dat*/ 138 /* END - DIF BPF register values from 34_quant.dat*/ [all …]
|
| /kernel/linux/linux-6.6/drivers/media/usb/cx231xx/ |
| D | cx231xx-dif.h | 22 /* BEGIN - DIF BPF register values from 30_quant.dat*/ 42 /* END - DIF BPF register values from 30_quant.dat*/ 46 /* BEGIN - DIF BPF register values from 31_quant.dat*/ 66 /* END - DIF BPF register values from 31_quant.dat*/ 70 /* BEGIN - DIF BPF register values from 32_quant.dat*/ 90 /* END - DIF BPF register values from 32_quant.dat*/ 94 /* BEGIN - DIF BPF register values from 33_quant.dat*/ 114 /* END - DIF BPF register values from 33_quant.dat*/ 118 /* BEGIN - DIF BPF register values from 34_quant.dat*/ 138 /* END - DIF BPF register values from 34_quant.dat*/ [all …]
|
| /kernel/linux/linux-5.10/include/acpi/ |
| D | acrestyp.h | 186 /* Values for Width field above */ 349 u8 producer_consumer; /* For values, see Producer/Consumer above */ 351 u8 shareable; /* For values, see Interrupt Attributes above */ 352 u8 wake_capable; /* For values, see Interrupt Attributes above */ 354 u8 triggering; /* For values, see Interrupt Attributes above */ 355 u8 polarity; /* For values, see Interrupt Attributes above */ 365 /* Values for GPIO connection_type field above */ 370 /* Values for pin_config field above */ 377 /* Values for io_restriction field above */ 389 …u8 producer_consumer; /* For values, see Producer/Consumer … [all …]
|
| /kernel/linux/linux-6.6/include/acpi/ |
| D | acrestyp.h | 192 /* Values for Width field above */ 358 u8 producer_consumer; /* For values, see Producer/Consumer above */ 360 u8 shareable; /* For values, see Interrupt Attributes above */ 361 u8 wake_capable; /* For values, see Interrupt Attributes above */ 363 u8 triggering; /* For values, see Interrupt Attributes above */ 364 u8 polarity; /* For values, see Interrupt Attributes above */ 374 /* Values for GPIO connection_type field above */ 379 /* Values for pin_config field above */ 386 /* Values for io_restriction field above */ 398 …u8 producer_consumer; /* For values, see Producer/Consumer … [all …]
|