Home
last modified time | relevance | path

Searched refs:bgpio_bits (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/gpio/
Dgpio-mmio.c130 return BIT(gc->bgpio_bits - 1 - line); in bgpio_line2mask()
275 for_each_set_bit(i, mask, gc->bgpio_bits) { in bgpio_multiple_get_masks()
425 switch (gc->bgpio_bits) { in bgpio_setup_accessors()
461 dev_err(dev, "unsupported data width %u bits\n", gc->bgpio_bits); in bgpio_setup_accessors()
611 gc->bgpio_bits = sz * 8; in bgpio_init()
612 if (gc->bgpio_bits > BITS_PER_LONG) in bgpio_init()
624 gc->ngpio = gc->bgpio_bits; in bgpio_init()
626 gc->bgpio_bits = roundup_pow_of_two(round_up(gc->ngpio, 8)); in bgpio_init()
/Linux-v6.6/include/linux/gpio/
Ddriver.h479 int bgpio_bits; member