Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpio/
Dgpiolib.c173 clear_bit(FLAG_IS_OUT, &desc->flags); in gpiod_get_direction()
177 set_bit(FLAG_IS_OUT, &desc->flags); in gpiod_get_direction()
340 desc->flags = !chip->direction_input ? (1 << FLAG_IS_OUT) : 0; in gpiochip_add()
1120 clear_bit(FLAG_IS_OUT, &desc->flags); in gpiod_direction_input()
1159 set_bit(FLAG_IS_OUT, &desc->flags); in _gpiod_direction_output_raw()
1356 clear_bit(FLAG_IS_OUT, &desc->flags); in _gpio_set_open_drain_value()
1360 set_bit(FLAG_IS_OUT, &desc->flags); in _gpio_set_open_drain_value()
1383 set_bit(FLAG_IS_OUT, &desc->flags); in _gpio_set_open_source_value()
1387 clear_bit(FLAG_IS_OUT, &desc->flags); in _gpio_set_open_source_value()
1623 if (test_bit(FLAG_IS_OUT, &chip->desc[offset].flags)) { in gpiochip_lock_as_irq()
[all …]
Dgpiolib-sysfs.c67 test_bit(FLAG_IS_OUT, &desc->flags) in direction_show()
124 if (!test_bit(FLAG_IS_OUT, &desc->flags)) { in value_store()
368 if (!show_direction && test_bit(FLAG_IS_OUT, &desc->flags)) in gpio_is_visible()
Dgpiolib.h91 #define FLAG_IS_OUT 1 macro