Lines Matching defs:bits
2828 unsigned long *mask, unsigned long *bits)
2831 return gc->get_multiple(gc, mask, bits);
2839 __assign_bit(i, bits, value);
2886 unsigned long *mask, *bits;
2891 bits = fastpath_bits;
2899 bits = bitmap_alloc(gc->ngpio, flags);
2900 if (!bits) {
2926 ret = gpio_chip_get_multiple(gc, mask, bits);
2930 if (bits != fastpath_bits)
2931 bitmap_free(bits);
2938 int value = test_bit(hwgpio, bits);
2953 if (bits != fastpath_bits)
2954 bitmap_free(bits);
3124 * @mask: bit mask array; one bit per output; BITS_PER_LONG bits per word
3126 * @bits: bit value array; one bit per output; BITS_PER_LONG bits per word
3130 unsigned long *mask, unsigned long *bits)
3133 gc->set_multiple(gc, mask, bits);
3139 gc->set(gc, i, test_bit(i, bits));
3180 unsigned long *mask, *bits;
3185 bits = fastpath_bits;
3193 bits = bitmap_alloc(gc->ngpio, flags);
3194 if (!bits) {
3230 __assign_bit(hwgpio, bits, value);
3240 /* push collected bits to outputs */
3242 gpio_chip_set_multiple(gc, mask, bits);
3246 if (bits != fastpath_bits)
3247 bitmap_free(bits);