Home
last modified time | relevance | path

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

/drivers/gpio/
Dgpiolib.c2677 struct gpio_array *array_info, in gpiod_get_array_value_complex() argument
2687 if (array_info && array_info->desc == desc_array && in gpiod_get_array_value_complex()
2688 array_size <= array_info->size && in gpiod_get_array_value_complex()
2689 (void *)array_info == desc_array + array_info->size) { in gpiod_get_array_value_complex()
2691 WARN_ON(array_info->chip->can_sleep); in gpiod_get_array_value_complex()
2693 ret = gpio_chip_get_multiple(array_info->chip, in gpiod_get_array_value_complex()
2694 array_info->get_mask, in gpiod_get_array_value_complex()
2699 if (!raw && !bitmap_empty(array_info->invert_mask, array_size)) in gpiod_get_array_value_complex()
2701 array_info->invert_mask, array_size); in gpiod_get_array_value_complex()
2703 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,
/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