Home
last modified time | relevance | path

Searched refs:array (Results 51 – 75 of 1443) sorted by relevance

12345678910>>...58

/linux-6.15/tools/perf/util/
H A Ddemangle-java.c48 int array = 0; in __demangle_java_sym() local
87 while (array--) in __demangle_java_sym()
89 array = 0; in __demangle_java_sym()
97 while (array--) in __demangle_java_sym()
99 array = 0; in __demangle_java_sym()
106 array++; in __demangle_java_sym()
H A Dbpf-utils.c75 __u32 *array = (__u32 *)info; in bpf_prog_info_read_offset_u32() local
78 return array[offset / sizeof(__u32)]; in bpf_prog_info_read_offset_u32()
85 __u64 *array = (__u64 *)info; in bpf_prog_info_read_offset_u64() local
88 return array[offset / sizeof(__u64)]; in bpf_prog_info_read_offset_u64()
95 __u32 *array = (__u32 *)info; in bpf_prog_info_set_offset_u32() local
98 array[offset / sizeof(__u32)] = val; in bpf_prog_info_set_offset_u32()
104 __u64 *array = (__u64 *)info; in bpf_prog_info_set_offset_u64() local
107 array[offset / sizeof(__u64)] = val; in bpf_prog_info_set_offset_u64()
/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dpercpu_alloc_array.c17 } array SEC(".maps");
32 e = bpf_map_lookup_elem(&array, &index); in BPF_PROG()
56 e = bpf_map_lookup_elem(&array, &index); in BPF_PROG()
88 e = bpf_map_lookup_elem(&array, &index); in BPF_PROG()
116 e = bpf_map_lookup_elem(&array, &index); in BPF_PROG()
140 e = bpf_map_lookup_elem(&array, &index); in BPF_PROG()
H A Dverifier_private_stack.c23 } array SEC(".maps");
228 arr_timer = bpf_map_lookup_elem(&array, &array_key); in private_stack_async_callback_1()
232 bpf_timer_init(arr_timer, &array, 1); in private_stack_async_callback_1()
249 arr_timer = bpf_map_lookup_elem(&array, &array_key); in private_stack_async_callback_2()
253 bpf_timer_init(arr_timer, &array, 1); in private_stack_async_callback_2()
/linux-6.15/drivers/video/fbdev/
H A Dssd1307fb.c116 struct ssd1307fb_array *array; in ssd1307fb_alloc_array() local
119 if (!array) in ssd1307fb_alloc_array()
122 array->type = type; in ssd1307fb_alloc_array()
124 return array; in ssd1307fb_alloc_array()
145 struct ssd1307fb_array *array; in ssd1307fb_write_cmd() local
149 if (!array) in ssd1307fb_write_cmd()
152 array->data[0] = cmd; in ssd1307fb_write_cmd()
155 kfree(array); in ssd1307fb_write_cmd()
216 struct ssd1307fb_array *array; in ssd1307fb_update_rect() local
224 if (!array) in ssd1307fb_update_rect()
[all …]
/linux-6.15/Documentation/userspace-api/media/mediactl/
H A Dmedia-ioc-enum-links.rst42 If the ``pads`` field is not NULL, the driver fills the ``pads`` array
43 with information about the entity's pads. The array must have enough
47 If the ``links`` field is not NULL, the driver fills the ``links`` array
48 with information about the entity's outbound links. The array must have
70 - Pointer to a pads array allocated by the application. Ignored if
75 - Pointer to a links array allocated by the application. Ignored if
81 the array to zero.
107 the array to zero.
134 the array to zero.
/linux-6.15/arch/x86/kvm/
H A Dcpuid.c1245 if (array->nent >= array->maxnent) in get_next_cpuid()
1248 return &array->entries[array->nent++]; in get_next_cpuid()
1333 if (array->nent >= array->maxnent) in __do_cpuid_func_emulated()
1336 array->nent += cpuid_func_emulated(&array->entries[array->nent], func, false); in __do_cpuid_func_emulated()
1510 --array->nent; in __do_cpuid_func()
1829 limit = array->entries[array->nent - 1].eax; in get_cpuid_func()
1874 struct kvm_cpuid_array array = { in kvm_dev_ioctl_get_cpuid() local
1888 if (!array.entries) in kvm_dev_ioctl_get_cpuid()
1891 array.maxnent = cpuid->nent; in kvm_dev_ioctl_get_cpuid()
1898 cpuid->nent = array.nent; in kvm_dev_ioctl_get_cpuid()
[all …]
/linux-6.15/drivers/platform/chrome/
H A Dcros_ec_sensorhub_ring.c165 if (array[lo] > array[mid]) in cros_ec_sensor_ring_median()
166 cros_ec_sensor_ring_median_swap(&array[lo], &array[mid]); in cros_ec_sensor_ring_median()
167 if (array[lo] > array[hi]) in cros_ec_sensor_ring_median()
168 cros_ec_sensor_ring_median_swap(&array[lo], &array[hi]); in cros_ec_sensor_ring_median()
169 if (array[mid] < array[hi]) in cros_ec_sensor_ring_median()
170 cros_ec_sensor_ring_median_swap(&array[mid], &array[hi]); in cros_ec_sensor_ring_median()
172 pivot = array[hi]; in cros_ec_sensor_ring_median()
176 if (array[j] < pivot) in cros_ec_sensor_ring_median()
177 cros_ec_sensor_ring_median_swap(&array[++i], &array[j]); in cros_ec_sensor_ring_median()
180 cros_ec_sensor_ring_median_swap(&array[i + 1], &array[hi]); in cros_ec_sensor_ring_median()
[all …]
/linux-6.15/net/8021q/
H A Dvlan.h56 struct net_device **array; in __vlan_group_get_device() local
58 array = vg->vlan_devices_arrays[pidx] in __vlan_group_get_device()
64 return array ? array[vlan_id % VLAN_GROUP_ARRAY_PART_LEN] : NULL; in __vlan_group_get_device()
84 struct net_device **array; in vlan_group_set_device() local
88 array = vg->vlan_devices_arrays[pidx] in vlan_group_set_device()
90 array[vlan_id % VLAN_GROUP_ARRAY_PART_LEN] = dev; in vlan_group_set_device()
/linux-6.15/Documentation/driver-api/md/
H A Draid5-ppl.rst7 may become inconsistent with data on other member disks. If the array is also
10 array or using it is as degraded - data calculated from parity for array blocks
13 this, md by default does not allow starting a dirty degraded array.
21 contents. PPL recovery is also performed when starting an array after an
23 the array. Because of this, using write-intent bitmap and PPL together is not
28 array member drives in the metadata area, on the parity drive of a particular
30 reduced by up to 30%-40% but it scales with the number of drives in the array
44 There is a limitation of maximum 64 disks in the array for PPL. It allows to
/linux-6.15/tools/mm/
H A Dslabinfo-gnuplot.sh190 array=(${OPTARG//,/ })
191 width=${array[0]}
192 height=${array[1]}
195 array=(${OPTARG//,/ })
196 xmin=${array[0]}
197 xmax=${array[1]}
/linux-6.15/drivers/soc/qcom/
H A Dqcom_gsbi.c25 const u32 (*array)[MAX_GSBI]; member
43 .array = crci_ipq8064,
61 .array = crci_apq8064,
79 .array = crci_msm8960,
107 .array = crci_msm8660,
195 mask = config->array[i][gsbi_num - 1]; in gsbi_probe()
/linux-6.15/Documentation/devicetree/bindings/pinctrl/
H A Dpinmux-node.yaml50 For cases like this, the pin controller driver may use pinctrl-pin-array helper
58 pinctrl-pin-array = <
75 The index for pinctrl-pin-array must relate to the hardware for the pinctrl
88 settings represented as a single integer or an array of integers.
90 The pinmux property accepts an array of pinmux groups, each of them describing
110 - $ref: /schemas/types.yaml#/definitions/uint32-array
111 - $ref: /schemas/types.yaml#/definitions/string-array
118 $ref: /schemas/types.yaml#/definitions/string-array
128 $ref: /schemas/types.yaml#/definitions/uint32-array
130 pinctrl-pin-array:
[all …]
H A Dpinctrl-single.yaml80 $ref: /schemas/types.yaml#/definitions/phandle-array
114 Array of pins as described in pinmux-node.yaml for pinctrl-pin-array
115 $ref: /schemas/types.yaml#/definitions/uint32-array
119 $ref: /schemas/types.yaml#/definitions/uint32-array
127 $ref: /schemas/types.yaml#/definitions/uint32-array
136 $ref: /schemas/types.yaml#/definitions/uint32-array
145 $ref: /schemas/types.yaml#/definitions/uint32-array
152 $ref: /schemas/types.yaml#/definitions/uint32-array
159 $ref: /schemas/types.yaml#/definitions/uint32-array
168 $ref: /schemas/types.yaml#/definitions/uint32-array
[all …]
/linux-6.15/drivers/media/pci/mgb4/
H A Dmgb4_cmt.c170 static size_t freq_srch(u32 key, const u32 *array, size_t size) in freq_srch() argument
178 if (array[m] < key) in freq_srch()
180 else if (array[m] > key) in freq_srch()
189 return (abs(key - array[l]) < abs(key - array[r])) ? l : r; in freq_srch()
/linux-6.15/Documentation/ABI/testing/
H A Dsysfs-class-led-multicolor7 The multi_index array, when read, will output the LED colors
8 as an array of strings as they are indexed in the
19 This file contains array of integers. Order of components is
20 described by the multi_index array. The maximum intensity should
/linux-6.15/drivers/platform/x86/intel/
H A Dhid.c201 struct input_dev *array; member
365 if (!priv->array) in intel_button_array_enable()
454 priv->array = devm_input_allocate_device(&device->dev); in intel_button_array_input_setup()
455 if (!priv->array) in intel_button_array_input_setup()
462 priv->array->name = "Intel HID 5 button array"; in intel_button_array_input_setup()
463 priv->array->id.bustype = BUS_HOST; in intel_button_array_input_setup()
465 return input_register_device(priv->array); in intel_button_array_input_setup()
563 if (event == 0xc0 || !priv->array) in notify_handler()
566 ke = sparse_keymap_entry_from_scancode(priv->array, event); in notify_handler()
588 if (!priv->array) { in notify_handler()
[all …]
/linux-6.15/Documentation/devicetree/bindings/remoteproc/
H A Dti,pru-consumer.yaml25 $ref: /schemas/types.yaml#/definitions/phandle-array
33 $ref: /schemas/types.yaml#/definitions/string-array
42 $ref: /schemas/types.yaml#/definitions/uint32-array
48 array of values for the GP_MUX_SEL under PRUSS_GPCFG register for a PRU.
53 same slice in the associative array. If the array size is smaller than
/linux-6.15/include/media/
H A Dv4l2-common.h410 #define v4l2_find_nearest_size(array, array_size, width_field, height_field, \ argument
413 BUILD_BUG_ON(sizeof((array)->width_field) != sizeof(u32) || \
414 sizeof((array)->height_field) != sizeof(u32)); \
415 (typeof(&(array)[0]))__v4l2_find_nearest_size( \
416 (array), array_size, sizeof(*(array)), \
417 offsetof(typeof(*(array)), width_field), \
418 offsetof(typeof(*(array)), height_field), \
422 __v4l2_find_nearest_size(const void *array, size_t array_size,
/linux-6.15/Documentation/userspace-api/media/v4l/
H A Dvidioc-subdev-g-routing.rst57 ``routes`` array allocated by userspace. It is set by applications for both
63 routes that the application stored in the ``routes`` array. For both ioctls, it
71 the ``routes`` array. In this case, the ``routes`` array is filled by the kernel
75 ``VIDIOC_SUBDEV_G_ROUTING`` call with a large enough ``routes`` array.
95 - The length of the array (as in memory reserved for the array)
101 - Number of entries of the routes array
105 the array to zero.
135 the array to zero.
/linux-6.15/tools/lib/perf/Documentation/
H A Dlibperf-sampling.txt193 86 __u64 ip, period, *array;
196 89 array = event->sample.array;
198 91 ip = *array;
199 92 array++;
201 94 u.val64 = *array;
204 97 array++;
206 99 u.val64 = *array;
208 101 array++;
210 103 period = *array;
/linux-6.15/drivers/media/v4l2-core/
H A Dv4l2-fwnode.c152 array[i] = bus->data_lanes[i]; in v4l2_fwnode_endpoint_parse_csi2_bus()
153 if (array[i]) in v4l2_fwnode_endpoint_parse_csi2_bus()
177 if (lanes_used & BIT(array[i])) { in v4l2_fwnode_endpoint_parse_csi2_bus()
180 array[i]); in v4l2_fwnode_endpoint_parse_csi2_bus()
183 lanes_used |= BIT(array[i]); in v4l2_fwnode_endpoint_parse_csi2_bus()
248 bus->data_lanes[i] = array[i]; in v4l2_fwnode_endpoint_parse_csi2_bus()
259 i, array[i] ? "" : "not "); in v4l2_fwnode_endpoint_parse_csi2_bus()
267 "line-orders", array, in v4l2_fwnode_endpoint_parse_csi2_bus()
277 i, array[i]); in v4l2_fwnode_endpoint_parse_csi2_bus()
283 bus->line_orders[i] = array[i]; in v4l2_fwnode_endpoint_parse_csi2_bus()
[all …]
/linux-6.15/samples/trace_events/
H A Dtrace-events-sample.c26 int array[6]; in do_simple_thread_func() local
34 array[i] = i + 1; in do_simple_thread_func()
35 array[i] = 0; in do_simple_thread_func()
40 trace_foo_bar("hello", cnt, array, random_strings[len], in do_simple_thread_func()
/linux-6.15/Documentation/devicetree/bindings/sound/
H A Dcirrus,madera.yaml44 MADERA_INMODE_xxx. If the array is shorter than the number
46 $ref: /schemas/types.yaml#/definitions/uint32-array
56 Mono bit for each output, maximum of six cells if the array
58 $ref: /schemas/types.yaml#/definitions/uint32-array
78 $ref: /schemas/types.yaml#/definitions/uint32-array
92 $ref: /schemas/types.yaml#/definitions/uint32-array
104 $ref: /schemas/types.yaml#/definitions/uint32-array
114 $ref: /schemas/types.yaml#/definitions/uint32-array
/linux-6.15/sound/pci/lola/
H A Dlola_mixer.c119 chip->mixer.array = (struct lola_mixer_array __iomem *) in lola_init_mixer_widget()
217 oldval = val = readl(&chip->mixer.array->src_gain_enable); in lola_mixer_set_src_gain()
224 (gain == readw(&chip->mixer.array->src_gain[id]))) in lola_mixer_set_src_gain()
230 writew(gain, &chip->mixer.array->src_gain[id]); in lola_mixer_set_src_gain()
231 writel(val, &chip->mixer.array->src_gain_enable); in lola_mixer_set_src_gain()
248 writew(*gains, &chip->mixer.array->src_gain[i]);
252 writel(mask, &chip->mixer.array->src_gain_enable);
303 writew(*gains, &chip->mixer.array->dest_mix_gain[id][i]);
416 memset_io(chip->mixer.array, 0, sizeof(*chip->mixer.array)); in init_mixer_values()
638 mask = readl(&chip->mixer.array->src_gain_enable); in lola_src_gain_get()
[all …]

12345678910>>...58