Home
last modified time | relevance | path

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

/netbsd-src/sys/arch/arm/imx/
H A Dimx31_gpio.c74 struct gpio_softc { struct
88 ((struct gpio_softc *)((char *)(pic) - \ argument
89 offsetof(struct gpio_softc, gpio_pic)))
99 struct gpio_softc * const gpio = PIC_TO_SOFTC(pic); in gpio_pic_unblock_irqs()
115 struct gpio_softc * const gpio = PIC_TO_SOFTC(pic); in gpio_pic_block_irqs()
125 struct gpio_softc * const gpio = PIC_TO_SOFTC(pic); in gpio_pic_find_pending_irqs()
170 struct gpio_softc * const gpio = PIC_TO_SOFTC(pic); in gpio_pic_establish_irq()
223 sizeof(struct gpio_softc),
232 struct gpio_softc * const gpio = arg; in imxgpio_pin_read()
240 struct gpio_softc * const gpio = arg; in imxgpio_pin_write()
[all …]
/netbsd-src/sys/dev/gpio/
H A Dgpio.c66 struct gpio_softc { struct
93 static int gpio_pinbyname(struct gpio_softc *, char *); argument
94 static int gpio_ioctl(struct gpio_softc *, u_long, void *, int,
99 static int gpio_ioctl_oapi(struct gpio_softc *, u_long, void *, int,
103 CFATTACH_DECL3_NEW(gpio, sizeof(struct gpio_softc),
147 struct gpio_softc *sc = device_private(self); in gpio_resume()
162 struct gpio_softc *sc; in gpio_childdetached()
213 gpio_pin_defname(struct gpio_softc *sc, int pin) in gpio_pin_defname()
232 struct gpio_softc *sc = device_private(self); in gpio_attach()
278 struct gpio_softc *s in gpio_detach()
67 sc_devgpio_softc global() argument
69 sc_gcgpio_softc global() argument
[all...]
/netbsd-src/sys/arch/arm/gemini/
H A Dgemini_gpio.c81 struct gpio_softc { struct
102 ((struct gpio_softc *)((char *)(pic) - \ argument
103 offsetof(struct gpio_softc, gpio_pic)))
113 struct gpio_softc * const gpio = PIC_TO_SOFTC(pic); in gpio_pic_unblock_irqs()
130 struct gpio_softc * const gpio = PIC_TO_SOFTC(pic); in gpio_pic_block_irqs()
147 struct gpio_softc * const gpio = PIC_TO_SOFTC(pic); in gpio_pic_find_pending_irqs()
166 struct gpio_softc * const gpio = PIC_TO_SOFTC(pic); in gpio_pic_establish_irq()
243 sizeof(struct gpio_softc),
252 struct gpio_softc * const gpio = device_private(arg); in geminigpio_pin_read()
260 struct gpio_softc * const gpio = device_private(arg); in geminigpio_pin_write()
[all …]
/netbsd-src/sys/arch/macppc/dev/
H A Dgpio.c57 struct gpio_softc { struct
61 CFATTACH_DECL_NEW(gpio_obio, sizeof(struct gpio_softc), argument
64 CFATTACH_DECL_NEW(gpio_gpio, sizeof(struct gpio_softc),
86 struct gpio_softc *sc = device_private(self); in gpio_obio_attach()
158 struct gpio_softc *sc = device_private(self); in gpio_gpio_attach()
180 struct gpio_softc *sc; in gpio_intr()
/netbsd-src/sys/arch/mips/rmi/
H A Drmixl_gpio.c57 struct gpio_softc { struct
85 sizeof(struct gpio_softc), argument
94 struct gpio_softc * const gpio = arg; in rmixl_gpio_pin_read()
103 struct gpio_softc * const gpio = arg; in rmixl_gpio_pin_write()
122 struct gpio_softc * const gpio = arg; in rmixl_gpio_pin_ctl()
141 struct gpio_softc * const gpio = device_private(self); in gpio_defer()
201 struct gpio_softc * const gpio = device_private(self); in gpio_attach()