Home
last modified time | relevance | path

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

/Linux-v6.1/include/linux/gpio/
Dconsumer.h119 struct gpio_array *array_info,
124 struct gpio_array *array_info,
129 struct gpio_array *array_info,
134 struct gpio_array *array_info,
141 struct gpio_array *array_info,
146 struct gpio_array *array_info,
151 struct gpio_array *array_info,
156 struct gpio_array *array_info,
371 struct gpio_array *array_info, in gpiod_get_array_value() argument
385 struct gpio_array *array_info, in gpiod_set_array_value() argument
[all …]
/Linux-v6.1/drivers/gpio/
Dgpiolib.c2668 struct gpio_array *array_info, in gpiod_get_array_value_complex() argument
2678 if (array_info && array_info->desc == desc_array && in gpiod_get_array_value_complex()
2679 array_size <= array_info->size && in gpiod_get_array_value_complex()
2680 (void *)array_info == desc_array + array_info->size) { in gpiod_get_array_value_complex()
2682 WARN_ON(array_info->chip->can_sleep); in gpiod_get_array_value_complex()
2684 ret = gpio_chip_get_multiple(array_info->chip, in gpiod_get_array_value_complex()
2685 array_info->get_mask, in gpiod_get_array_value_complex()
2690 if (!raw && !bitmap_empty(array_info->invert_mask, array_size)) in gpiod_get_array_value_complex()
2692 array_info->invert_mask, array_size); in gpiod_get_array_value_complex()
2694 i = find_first_zero_bit(array_info->get_mask, array_size); in gpiod_get_array_value_complex()
[all …]
Dgpiolib.h115 struct gpio_array *array_info,
120 struct gpio_array *array_info,
/Linux-v6.1/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-v6.1/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 …]