Home
last modified time | relevance | path

Searched refs:sc_maxpins (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_gpio.c120 u_int sc_maxpins; member
416 *maxpin = sc->sc_maxpins - 1; in bcm_gpio_pin_max()
816 sc->sc_maxpins = sc->sc_is2711 ? BCM2711_GPIO_PINS : BCM2835_GPIO_PINS; in bcm_gpio_attach()
829 for (i = 0, j = 0; j < sc->sc_maxpins; j++) { in bcm_gpio_attach()
998 for (irq = 0; irq < sc->sc_maxpins; irq++) { in bcm_gpio_pic_attach()
1086 if (irq >= sc->sc_maxpins || bcm_gpio_pin_is_ro(sc, irq)) in bcm_gpio_pic_map_fdt()
1117 if (irq >= sc->sc_maxpins || bcm_gpio_pin_is_ro(sc, irq)) in bcm_gpio_pic_map_gpio()