Lines Matching refs:rsrc
41 struct resource rsrc; member
49 struct resource rsrc; member
71 if (map->rsrc.parent) in ichxrom_cleanup()
72 release_resource(&map->rsrc); in ichxrom_cleanup()
78 if (window->rsrc.parent) in ichxrom_cleanup()
79 release_resource(&window->rsrc); in ichxrom_cleanup()
175 window->rsrc.name = MOD_NAME; in ichxrom_init_one()
176 window->rsrc.start = window->phys; in ichxrom_init_one()
177 window->rsrc.end = window->phys + window->size - 1; in ichxrom_init_one()
178 window->rsrc.flags = IORESOURCE_MEM | IORESOURCE_BUSY; in ichxrom_init_one()
179 if (request_resource(&iomem_resource, &window->rsrc)) { in ichxrom_init_one()
180 window->rsrc.parent = NULL; in ichxrom_init_one()
183 __func__, &window->rsrc); in ichxrom_init_one()
264 if (window->rsrc.parent) { in ichxrom_init_one()
270 map->rsrc.name = map->map_name; in ichxrom_init_one()
271 map->rsrc.start = map->map.phys; in ichxrom_init_one()
272 map->rsrc.end = map->map.phys + map->mtd->size - 1; in ichxrom_init_one()
273 map->rsrc.flags = IORESOURCE_MEM | IORESOURCE_BUSY; in ichxrom_init_one()
274 if (request_resource(&window->rsrc, &map->rsrc)) { in ichxrom_init_one()
277 map->rsrc.parent = NULL; in ichxrom_init_one()