/freebsd-13-stable/usr.sbin/gpioctl/ |
H A D | gpioctl.c | 150 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 D | ar71xx_gpio.c | 89 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 D | ar5315_gpio.c | 83 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 D | a37x0_gpio.c | 103 a37x0_gpio_pin_max(device_t dev, int *maxpin) argument 108 *maxpin = sc->sc_npins - 1;
|
/freebsd-13-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 | 88 qoriq_gpio_pin_max(device_t dev, int *maxpin) argument 91 *maxpin = MAXPIN;
|
/freebsd-13-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-13-stable/sys/dev/iicbus/gpio/ |
H A D | tca6416.c | 252 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 D | octeon_gpio.c | 97 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 D | ls1046_gpio.c | 275 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 D | rccgpio.c | 113 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 D | vf_gpio.c | 174 vf_gpio_pin_max(device_t dev, int *maxpin) argument 177 *maxpin = NGPIO - 1;
|
/freebsd-13-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-13-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;
|
H A D | pl061.c | 97 pl061_pin_max(device_t dev, int *maxpin) argument 99 *maxpin = PL061_NUM_GPIO - 1;
|
/freebsd-13-stable/sys/dev/gpio/dwgpio/ |
H A D | dwgpio.c | 193 dwgpio_pin_max(device_t dev, int *maxpin) argument 199 *maxpin = sc->gpio_npins - 1;
|
/freebsd-13-stable/sys/arm/broadcom/bcm2835/ |
H A D | raspberrypi_gpio.c | 147 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 D | as3722_gpio.c | 294 as3722_gpio_pin_max(device_t dev, int *maxpin) argument 297 *maxpin = NGPIO - 1;
|
/freebsd-13-stable/sys/arm64/rockchip/ |
H A D | rk_gpio.c | 199 rk_gpio_pin_max(device_t dev, int *maxpin) argument 204 *maxpin = 31;
|
/freebsd-13-stable/sys/arm64/nvidia/tegra210/ |
H A D | max77620.h | 249 int max77620_gpio_pin_max(device_t dev, int *maxpin);
|
H A D | max77620_gpio.c | 403 max77620_gpio_pin_max(device_t dev, int *maxpin) argument 406 *maxpin = NGPIO - 1;
|
/freebsd-13-stable/sys/dev/bhnd/cores/chipc/ |
H A D | chipc_gpio.c | 240 chipc_gpio_pin_max(device_t dev, int *maxpin) argument 242 *maxpin = CC_GPIO_NPINS-1;
|
/freebsd-13-stable/sys/mips/mediatek/ |
H A D | mtk_gpio_v1.c | 360 mtk_gpio_pin_max(device_t dev, int *maxpin) argument 364 *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;
|