Searched refs:invert_mask (Results 1 – 3 of 3) sorted by relevance
/drivers/gpio/ |
D | gpio-thunderx.c | 58 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()
|
D | gpiolib.h | 115 unsigned long invert_mask[]; member
|
D | gpiolib.c | 2872 if (!raw && !bitmap_empty(array_info->invert_mask, array_size)) in gpiod_get_array_value_complex() 2874 array_info->invert_mask, array_size); in gpiod_get_array_value_complex() 3163 if (!raw && !bitmap_empty(array_info->invert_mask, array_size)) in gpiod_set_array_value_complex() 3165 array_info->invert_mask, array_size); in gpiod_set_array_value_complex() 3217 test_bit(i, array_info->invert_mask)) && in gpiod_set_array_value_complex() 4409 struct_size(array_info, invert_mask, 3 * bitmap_size), in gpiod_get_array() 4419 array_info->get_mask = array_info->invert_mask + in gpiod_get_array() 4470 array_info->invert_mask); in gpiod_get_array() 4478 *array_info->invert_mask); in gpiod_get_array()
|