Home | History | Annotate | Download | only in gio

Lines Matching refs:ga

182 	struct gio_attach_args ga;
208 ga.ga_slot = -1;
209 ga.ga_addr = gfx_bases[i].base;
211 if (platform.badaddr((void *)MIPS_PHYS_TO_KSEG1(ga.ga_addr),
214 ga.ga_iot = normal_memt;
215 if (bus_space_map(normal_memt, ga.ga_addr, 0,
216 BUS_SPACE_MAP_LINEAR, &ga.ga_ioh) != 0)
218 ga.ga_dmat = &sgimips_default_bus_dma_tag;
219 ga.ga_product = -1;
222 if (config_found(self, &ga, gio_print,
256 ga.ga_slot = slot_bases[i].slot;
257 ga.ga_addr = slot_bases[i].base;
259 if (platform.badaddr((void *)MIPS_PHYS_TO_KSEG1(ga.ga_addr),
262 ga.ga_iot = normal_memt;
263 if (bus_space_map(normal_memt, ga.ga_addr, 0,
264 BUS_SPACE_MAP_LINEAR, &ga.ga_ioh) != 0)
266 ga.ga_dmat = &sgimips_default_bus_dma_tag;
268 ga.ga_product = bus_space_read_4(ga.ga_iot, ga.ga_ioh, 0);
270 config_found(self, &ga, gio_print,
274 config_search(self, &ga,
281 struct gio_attach_args *ga = aux;
285 if (ga->ga_product == -1)
291 product = GIO_PRODUCT_PRODUCTID(ga->ga_product);
293 if (GIO_PRODUCT_32BIT_ID(ga->ga_product))
294 revision = GIO_PRODUCT_REVISION(ga->ga_product);
313 if (ga->ga_slot != GIOCF_SLOT_DEFAULT)
314 aprint_normal(" slot %d", ga->ga_slot);
315 if (ga->ga_addr != (uint32_t) GIOCF_ADDR_DEFAULT)
316 aprint_normal(" addr 0x%x", ga->ga_addr);
324 struct gio_attach_args *ga = aux;
331 ga->ga_slot = cf->cf_loc[GIOCF_SLOT];
332 ga->ga_addr = cf->cf_loc[GIOCF_ADDR];
333 ga->ga_iot = normal_memt;
334 ga->ga_ioh = MIPS_PHYS_TO_KSEG1(ga->ga_addr);
336 if (config_probe(parent, cf, ga))
337 config_attach(parent, cf, ga, gio_print, CFARGS_NONE);
346 struct gio_attach_args *ga = aux;
349 cf->cf_loc[GIOCF_SLOT] != ga->ga_slot)
353 cf->cf_loc[GIOCF_ADDR] != ga->ga_addr)
362 struct gio_attach_args ga;
374 ga.ga_slot = -1;
375 ga.ga_addr = gfx_bases[i].base;
377 if (platform.badaddr((void *)MIPS_PHYS_TO_KSEG1(ga.ga_addr),
380 ga.ga_iot = normal_memt;
381 if (bus_space_map(normal_memt, ga.ga_addr, 0,
382 BUS_SPACE_MAP_LINEAR, &ga.ga_ioh) != 0)
384 ga.ga_dmat = &sgimips_default_bus_dma_tag;
385 ga.ga_product = -1;
388 if (grtwo_cnattach(&ga) == 0)
393 if (light_cnattach(&ga) == 0)
398 if (newport_cnattach(&ga) == 0)