Searched refs:invert_mask (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.15/drivers/gpio/ |
| D | gpio-thunderx.c | 60 unsigned long invert_mask[2]; member 112 clear_bit(line, txgpio->invert_mask); in thunderx_gpio_dir_in() 146 if (test_bit(line, txgpio->invert_mask)) in thunderx_gpio_dir_out() 196 orig_invert = test_bit(line, txgpio->invert_mask); in thunderx_gpio_set_config() 209 set_bit(line, txgpio->invert_mask); in thunderx_gpio_set_config() 216 clear_bit(line, txgpio->invert_mask); in thunderx_gpio_set_config() 267 if (test_bit(line, txgpio->invert_mask)) in thunderx_gpio_get() 348 set_bit(txline->line, txgpio->invert_mask); in thunderx_gpio_irq_set_type() 350 clear_bit(txline->line, txgpio->invert_mask); in thunderx_gpio_irq_set_type() 510 set_bit(i, txgpio->invert_mask); in thunderx_gpio_probe()
|
| D | gpiolib.h | 81 unsigned long invert_mask[]; member
|
| D | gpiolib.c | 2552 if (!raw && !bitmap_empty(array_info->invert_mask, array_size)) in gpiod_get_array_value_complex() 2554 array_info->invert_mask, array_size); in gpiod_get_array_value_complex() 2843 if (!raw && !bitmap_empty(array_info->invert_mask, array_size)) in gpiod_set_array_value_complex() 2845 array_info->invert_mask, array_size); in gpiod_set_array_value_complex() 2897 test_bit(i, array_info->invert_mask)) && in gpiod_set_array_value_complex() 4116 struct_size(array_info, invert_mask, in gpiod_get_array() 4129 array_info->get_mask = array_info->invert_mask + in gpiod_get_array() 4176 array_info->invert_mask); in gpiod_get_array() 4186 *array_info->invert_mask); in gpiod_get_array()
|