Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpio/
Dgpiolib-sysfs.c70 value = !!test_bit(FLAG_IS_OUT, &desc->flags); in direction_show()
132 if (!test_bit(FLAG_IS_OUT, &desc->flags)) { in value_store()
356 if (!show_direction && test_bit(FLAG_IS_OUT, &desc->flags)) in gpio_is_visible()
Dgpiolib.c227 test_bit(FLAG_IS_OUT, &desc->flags)) in gpiod_get_direction()
241 assign_bit(FLAG_IS_OUT, &desc->flags, !ret); in gpiod_get_direction()
769 assign_bit(FLAG_IS_OUT, in gpiochip_add_data_with_key()
772 assign_bit(FLAG_IS_OUT, in gpiochip_add_data_with_key()
2323 clear_bit(FLAG_IS_OUT, &desc->flags); in gpiod_direction_input()
2370 set_bit(FLAG_IS_OUT, &desc->flags); in gpiod_direction_output_raw_commit()
2462 set_bit(FLAG_IS_OUT, &desc->flags); in gpiod_direction_output()
2899 set_bit(FLAG_IS_OUT, &desc->flags); in gpio_set_open_drain_value_commit()
2922 set_bit(FLAG_IS_OUT, &desc->flags); in gpio_set_open_source_value_commit()
3296 if (test_bit(FLAG_IS_OUT, &desc->flags) && in gpiochip_lock_as_irq()
[all …]
Dgpiolib.h153 #define FLAG_IS_OUT 1 macro
Dgpio-mockup.c154 !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()
Dgpiolib-cdev.c273 if (!test_bit(FLAG_IS_OUT, &lh->descs[0]->flags)) in linehandle_ioctl_unlocked()
1224 set_bit(FLAG_IS_OUT, flagsp); in gpio_v2_line_config_flags_to_desc_flags()
1226 clear_bit(FLAG_IS_OUT, flagsp); in gpio_v2_line_config_flags_to_desc_flags()
1323 if (!test_bit(FLAG_IS_OUT, &lr->lines[i].desc->flags)) in linereq_set_values_unlocked()
2278 if (test_bit(FLAG_IS_OUT, &desc->flags)) in gpio_desc_to_lineinfo()
Dgpio-sim.c73 !test_bit(FLAG_IS_OUT, &desc->flags)) { in gpio_sim_apply_pull()
101 !test_bit(FLAG_IS_OUT, &desc->flags)) in gpio_sim_apply_pull()