Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpio/
Dgpiolib.c230 clear_bit(FLAG_IS_OUT, &desc->flags); in gpiod_get_direction()
234 set_bit(FLAG_IS_OUT, &desc->flags); in gpiod_get_direction()
461 if (!test_bit(FLAG_IS_OUT, &lh->descs[0]->flags)) in linehandle_ioctl()
1091 if (test_bit(FLAG_IS_OUT, &desc->flags)) in gpio_ioctl()
1395 set_bit(FLAG_IS_OUT, &desc->flags); in gpiochip_add_data_with_key()
1397 clear_bit(FLAG_IS_OUT, &desc->flags); in gpiochip_add_data_with_key()
1400 set_bit(FLAG_IS_OUT, &desc->flags); in gpiochip_add_data_with_key()
1402 clear_bit(FLAG_IS_OUT, &desc->flags); in gpiochip_add_data_with_key()
2977 clear_bit(FLAG_IS_OUT, &desc->flags); in gpiod_direction_input()
3029 set_bit(FLAG_IS_OUT, &desc->flags); in gpiod_direction_output_raw_commit()
[all …]
Dgpiolib-sysfs.c69 test_bit(FLAG_IS_OUT, &desc->flags) in direction_show()
132 if (!test_bit(FLAG_IS_OUT, &desc->flags)) { in value_store()
380 if (!show_direction && test_bit(FLAG_IS_OUT, &desc->flags)) in gpio_is_visible()
Dgpiolib.h101 #define FLAG_IS_OUT 1 macro
Dgpio-mockup.c255 !test_bit(FLAG_IS_OUT, &desc->flags)) { in gpio_mockup_debugfs_write()
270 !test_bit(FLAG_IS_OUT, &desc->flags)) in gpio_mockup_debugfs_write()