/netbsd-current/sys/arch/alpha/gbus/ |
H A D | gbusvar.h | 45 bus_addr_t ga_offset; /* offset from Gbus base */ member in struct:gbus_attach_args
|
H A D | gbus.c | 86 aprint_normal(" offset 0x%lx", ga->ga_offset); 128 locs[GBUSCF_OFFSET] = gaa.ga_offset;
|
H A D | mcclock_gbus.c | 84 if (bus_space_map(sc->sc_bst, ga->ga_offset, MC_NREGS+MC_NVRAM_SIZE,
|
/netbsd-current/sys/arch/evbarm/netwalker/ |
H A D | netwalker_lid.c | 78 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 D | netwalker_pwr.c | 79 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 D | netwalker_btn.c | 106 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 D | gpio.h | 106 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 D | gpiolock.c | 75 if (ga->ga_offset == -1) 101 if (gpio_pin_map(sc->sc_gpio, ga->ga_offset, ga->ga_mask,
|
H A D | gpiobutton.c | 87 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 D | gpiorfkill.c | 75 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 D | gpiovar.h | 77 int ga_offset; member in struct:gpio_attach_args
|
H A D | gpiopwm.c | 77 if (ga->ga_offset == -1) 101 if (gpio_pin_map(sc->sc_gpio, ga->ga_offset, ga->ga_mask,
|
H A D | gpioow.c | 86 if (ga->ga_offset == -1) 109 if (gpio_pin_map(sc->sc_gpio, ga->ga_offset, ga->ga_mask,
|
H A D | gpioiic.c | 97 if (ga->ga_offset == -1) 122 if (gpio_pin_map(sc->sc_gpio, ga->ga_offset, ga->ga_mask,
|
H A D | gpio.c | 138 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 D | gpiopps.c | 107 if (ga->ga_offset == -1) 167 if (gpio_pin_map(sc->sc_gpio, ga->ga_offset, mask,
|
H A D | gpioirq.c | 142 if (ga->ga_offset == -1) 175 if (gpio_pin_map(sc->sc_gpio, ga->ga_offset,
|
/netbsd-current/usr.sbin/gpioctl/ |
H A D | gpioctl.c | 89 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 D | gpio.c | 215 attach.ga_offset = (int)luaL_checkinteger(L, 3);
|