Searched refs:maxpin (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-11-stable/usr.sbin/gpioctl/
H A Dgpioctl.c145 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 Dar71xx_gpio.c87 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 Davila_gpio.c122 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 Dcambria_gpio.c125 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 Daml8726_gpio.c177 aml8726_gpio_pin_max(device_t dev, int *maxpin) argument
181 *maxpin = (int)sc->npins;
/freebsd-11-stable/sys/powerpc/mpc85xx/
H A Dmpc85xx_gpio.c86 mpc85xx_gpio_pin_max(device_t dev, int *maxpin) argument
89 *maxpin = MAXPIN;
H A Dqoriq_gpio.c89 qoriq_gpio_pin_max(device_t dev, int *maxpin) argument
92 *maxpin = MAXPIN;
/freebsd-11-stable/sys/mips/cavium/
H A Docteon_gpio.c95 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 Damdgpio.c111 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 Dvf_gpio.c173 vf_gpio_pin_max(device_t dev, int *maxpin) argument
176 *maxpin = NGPIO - 1;
/freebsd-11-stable/sys/dev/rccgpio/
H A Drccgpio.c113 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 Dzy7_gpio.c129 zy7_gpio_pin_max(device_t dev, int *maxpin) argument
132 *maxpin = MAXPIN;
/freebsd-11-stable/sys/mips/rt305x/
H A Drt305x_gpio.c89 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 Das3722_gpio.c298 as3722_gpio_pin_max(device_t dev, int *maxpin) argument
301 *maxpin = NGPIO - 1;
H A Das3722.h310 int as3722_gpio_pin_max(device_t dev, int *maxpin);
H A Dtegra_gpio.c202 tegra_gpio_pin_max(device_t dev, int *maxpin) argument
205 *maxpin = NGPIO - 1;
/freebsd-11-stable/sys/arm/allwinner/
H A Daxp81x.c206 axp81x_gpio_pin_max(device_t dev, int *maxpin) argument
208 *maxpin = nitems(axp81x_pins) - 1;
H A Da10_gpio.c355 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 Dsocfpga_gpio.c222 socfpga_gpio_pin_max(device_t dev, int *maxpin) argument
228 *maxpin = sc->gpio_npins - 1;
/freebsd-11-stable/sys/dev/gpio/
H A Dchvgpio.c148 chvgpio_pin_max(device_t dev, int *maxpin) argument
154 *maxpin = sc->sc_npins - 1;
H A Dbytgpio.c318 bytgpio_pin_max(device_t dev, int *maxpin) argument
324 *maxpin = sc->sc_npins - 1;
/freebsd-11-stable/sys/mips/mediatek/
H A Dmtk_gpio_v1.c359 mtk_gpio_pin_max(device_t dev, int *maxpin) argument
363 *maxpin = sc->num_pins - 1;
H A Dmtk_gpio_v2.c350 mtk_gpio_pin_max(device_t dev, int *maxpin) argument
354 *maxpin = sc->num_pins - 1;
/freebsd-11-stable/sys/arm/rockchip/
H A Drk30xx_gpio.c223 rk30_gpio_pin_max(device_t dev, int *maxpin) argument
226 *maxpin = RK30_GPIO_PINS - 1;
/freebsd-11-stable/sys/arm/ti/
H A Dti_gpio.c263 * @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;

Completed in 148 milliseconds

12