Searched refs:invert_mask (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/gpio/ |
H A D | gpio-thunderx.c | 59 unsigned long invert_mask[2]; member 111 clear_bit(line, txgpio->invert_mask); in thunderx_gpio_dir_in() 145 if (test_bit(line, txgpio->invert_mask)) in thunderx_gpio_dir_out() 195 orig_invert = test_bit(line, txgpio->invert_mask); in thunderx_gpio_set_config() 208 set_bit(line, txgpio->invert_mask); in thunderx_gpio_set_config() 215 clear_bit(line, txgpio->invert_mask); in thunderx_gpio_set_config() 266 if (test_bit(line, txgpio->invert_mask)) in thunderx_gpio_get() 347 set_bit(txline->line, txgpio->invert_mask); in thunderx_gpio_irq_set_type() 349 clear_bit(txline->line, txgpio->invert_mask); in thunderx_gpio_irq_set_type() 512 set_bit(i, txgpio->invert_mask); in thunderx_gpio_probe()
|
H A D | gpiolib.h | 128 unsigned long invert_mask[]; member
|
H A D | gpiolib.c | 3079 if (!raw && !bitmap_empty(array_info->invert_mask, array_size)) in gpiod_get_array_value_complex() 3081 array_info->invert_mask, array_size); in gpiod_get_array_value_complex() 3385 if (!raw && !bitmap_empty(array_info->invert_mask, array_size)) in gpiod_set_array_value_complex() 3387 array_info->invert_mask, array_size); in gpiod_set_array_value_complex() 3442 test_bit(i, array_info->invert_mask)) && in gpiod_set_array_value_complex() 4681 struct_size(array_info, invert_mask, 3 * bitmap_size), in gpiod_get_array() 4691 array_info->get_mask = array_info->invert_mask + in gpiod_get_array() 4742 array_info->invert_mask); in gpiod_get_array() 4750 *array_info->invert_mask); in gpiod_get_array()
|