Home
last modified time | relevance | path

Searched refs:child_res (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/dwc3/
H A Ddwc3-qcom.c608 struct resource *res, *child_res = NULL; in dwc3_qcom_acpi_register_core() local
624 child_res = kcalloc(2, sizeof(*child_res), GFP_KERNEL); in dwc3_qcom_acpi_register_core()
625 if (!child_res) { in dwc3_qcom_acpi_register_core()
637 child_res[0].flags = res->flags; in dwc3_qcom_acpi_register_core()
638 child_res[0].start = res->start; in dwc3_qcom_acpi_register_core()
639 child_res[0].end = child_res[0].start + in dwc3_qcom_acpi_register_core()
647 child_res[1].flags = IORESOURCE_IRQ; in dwc3_qcom_acpi_register_core()
648 child_res[ in dwc3_qcom_acpi_register_core()
[all...]
/kernel/linux/linux-6.6/drivers/usb/dwc3/
H A Ddwc3-qcom.c669 struct resource *res, *child_res = NULL; in dwc3_qcom_acpi_register_core() local
685 child_res = kcalloc(2, sizeof(*child_res), GFP_KERNEL); in dwc3_qcom_acpi_register_core()
686 if (!child_res) { in dwc3_qcom_acpi_register_core()
698 child_res[0].flags = res->flags; in dwc3_qcom_acpi_register_core()
699 child_res[0].start = res->start; in dwc3_qcom_acpi_register_core()
700 child_res[0].end = child_res[0].start + in dwc3_qcom_acpi_register_core()
708 child_res[1].flags = IORESOURCE_IRQ; in dwc3_qcom_acpi_register_core()
709 child_res[ in dwc3_qcom_acpi_register_core()
[all...]
/kernel/linux/linux-6.6/drivers/misc/
H A Dsram.c198 struct resource child_res; in sram_reserve_regions() local
200 ret = of_address_to_resource(child, 0, &child_res); in sram_reserve_regions()
208 if (child_res.start < res->start || child_res.end > res->end) { in sram_reserve_regions()
216 block->start = child_res.start - res->start; in sram_reserve_regions()
217 block->size = resource_size(&child_res); in sram_reserve_regions()
218 block->res = child_res; in sram_reserve_regions()
/kernel/linux/linux-5.10/drivers/misc/
H A Dsram.c181 struct resource child_res; in sram_reserve_regions() local
183 ret = of_address_to_resource(child, 0, &child_res); in sram_reserve_regions()
191 if (child_res.start < res->start || child_res.end > res->end) { in sram_reserve_regions()
199 block->start = child_res.start - res->start; in sram_reserve_regions()
200 block->size = resource_size(&child_res); in sram_reserve_regions()

Completed in 4 milliseconds