Lines Matching refs:gp_resources
69 struct resource *gp_resources;
254 gp_resources = non_dvr_vze_calliope_resources;
258 gp_resources = non_dvr_vzf_calliope_resources;
262 gp_resources = non_dvr_calliope_resources;
273 gp_resources = non_dvr_zeus_resources;
301 gp_resources = non_dvr_cronuslite_resources;
312 gp_resources = non_dvr_cronus_resources;
323 gp_resources = dvr_zeus_resources;
334 gp_resources = dvr_cronus_resources;
344 gp_resources = dvr_gaia_resources;
396 for (i = 0; gp_resources[i].flags != 0; i++) {
397 int size = gp_resources[i].end - gp_resources[i].start + 1;
398 if ((gp_resources[i].start != 0) &&
399 ((gp_resources[i].flags & IORESOURCE_MEM) != 0)) {
400 reserve_bootmem(dma_to_phys(gp_resources[i].start),
402 total += gp_resources[i].end -
403 gp_resources[i].start + 1;
405 gp_resources[i].name, gp_resources[i].start,
406 gp_resources[i].end -
407 gp_resources[i].start + 1);
412 for (i = 0; gp_resources[i].flags != 0; i++) {
413 int size = gp_resources[i].end - gp_resources[i].start + 1;
414 if ((gp_resources[i].start == 0) &&
415 ((gp_resources[i].flags & IORESOURCE_MEM) != 0)) {
420 "for %s\n", gp_resources[i].name);
423 gp_resources[i].start =
425 gp_resources[i].end =
426 gp_resources[i].start + size - 1;
430 gp_resources[i].name,
431 gp_resources[i].start, size);
439 for (i = 0; gp_resources[i].flags != 0; i++) {
440 if ((gp_resources[i].start != 0) &&
441 ((gp_resources[i].flags & IORESOURCE_IO) != 0)) {
443 gp_resources[i].name, gp_resources[i].start);
511 for (i = 0; gp_resources[i].flags != 0; i++) {
512 if (strcmp(gp_resources[i].name, name) == 0)
513 return &gp_resources[i];