Home
last modified time | relevance | path

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

/drivers/gpio/
Dgpiolib-sysfs.c82 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()
Dgpiolib.c248 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 …]
Dgpio-mockup.c155 !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()
Dgpiolib.h166 #define FLAG_IS_OUT 1 macro
Dgpiolib-cdev.c279 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()
Dgpio-sim.c76 !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()