Home | History | Annotate | Download | only in gpio

Lines Matching defs:attach

76 	kcondvar_t		 sc_attach;	/* attach/detach in progress */
77 int sc_attach_busy;/* busy in attach/detach */
269 * Attach all devices that can be connected to the GPIO pins
738 struct gpio_attach *attach;
851 attach = data;
852 ga.ga_flags = attach->ga_flags;
857 * The double assignment to 'attach' in case of GPIOATTACH
863 attach = data;
869 /* do not try to attach if the pins are already mapped */
870 if (!gpio_pin_can_map(sc, attach->ga_offset, attach->ga_mask))
887 /* Don't access attach->ga_flags here. */
888 ga.ga_dvname = attach->ga_dvname;
889 ga.ga_offset = attach->ga_offset;
890 ga.ga_mask = attach->ga_mask;
891 DPRINTF(("%s: attach %s with offset %d, mask "
1031 struct gpio_attach *attach;
1160 attach = data;
1163 attach->ga_dvname) == 0) {