/freebsd-11-stable/usr.sbin/gpioctl/ |
H A D | gpioctl.c | 145 int i, maxpin, pinv; local 149 maxpin = gpio_pin_list(handle, &cfgs); 150 if (maxpin < 0) { 155 for (i = 0; i <= maxpin; i++) { 174 int i, maxpin, pinn; local 179 maxpin = gpio_pin_list(handle, &cfgs); 180 if (maxpin < 0) { 185 for (i = 0; i <= maxpin; i++) {
|
/freebsd-11-stable/sys/mips/atheros/ |
H A D | ar71xx_gpio.c | 87 static int ar71xx_gpio_pin_max(device_t dev, int *maxpin); 176 ar71xx_gpio_pin_max(device_t dev, int *maxpin) argument 182 *maxpin = AR91XX_GPIO_PINS - 1; 187 *maxpin = AR724X_GPIO_PINS - 1; 191 *maxpin = AR933X_GPIO_COUNT - 1; 196 *maxpin = AR934X_GPIO_COUNT - 1; 200 *maxpin = QCA953X_GPIO_COUNT - 1; 204 *maxpin = QCA955X_GPIO_COUNT - 1; 207 *maxpin = AR71XX_GPIO_PINS - 1; 389 int i, j, maxpin; local [all...] |
/freebsd-11-stable/sys/arm/xscale/ixp425/ |
H A D | avila_gpio.c | 122 static int avila_gpio_pin_max(device_t dev, int *maxpin); 179 avila_gpio_pin_max(device_t dev, int *maxpin) argument 182 *maxpin = IXP4XX_GPIO_PINS - 1;
|
H A D | cambria_gpio.c | 125 static int cambria_gpio_pin_max(device_t dev, int *maxpin); 278 cambria_gpio_pin_max(device_t dev, int *maxpin) argument 281 *maxpin = GPIO_PINS - 1;
|
/freebsd-11-stable/sys/arm/amlogic/aml8726/ |
H A D | aml8726_gpio.c | 177 aml8726_gpio_pin_max(device_t dev, int *maxpin) argument 181 *maxpin = (int)sc->npins;
|
/freebsd-11-stable/sys/powerpc/mpc85xx/ |
H A D | mpc85xx_gpio.c | 86 mpc85xx_gpio_pin_max(device_t dev, int *maxpin) argument 89 *maxpin = MAXPIN;
|
H A D | qoriq_gpio.c | 89 qoriq_gpio_pin_max(device_t dev, int *maxpin) argument 92 *maxpin = MAXPIN;
|
/freebsd-11-stable/sys/mips/cavium/ |
H A D | octeon_gpio.c | 95 static int octeon_gpio_pin_max(device_t dev, int *maxpin); 150 octeon_gpio_pin_max(device_t dev, int *maxpin) argument 153 *maxpin = OCTEON_GPIO_PINS - 1;
|
/freebsd-11-stable/sys/dev/amdgpio/ |
H A D | amdgpio.c | 111 amdgpio_pin_max(device_t dev, int *maxpin) argument 117 *maxpin = sc->sc_npins - 1; 118 dprintf("npins %d maxpin %d\n", sc->sc_npins, *maxpin);
|
/freebsd-11-stable/sys/arm/freescale/vybrid/ |
H A D | vf_gpio.c | 173 vf_gpio_pin_max(device_t dev, int *maxpin) argument 176 *maxpin = NGPIO - 1;
|
/freebsd-11-stable/sys/dev/rccgpio/ |
H A D | rccgpio.c | 113 rcc_gpio_pin_max(device_t dev, int *maxpin) argument 118 *maxpin = sc->sc_gpio_npins - 1;
|
/freebsd-11-stable/sys/arm/xilinx/ |
H A D | zy7_gpio.c | 129 zy7_gpio_pin_max(device_t dev, int *maxpin) argument 132 *maxpin = MAXPIN;
|
/freebsd-11-stable/sys/mips/rt305x/ |
H A D | rt305x_gpio.c | 89 static int rt305x_gpio_pin_max(device_t dev, int *maxpin); 173 rt305x_gpio_pin_max(device_t dev, int *maxpin) argument 176 *maxpin = NGPIO - 1;
|
/freebsd-11-stable/sys/arm/nvidia/ |
H A D | as3722_gpio.c | 298 as3722_gpio_pin_max(device_t dev, int *maxpin) argument 301 *maxpin = NGPIO - 1;
|
H A D | as3722.h | 310 int as3722_gpio_pin_max(device_t dev, int *maxpin);
|
H A D | tegra_gpio.c | 202 tegra_gpio_pin_max(device_t dev, int *maxpin) argument 205 *maxpin = NGPIO - 1;
|
/freebsd-11-stable/sys/arm/allwinner/ |
H A D | axp81x.c | 206 axp81x_gpio_pin_max(device_t dev, int *maxpin) argument 208 *maxpin = nitems(axp81x_pins) - 1;
|
H A D | a10_gpio.c | 355 a10_gpio_pin_max(device_t dev, int *maxpin) argument 361 *maxpin = sc->padconf->npins - 1;
|
/freebsd-11-stable/sys/arm/altera/socfpga/ |
H A D | socfpga_gpio.c | 222 socfpga_gpio_pin_max(device_t dev, int *maxpin) argument 228 *maxpin = sc->gpio_npins - 1;
|
/freebsd-11-stable/sys/dev/gpio/ |
H A D | chvgpio.c | 148 chvgpio_pin_max(device_t dev, int *maxpin) argument 154 *maxpin = sc->sc_npins - 1;
|
H A D | bytgpio.c | 318 bytgpio_pin_max(device_t dev, int *maxpin) argument 324 *maxpin = sc->sc_npins - 1;
|
/freebsd-11-stable/sys/mips/mediatek/ |
H A D | mtk_gpio_v1.c | 359 mtk_gpio_pin_max(device_t dev, int *maxpin) argument 363 *maxpin = sc->num_pins - 1;
|
H A D | mtk_gpio_v2.c | 350 mtk_gpio_pin_max(device_t dev, int *maxpin) argument 354 *maxpin = sc->num_pins - 1;
|
/freebsd-11-stable/sys/arm/rockchip/ |
H A D | rk30xx_gpio.c | 223 rk30_gpio_pin_max(device_t dev, int *maxpin) argument 226 *maxpin = RK30_GPIO_PINS - 1;
|
/freebsd-11-stable/sys/arm/ti/ |
H A D | ti_gpio.c | 263 * @maxpin: pointer to a value that upon return will contain the maximum number 274 ti_gpio_pin_max(device_t dev, int *maxpin) argument 277 *maxpin = PINS_PER_BANK - 1;
|