/linux-master/tools/perf/util/ |
H A D | values.c | 9 #include "values.h" 12 int perf_read_values_init(struct perf_read_values *values) argument 14 values->threads_max = 16; 15 values->pid = malloc(values->threads_max * sizeof(*values->pid)); 16 values->tid = malloc(values->threads_max * sizeof(*values->tid)); 17 values 47 perf_read_values_destroy(struct perf_read_values *values) argument 65 perf_read_values__enlarge_threads(struct perf_read_values *values) argument 88 perf_read_values__findnew_thread(struct perf_read_values *values, u32 pid, u32 tid) argument 117 perf_read_values__enlarge_counters(struct perf_read_values *values) argument 162 perf_read_values__findnew_counter(struct perf_read_values *values, u64 rawid, const char *name) argument 184 perf_read_values_add_value(struct perf_read_values *values, u32 pid, u32 tid, u64 rawid, const char *name, u64 value) argument 201 perf_read_values__display_pretty(FILE *fp, struct perf_read_values *values) argument 249 perf_read_values__display_raw(FILE *fp, struct perf_read_values *values) argument 299 perf_read_values_display(FILE *fp, struct perf_read_values *values, int raw) argument [all...] |
H A D | counts.c | 15 struct xyarray *values; local 17 values = xyarray__new(ncpus, nthreads, sizeof(struct perf_counts_values)); 18 if (!values) { 23 counts->values = values; 25 values = xyarray__new(ncpus, nthreads, sizeof(bool)); 26 if (!values) { 27 xyarray__delete(counts->values); 32 counts->loaded = values; 42 xyarray__delete(counts->values); [all...] |
H A D | values.h | 18 int perf_read_values_init(struct perf_read_values *values); 19 void perf_read_values_destroy(struct perf_read_values *values); 21 int perf_read_values_add_value(struct perf_read_values *values, 25 void perf_read_values_display(FILE *fp, struct perf_read_values *values,
|
/linux-master/drivers/iio/test/ |
H A D | iio-test-format.c | 47 int values[2]; local 55 values[0] = 1; 56 values[1] = 10; 58 ret = iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO, ARRAY_SIZE(values), values); 61 ret = iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO_DB, ARRAY_SIZE(values), values); 64 ret = iio_format_value(buf, IIO_VAL_INT_PLUS_NANO, ARRAY_SIZE(values), values); 68 values[ 108 int values[2]; local 148 int values[2]; local 188 int values[] = {1, -2, 3, -4, 5}; local 202 int values[2]; local [all...] |
/linux-master/security/selinux/include/ |
H A D | conditional.h | 17 int **values); 19 int security_set_bools(u32 len, int *values);
|
/linux-master/include/linux/platform_data/ |
H A D | i2c-mux-gpio.h | 18 * @values: Array of bitmasks of GPIO settings (low/high) for each 27 const unsigned *values; member in struct:i2c_mux_gpio_platform_data
|
H A D | i2c-mux-reg.h | 16 * @values: Array of value for each channel 28 const unsigned int *values; member in struct:i2c_mux_reg_platform_data
|
/linux-master/drivers/pcmcia/ |
H A D | max1600.c | 70 DECLARE_BITMAP(values, MAX1600_GPIO_MAX) = { 0, }; 75 __assign_bit(MAX1600_GPIO_0VPP, values, 0); 76 __assign_bit(MAX1600_GPIO_1VPP, values, 0); 78 __assign_bit(MAX1600_GPIO_0VPP, values, 0); 79 __assign_bit(MAX1600_GPIO_1VPP, values, 1); 81 __assign_bit(MAX1600_GPIO_0VPP, values, 1); 82 __assign_bit(MAX1600_GPIO_1VPP, values, 0); 95 __assign_bit(MAX1600_GPIO_0VCC, values, 0); 96 __assign_bit(MAX1600_GPIO_1VCC, values, 0); 98 __assign_bit(MAX1600_GPIO_0VCC, values, [all...] |
H A D | sa1111_jornada720.c | 64 DECLARE_BITMAP(values, J720_GPIO_MAX) = { 0, }; 75 __assign_bit(J720_GPIO_PWR, values, 0); 76 __assign_bit(J720_GPIO_3V, values, 0); 79 __assign_bit(J720_GPIO_PWR, values, 1); 80 __assign_bit(J720_GPIO_3V, values, 1); 83 __assign_bit(J720_GPIO_PWR, values, 1); 84 __assign_bit(J720_GPIO_3V, values, 0); 93 __assign_bit(J720_GPIO_PWR, values, 0); 94 __assign_bit(J720_GPIO_3V, values, 0); 98 __assign_bit(J720_GPIO_PWR, values, [all...] |
/linux-master/lib/ |
H A D | test_min_heap.c | 36 int *values = heap->data; local 40 last = values[0]; 44 if (last > values[0]) { 46 values[0]); 50 if (last < values[0]) { 52 values[0]); 56 last = values[0]; 64 int values[] = { 3, 1, 2, 4, 0x8000000, 0x7FFFFFF, 0, local 67 .data = values, 68 .nr = ARRAY_SIZE(values), 98 int values[ARRAY_SIZE(data)]; local 131 int values[ARRAY_SIZE(data)]; local [all...] |
/linux-master/tools/testing/selftests/bpf/map_tests/ |
H A D | htab_map_batch_ops.c | 15 void *values, bool is_pcpu) 26 v = (value *)values; 34 ((int *)values)[i] = i + 2; 37 err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &opts); 42 int *keys, void *values, bool is_pcpu) 49 v = (value *)values; 62 CHECK(keys[i] + 1 != ((int *)values)[i], 65 ((int *)values)[i]); 86 void *values; local 100 values 14 map_batch_update(int map_fd, __u32 max_entries, int *keys, void *values, bool is_pcpu) argument 41 map_batch_verify(int *visited, __u32 max_entries, int *keys, void *values, bool is_pcpu) argument [all...] |
H A D | array_map_batch_ops.c | 16 __s64 *values, bool is_pcpu) 30 (values + cpu_offset)[j] = i + 1 + j; 32 values[i] = i + 1; 36 err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &opts); 41 __s64 *values, bool is_pcpu) 51 __s64 value = (values + cpu_offset)[j]; 58 CHECK(keys[i] + 1 != values[i], "key/value checking", 60 values[i]); 77 void *values; local 93 values 15 map_batch_update(int map_fd, __u32 max_entries, int *keys, __s64 *values, bool is_pcpu) argument 40 map_batch_verify(int *visited, __u32 max_entries, int *keys, __s64 *values, bool is_pcpu) argument [all...] |
H A D | lpm_trie_map_batch_ops.c | 23 struct test_lpm_key *keys, int *values) 37 values[i] = i + 1; 40 err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &opts); 45 struct test_lpm_key *keys, int *values) 56 CHECK(lower_byte != values[i], "key/value checking", 57 "error: i %d key %s value %d\n", i, buff, values[i]); 70 int map_fd, *values, *visited; local 87 values = malloc(max_entries * sizeof(int)); 89 CHECK(!keys || !values || !visited, "malloc()", "error:%s\n", 94 map_batch_update(map_fd, max_entries, keys, values); 22 map_batch_update(int map_fd, __u32 max_entries, struct test_lpm_key *keys, int *values) argument 44 map_batch_verify(int *visited, __u32 max_entries, struct test_lpm_key *keys, int *values) argument [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_prog_array_init.c | 22 __array(values, int (void *)); 24 .values = {
|
H A D | test_btf_map_in_map.c | 27 __array(values, struct { 37 * in __inner(values, ...) 41 .values = { (void *)&inner_map1, 0, (void *)&inner_map2 }, 66 __array(values, struct { 74 .values = { 89 __array(values, struct inner_map); 91 .values = { 116 __array(values, struct sockarr_sz1); 118 .values = { (void *)&sockarr_sz1 },
|
H A D | inner_array_lookup.c | 17 __array(values, struct inner_map); 19 .values = {
|
H A D | test_ringbuf_multi.c | 27 __array(values, struct ringbuf_map); 29 .values = { 39 __array(values, struct ringbuf_map); 41 .values = {
|
H A D | access_map_in_map.c | 21 __array(values, struct inner_map_type); 23 .values = { 33 __array(values, struct inner_map_type); 35 .values = {
|
H A D | test_map_in_map.c | 38 __array(values, struct perf_event_array); 40 .values = {&inner_map0}}; 46 __array(values, struct perf_event_array); 48 .values = {&inner_map0}};
|
/linux-master/tools/gpio/ |
H A D | gpio-hammer.c | 28 struct gpio_v2_line_values values; local 46 values.mask = 0; 47 values.bits = 0; 49 gpiotools_set_bit(&values.mask, i); 51 ret = gpiotools_get_values(fd, &values); 63 fprintf(stdout, "%d", gpiotools_test_bit(values.bits, i)); 74 gpiotools_change_bit(&values.bits, i); 76 ret = gpiotools_set_values(fd, &values); 80 /* Re-read values to get status */ 81 ret = gpiotools_get_values(fd, &values); [all...] |
H A D | gpio-utils.h | 32 int gpiotools_set_values(const int fd, struct gpio_v2_line_values *values); 33 int gpiotools_get_values(const int fd, struct gpio_v2_line_values *values); 38 unsigned int num_lines, unsigned int *values); 42 unsigned int num_lines, unsigned int *values);
|
/linux-master/drivers/soc/rockchip/ |
H A D | grf.c | 24 const struct rockchip_grf_value *values; member in struct:rockchip_grf_info 39 .values = rk3036_defaults, 50 .values = rk3128_defaults, 61 .values = rk3228_defaults, 74 .values = rk3288_defaults, 85 .values = rk3328_defaults, 96 .values = rk3368_defaults, 107 .values = rk3399_defaults, 120 .values = rk3566_defaults, 131 .values [all...] |
/linux-master/drivers/input/touchscreen/ |
H A D | cyttsp_i2c_common.c | 27 u16 addr, u8 length, void *values) 43 .buf = values, 57 u16 addr, u8 length, const void *values) 73 memcpy(&xfer_buf[1], values, length); 26 cyttsp_i2c_read_block_data(struct device *dev, u8 *xfer_buf, u16 addr, u8 length, void *values) argument 56 cyttsp_i2c_write_block_data(struct device *dev, u8 *xfer_buf, u16 addr, u8 length, const void *values) argument
|
/linux-master/samples/bpf/ |
H A D | tracex3_user.c | 20 __u64 values[nr_cpus]; local 23 memset(values, 0, sizeof(values)); 25 bpf_map_update_elem(fd, &key, values, BPF_ANY); 78 long values[nr_cpus]; local 86 bpf_map_lookup_elem(fd, &key, values); 89 value += values[i];
|
/linux-master/drivers/video/fbdev/matrox/ |
H A D | matroxfb_misc.c | 544 minfo->values.pll.system = get_unaligned_le16(bd->pins + 28) ? 548 minfo->values.reg.mctlwtst = 0x00030101; 556 minfo->values.pll.system = 50000; 558 minfo->values.reg.mctlwtst = 0x00030101; 566 minfo->values.reg.mctlwtst = ((bd->pins[51] & 0x01) ? 0x00000001 : 0) | 570 minfo->values.pll.system = (bd->pins[43] == 0xFF) ? 50000 : ((bd->pins[43] + 100) * 1000); 580 minfo->values.reg.mctlwtst = 0x00030101; 581 minfo->values.pll.system = 50000; 590 minfo->values.reg.mctlwtst = get_unaligned_le32(bd->pins + 48) == 0xFFFFFFFF ? 593 minfo->values [all...] |