Lines Matching refs:child_res
669 struct resource *res, *child_res = NULL;
685 child_res = kcalloc(2, sizeof(*child_res), GFP_KERNEL);
686 if (!child_res) {
698 child_res[0].flags = res->flags;
699 child_res[0].start = res->start;
700 child_res[0].end = child_res[0].start +
708 child_res[1].flags = IORESOURCE_IRQ;
709 child_res[1].start = child_res[1].end = irq;
711 ret = platform_device_add_resources(qcom->dwc3, child_res, 2);
729 kfree(child_res);
734 kfree(child_res);