Home
last modified time | relevance | path

Searched refs:invert_mask (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/gpio/
Dgpio-thunderx.c58 unsigned long invert_mask[2]; member
110 clear_bit(line, txgpio->invert_mask); in thunderx_gpio_dir_in()
144 if (test_bit(line, txgpio->invert_mask)) in thunderx_gpio_dir_out()
194 orig_invert = test_bit(line, txgpio->invert_mask); in thunderx_gpio_set_config()
207 set_bit(line, txgpio->invert_mask); in thunderx_gpio_set_config()
214 clear_bit(line, txgpio->invert_mask); in thunderx_gpio_set_config()
265 if (test_bit(line, txgpio->invert_mask)) in thunderx_gpio_get()
346 set_bit(txline->line, txgpio->invert_mask); in thunderx_gpio_irq_set_type()
348 clear_bit(txline->line, txgpio->invert_mask); in thunderx_gpio_irq_set_type()
505 set_bit(i, txgpio->invert_mask); in thunderx_gpio_probe()
Dgpiolib.h103 unsigned long invert_mask[]; member
Dgpiolib.c2694 if (!raw && !bitmap_empty(array_info->invert_mask, array_size)) in gpiod_get_array_value_complex()
2696 array_info->invert_mask, array_size); in gpiod_get_array_value_complex()
2985 if (!raw && !bitmap_empty(array_info->invert_mask, array_size)) in gpiod_set_array_value_complex()
2987 array_info->invert_mask, array_size); in gpiod_set_array_value_complex()
3039 test_bit(i, array_info->invert_mask)) && in gpiod_set_array_value_complex()
4275 struct_size(array_info, invert_mask, in gpiod_get_array()
4288 array_info->get_mask = array_info->invert_mask + in gpiod_get_array()
4335 array_info->invert_mask); in gpiod_get_array()
4345 *array_info->invert_mask); in gpiod_get_array()