Lines Matching +full:4 +full:- +full:pole
1 // SPDX-License-Identifier: GPL-2.0-only
13 * Configuration of output modes (totem-pole/open-drain).
14 * Interrupt configuration - interrupts are always generated, the FPGA relies
39 .compatible = "gef,sbc610-gpio",
42 .compatible = "gef,sbc310-gpio",
45 .compatible = "ge,imp3a-gpio",
54 struct device *dev = &pdev->dev; in gef_gpio_probe()
61 return -ENOMEM; in gef_gpio_probe()
67 ret = bgpio_init(gc, dev, 4, regs + GEF_GPIO_IN, regs + GEF_GPIO_OUT, in gef_gpio_probe()
74 gc->label = devm_kasprintf(dev, GFP_KERNEL, "%pfw", dev_fwnode(dev)); in gef_gpio_probe()
75 if (!gc->label) in gef_gpio_probe()
76 return -ENOMEM; in gef_gpio_probe()
78 gc->base = -1; in gef_gpio_probe()
79 gc->ngpio = (uintptr_t)device_get_match_data(dev); in gef_gpio_probe()
91 .name = "gef-gpio",