Searched refs:ngpio (Results 76 - 100 of 337) sorted by relevance

1234567891011>>

/linux-master/drivers/gpio/
H A Dgpio-bd9571mwv.c93 .ngpio = 2,
H A Dgpio-tps65912.c94 .ngpio = 5,
H A Dgpio-bd71828.c123 bdgpio->gpio.ngpio = 4;
H A Dgpio-realtek-otto.c261 for_each_set_bit(offset, &status, gc->ngpio)
309 u32 mask_all = GENMASK(gc->ngpio - 1, 0);
313 for (line = 0; line < gc->ngpio; line++)
411 ctrl->gc.ngpio = ngpios;
H A Dgpio-i8255.c126 gpio_config.ngpio = I8255_NGPIO * config->num_ppi;
H A Dgpio-merrifield.c107 priv->info.ngpio = MRFLD_NGPIO;
H A Dgpio-tpic2810.c91 .ngpio = 8,
H A Dgpio-gw-pld.c85 gw->chip.ngpio = 8;
H A Dgpio-74xx-mmio.c135 priv->gc.ngpio = MMIO_74XX_BIT_CNT(priv->flags);
H A Dgpio-wcd934x.c100 chip->ngpio = WCD934X_NPINS;
H A Dgpio-tps6586x.c93 tps6586x_gpio->gpio_chip.ngpio = 4;
H A Dgpio-mm-lantiq.c112 chip->mmchip.gc.ngpio = 16;
H A Dgpio-fxl6408.c110 .ngpio = FXL6408_NGPIO,
H A Dgpio-rdc321x.c162 rdc321x_gpio_dev->chip.ngpio = pdata->max_gpios;
182 rdc321x_gpio_dev->chip.ngpio);
H A Dgpio-arizona.c171 arizona_gpio->gpio_chip.ngpio = 5;
175 arizona_gpio->gpio_chip.ngpio = 2;
H A Dgpio-idt3243x.c39 for_each_set_bit(bit, &pending, gc->ngpio) {
164 ctrl->gc.ngpio = ngpios;
H A Dgpio-zevio.c166 .ngpio = 32,
197 for (i = 0; i < controller->chip.ngpio; i += 8)
H A Dgpio-dwapb.c71 unsigned int ngpio; member in struct:dwapb_port_property
433 for (i = 0; i < pp->ngpio; ++i) {
532 port->gc.ngpio = pp->ngpio;
562 for (j = 0; j < pp->ngpio; j++) {
607 if (fwnode_property_read_u32(fwnode, "ngpios", &pp->ngpio) &&
608 fwnode_property_read_u32(fwnode, "snps,nr-gpios", &pp->ngpio)) {
612 pp->ngpio = DWAPB_MAX_GPIOS;
H A Dgpio-wm831x.c161 for (i = 0; i < chip->ngpio; i++) {
278 wm831x_gpio->gpio_chip.ngpio = wm831x->num_gpio;
H A Dgpio-wm8994.c194 for (i = 0; i < chip->ngpio; i++) {
277 wm8994_gpio->gpio_chip.ngpio = WM8994_GPIO_MAX;
H A Dgpiolib.h33 * @descs: array of ngpio descriptors.
34 * @ngpio: the number of GPIO lines on this GPIO device, equal to the size
65 u16 ngpio; member in struct:gpio_device
118 __i < gc->ngpio && (desc = gpiochip_get_desc(gc, __i)); \
H A Dgpio-brcmstb.c306 i += bank->gc.ngpio;
416 if (offset >= gc->ngpio || offset < 0)
697 /* not all ngpio lines are valid, will use bank width later */
698 gc->ngpio = MAX_GPIO_PER_BANK;
716 gpio_base += gc->ngpio;
718 dev_dbg(dev, "bank=%d, base=%d, ngpio=%d, width=%d\n", bank->id,
719 gc->base, gc->ngpio, bank->width);
/linux-master/drivers/soc/renesas/
H A Dpwc-rzv2m.c68 .ngpio = 2,
/linux-master/include/linux/gpio/
H A Ddriver.h90 * hardware IRQs correspond to the GPIO index 0..ngpio-1 (see the
91 * ngpio field of struct gpio_chip) and the corresponding parent
371 * @ngpio: the number of GPIOs handled by this controller; the last GPIO
372 * handled is (base + ngpio - 1).
379 * array must be @ngpio entries long. A name can include a single printk
415 * by "offset" values in the range 0..(@ngpio - 1). When those signals
468 u16 ngpio; member in struct:gpio_chip
563 *_data.i < _chip->ngpio; \
588 for_each_requested_gpio_in_range(chip, i, 0, chip->ngpio, label)
694 int ngpio; member in struct:bgpio_pdata
[all...]
/linux-master/drivers/pinctrl/bcm/
H A Dpinctrl-nsp-gpio.c145 for_each_set_bit(bit, &int_bits, gc->ngpio)
582 pins = devm_kcalloc(chip->dev, gc->ngpio, sizeof(*pins), GFP_KERNEL);
585 for (i = 0; i < gc->ngpio; i++) {
595 pctldesc->npins = gc->ngpio;
648 gc->ngpio = val;

Completed in 293 milliseconds

1234567891011>>