Lines Matching refs:dr
1561 struct region_devres *dr = NULL; in __devm_request_region() local
1564 dr = devres_alloc(devm_region_release, sizeof(struct region_devres), in __devm_request_region()
1566 if (!dr) in __devm_request_region()
1569 dr->parent = parent; in __devm_request_region()
1570 dr->start = start; in __devm_request_region()
1571 dr->n = n; in __devm_request_region()
1575 devres_add(dev, dr); in __devm_request_region()
1577 devres_free(dr); in __devm_request_region()
1828 struct region_devres *dr = NULL; in get_free_mem_region() local
1837 dr = devres_alloc(devm_region_release, in get_free_mem_region()
1839 if (!dr) { in get_free_mem_region()
1862 dr->parent = &iomem_resource; in get_free_mem_region()
1863 dr->start = addr; in get_free_mem_region()
1864 dr->n = size; in get_free_mem_region()
1865 devres_add(dev, dr); in get_free_mem_region()
1900 devres_free(dr); in get_free_mem_region()