/linux-master/tools/gpio/ |
H A D | gpio-utils.c | 106 * @values: The array of values want to set. 111 int gpiotools_set_values(const int fd, struct gpio_v2_line_values *values) argument 115 ret = ioctl(fd, GPIO_V2_LINE_SET_VALUES_IOCTL, values); 130 * @values: The array of values get from hardware. 135 int gpiotools_get_values(const int fd, struct gpio_v2_line_values *values) argument 139 ret = ioctl(fd, GPIO_V2_LINE_GET_VALUES_IOCTL, values); 194 * gpiotools_gets() - Get values from specific lines. 200 * @values 205 gpiotools_gets(const char *device_name, unsigned int *lines, unsigned int num_lines, unsigned int *values) argument 263 gpiotools_sets(const char *device_name, unsigned int *lines, unsigned int num_lines, unsigned int *values) argument [all...] |
H A D | gpio-event-mon.c | 34 struct gpio_v2_line_values values; local 59 values.mask = 0; 60 values.bits = 0; 62 gpiotools_set_bit(&values.mask, i); 63 ret = gpiotools_get_values(lfd, &values); 74 gpiotools_test_bit(values.bits, 0)); 80 fprintf(stdout, "Initial line values: %d", 81 gpiotools_test_bit(values.bits, 0)); 84 gpiotools_test_bit(values.bits, i)); 86 gpiotools_test_bit(values [all...] |
/linux-master/net/ax25/ |
H A D | ax25_dev.c | 69 ax25_dev->values[AX25_VALUES_IPDEFMODE] = AX25_DEF_IPDEFMODE; 70 ax25_dev->values[AX25_VALUES_AXDEFMODE] = AX25_DEF_AXDEFMODE; 71 ax25_dev->values[AX25_VALUES_BACKOFF] = AX25_DEF_BACKOFF; 72 ax25_dev->values[AX25_VALUES_CONMODE] = AX25_DEF_CONMODE; 73 ax25_dev->values[AX25_VALUES_WINDOW] = AX25_DEF_WINDOW; 74 ax25_dev->values[AX25_VALUES_EWINDOW] = AX25_DEF_EWINDOW; 75 ax25_dev->values[AX25_VALUES_T1] = AX25_DEF_T1; 76 ax25_dev->values[AX25_VALUES_T2] = AX25_DEF_T2; 77 ax25_dev->values[AX25_VALUES_T3] = AX25_DEF_T3; 78 ax25_dev->values[AX25_VALUES_IDL [all...] |
/linux-master/drivers/i2c/muxes/ |
H A D | i2c-mux-gpio.c | 27 DECLARE_BITMAP(values, BITS_PER_TYPE(val)); 29 values[0] = val; 31 gpiod_set_array_value_cansleep(mux->ngpios, mux->gpios, NULL, values); 61 unsigned int *values; local 93 values = devm_kcalloc(dev, 94 mux->data.n_values, sizeof(*mux->data.values), 96 if (!values) { 97 dev_err(dev, "Cannot allocate values array"); 103 fwnode_property_read_u32(child, "reg", values + i); 105 rc = acpi_get_local_address(ACPI_HANDLE_FWNODE(child), values [all...] |
/linux-master/tools/perf/util/ |
H A D | counts.h | 14 struct xyarray *values; member in struct:perf_counts 22 return xyarray__entry(counts->values, cpu_map_idx, thread);
|
H A D | bpf_counter_cgroup.c | 237 struct bpf_perf_event_value *values; local 245 values = calloc(total_cpus, sizeof(*values)); 246 if (values == NULL) 256 err = bpf_map_lookup_elem(reading_map_fd, &idx, values); 265 counts->val = values[cpu.cpu].counter; 266 counts->ena = values[cpu.cpu].enabled; 267 counts->run = values[cpu.cpu].running; 272 free(values);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_map_in_map_invalid.c | 17 __array(values, struct inner);
|
H A D | verifier_map_ptr_mixing.c | 34 __array(values, struct { 51 __array(values, void (void)); 53 .values = { 64 __array(values, void (void)); 66 .values = {
|
H A D | verifier_prevent_map_lookup.c | 19 __array(values, void (void));
|
H A D | test_global_func_args.c | 18 } values SEC(".maps"); 22 bpf_map_update_elem(&values, &index, &value, 0);
|
H A D | linked_list.h | 43 __array(values, struct array_map); 45 .values = {
|
H A D | map_in_map_btf.c | 32 __array(values, struct inner_array_type); 34 .values = {
|
/linux-master/samples/bpf/ |
H A D | tracex6.bpf.c | 19 } values SEC(".maps"); 40 val = bpf_map_lookup_elem(&values, &key); 44 bpf_map_update_elem(&values, &key, &count, BPF_NOEXIST);
|
H A D | lwt_len_hist_user.c | 33 uint64_t values[nr_cpus], sum, max_value = 0, data[MAX_INDEX] = {}; local 51 bpf_map_lookup_elem(map_fd, &next_key, values); 55 sum += values[i];
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_bpftool.py | 89 for helpers in res["helpers"].values(): 114 for helpers in tc["helpers"].values(): 133 for helpers in tc["helpers"].values(): 147 for helpers in full_res["helpers"].values(): 151 for helpers in not_full_res["helpers"].values():
|
/linux-master/drivers/mmc/core/ |
H A D | pwrseq_simple.c | 42 unsigned long *values; local 45 values = bitmap_alloc(nvalues, GFP_KERNEL); 46 if (!values) 50 bitmap_fill(values, nvalues); 52 bitmap_zero(values, nvalues); 55 reset_gpios->info, values); 57 bitmap_free(values);
|
/linux-master/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_hgt.c | 73 const u8 *values = ctrl->p_new.p_u8; local 78 * control min, max and step. The values must match one of the following 87 if (values[i] > values[i+1]) 92 if (values[0] > values[1] && values[11] > values[0])
|
/linux-master/drivers/auxdisplay/ |
H A D | hd44780.c | 66 DECLARE_BITMAP(values, 10); /* for DATA[0-7], RS, RW */ 69 values[0] = val; 70 __assign_bit(8, values, rs); 74 gpiod_set_array_value_cansleep(n, &hd->pins[PIN_DATA0], NULL, values); 82 DECLARE_BITMAP(values, 6); /* for DATA[4-7], RS, RW */ 86 values[0] = val >> 4; 87 __assign_bit(4, values, rs); 91 gpiod_set_array_value_cansleep(n, &hd->pins[PIN_DATA4], NULL, values); 96 values[0] &= ~0x0fUL; 97 values[ [all...] |
/linux-master/kernel/gcov/ |
H A D | gcc_4_7.c | 44 * @num: number of counter values for this type 45 * @values: array of counter values for this type 48 * at run-time with the exception of the values array. 52 gcov_type *values; member in struct:gcov_ctr_info 220 memset(ci_ptr->values, 0, 263 dci_ptr->values[val_idx] += 264 sci_ptr->values[val_idx]; 287 size_t cv_size; /* counter values size */ 324 dci_ptr->values [all...] |
/linux-master/drivers/hwtracing/coresight/ |
H A D | coresight-cti-platform.c | 245 u32 *values; local 250 values = kcalloc(tgrp->nr_sigs, sizeof(u32), GFP_KERNEL); 251 if (!values) 255 values, tgrp->nr_sigs); 260 tgrp->used_mask |= BIT(values[idx]); 263 kfree(values); 272 u32 *values = NULL, i; local 284 /* need an array to store the values iff there are any */ 286 values = kcalloc(items, sizeof(u32), GFP_KERNEL); 287 if (!values) [all...] |
/linux-master/drivers/net/mdio/ |
H A D | mdio-mux-gpio.c | 26 DECLARE_BITMAP(values, BITS_PER_TYPE(desired_child)); 31 values[0] = desired_child; 34 s->gpios->info, values);
|
/linux-master/drivers/mfd/ |
H A D | stmpe-i2c.c | 34 static int i2c_block_read(struct stmpe *stmpe, u8 reg, u8 length, u8 *values) argument 38 return i2c_smbus_read_i2c_block_data(i2c, reg, length, values); 42 const u8 *values) 46 return i2c_smbus_write_i2c_block_data(i2c, reg, length, values); 41 i2c_block_write(struct stmpe *stmpe, u8 reg, u8 length, const u8 *values) argument
|
/linux-master/drivers/media/pci/mgb4/ |
H A D | mgb4_i2c.c | 127 const struct mgb4_i2c_kv *values, size_t count) 133 res = mgb4_i2c_mask_byte(client, values[i].reg, values[i].mask, 134 values[i].val); 126 mgb4_i2c_configure(struct mgb4_i2c_client *client, const struct mgb4_i2c_kv *values, size_t count) argument
|
/linux-master/drivers/gpu/drm/arm/display/include/ |
H A D | malidp_io.h | 41 malidp_write_group(u32 __iomem *base, u32 offset, int num, const u32 *values) argument 46 malidp_write32(base, offset + i * 4, values[i]);
|
/linux-master/tools/testing/selftests/drivers/net/hw/ |
H A D | devlink_port_split.py | 84 values = list(json.loads(stdout)['port'].values())[0] 86 if 'lanes' in values: 87 lanes = values['lanes'] 102 values = list(json.loads(stdout)['port'].values())[0] 104 return values['splittable'] 228 1. devlink_data contains values 232 if any(devlink_data.values()):
|