Home | History | Annotate | Download | only in gpio

Lines Matching refs:ga

82 	struct gpio_attach_args * const ga = aux;
84 if (strcmp(ga->ga_dvname, cf->cf_name) != 0)
87 if (ga->ga_offset == -1 || gpio_npins(ga->ga_mask) != 1)
90 const u_int type = __SHIFTOUT(ga->ga_flags, GPIOBUTTON_TYPE_MASK);
105 struct gpio_attach_args * const ga = aux;
109 const u_int type = __SHIFTOUT(ga->ga_flags, GPIOBUTTON_TYPE_MASK);
110 const u_int pol = __SHIFTOUT(ga->ga_flags, GPIOBUTTON_POLARITY_MASK);
113 sc->sc_gpio = ga->ga_gpio;
115 if (gpio_pin_map(sc->sc_gpio, ga->ga_offset, ga->ga_mask,