Home | History | Annotate | Download | only in broadcom

Lines Matching defs:regid

777 	const u_int regid = (pin / BCM2835_GPIO_GPFSEL_PINS_PER_REGISTER);
785 v = bus_space_read_4(sc->sc_iot, sc->sc_ioh, BCM2835_GPIO_GPFSEL(regid));
797 bus_space_write_4(sc->sc_iot, sc->sc_ioh, BCM2835_GPIO_GPFSEL(regid), v);
804 const u_int regid = (pin / BCM2835_GPIO_GPFSEL_PINS_PER_REGISTER);
809 v = bus_space_read_4(sc->sc_iot, sc->sc_ioh, BCM2835_GPIO_GPFSEL(regid));
820 u_int mask, regid;
825 regid = (pin / BCM2835_GPIO_GPPUD_PINS_PER_REGISTER);
831 BCM2835_GPIO_GPPUDCLK(regid), mask);
836 BCM2835_GPIO_GPPUDCLK(regid), 0);
839 regid = BCM2838_GPIO_GPPUD_REGID(pin);
854 BCM2838_GPIO_GPPUPPDN(regid));
858 BCM2838_GPIO_GPPUPPDN(regid), reg);