Lines Matching refs:dr
1541 struct region_devres *dr = NULL; in __devm_request_region() local
1544 dr = devres_alloc(devm_region_release, sizeof(struct region_devres), in __devm_request_region()
1546 if (!dr) in __devm_request_region()
1549 dr->parent = parent; in __devm_request_region()
1550 dr->start = start; in __devm_request_region()
1551 dr->n = n; in __devm_request_region()
1555 devres_add(dev, dr); in __devm_request_region()
1557 devres_free(dr); in __devm_request_region()
1744 struct region_devres *dr = NULL; in __request_free_mem_region() local
1755 dr = devres_alloc(devm_region_release, in __request_free_mem_region()
1757 if (!dr) { in __request_free_mem_region()
1774 dr->parent = &iomem_resource; in __request_free_mem_region()
1775 dr->start = addr; in __request_free_mem_region()
1776 dr->n = size; in __request_free_mem_region()
1777 devres_add(dev, dr); in __request_free_mem_region()
1792 if (dr) in __request_free_mem_region()
1793 devres_free(dr); in __request_free_mem_region()