Home
last modified time | relevance | path

Searched refs:array (Results 176 – 200 of 1443) sorted by relevance

12345678910>>...58

/linux-6.15/sound/isa/
H A Dcmi8328.c196 static int array_find(const int array[], int item) in array_find() argument
200 for (i = 0; array[i] != -1; i++) in array_find()
201 if (array[i] == item) in array_find()
207 static int array_find_l(const long array[], long item) in array_find_l() argument
211 for (i = 0; array[i] != -1; i++) in array_find_l()
212 if (array[i] == item) in array_find_l()
/linux-6.15/Documentation/driver-api/gpio/
H A Dboard.rst196 also request an array of pins assigned to the function. The way those pins are
197 mapped to the device determines if the array qualifies for fast bitmap
198 processing. If yes, a bitmap is passed over get/set array functions directly
201 In order to qualify for fast bitmap processing, the array must meet the
204 - pin hardware number of array member 0 must also be 0,
205 - pin hardware numbers of consecutive array members which belong to the same
206 chip as member 0 does must also match their array indexes.
212 If the array applies for fast bitmap processing path, pins which belong to
H A Dconsumer.rst117 This function returns a struct gpio_descs which contains an array of
119 if passed back to get/set array functions, may speed up I/O processing::
165 For an array of GPIOs this function can be used::
171 from an array acquired with gpiod_get_array().
277 With this, all the gpiod_set_(array)_value_xxx() functions interpret the
332 The following functions get or set the values of an array of GPIOs::
376 * array_size - the number of array elements
377 * desc_array - an array of GPIO descriptors
382 The descriptor array can be obtained using the gpiod_get_array() function
393 gpiod_get_array(). Afterwards the array of descriptors has to be setup
[all …]
/linux-6.15/include/linux/
H A Dlinkmode.h52 static inline void linkmode_set_bit_array(const int *array, int array_size, in linkmode_set_bit_array() argument
58 linkmode_set_bit(array[i], addr); in linkmode_set_bit_array()
/linux-6.15/lib/
H A Dtest_xarray.c2220 check_xa_err(&array); in xarray_checks()
2222 check_xa_load(&array); in xarray_checks()
2223 check_xa_mark(&array); in xarray_checks()
2226 check_insert(&array); in xarray_checks()
2227 check_cmpxchg(&array); in xarray_checks()
2229 check_reserve(&array); in xarray_checks()
2237 check_find(&array); in xarray_checks()
2239 check_pause(&array); in xarray_checks()
2240 check_account(&array); in xarray_checks()
2242 check_move(&array); in xarray_checks()
[all …]
H A Dtest_rhashtable.c138 static int __init test_rht_lookup(struct rhashtable *ht, struct test_obj *array, in test_rht_lookup() argument
150 if (array[i / 2].value.id == TEST_INSERT_FAIL) in test_rht_lookup()
209 static s64 __init test_rhashtable(struct rhashtable *ht, struct test_obj *array, in test_rhashtable() argument
224 struct test_obj *obj = &array[i]; in test_rhashtable()
240 test_rht_lookup(ht, array, entries); in test_rhashtable()
251 if (array[i].value.id != TEST_INSERT_FAIL) { in test_rhashtable()
435 static int __init test_rhashtable_max(struct test_obj *array, in test_rhashtable_max() argument
447 struct test_obj *obj = &array[i]; in test_rhashtable_max()
455 err = insert_retry(&ht, &array[ht.max_elems], test_rht_params); in test_rhashtable_max()
/linux-6.15/drivers/dma-buf/
H A Dsync_debug.c132 struct dma_fence_array *array = to_dma_fence_array(sync_file->fence); in sync_print_sync_file() local
134 for (i = 0; i < array->num_fences; ++i) in sync_print_sync_file()
135 sync_print_fence(s, array->fences[i], true); in sync_print_sync_file()
/linux-6.15/tools/perf/util/
H A Dsession.h188 #define perf_session__set_tracepoints_handlers(session, array) \ argument
189 __evlist__set_tracepoints_handlers(session->evlist, array, ARRAY_SIZE(array))
/linux-6.15/Documentation/admin-guide/device-mapper/
H A Ddm-raid.rst110 logical size of the array. The bitmap records the device
217 <#raid_devs>: The number of devices composing the array.
279 <raid_type> Same as the <raid_type> used to create the array.
300 - A device in the array is being rebuilt or
303 - A user-initiated full check of the array is
308 array by this action.
313 - The array is undergoing a reshape.
316 This value is valid only after a "check" of the array
317 is performed. A healthy array has a 'mismatch_cnt' of 0.
339 "check" Initiate a check (i.e. a "scrub") of the array.
[all …]
/linux-6.15/Documentation/userspace-api/media/drivers/
H A Dcamera-sensor.rst25 of cropping and scaling operations from the device's pixel array's size.
62 crop, use the full source image size, i.e. pixel array size.
67 the sensor's **pixel array** is specified by ``V4L2_CID_PIXEL_RATE`` in the same
74 The first entity in the linear pipeline is the pixel array. The pixel array may
/linux-6.15/Documentation/devicetree/bindings/regulator/
H A Dlltc,ltc3676.yaml50 An array of two integers containing the resistor values
52 $ref: /schemas/types.yaml#/definitions/uint32-array
72 An array of two integers containing the resistor values
74 $ref: /schemas/types.yaml#/definitions/uint32-array
/linux-6.15/Documentation/userspace-api/media/v4l/
H A Dpixfmt-v4l2-mplane.rst11 array of struct :c:type:`v4l2_plane_pix_format` structures,
86 - An array of structures describing format of each plane this pixel
87 format consists of. The number of valid entries in this array has
92 and the number of valid entries in the ``plane_fmt`` array.
H A Dextended-controls.rst53 contains a pointer to the control array, a count of the number of
54 controls in that array and a control class. Control classes are used to
61 All controls in the control array must belong to the specified control
64 It is also possible to use an empty control array (``count`` == 0) to check
67 The control array is a struct
68 :c:type:`v4l2_ext_control` array. The
83 particular, this ioctl gives the dimensions of the N-dimensional array if
H A Dpixfmt-reserved.rst205 data in form of an array of offsets to the UYVY data blocks. The
206 actual pointer array follows immediately the interleaved JPEG/UYVY
207 data, the number of entries in this array equals the height of the
216 offset to the pointer array in the first plane. This offset is
217 followed by a 4-byte value indicating size of the pointer array.
221 array, which can be different for each frame. The size of the
222 pointer array is constant for given UYVY image height.
230 array. Anything what's in between the UYVY lines is JPEG data and
/linux-6.15/Documentation/devicetree/bindings/sound/
H A Dsamsung,tm2.yaml26 $ref: /schemas/types.yaml#/definitions/phandle-array
43 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
47 $ref: /schemas/types.yaml#/definitions/phandle-array
/linux-6.15/Documentation/devicetree/bindings/ata/
H A Dsata_highbank.yaml43 $ref: /schemas/types.yaml#/definitions/uint32-array
51 $ref: /schemas/types.yaml#/definitions/phandle-array
61 $ref: /schemas/types.yaml#/definitions/uint32-array
/linux-6.15/Documentation/devicetree/bindings/watchdog/
H A Dsnps,dw-wdt.yaml62 $ref: /schemas/types.yaml#/definitions/uint32-array
67 reference clock. Therefore the TOPs array is equivalent to an array of
/linux-6.15/drivers/gpu/drm/i915/gem/
H A Di915_gem_wait.c125 struct dma_fence_array *array = to_dma_fence_array(fence); in i915_gem_fence_wait_priority() local
128 for (i = 0; i < array->num_fences; i++) in i915_gem_fence_wait_priority()
129 fence_set_priority(array->fences[i], attr); in i915_gem_fence_wait_priority()
/linux-6.15/Documentation/devicetree/bindings/nvmem/
H A Dnvmem-consumer.yaml16 $ref: /schemas/types.yaml#/definitions/phandle-array
21 $ref: /schemas/types.yaml#/definitions/phandle-array
/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dtest_global_func9.c122 int array[10] = {0}; in global_func9() local
124 result |= quux(&array); in global_func9()
/linux-6.15/drivers/infiniband/hw/mlx5/
H A Dsrq_cmd.c86 xa_lock_irq(&table->array); in mlx5_cmd_get_srq()
87 srq = xa_load(&table->array, srqn); in mlx5_cmd_get_srq()
90 xa_unlock_irq(&table->array); in mlx5_cmd_get_srq()
653 err = xa_err(xa_store_irq(&table->array, srq->srqn, srq, GFP_KERNEL)); in mlx5_cmd_create_srq()
672 tmp = xa_cmpxchg_irq(&table->array, srq->srqn, srq, XA_ZERO_ENTRY, 0); in mlx5_cmd_destroy_srq()
683 xa_cmpxchg_irq(&table->array, srq->srqn, XA_ZERO_ENTRY, srq, 0); in mlx5_cmd_destroy_srq()
686 xa_erase_irq(&table->array, srq->srqn); in mlx5_cmd_destroy_srq()
740 xa_lock(&table->array); in srq_event_notifier()
741 srq = xa_load(&table->array, srqn); in srq_event_notifier()
744 xa_unlock(&table->array); in srq_event_notifier()
[all …]
/linux-6.15/Documentation/devicetree/bindings/powerpc/fsl/
H A Dsrio.txt17 Value type: <prop-encoded-array>
24 Value type: <prop_encoded-array>
50 Value type: <prop-encoded-array>
58 Value type: <prop-encoded-array>
/linux-6.15/Documentation/devicetree/bindings/
H A Dexample-schema.yaml73 # The core schema enforces this (*-names) is a string array
154 vendor,string-array-property:
157 $ref: /schemas/types.yaml#/definitions/string-array
167 vendor,int-array-variable-length-and-constrained-values:
170 $ref: /schemas/types.yaml#/definitions/uint32-array
194 # 'vendor,bool-property' is only allowed when 'vendor,string-array-property'
196 vendor,bool-property: [ 'vendor,string-array-property' ]
199 vendor,string-array-property: [ 'vendor,bool-property' ]
/linux-6.15/Documentation/devicetree/bindings/connector/
H A Dusb-connector.yaml122 description: An array of u32 with each entry, a Vendor Defined Message Object (VDO),
126 chapter 6.4.4.3.1 Discover Identity. User can specify the VDO array via
131 $ref: /schemas/types.yaml#/definitions/uint32-array
142 $ref: /schemas/types.yaml#/definitions/uint32-array
300 $ref: /schemas/types.yaml#/definitions/uint8-array
316 description: An array of u32 with each entry providing supported power
321 User can specify the source PDO array via PDO_FIXED/BATT/VAR/PPS_APDO()
325 $ref: /schemas/types.yaml#/definitions/uint32-array
328 description: An array of u32 with each entry providing supported power sink
333 can specify the sink PDO array via PDO_FIXED/BATT/VAR/PPS_APDO() defined
[all …]
/linux-6.15/Documentation/devicetree/bindings/timestamp/
H A Dhte-consumer.yaml16 $ref: /schemas/types.yaml#/definitions/phandle-array
24 $ref: /schemas/types.yaml#/definitions/string-array

12345678910>>...58