Searched refs:FLAG_IS_OUT (Results 1 – 5 of 5) sorted by relevance
/drivers/gpio/ |
D | gpiolib-sysfs.c | 70 test_bit(FLAG_IS_OUT, &desc->flags) ? "out" : "in"); in direction_show() 128 if (!test_bit(FLAG_IS_OUT, &desc->flags)) { in value_store() 373 if (!show_direction && test_bit(FLAG_IS_OUT, &desc->flags)) in gpio_is_visible()
|
D | gpiolib.c | 227 test_bit(FLAG_IS_OUT, &desc->flags)) in gpiod_get_direction() 241 assign_bit(FLAG_IS_OUT, &desc->flags, !ret); in gpiod_get_direction() 759 assign_bit(FLAG_IS_OUT, in gpiochip_add_data_with_key() 762 assign_bit(FLAG_IS_OUT, in gpiochip_add_data_with_key() 2304 clear_bit(FLAG_IS_OUT, &desc->flags); in gpiod_direction_input() 2351 set_bit(FLAG_IS_OUT, &desc->flags); in gpiod_direction_output_raw_commit() 2443 set_bit(FLAG_IS_OUT, &desc->flags); in gpiod_direction_output() 2819 set_bit(FLAG_IS_OUT, &desc->flags); in gpio_set_open_drain_value_commit() 2842 set_bit(FLAG_IS_OUT, &desc->flags); in gpio_set_open_source_value_commit() 3216 if (test_bit(FLAG_IS_OUT, &desc->flags) && in gpiochip_lock_as_irq() [all …]
|
D | gpiolib.h | 143 #define FLAG_IS_OUT 1 macro
|
D | gpio-mockup.c | 154 !test_bit(FLAG_IS_OUT, &desc->flags)) { in gpio_mockup_apply_pull() 183 !test_bit(FLAG_IS_OUT, &desc->flags)) in gpio_mockup_apply_pull()
|
D | gpiolib-cdev.c | 272 if (!test_bit(FLAG_IS_OUT, &lh->descs[0]->flags)) in linehandle_ioctl_unlocked() 1028 set_bit(FLAG_IS_OUT, flagsp); in gpio_v2_line_config_flags_to_desc_flags() 1030 clear_bit(FLAG_IS_OUT, flagsp); in gpio_v2_line_config_flags_to_desc_flags() 1125 if (!test_bit(FLAG_IS_OUT, &lr->lines[i].desc->flags)) in linereq_set_values_unlocked() 2060 if (test_bit(FLAG_IS_OUT, &desc->flags)) in gpio_desc_to_lineinfo()
|