Lines Matching refs:value_map
45 unsigned long *value_map; member
77 if (value == !!test_bit(offset, chip->value_map)) in gpio_sim_apply_pull()
105 __assign_bit(offset, chip->value_map, value); in gpio_sim_apply_pull()
118 return !!test_bit(offset, chip->value_map); in gpio_sim_get()
126 __assign_bit(offset, chip->value_map, value); in gpio_sim_set()
135 bitmap_replace(bits, bits, chip->value_map, mask, gc->ngpio); in gpio_sim_get_multiple()
146 bitmap_replace(chip->value_map, chip->value_map, bits, mask, in gpio_sim_set_multiple()
157 __assign_bit(offset, chip->value_map, value); in gpio_sim_direction_output()
213 __assign_bit(offset, chip->value_map, in gpio_sim_free()
225 val = !!test_bit(line_attr->offset, chip->value_map); in gpio_sim_sysfs_val_show()
398 chip->value_map = devm_bitmap_zalloc(dev, num_lines, GFP_KERNEL); in gpio_sim_add_bank()
399 if (!chip->value_map) in gpio_sim_add_bank()