Home
last modified time | relevance | path

Searched refs:fixed_direction_output (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/gpio/
H A Dgpio-regmap.c34 unsigned long *fixed_direction_output; member
148 if (gpio->fixed_direction_output) { in gpio_regmap_get_direction()
149 if (test_bit(offset, gpio->fixed_direction_output)) in gpio_regmap_get_direction()
305 if (config->fixed_direction_output) { in gpio_regmap_register()
306 gpio->fixed_direction_output = bitmap_alloc(chip->ngpio, in gpio_regmap_register()
308 if (!gpio->fixed_direction_output) { in gpio_regmap_register()
312 bitmap_copy(gpio->fixed_direction_output, in gpio_regmap_register()
313 config->fixed_direction_output, chip->ngpio); in gpio_regmap_register()
359 bitmap_free(gpio->fixed_direction_output); in gpio_regmap_register()
378 bitmap_free(gpio->fixed_direction_output); in gpio_regmap_unregister()
H A Dgpio-idio-16.c111 DECLARE_BITMAP(fixed_direction_output, IDIO_16_NGPIO); in devm_idio_16_regmap_register()
169 bitmap_from_u64(fixed_direction_output, GENMASK_U64(15, 0)); in devm_idio_16_regmap_register()
170 gpio_config.fixed_direction_output = fixed_direction_output; in devm_idio_16_regmap_register()
/linux/include/linux/gpio/
H A Dregmap.h92 unsigned long *fixed_direction_output; member