Searched refs:ga_offset (Results 1 - 19 of 19) sorted by relevance

/netbsd-current/sys/arch/alpha/gbus/
H A Dgbusvar.h45 bus_addr_t ga_offset; /* offset from Gbus base */ member in struct:gbus_attach_args
H A Dgbus.c86 aprint_normal(" offset 0x%lx", ga->ga_offset);
128 locs[GBUSCF_OFFSET] = gaa.ga_offset;
H A Dmcclock_gbus.c84 if (bus_space_map(sc->sc_bst, ga->ga_offset, MC_NREGS+MC_NVRAM_SIZE,
/netbsd-current/sys/arch/evbarm/netwalker/
H A Dnetwalker_lid.c78 if (ga->ga_offset == -1)
102 if (gpio_pin_map(sc->sc_gpio, ga->ga_offset, ga->ga_mask, &sc->sc_map)) {
117 sc->sc_intr = intr_establish(GPIO3_IRQBASE + ga->ga_offset,
H A Dnetwalker_pwr.c79 if (ga->ga_offset == -1)
103 if (gpio_pin_map(sc->sc_gpio, ga->ga_offset, ga->ga_mask, &sc->sc_map)) {
118 sc->sc_intr = intr_establish(GPIO1_IRQBASE + ga->ga_offset,
H A Dnetwalker_btn.c106 if (ga->ga_offset == -1)
132 if (gpio_pin_map(sc->sc_gpio, ga->ga_offset, ga->ga_mask,
159 sc->sc_intr[0] = intr_establish(GPIO1_BASE + ga->ga_offset,
165 sc->sc_intr[1] = intr_establish(GPIO1_BASE + ga->ga_offset + 1,
/netbsd-current/sys/sys/
H A Dgpio.h106 int ga_offset; /* pin number */ member in struct:gpio_attach
124 int ga_offset; /* pin number */ member in struct:gpio_attach50
/netbsd-current/sys/dev/gpio/
H A Dgpiolock.c75 if (ga->ga_offset == -1)
101 if (gpio_pin_map(sc->sc_gpio, ga->ga_offset, ga->ga_mask,
H A Dgpiobutton.c87 if (ga->ga_offset == -1 || gpio_npins(ga->ga_mask) != 1)
115 if (gpio_pin_map(sc->sc_gpio, ga->ga_offset, ga->ga_mask,
H A Dgpiorfkill.c75 if (ga->ga_offset == -1 || gpio_npins(ga->ga_mask) != 1)
91 if (gpio_pin_map(sc->sc_gpio, ga->ga_offset, ga->ga_mask,
H A Dgpiovar.h77 int ga_offset; member in struct:gpio_attach_args
H A Dgpiopwm.c77 if (ga->ga_offset == -1)
101 if (gpio_pin_map(sc->sc_gpio, ga->ga_offset, ga->ga_mask,
H A Dgpioow.c86 if (ga->ga_offset == -1)
109 if (gpio_pin_map(sc->sc_gpio, ga->ga_offset, ga->ga_mask,
H A Dgpioiic.c97 if (ga->ga_offset == -1)
122 if (gpio_pin_map(sc->sc_gpio, ga->ga_offset, ga->ga_mask,
H A Dgpio.c138 if (ga->ga_offset == -1)
309 ga.ga_offset = cf->cf_loc[GPIOCF_OFFSET];
331 aprint_normal(" %d", ga->ga_offset + i);
860 if (!gpio_pin_can_map(sc, attach->ga_offset, attach->ga_mask))
879 ga.ga_offset = attach->ga_offset;
883 ga.ga_dvname, ga.ga_offset, ga.ga_mask, ga.ga_flags));
885 locs[GPIOCF_OFFSET] = ga.ga_offset;
H A Dgpiopps.c107 if (ga->ga_offset == -1)
167 if (gpio_pin_map(sc->sc_gpio, ga->ga_offset, mask,
H A Dgpioirq.c142 if (ga->ga_offset == -1)
175 if (gpio_pin_map(sc->sc_gpio, ga->ga_offset,
/netbsd-current/usr.sbin/gpioctl/
H A Dgpioctl.c89 int ga_offset = -1; local
140 ga_offset = strtonum(offset, 0, INT_MAX, &errstr);
162 devattach(driver, ga_offset, ga_mask, ga_flags);
378 attach.ga_offset = offset;
/netbsd-current/lib/lua/gpio/
H A Dgpio.c215 attach.ga_offset = (int)luaL_checkinteger(L, 3);

Completed in 104 milliseconds