HomeSort by: relevance | last modified time | path
    Searched refs:GPIO_NPINS (Results 1 - 10 of 10) sorted by relevancy

  /src/sys/arch/powerpc/ibm4xx/dev/
gpioreg.h 56 #define GPIO_NPINS (24)
gpio_opb.c 53 gpio_pin_t sc_gpio_pins[GPIO_NPINS];
126 for (u_int i = 0 ; i < GPIO_NPINS ; i++, pin++) {
152 gba.gba_npins = GPIO_NPINS;
162 const u_int p = (pin % GPIO_NPINS) + 1;
172 const u_int p = (pin % GPIO_NPINS) + 1;
186 const u_int p = (pin % GPIO_NPINS) + 1;
  /src/sys/arch/arm/imx/
imxgpioreg.h 48 #define GPIO_NPINS 32
imxgpiovar.h 36 #include <arm/imx/imxgpioreg.h> /* for GPIO_NPINS */
82 #define GPIO_NO(group, pin) (((group) - 1) * GPIO_NPINS + (pin))
83 #define GPIO_MODULE(pin) ((pin) / GPIO_NPINS)
imxgpio.c 336 gpio->gpio_pic.pic_maxsources = GPIO_NPINS;
341 gpio->gpio_irqbase, gpio->gpio_irqbase + GPIO_NPINS - 1);
360 int index = gpio / GPIO_NPINS;
361 int pin = gpio % GPIO_NPINS;
372 int index = gpio / GPIO_NPINS;
373 int pin = gpio % GPIO_NPINS;
384 int index = gpio / GPIO_NPINS;
385 int pin = gpio % GPIO_NPINS;
imx31reg.h 61 #define GPIO_NPINS 32
  /src/sys/arch/arm/xscale/
pxa2x0cpu.h 81 #define GPIO_NPINS PXA270_GPIO_NPINS
88 #define GPIO_NPINS PXA250_GPIO_NPINS
pxa2x0_gpio.c 78 struct gpio_irq_handler *sc_handlers[GPIO_NPINS];
83 gpio_pin_t sc_gpio_pins[GPIO_NPINS];
209 maxpin = GPIO_NPINS;
259 if (gpio >= GPIO_NPINS)
498 KDASSERT(gpio < GPIO_NPINS);
521 KDASSERT(gpio < GPIO_NPINS);
  /src/sys/arch/emips/ebus/
gpio_ebus.c 49 #define GPIO_NPINS 32
55 gpio_pin_t sc_gpio_pins[GPIO_NPINS];
102 for (i = 0 ; i < GPIO_NPINS ; i++) {
124 gba.gba_npins = GPIO_NPINS;
137 p = pin % GPIO_NPINS;
148 p = pin % GPIO_NPINS;
163 p = pin % GPIO_NPINS;
  /src/sys/arch/riscv/starfive/
jh7100_pinctrl.c 101 #define PAD_FUNC_SHARE(pad) (GPIO_NPINS + (pad))
104 #define GPIO_NPINS 64
115 #define DT_PAD_GPIO(x) ((x) & (GPIO_NPINS - 1))
116 #define DT_PAD_FUNC_SHARE(x) ((x) - GPIO_NPINS)
363 if (pin_no >= GPIO_NPINS)

Completed in 16 milliseconds