Lines Matching refs:Resource
979 void dumpResources(struct resource* Resource) in dumpResources() argument
981 if(Resource != NULL) { in dumpResources()
982 int Flags = 0x00000F00 & Resource->flags; in dumpResources()
983 if(Resource->start == 0 && Resource->end == 0) return; in dumpResources()
984 else if(Resource->start == Resource->end ) return; in dumpResources()
989 else udbg_printf("0x%02X:",Resource->flags); in dumpResources()
993 Resource->start, Resource->end, Resource->end - Resource->start); in dumpResources()
997 int resourceSize(struct resource* Resource) in resourceSize() argument
999 if(Resource->start == 0 && Resource->end == 0) return 0; in resourceSize()
1000 else if(Resource->start == Resource->end ) return 0; in resourceSize()
1001 else return (Resource->end-1)-Resource->start; in resourceSize()