Home
last modified time | relevance | path

Searched refs:root_port (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/pci/controller/dwc/
H A Dpcie-stm32.c212 struct device_node *root_port; in stm32_pcie_parse_port() local
214 root_port = of_get_next_available_child(dev->of_node, NULL); in stm32_pcie_parse_port()
216 stm32_pcie->phy = devm_of_phy_get(dev, root_port, NULL); in stm32_pcie_parse_port()
218 of_node_put(root_port); in stm32_pcie_parse_port()
223 stm32_pcie->perst_gpio = devm_fwnode_gpiod_get(dev, of_fwnode_handle(root_port), in stm32_pcie_parse_port()
227 of_node_put(root_port); in stm32_pcie_parse_port()
234 stm32_pcie->wake_gpio = devm_fwnode_gpiod_get(dev, of_fwnode_handle(root_port), in stm32_pcie_parse_port()
239 of_node_put(root_port); in stm32_pcie_parse_port()
246 of_node_put(root_port); in stm32_pcie_parse_port()
H A Dpcie-spacemit-k1.c255 struct device_node *root_port; in k1_pcie_parse_port() local
259 root_port = of_get_next_available_child(dev_of_node(dev), NULL); in k1_pcie_parse_port()
260 if (!root_port) in k1_pcie_parse_port()
263 phy = devm_of_phy_get(dev, root_port, NULL); in k1_pcie_parse_port()
265 of_node_put(root_port); in k1_pcie_parse_port()
/linux/net/bridge/
H A Dbr_stp.c103 u16 root_port) in br_should_become_root_port() argument
118 if (!root_port) in br_should_become_root_port()
121 rp = br_get_port(br, root_port); in br_should_become_root_port()
176 u16 root_port = 0; in br_root_selection() local
179 if (!br_should_become_root_port(p, root_port)) in br_root_selection()
185 root_port = p->port_no; in br_root_selection()
188 br->root_port = root_port; in br_root_selection()
190 if (!root_port) { in br_root_selection()
194 p = br_get_port(br, root_port); in br_root_selection()
239 = br_get_port(br, br->root_port); in br_transmit_config()
[all …]
H A Dbr_private.h530 u16 root_port; member
/linux/drivers/cxl/core/
H A Dcdat.c314 static bool cxl_qos_match(struct cxl_port *root_port, in cxl_qos_match() argument
320 if (!device_for_each_child(&root_port->dev, &dpa_perf->qos_class, in cxl_qos_match()
351 struct cxl_port *root_port; in cxl_qos_class_verify() local
363 root_port = &cxl_root->port; in cxl_qos_class_verify()
371 if (!device_for_each_child(&root_port->dev, in cxl_qos_class_verify()
385 if (!cxl_qos_match(root_port, perf)) in cxl_qos_class_verify()
H A Dregion.c2057 struct cxl_port *ep_port, *root_port; in cxl_region_attach() local
2099 root_port = cxlrd_to_port(cxlrd); in cxl_region_attach()
2100 dport = cxl_find_dport_by_dev(root_port, ep_port->host_bridge); in cxl_region_attach()
2156 dport = cxl_find_dport_by_dev(root_port, in cxl_region_attach()
/linux/tools/testing/cxl/test/
H A Dcxl.c1147 struct cxl_port *root_port; in mock_init_hdm_type2_cxled() local
1174 root_port = dport->port; in mock_init_hdm_type2_cxled()
1175 dev = device_find_child(&root_port->dev, NULL, first_decoder); in mock_init_hdm_type2_cxled()
1187 root_port->commit_end = 0; in mock_init_hdm_type2_cxled()
1206 cxl_port_update_decoder_targets(root_port, dport); in mock_init_hdm_type2_cxled()
1808 struct platform_device *root_port = cxl_root_single[i]; in cxl_single_topo_init() local
1817 pdev->dev.parent = &root_port->dev; in cxl_single_topo_init()
2189 struct platform_device *root_port = cxl_root_port[i]; in cxl_usps_populate() local
2198 pdev->dev.parent = &root_port->dev; in cxl_usps_populate()
/linux/drivers/perf/hisilicon/
H A Dhisi_pcie_pmu.c284 struct pci_dev *root_port, *pdev; in hisi_pcie_pmu_valid_requester_id() local
292 root_port = pcie_find_root_port(pdev); in hisi_pcie_pmu_valid_requester_id()
293 if (!root_port) { in hisi_pcie_pmu_valid_requester_id()
299 rp_bdf = pci_dev_id(root_port); in hisi_pcie_pmu_valid_requester_id()
/linux/drivers/usb/host/
H A Dr8a66597-hcd.c248 char *devpath, u16 *root_port, u16 *hub_port) in get_port_number() argument
250 if (root_port) { in get_port_number()
251 *root_port = (devpath[0] & 0x0F) - 1; in get_port_number()
252 if (*root_port >= r8a66597->max_root_hub) in get_port_number()
355 &dev->root_port, &dev->hub_port); in make_r8a66597_device()
357 r8a66597->root_hub[dev->root_port].dev = dev; in make_r8a66597_device()
362 dev->hub_port, dev->root_port); in make_r8a66597_device()
1843 u16 root_port, hub_port; in set_address_zero() local
1847 &root_port, &hub_port); in set_address_zero()
1851 hub_port, root_port); in set_address_zero()
H A Dr8a66597.h75 u16 root_port; member