Lines Matching defs:ga
138 struct gsc_attach_args *ga = aux;
144 if (ga->ga_type.iodc_type != HPPA_TYPE_FIO ||
145 ga->ga_type.iodc_sv_model != HPPA_FIO_CENT)
153 bus_space_unmap(ga->ga_iot, ioh, LPT_NPORTS); \
159 bus_space_unmap(ga->ga_iot, ioh, LPT_NPORTS); \
164 base = ga->ga_hpa + LPTGSC_OFFSET;
165 if (bus_space_map(ga->ga_iot, base, LPT_NPORTS, 0, &ioh))
171 if (!lpt_port_test(ga->ga_iot, ioh, base, lpt_data, data, mask))
175 if (!lpt_port_test(ga->ga_iot, ioh, base, lpt_data, data, mask))
180 if (!lpt_port_test(ga->ga_iot, ioh, base, lpt_data, data, mask))
186 if (!lpt_port_test(ga->ga_iot, ioh, base, lpt_data, data, mask))
190 bus_space_write_1(ga->ga_iot, ioh, lpt_data, 0);
191 bus_space_write_1(ga->ga_iot, ioh, lpt_control, 0);
192 bus_space_unmap(ga->ga_iot, ioh, LPT_NPORTS);
201 struct gsc_attach_args *ga = aux;
207 sc->sc_iot = ga->ga_iot;
208 if (bus_space_map(sc->sc_iot, ga->ga_hpa + LPTGSC_OFFSET,
216 sc->sc_ih = hppa_intr_establish(IPL_TTY, lptintr, sc, ga->ga_ir,
217 ga->ga_irq);