Home
last modified time | relevance | path

Searched full:values (Results 1 – 25 of 6145) sorted by relevance

12345678910>>...246

/Linux-v6.6/tools/perf/util/
Dvalues.c9 #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 …]
Dcounts.c15 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()
/Linux-v6.6/drivers/iio/test/
Diio-test-format.c47 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 …]
/Linux-v6.6/lib/
Dtest_min_heap.c36 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 …]
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 in ranges pointed by @r. Note, values can
42 * 3 values even though they are all equal.
[all …]
/Linux-v6.6/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.h543 /* 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 …]
/Linux-v6.6/Documentation/ABI/stable/
Dsysfs-devices-system-cpu10 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 …]
/Linux-v6.6/Documentation/ABI/testing/
Dsysfs-class-power10 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 …]
Dsysfs-tty29 These sysfs values expose the TIOCGSERIAL interface via
38 These sysfs values expose the TIOCGSERIAL interface via
47 These sysfs values expose the TIOCGSERIAL interface via
56 These sysfs values expose the TIOCGSERIAL interface via
65 These sysfs values expose the TIOCGSERIAL interface via
74 These sysfs values expose the TIOCGSERIAL interface via
83 These sysfs values expose the TIOCGSERIAL interface via
92 These sysfs values expose the TIOCGSERIAL interface via
101 These sysfs values expose the TIOCGSERIAL interface via
110 These sysfs values expose the TIOCGSERIAL interface via
[all …]
Dsysfs-class-switchtec20 Values: arbitrary string.
28 Values: integer.
37 Values: arbitrary string.
45 Values: integer.
53 Values: integer (in hexadecimal).
61 Values: integer.
69 Values: integer.
78 Values: arbitrary string.
87 Values: arbitrary string.
96 Values: arbitrary string.
/Linux-v6.6/drivers/pcmcia/
Dmax1600.c70 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 …]
Dsa1111_jornada720.c64 DECLARE_BITMAP(values, J720_GPIO_MAX) = { 0, }; in jornada720_pcmcia_configure_socket()
75 __assign_bit(J720_GPIO_PWR, values, 0); in jornada720_pcmcia_configure_socket()
76 __assign_bit(J720_GPIO_3V, values, 0); in jornada720_pcmcia_configure_socket()
79 __assign_bit(J720_GPIO_PWR, values, 1); in jornada720_pcmcia_configure_socket()
80 __assign_bit(J720_GPIO_3V, values, 1); in jornada720_pcmcia_configure_socket()
83 __assign_bit(J720_GPIO_PWR, values, 1); in jornada720_pcmcia_configure_socket()
84 __assign_bit(J720_GPIO_3V, values, 0); in jornada720_pcmcia_configure_socket()
93 __assign_bit(J720_GPIO_PWR, values, 0); in jornada720_pcmcia_configure_socket()
94 __assign_bit(J720_GPIO_3V, values, 0); in jornada720_pcmcia_configure_socket()
98 __assign_bit(J720_GPIO_PWR, values, 1); in jornada720_pcmcia_configure_socket()
[all …]
/Linux-v6.6/drivers/media/usb/cx231xx/
Dcx231xx-dif.h22 /* 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 …]
/Linux-v6.6/tools/testing/selftests/bpf/map_tests/
Dhtab_map_batch_ops.c15 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 …]
Darray_map_batch_ops.c16 __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 …]
Dlpm_trie_map_batch_ops.c23 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 …]
/Linux-v6.6/include/acpi/
Dacrestyp.h192 /* 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 …]
/Linux-v6.6/drivers/video/fbdev/matrox/
Dmatroxfb_misc.c544 minfo->values.pll.system = get_unaligned_le16(bd->pins + 28) ? in parse_pins1()
548 minfo->values.reg.mctlwtst = 0x00030101; in parse_pins1()
556 minfo->values.pll.system = 50000; in default_pins1()
558 minfo->values.reg.mctlwtst = 0x00030101; in default_pins1()
566 minfo->values.reg.mctlwtst = ((bd->pins[51] & 0x01) ? 0x00000001 : 0) | in parse_pins2()
570 minfo->values.pll.system = (bd->pins[43] == 0xFF) ? 50000 : ((bd->pins[43] + 100) * 1000); in parse_pins2()
580 minfo->values.reg.mctlwtst = 0x00030101; in default_pins2()
581 minfo->values.pll.system = 50000; in default_pins2()
590 minfo->values.reg.mctlwtst = get_unaligned_le32(bd->pins + 48) == 0xFFFFFFFF ? in parse_pins3()
593 minfo->values.reg.memrdbk = ((bd->pins[57] << 21) & 0x1E000000) | in parse_pins3()
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/powerpc/opal/
Dpower-mgt.txt41 Array of unsigned 32-bit values containing the values of the
61 Array of unsigned 32-bit values containing the values of the
66 Array of unsigned 32-bit values containing the values of the
74 Array of unsigned 64-bit values containing the values for the
79 Array of unsigned 64-bit values containing the masks
90 values.
101 For all the other values of the entry in
107 Array of unsigned 64-bit values containing the pmicr values
115 Array of unsigned 64-bit values containing the mask indicating
/Linux-v6.6/tools/gpio/
Dgpio-utils.c106 * @values: The array of values want to set.
111 int gpiotools_set_values(const int fd, struct gpio_v2_line_values *values) in gpiotools_set_values() argument
115 ret = ioctl(fd, GPIO_V2_LINE_SET_VALUES_IOCTL, values); in gpiotools_set_values()
130 * @values: The array of values get from hardware.
135 int gpiotools_get_values(const int fd, struct gpio_v2_line_values *values) in gpiotools_get_values() argument
139 ret = ioctl(fd, GPIO_V2_LINE_GET_VALUES_IOCTL, values); in gpiotools_get_values()
194 * gpiotools_gets() - Get values from specific lines.
200 * @values: The array of values get from gpiochip.
206 unsigned int num_lines, unsigned int *values) in gpiotools_gets() argument
227 values[i] = gpiotools_test_bit(lv.bits, i); in gpiotools_gets()
[all …]
/Linux-v6.6/drivers/net/wireless/broadcom/b43/
Dlo.h13 /* Control values. */
17 /* Debugging: Poison value for i and q values. */
23 /* The set of attenuation values this set of LO
24 * control values is calibrated for. */
27 /* The set of control values for the LO. */
40 /* Lists of RF and BB attenuation values for this device.
49 /* List of calibrated control values (struct b43_lo_calib). */
53 /* Last time the txctl values were measured (jiffies). */
75 * and txctl values.
78 /* Adjust to specific values. */
/Linux-v6.6/net/ax25/
Dax25_dev.c68 ax25_dev->values[AX25_VALUES_IPDEFMODE] = AX25_DEF_IPDEFMODE; in ax25_dev_device_up()
69 ax25_dev->values[AX25_VALUES_AXDEFMODE] = AX25_DEF_AXDEFMODE; in ax25_dev_device_up()
70 ax25_dev->values[AX25_VALUES_BACKOFF] = AX25_DEF_BACKOFF; in ax25_dev_device_up()
71 ax25_dev->values[AX25_VALUES_CONMODE] = AX25_DEF_CONMODE; in ax25_dev_device_up()
72 ax25_dev->values[AX25_VALUES_WINDOW] = AX25_DEF_WINDOW; in ax25_dev_device_up()
73 ax25_dev->values[AX25_VALUES_EWINDOW] = AX25_DEF_EWINDOW; in ax25_dev_device_up()
74 ax25_dev->values[AX25_VALUES_T1] = AX25_DEF_T1; in ax25_dev_device_up()
75 ax25_dev->values[AX25_VALUES_T2] = AX25_DEF_T2; in ax25_dev_device_up()
76 ax25_dev->values[AX25_VALUES_T3] = AX25_DEF_T3; in ax25_dev_device_up()
77 ax25_dev->values[AX25_VALUES_IDLE] = AX25_DEF_IDLE; in ax25_dev_device_up()
[all …]
/Linux-v6.6/Documentation/trace/coresight/
Dcoresight-config.rst33 is device dependent, and can be defined in terms of absolute register values,
34 resource usage and parameter values.
66 Users can update parameter values using the configfs API for the CoreSight
87 as well as any preset values that can be used to override default parameter
88 values.
91 Preset Values
94 Preset values are easily selectable sets of parameter values for the features
95 that the configuration uses. The number of values in a single preset set, equals
96 the sum of parameter values in the features used by the configuration.
100 therefore have 3 values.
[all …]
/Linux-v6.6/Documentation/userspace-api/media/dvb/
Dfe_property_parameters.rst121 Possible values: ``1712000``, ``5000000``, ``6000000``, ``7000000``,
125 Terrestrial Standard Possible values for bandwidth
164 The acceptable values are defined by :c:type:`fe_spectral_inversion`.
192 The acceptable values are defined by :c:type:`fe_code_rate`.
207 The acceptable values are defined by :c:type:`fe_sec_voltage`.
227 The acceptable values are defined by :c:type:`fe_pilot`.
239 The acceptable values are defined by :c:type:`fe_rolloff`.
273 The acceptable values are defined by :c:type:`fe_delivery_system`.
286 If '1' ``DTV_ISDBT_LAYERA_*`` values are assigned to the center segment
293 Possible values: 0, 1, -1 (AUTO)
[all …]
/Linux-v6.6/include/drm/
Ddrm_property.h33 * struct drm_property_enum - symbolic values for enumerations
34 * @head: list of enum values, linked to &drm_property.enum_list
58 * of the property with the set of permissible values. This means that when a
98 * Range properties report their minimum and maximum admissible unsigned values.
99 * The KMS core verifies that values set by application fit in that
104 * Range properties report their minimum and maximum admissible unsigned values.
105 * The KMS core verifies that values set by application fit in that
111 * the number of enumerated values defined by the property minus one,
114 * numerical value to get and set property instance values. Enum
119 * restrict all enumerated values to the 0..63 range. Bitmask property
[all …]

12345678910>>...246