Home
last modified time | relevance | path

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

/Linux-v6.6/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()
511 set_bit(i, txgpio->invert_mask); in thunderx_gpio_probe()
Dgpiolib.h122 unsigned long invert_mask[]; member
Dgpiolib.c2812 if (!raw && !bitmap_empty(array_info->invert_mask, array_size)) in gpiod_get_array_value_complex()
2814 array_info->invert_mask, array_size); in gpiod_get_array_value_complex()
3103 if (!raw && !bitmap_empty(array_info->invert_mask, array_size)) in gpiod_set_array_value_complex()
3105 array_info->invert_mask, array_size); in gpiod_set_array_value_complex()
3157 test_bit(i, array_info->invert_mask)) && in gpiod_set_array_value_complex()
4349 struct_size(array_info, invert_mask, 3 * bitmap_size), in gpiod_get_array()
4359 array_info->get_mask = array_info->invert_mask + in gpiod_get_array()
4410 array_info->invert_mask); in gpiod_get_array()
4418 *array_info->invert_mask); in gpiod_get_array()