Home
last modified time | relevance | path

Searched refs:value_map (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpio/
H A Dgpio-sim.c45 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()
[all …]
/openbmc/openbmc/poky/scripts/lib/recipetool/
H A Dcreate.py1305 value_map = {'Package': 'PN',
1346 varname = value_map.get(key, None)