child_res         181 drivers/misc/sram.c 		struct resource child_res;
child_res         183 drivers/misc/sram.c 		ret = of_address_to_resource(child, 0, &child_res);
child_res         191 drivers/misc/sram.c 		if (child_res.start < res->start || child_res.end > res->end) {
child_res         199 drivers/misc/sram.c 		block->start = child_res.start - res->start;
child_res         200 drivers/misc/sram.c 		block->size = resource_size(&child_res);
child_res         459 drivers/usb/dwc3/dwc3-qcom.c 	struct resource		*res, *child_res = NULL;
child_res         473 drivers/usb/dwc3/dwc3-qcom.c 	child_res = kcalloc(2, sizeof(*child_res), GFP_KERNEL);
child_res         474 drivers/usb/dwc3/dwc3-qcom.c 	if (!child_res)
child_res         484 drivers/usb/dwc3/dwc3-qcom.c 	child_res[0].flags = res->flags;
child_res         485 drivers/usb/dwc3/dwc3-qcom.c 	child_res[0].start = res->start;
child_res         486 drivers/usb/dwc3/dwc3-qcom.c 	child_res[0].end = child_res[0].start +
child_res         490 drivers/usb/dwc3/dwc3-qcom.c 	child_res[1].flags = IORESOURCE_IRQ;
child_res         491 drivers/usb/dwc3/dwc3-qcom.c 	child_res[1].start = child_res[1].end = irq;
child_res         493 drivers/usb/dwc3/dwc3-qcom.c 	ret = platform_device_add_resources(qcom->dwc3, child_res, 2);
child_res         511 drivers/usb/dwc3/dwc3-qcom.c 	kfree(child_res);