Home
last modified time | relevance | path

Searched refs:values (Results 51 - 75 of 727) sorted by relevance

12345678910>>...30

/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Ddevlink_port_split.py82 values = list(json.loads(stdout)['port'].values())[0]
84 if 'lanes' in values:
85 lanes = values['lanes']
100 values = list(json.loads(stdout)['port'].values())[0]
102 return values['splittable']
226 1. devlink_data contains values
230 if any(devlink_data.values()):
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Ddevlink_port_split.py84 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()):
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
H A Daf9005.c46 int readwrite, int type, u8 * values, int len) in af9005_generic_read_write()
85 st->data[8 + i] = values[i]; in af9005_generic_read_write()
88 st->data[8] = values[0]; in af9005_generic_read_write()
113 * identical values for st->data[5] to st->data[8]. in af9005_generic_read_write()
126 values[i] = st->data[8 + i]; in af9005_generic_read_write()
149 u8 * values, int len) in af9005_read_ofdm_registers()
155 values, len); in af9005_read_ofdm_registers()
159 debug_dump(values, len, deb_reg); in af9005_read_ofdm_registers()
179 u8 * values, int len) in af9005_write_ofdm_registers()
182 deb_reg("write %d registers %x values ", le in af9005_write_ofdm_registers()
45 af9005_generic_read_write(struct dvb_usb_device *d, u16 reg, int readwrite, int type, u8 * values, int len) af9005_generic_read_write() argument
148 af9005_read_ofdm_registers(struct dvb_usb_device *d, u16 reg, u8 * values, int len) af9005_read_ofdm_registers() argument
178 af9005_write_ofdm_registers(struct dvb_usb_device *d, u16 reg, u8 * values, int len) af9005_write_ofdm_registers() argument
229 af9005_usb_read_tuner_registers(struct dvb_usb_device *d, u16 reg, u8 * values, int len) af9005_usb_read_tuner_registers() argument
237 af9005_usb_write_tuner_registers(struct dvb_usb_device *d, u16 reg, u8 * values, int len) af9005_usb_write_tuner_registers() argument
245 af9005_write_tuner_registers(struct dvb_usb_device *d, u16 reg, u8 * values, int len) af9005_write_tuner_registers() argument
298 af9005_read_tuner_registers(struct dvb_usb_device *d, u16 reg, u8 addr, u8 * values, int len) af9005_read_tuner_registers() argument
510 af9005_read_eeprom(struct dvb_usb_device *d, u8 address, u8 * values, int len) af9005_read_eeprom() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb/
H A Daf9005.c46 int readwrite, int type, u8 * values, int len) in af9005_generic_read_write()
85 st->data[8 + i] = values[i]; in af9005_generic_read_write()
88 st->data[8] = values[0]; in af9005_generic_read_write()
113 * identical values for st->data[5] to st->data[8]. in af9005_generic_read_write()
126 values[i] = st->data[8 + i]; in af9005_generic_read_write()
149 u8 * values, int len) in af9005_read_ofdm_registers()
155 values, len); in af9005_read_ofdm_registers()
159 debug_dump(values, len, deb_reg); in af9005_read_ofdm_registers()
179 u8 * values, int len) in af9005_write_ofdm_registers()
182 deb_reg("write %d registers %x values ", le in af9005_write_ofdm_registers()
45 af9005_generic_read_write(struct dvb_usb_device *d, u16 reg, int readwrite, int type, u8 * values, int len) af9005_generic_read_write() argument
148 af9005_read_ofdm_registers(struct dvb_usb_device *d, u16 reg, u8 * values, int len) af9005_read_ofdm_registers() argument
178 af9005_write_ofdm_registers(struct dvb_usb_device *d, u16 reg, u8 * values, int len) af9005_write_ofdm_registers() argument
229 af9005_usb_read_tuner_registers(struct dvb_usb_device *d, u16 reg, u8 * values, int len) af9005_usb_read_tuner_registers() argument
237 af9005_usb_write_tuner_registers(struct dvb_usb_device *d, u16 reg, u8 * values, int len) af9005_usb_write_tuner_registers() argument
245 af9005_write_tuner_registers(struct dvb_usb_device *d, u16 reg, u8 * values, int len) af9005_write_tuner_registers() argument
298 af9005_read_tuner_registers(struct dvb_usb_device *d, u16 reg, u8 addr, u8 * values, int len) af9005_read_tuner_registers() argument
510 af9005_read_eeprom(struct dvb_usb_device *d, u8 address, u8 * values, int len) af9005_read_eeprom() argument
[all...]
/kernel/linux/linux-5.10/kernel/gcov/
H A Dgcc_4_7.c47 * @num: number of counter values for this type
48 * @values: array of counter values for this type
51 * at run-time with the exception of the values array.
55 gcov_type *values; member
223 memset(ci_ptr->values, 0, in gcov_info_reset()
266 dci_ptr->values[val_idx] += in gcov_info_add()
267 sci_ptr->values[val_idx]; in gcov_info_add()
290 size_t cv_size; /* counter values size */ in gcov_info_dup()
327 dci_ptr->values in gcov_info_dup()
[all...]
/kernel/linux/linux-6.6/kernel/gcov/
H A Dgcc_4_7.c44 * @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
220 memset(ci_ptr->values, 0, in gcov_info_reset()
263 dci_ptr->values[val_idx] += in gcov_info_add()
264 sci_ptr->values[val_idx]; in gcov_info_add()
287 size_t cv_size; /* counter values size */ in gcov_info_dup()
324 dci_ptr->values in gcov_info_dup()
[all...]
/kernel/linux/linux-5.10/tools/gpio/
H A Dgpio-utils.h38 int gpiotools_set_values(const int fd, struct gpio_v2_line_values *values);
39 int gpiotools_get_values(const int fd, struct gpio_v2_line_values *values);
44 unsigned int num_lines, unsigned int *values);
48 unsigned int num_lines, unsigned int *values);
/kernel/linux/linux-6.6/tools/gpio/
H A Dgpio-utils.h32 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);
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_ringbuf_multi.c27 __array(values, struct ringbuf_map);
29 .values = {
39 __array(values, struct ringbuf_map);
41 .values = {
H A Dverifier_map_ptr_mixing.c34 __array(values, struct {
51 __array(values, void (void));
53 .values = {
64 __array(values, void (void));
66 .values = {
H A Dtest_map_in_map.c38 __array(values, struct perf_event_array);
40 .values = {&inner_map0}};
46 __array(values, struct perf_event_array);
48 .values = {&inner_map0}};
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
H A Dcoresight-cti-platform.c245 u32 *values; in cti_plat_read_trig_group() local
250 values = kcalloc(tgrp->nr_sigs, sizeof(u32), GFP_KERNEL); in cti_plat_read_trig_group()
251 if (!values) in cti_plat_read_trig_group()
255 values, tgrp->nr_sigs); in cti_plat_read_trig_group()
260 tgrp->used_mask |= BIT(values[idx]); in cti_plat_read_trig_group()
263 kfree(values); in cti_plat_read_trig_group()
272 u32 *values = NULL, i; in cti_plat_read_trig_types() local
284 /* need an array to store the values iff there are any */ in cti_plat_read_trig_types()
286 values = kcalloc(items, sizeof(u32), GFP_KERNEL); in cti_plat_read_trig_types()
287 if (!values) in cti_plat_read_trig_types()
[all...]
/kernel/linux/linux-6.6/drivers/hwtracing/coresight/
H A Dcoresight-cti-platform.c245 u32 *values; in cti_plat_read_trig_group() local
250 values = kcalloc(tgrp->nr_sigs, sizeof(u32), GFP_KERNEL); in cti_plat_read_trig_group()
251 if (!values) in cti_plat_read_trig_group()
255 values, tgrp->nr_sigs); in cti_plat_read_trig_group()
260 tgrp->used_mask |= BIT(values[idx]); in cti_plat_read_trig_group()
263 kfree(values); in cti_plat_read_trig_group()
272 u32 *values = NULL, i; in cti_plat_read_trig_types() local
284 /* need an array to store the values iff there are any */ in cti_plat_read_trig_types()
286 values = kcalloc(items, sizeof(u32), GFP_KERNEL); in cti_plat_read_trig_types()
287 if (!values) in cti_plat_read_trig_types()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_property.c49 * Property values are only 64bit. To support bigger piles of data (like gamma
86 * @num_values: number of pre-defined values
116 property->values = kcalloc(num_values, sizeof(uint64_t), in drm_property_create()
118 if (!property->values) in drm_property_create()
137 kfree(property->values); in drm_property_create()
148 * @props: enumeration lists with property values
149 * @num_values: number of pre-defined values
156 * Userspace is only allowed to set one of the predefined values for enumeration
197 * @supported_bits: bitmask of all supported enumeration values
205 * or'ed together combination of the predefined property bitflag values
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_property.c49 * Property values are only 64bit. To support bigger piles of data (like gamma
86 * @num_values: number of pre-defined values
116 property->values = kcalloc(num_values, sizeof(uint64_t), in drm_property_create()
118 if (!property->values) in drm_property_create()
136 kfree(property->values); in drm_property_create()
147 * @props: enumeration lists with property values
148 * @num_values: number of pre-defined values
155 * Userspace is only allowed to set one of the predefined values for enumeration
196 * @supported_bits: bitmask of all supported enumeration values
204 * or'ed together combination of the predefined property bitflag values
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dbpf_counter.c231 struct bpf_perf_event_value values[num_cpu_bpf]; in bpf_program_profiler__read() local
253 err = bpf_map_lookup_elem(reading_map_fd, &key, values); in bpf_program_profiler__read()
265 counts->val += values[bpf_cpu].counter; in bpf_program_profiler__read()
266 counts->ena += values[bpf_cpu].enabled; in bpf_program_profiler__read()
267 counts->run += values[bpf_cpu].running; in bpf_program_profiler__read()
614 struct bpf_perf_event_value values[num_cpu_bpf]; in bperf__read() local
627 err = bpf_map_lookup_elem(reading_map_fd, &i, values); in bperf__read()
636 counts->val = values[entry.cpu].counter; in bperf__read()
637 counts->ena = values[entry.cpu].enabled; in bperf__read()
638 counts->run = values[entr in bperf__read()
[all...]
H A Dbpf_counter_cgroup.c238 struct bpf_perf_event_value *values; in bperf_cgrp__read() local
246 values = calloc(total_cpus, sizeof(*values)); in bperf_cgrp__read()
247 if (values == NULL) in bperf_cgrp__read()
257 err = bpf_map_lookup_elem(reading_map_fd, &idx, values); in bperf_cgrp__read()
266 counts->val = values[cpu.cpu].counter; in bperf_cgrp__read()
267 counts->ena = values[cpu.cpu].enabled; in bperf_cgrp__read()
268 counts->run = values[cpu.cpu].running; in bperf_cgrp__read()
273 free(values); in bperf_cgrp__read()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_bpftool.py87 for helpers in res["helpers"].values():
115 for helpers in tc["helpers"].values():
137 for helpers in tc["helpers"].values():
151 for helpers in full_res["helpers"].values():
155 for helpers in not_full_res["helpers"].values():
/kernel/linux/linux-5.10/lib/
H A Dlinear_ranges.c3 * 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 i
52 int values; linear_range_values_in_range_array() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dtest_bpftool.py89 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():
/kernel/linux/linux-6.6/lib/
H A Dlinear_ranges.c3 * 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 i
52 int values; linear_range_values_in_range_array() local
[all...]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
H A Dcyttsp_i2c_common.c27 u16 addr, u8 length, void *values) in cyttsp_i2c_read_block_data()
43 .buf = values, in cyttsp_i2c_read_block_data()
57 u16 addr, u8 length, const void *values) in cyttsp_i2c_write_block_data()
73 memcpy(&xfer_buf[1], values, length); in cyttsp_i2c_write_block_data()
26 cyttsp_i2c_read_block_data(struct device *dev, u8 *xfer_buf, u16 addr, u8 length, void *values) cyttsp_i2c_read_block_data() argument
56 cyttsp_i2c_write_block_data(struct device *dev, u8 *xfer_buf, u16 addr, u8 length, const void *values) cyttsp_i2c_write_block_data() argument
/kernel/linux/linux-6.6/drivers/input/touchscreen/
H A Dcyttsp_i2c_common.c27 u16 addr, u8 length, void *values) in cyttsp_i2c_read_block_data()
43 .buf = values, in cyttsp_i2c_read_block_data()
57 u16 addr, u8 length, const void *values) in cyttsp_i2c_write_block_data()
73 memcpy(&xfer_buf[1], values, length); in cyttsp_i2c_write_block_data()
26 cyttsp_i2c_read_block_data(struct device *dev, u8 *xfer_buf, u16 addr, u8 length, void *values) cyttsp_i2c_read_block_data() argument
56 cyttsp_i2c_write_block_data(struct device *dev, u8 *xfer_buf, u16 addr, u8 length, const void *values) cyttsp_i2c_write_block_data() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_acl_flex_keys.c13 * that will be used to store key/mask values. For each defined element type
384 void mlxsw_afk_values_add_u32(struct mlxsw_afk_element_values *values, in mlxsw_afk_values_add_u32() argument
396 __mlxsw_item_set32(values->storage.key, storage_item, 0, key_value); in mlxsw_afk_values_add_u32()
397 __mlxsw_item_set32(values->storage.mask, storage_item, 0, mask_value); in mlxsw_afk_values_add_u32()
398 mlxsw_afk_element_usage_add(&values->elusage, element); in mlxsw_afk_values_add_u32()
402 void mlxsw_afk_values_add_buf(struct mlxsw_afk_element_values *values, in mlxsw_afk_values_add_buf() argument
416 __mlxsw_item_memcpy_to(values->storage.key, key_value, in mlxsw_afk_values_add_buf()
418 __mlxsw_item_memcpy_to(values->storage.mask, mask_value, in mlxsw_afk_values_add_buf()
420 mlxsw_afk_element_usage_add(&values->elusage, element); in mlxsw_afk_values_add_buf()
467 struct mlxsw_afk_element_values *values, in mlxsw_afk_encode()
465 mlxsw_afk_encode(struct mlxsw_afk *mlxsw_afk, struct mlxsw_afk_key_info *key_info, struct mlxsw_afk_element_values *values, char *key, char *mask) mlxsw_afk_encode() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_acl_flex_keys.c13 * that will be used to store key/mask values. For each defined element type
382 void mlxsw_afk_values_add_u32(struct mlxsw_afk_element_values *values, in mlxsw_afk_values_add_u32() argument
394 __mlxsw_item_set32(values->storage.key, storage_item, 0, key_value); in mlxsw_afk_values_add_u32()
395 __mlxsw_item_set32(values->storage.mask, storage_item, 0, mask_value); in mlxsw_afk_values_add_u32()
396 mlxsw_afk_element_usage_add(&values->elusage, element); in mlxsw_afk_values_add_u32()
400 void mlxsw_afk_values_add_buf(struct mlxsw_afk_element_values *values, in mlxsw_afk_values_add_buf() argument
414 __mlxsw_item_memcpy_to(values->storage.key, key_value, in mlxsw_afk_values_add_buf()
416 __mlxsw_item_memcpy_to(values->storage.mask, mask_value, in mlxsw_afk_values_add_buf()
418 mlxsw_afk_element_usage_add(&values->elusage, element); in mlxsw_afk_values_add_buf()
465 struct mlxsw_afk_element_values *values, in mlxsw_afk_encode()
463 mlxsw_afk_encode(struct mlxsw_afk *mlxsw_afk, struct mlxsw_afk_key_info *key_info, struct mlxsw_afk_element_values *values, char *key, char *mask) mlxsw_afk_encode() argument
[all...]

Completed in 13 milliseconds

12345678910>>...30