Home
last modified time | relevance | path

Searched refs:parent_res (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/usb/dwc3/
Ddwc3-qcom.c659 struct resource *res, *parent_res = NULL; in dwc3_qcom_probe() local
708 parent_res = res; in dwc3_qcom_probe()
710 parent_res = kmemdup(res, sizeof(struct resource), GFP_KERNEL); in dwc3_qcom_probe()
711 if (!parent_res) in dwc3_qcom_probe()
714 parent_res->start = res->start + in dwc3_qcom_probe()
716 parent_res->end = parent_res->start + in dwc3_qcom_probe()
720 qcom->qscratch_base = devm_ioremap_resource(dev, parent_res); in dwc3_qcom_probe()
/Linux-v5.10/drivers/macintosh/
Dmacio_asic.c313 struct resource *parent_res) in macio_setup_resources() argument
335 if (insert_resource(parent_res, res)) { in macio_setup_resources()
357 struct resource *parent_res) in macio_add_one_device() argument
421 macio_setup_resources(dev, parent_res); in macio_add_one_device()
/Linux-v5.10/drivers/fpga/
Ddfl.c357 struct resource *parent_res; in dfl_dev_add() local
387 parent_res = &pdev->resource[feature->resource_index]; in dfl_dev_add()
389 ddev->mmio_res.start = parent_res->start; in dfl_dev_add()
390 ddev->mmio_res.end = parent_res->end; in dfl_dev_add()
392 ret = insert_resource(parent_res, &ddev->mmio_res); in dfl_dev_add()
/Linux-v5.10/drivers/pci/
Dprobe.c3040 struct resource *parent_res, *conflict; in pci_bus_insert_busn_res() local
3047 parent_res = &b->parent->busn_res; in pci_bus_insert_busn_res()
3049 parent_res = get_pci_domain_busn_res(pci_domain_nr(b)); in pci_bus_insert_busn_res()
3053 conflict = request_resource_conflict(parent_res, res); in pci_bus_insert_busn_res()
3059 parent_res, conflict->name, conflict); in pci_bus_insert_busn_res()