Searched refs:bgpio_line2mask (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/gpio/ |
H A D | gpio-mmio.c | 124 static unsigned long bgpio_line2mask(struct gpio_chip *gc, unsigned int line) in bgpio_line2mask() function 133 unsigned long pinmask = bgpio_line2mask(gc, gpio); in bgpio_get_set() 168 return !!(gc->read_reg(gc->reg_dat) & bgpio_line2mask(gc, gpio)); in bgpio_get() 198 readmask |= bgpio_line2mask(gc, bit); in bgpio_get_multiple_be() 208 *bits |= bgpio_line2mask(gc, bit); in bgpio_get_multiple_be() 219 unsigned long mask = bgpio_line2mask(gc, gpio); in bgpio_set() 237 unsigned long mask = bgpio_line2mask(gc, gpio); in bgpio_set_with_clear() 247 unsigned long mask = bgpio_line2mask(gc, gpio); in bgpio_set_set() 274 *set_mask |= bgpio_line2mask(gc, i); in bgpio_multiple_get_masks() 276 *clear_mask |= bgpio_line2mask(gc, i); in bgpio_multiple_get_masks() [all …]
|