Home
last modified time | relevance | path

Searched refs:array_info (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.15/drivers/gpio/
Dgpiolib.c2530 struct gpio_array *array_info, in gpiod_get_array_value_complex() argument
2540 if (array_info && array_info->desc == desc_array && in gpiod_get_array_value_complex()
2541 array_size <= array_info->size && in gpiod_get_array_value_complex()
2542 (void *)array_info == desc_array + array_info->size) { in gpiod_get_array_value_complex()
2544 WARN_ON(array_info->chip->can_sleep); in gpiod_get_array_value_complex()
2546 ret = gpio_chip_get_multiple(array_info->chip, in gpiod_get_array_value_complex()
2547 array_info->get_mask, in gpiod_get_array_value_complex()
2552 if (!raw && !bitmap_empty(array_info->invert_mask, array_size)) in gpiod_get_array_value_complex()
2554 array_info->invert_mask, array_size); in gpiod_get_array_value_complex()
2556 i = find_first_zero_bit(array_info->get_mask, array_size); in gpiod_get_array_value_complex()
[all …]
Dgpiolib.h88 struct gpio_array *array_info,
93 struct gpio_array *array_info,
/Linux-v5.15/include/linux/gpio/
Dconsumer.h120 struct gpio_array *array_info,
125 struct gpio_array *array_info,
130 struct gpio_array *array_info,
135 struct gpio_array *array_info,
142 struct gpio_array *array_info,
147 struct gpio_array *array_info,
152 struct gpio_array *array_info,
157 struct gpio_array *array_info,
366 struct gpio_array *array_info, in gpiod_get_array_value() argument
380 struct gpio_array *array_info, in gpiod_set_array_value() argument
[all …]
/Linux-v5.15/drivers/md/persistent-data/
Ddm-bitset.c31 dm_array_info_init(&info->array_info, tm, &bitset_bvt); in dm_disk_bitset_init()
38 return dm_array_empty(&info->array_info, root); in dm_bitset_empty()
80 return dm_array_new(&info->array_info, root, dm_div_up(size, 64), pack_bits, &p); in dm_bitset_new()
93 return dm_array_resize(&info->array_info, root, old_blocks, new_blocks, in dm_bitset_resize()
100 return dm_array_del(&info->array_info, root); in dm_bitset_del()
116 r = dm_array_set_value(&info->array_info, root, info->current_index, in dm_bitset_flush()
134 r = dm_array_get_value(&info->array_info, root, array_index, &value); in read_bits()
242 r = dm_array_cursor_begin(&info->array_info, root, &c->cursor); in dm_bitset_cursor_begin()
Ddm-bitset.h68 struct dm_array_info array_info; member
/Linux-v5.15/Documentation/driver-api/gpio/
Dconsumer.rst334 struct gpio_array *array_info,
338 struct gpio_array *array_info,
342 struct gpio_array *array_info,
346 struct gpio_array *array_info,
351 struct gpio_array *array_info,
355 struct gpio_array *array_info,
359 struct gpio_array *array_info,
363 struct gpio_array *array_info,
376 * array_info - optional information obtained from gpiod_get_array()
393 array_info should be set to NULL.
[all …]