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

12

/freebsd-13-stable/usr.sbin/gpioctl/
H A Dgpioctl.c150 int i, maxpin, pinv; local
154 maxpin = gpio_pin_list(handle, &cfgs);
155 if (maxpin < 0) {
160 for (i = 0; i <= maxpin; i++) {
179 int i, maxpin, pinn; local
184 maxpin = gpio_pin_list(handle, &cfgs);
185 if (maxpin < 0) {
190 for (i = 0; i <= maxpin; i++) {
/freebsd-13-stable/sys/mips/atheros/
H A Dar71xx_gpio.c89 static int ar71xx_gpio_pin_max(device_t dev, int *maxpin);
222 ar71xx_gpio_pin_max(device_t dev, int *maxpin) argument
228 *maxpin = AR91XX_GPIO_PINS - 1;
232 *maxpin = AR724X_GPIO_PINS - 1;
235 *maxpin = AR7241_GPIO_PINS - 1;
239 *maxpin = AR933X_GPIO_COUNT - 1;
244 *maxpin = AR934X_GPIO_COUNT - 1;
248 *maxpin = QCA953X_GPIO_COUNT - 1;
252 *maxpin = QCA955X_GPIO_COUNT - 1;
255 *maxpin
435 int i, j, maxpin; local
[all...]
/freebsd-13-stable/sys/mips/atheros/ar531x/
H A Dar5315_gpio.c83 static int ar5315_gpio_pin_max(device_t dev, int *maxpin);
146 ar5315_gpio_pin_max(device_t dev, int *maxpin) argument
149 *maxpin = ar531x_gpio_pins() - 1;
332 int i, j, maxpin; local
383 (void) ar5315_gpio_pin_max(dev, &maxpin);
391 for (j = 0; j <= maxpin; j++) {
401 for (i = 0, j = 0; j <= maxpin; j++) {
432 for (i = 0; i <= maxpin; i++) {
/freebsd-13-stable/sys/arm/mv/
H A Da37x0_gpio.c103 a37x0_gpio_pin_max(device_t dev, int *maxpin) argument
108 *maxpin = sc->sc_npins - 1;
/freebsd-13-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.c88 qoriq_gpio_pin_max(device_t dev, int *maxpin) argument
91 *maxpin = MAXPIN;
/freebsd-13-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-13-stable/sys/dev/iicbus/gpio/
H A Dtca6416.c252 tca6416_pin_max(device_t dev __unused, int *maxpin) argument
255 if (maxpin == NULL)
258 *maxpin = NUM_PINS - 1;
/freebsd-13-stable/sys/mips/cavium/
H A Docteon_gpio.c97 static int octeon_gpio_pin_max(device_t dev, int *maxpin);
152 octeon_gpio_pin_max(device_t dev, int *maxpin) argument
155 *maxpin = OCTEON_GPIO_PINS - 1;
/freebsd-13-stable/sys/arm64/qoriq/
H A Dls1046_gpio.c275 qoriq_gpio_pin_max(device_t dev, int *maxpin) argument
278 if (maxpin == NULL)
281 *maxpin = PIN_COUNT - 1;
/freebsd-13-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-13-stable/sys/arm/freescale/vybrid/
H A Dvf_gpio.c174 vf_gpio_pin_max(device_t dev, int *maxpin) argument
177 *maxpin = NGPIO - 1;
/freebsd-13-stable/sys/arm/xilinx/
H A Dzy7_gpio.c129 zy7_gpio_pin_max(device_t dev, int *maxpin) argument
132 *maxpin = MAXPIN;
/freebsd-13-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;
H A Dpl061.c97 pl061_pin_max(device_t dev, int *maxpin) argument
99 *maxpin = PL061_NUM_GPIO - 1;
/freebsd-13-stable/sys/dev/gpio/dwgpio/
H A Ddwgpio.c193 dwgpio_pin_max(device_t dev, int *maxpin) argument
199 *maxpin = sc->gpio_npins - 1;
/freebsd-13-stable/sys/arm/broadcom/bcm2835/
H A Draspberrypi_gpio.c147 rpi_fw_gpio_pin_max(device_t dev, int *maxpin) argument
150 *maxpin = RPI_FW_GPIO_PINS - 1;
/freebsd-13-stable/sys/arm/nvidia/
H A Das3722_gpio.c294 as3722_gpio_pin_max(device_t dev, int *maxpin) argument
297 *maxpin = NGPIO - 1;
/freebsd-13-stable/sys/arm64/rockchip/
H A Drk_gpio.c199 rk_gpio_pin_max(device_t dev, int *maxpin) argument
204 *maxpin = 31;
/freebsd-13-stable/sys/arm64/nvidia/tegra210/
H A Dmax77620.h249 int max77620_gpio_pin_max(device_t dev, int *maxpin);
H A Dmax77620_gpio.c403 max77620_gpio_pin_max(device_t dev, int *maxpin) argument
406 *maxpin = NGPIO - 1;
/freebsd-13-stable/sys/dev/bhnd/cores/chipc/
H A Dchipc_gpio.c240 chipc_gpio_pin_max(device_t dev, int *maxpin) argument
242 *maxpin = CC_GPIO_NPINS-1;
/freebsd-13-stable/sys/mips/mediatek/
H A Dmtk_gpio_v1.c360 mtk_gpio_pin_max(device_t dev, int *maxpin) argument
364 *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;

Completed in 365 milliseconds

12