Home
last modified time | relevance | path

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

/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.h106 unsigned long invert_mask[]; member
Dgpiolib.c2702 if (!raw && !bitmap_empty(array_info->invert_mask, array_size)) in gpiod_get_array_value_complex()
2704 array_info->invert_mask, array_size); in gpiod_get_array_value_complex()
2993 if (!raw && !bitmap_empty(array_info->invert_mask, array_size)) in gpiod_set_array_value_complex()
2995 array_info->invert_mask, array_size); in gpiod_set_array_value_complex()
3047 test_bit(i, array_info->invert_mask)) && in gpiod_set_array_value_complex()
4283 struct_size(array_info, invert_mask, in gpiod_get_array()
4296 array_info->get_mask = array_info->invert_mask + in gpiod_get_array()
4343 array_info->invert_mask); in gpiod_get_array()
4353 *array_info->invert_mask); in gpiod_get_array()