Searched refs:FLAG_IS_OUT (Results 1 – 6 of 6) sorted by relevance
/drivers/gpio/ |
D | gpiolib-sysfs.c | 82 value = !!test_bit(FLAG_IS_OUT, &desc->flags); in direction_show() 144 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()
|
D | gpiolib.c | 248 test_bit(FLAG_IS_OUT, &desc->flags)) in gpiod_get_direction() 262 assign_bit(FLAG_IS_OUT, &desc->flags, !ret); in gpiod_get_direction() 880 assign_bit(FLAG_IS_OUT, in gpiochip_add_data_with_key() 883 assign_bit(FLAG_IS_OUT, in gpiochip_add_data_with_key() 2501 clear_bit(FLAG_IS_OUT, &desc->flags); in gpiod_direction_input() 2548 set_bit(FLAG_IS_OUT, &desc->flags); in gpiod_direction_output_raw_commit() 2640 set_bit(FLAG_IS_OUT, &desc->flags); in gpiod_direction_output() 3077 set_bit(FLAG_IS_OUT, &desc->flags); in gpio_set_open_drain_value_commit() 3100 set_bit(FLAG_IS_OUT, &desc->flags); in gpio_set_open_source_value_commit() 3474 if (test_bit(FLAG_IS_OUT, &desc->flags) && in gpiochip_lock_as_irq() [all …]
|
D | gpio-mockup.c | 155 !test_bit(FLAG_IS_OUT, &desc->flags)) { in gpio_mockup_apply_pull() 184 !test_bit(FLAG_IS_OUT, &desc->flags)) in gpio_mockup_apply_pull()
|
D | gpiolib.h | 166 #define FLAG_IS_OUT 1 macro
|
D | gpiolib-cdev.c | 279 if (!test_bit(FLAG_IS_OUT, &lh->descs[0]->flags)) in linehandle_ioctl_unlocked() 1408 set_bit(FLAG_IS_OUT, flagsp); in gpio_v2_line_config_flags_to_desc_flags() 1410 clear_bit(FLAG_IS_OUT, flagsp); in gpio_v2_line_config_flags_to_desc_flags() 1507 if (!test_bit(FLAG_IS_OUT, &lr->lines[i].desc->flags)) in linereq_set_values_unlocked() 2500 if (test_bit(FLAG_IS_OUT, &desc->flags)) in gpio_desc_to_lineinfo()
|
D | gpio-sim.c | 76 !test_bit(FLAG_IS_OUT, &desc->flags)) { in gpio_sim_apply_pull() 104 !test_bit(FLAG_IS_OUT, &desc->flags)) in gpio_sim_apply_pull()
|