Home
last modified time | relevance | path

Searched refs:root_port (Results 1 - 25 of 29) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/cxl/
H A Dacpi.c192 struct cxl_port *root_port; member
201 struct cxl_port *root_port = ctx->root_port; in __cxl_parse_cfmws() local
251 cxlrd = cxl_root_decoder_alloc(root_port, ways, cxl_calc_hb); in __cxl_parse_cfmws()
406 struct cxl_port *root_port = arg; in add_host_bridge_dport() local
407 struct device *host = root_port->dev.parent; in add_host_bridge_dport()
440 dport = devm_cxl_add_rch_dport(root_port, bridge, ctx.uid, in add_host_bridge_dport()
443 dport = devm_cxl_add_dport(root_port, bridge, ctx.uid, in add_host_bridge_dport()
459 struct cxl_port *root_port = arg; in add_host_bridge_uport() local
460 struct device *host = root_port in add_host_bridge_uport()
517 struct cxl_port *root_port = data; add_root_nvdimm_bridge() local
666 struct cxl_port *root_port; cxl_acpi_probe() local
[all...]
/kernel/linux/linux-5.10/net/bridge/
H A Dbr_stp.c83 u16 root_port) in br_should_become_root_port()
97 if (!root_port) in br_should_become_root_port()
100 rp = br_get_port(br, root_port); in br_should_become_root_port()
150 u16 root_port = 0; in br_root_selection() local
153 if (!br_should_become_root_port(p, root_port)) in br_root_selection()
159 root_port = p->port_no; in br_root_selection()
162 br->root_port = root_port; in br_root_selection()
164 if (!root_port) { in br_root_selection()
168 p = br_get_port(br, root_port); in br_root_selection()
82 br_should_become_root_port(const struct net_bridge_port *p, u16 root_port) br_should_become_root_port() argument
[all...]
H A Dbr_ioctl.c141 b.root_port = br->root_port; in old_dev_ioctl()
H A Dbr_sysfs_br.c205 return sprintf(buf, "%d\n", to_bridge(d)->root_port); in root_port_show()
207 static DEVICE_ATTR_RO(root_port);
/kernel/linux/linux-6.6/net/bridge/
H A Dbr_stp.c103 u16 root_port) in br_should_become_root_port()
117 if (!root_port) in br_should_become_root_port()
120 rp = br_get_port(br, root_port); in br_should_become_root_port()
170 u16 root_port = 0; in br_root_selection() local
173 if (!br_should_become_root_port(p, root_port)) in br_root_selection()
179 root_port = p->port_no; in br_root_selection()
182 br->root_port = root_port; in br_root_selection()
184 if (!root_port) { in br_root_selection()
188 p = br_get_port(br, root_port); in br_root_selection()
102 br_should_become_root_port(const struct net_bridge_port *p, u16 root_port) br_should_become_root_port() argument
[all...]
H A Dbr_ioctl.c179 b.root_port = br->root_port; in br_dev_siocdevprivate()
H A Dbr_sysfs_br.c238 return sprintf(buf, "%d\n", to_bridge(d)->root_port); in root_port_show()
240 static DEVICE_ATTR_RO(root_port);
/kernel/linux/linux-6.6/drivers/hwtracing/ptt/
H A Dhisi_ptt.c612 struct pci_dev *pdev, *root_port; in hisi_ptt_notifier_call() local
617 root_port = pcie_find_root_port(pdev); in hisi_ptt_notifier_call()
618 if (!root_port) in hisi_ptt_notifier_call()
621 port_devid = pci_dev_id(root_port); in hisi_ptt_notifier_call()
659 struct pci_dev *root_port = pcie_find_root_port(pdev); in hisi_ptt_init_filters() local
664 if (!root_port) in hisi_ptt_init_filters()
667 port_devid = pci_dev_id(root_port); in hisi_ptt_init_filters()
/kernel/linux/linux-6.6/drivers/perf/hisilicon/
H A Dhisi_pcie_pmu.c272 struct pci_dev *root_port, *pdev; in hisi_pcie_pmu_valid_requester_id() local
280 root_port = pcie_find_root_port(pdev); in hisi_pcie_pmu_valid_requester_id()
281 if (!root_port) { in hisi_pcie_pmu_valid_requester_id()
287 rp_bdf = pci_dev_id(root_port); in hisi_pcie_pmu_valid_requester_id()
/kernel/linux/linux-5.10/drivers/thunderbolt/
H A Dswitch.c258 struct pci_dev *root_port; in nvm_authenticate_start_dma_port() local
266 root_port = pcie_find_root_port(sw->tb->nhi->pdev); in nvm_authenticate_start_dma_port()
267 if (root_port) in nvm_authenticate_start_dma_port()
268 pm_runtime_get_noresume(&root_port->dev); in nvm_authenticate_start_dma_port()
273 struct pci_dev *root_port; in nvm_authenticate_complete_dma_port() local
275 root_port = pcie_find_root_port(sw->tb->nhi->pdev); in nvm_authenticate_complete_dma_port()
276 if (root_port) in nvm_authenticate_complete_dma_port()
277 pm_runtime_put(&root_port->dev); in nvm_authenticate_complete_dma_port()
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dr8a66597-hcd.c248 char *devpath, u16 *root_port, u16 *hub_port) in get_port_number()
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()
1842 u16 root_port, hub_port; in set_address_zero() local
1846 &root_port, &hub_port); in set_address_zero()
1850 hub_port, root_port); in set_address_zero()
247 get_port_number(struct r8a66597 *r8a66597, char *devpath, u16 *root_port, u16 *hub_port) get_port_number() argument
[all...]
H A Dr8a66597.h75 u16 root_port; member
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dr8a66597-hcd.c248 char *devpath, u16 *root_port, u16 *hub_port) in get_port_number()
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()
1842 u16 root_port, hub_port; in set_address_zero() local
1846 &root_port, &hub_port); in set_address_zero()
1850 hub_port, root_port); in set_address_zero()
247 get_port_number(struct r8a66597 *r8a66597, char *devpath, u16 *root_port, u16 *hub_port) get_port_number() argument
[all...]
H A Dr8a66597.h75 u16 root_port; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dif_bridge.h53 __u8 root_port; member
/kernel/linux/linux-6.6/drivers/thunderbolt/
H A Dswitch.c213 struct pci_dev *root_port; in nvm_authenticate_start_dma_port() local
221 root_port = pcie_find_root_port(sw->tb->nhi->pdev); in nvm_authenticate_start_dma_port()
222 if (root_port) in nvm_authenticate_start_dma_port()
223 pm_runtime_get_noresume(&root_port->dev); in nvm_authenticate_start_dma_port()
228 struct pci_dev *root_port; in nvm_authenticate_complete_dma_port() local
230 root_port = pcie_find_root_port(sw->tb->nhi->pdev); in nvm_authenticate_complete_dma_port()
231 if (root_port) in nvm_authenticate_complete_dma_port()
232 pm_runtime_put(&root_port->dev); in nvm_authenticate_complete_dma_port()
/kernel/linux/linux-6.6/tools/testing/cxl/test/
H A Dcxl.c1133 struct platform_device *root_port = cxl_root_single[i]; in cxl_single_init() local
1140 pdev->dev.parent = &root_port->dev; in cxl_single_init()
1314 struct platform_device *root_port = cxl_root_port[i]; in cxl_test_init() local
1320 pdev->dev.parent = &root_port->dev; in cxl_test_init()
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dif_bridge.h67 __u8 root_port; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dif_bridge.h66 __u8 root_port; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dif_bridge.h66 __u8 root_port; member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dif_bridge.h67 __u8 root_port; member
/kernel/linux/linux-6.6/drivers/perf/arm_cspmu/
H A Dnvidia_cspmu.c190 ARM_CSPMU_FORMAT_ATTR(root_port, "config1:0-9"),
/kernel/linux/linux-6.6/drivers/cxl/core/
H A Dregion.c1615 * root_port in cxl_calc_interleave_pos()
1624 * iteration uses the host-bridge position in the root_port and the ways in cxl_calc_interleave_pos()
1625 * of the root_port to refine the position. in cxl_calc_interleave_pos()
1640 /* Iterate from endpoint to root_port refining the position */ in cxl_calc_interleave_pos()
1691 struct cxl_port *ep_port, *root_port; in cxl_region_attach() local
1722 root_port = cxlrd_to_port(cxlrd); in cxl_region_attach()
1723 dport = cxl_find_dport_by_dev(root_port, ep_port->host_bridge); in cxl_region_attach()
1777 dport = cxl_find_dport_by_dev(root_port, in cxl_region_attach()
/kernel/linux/linux-5.10/drivers/pci/
H A Dquirks.c4462 struct pci_dev *root_port = pcie_find_root_port(pdev); in quirk_disable_root_port_attributes() local
4464 if (!root_port) { in quirk_disable_root_port_attributes()
4469 pci_info(root_port, "Disabling No Snoop/Relaxed Ordering Attributes to avoid PCIe Completion erratum in %s\n", in quirk_disable_root_port_attributes()
4471 pcie_capability_clear_and_set_word(root_port, PCI_EXP_DEVCTL, in quirk_disable_root_port_attributes()
/kernel/linux/linux-6.6/drivers/pci/
H A Dquirks.c4565 struct pci_dev *root_port = pcie_find_root_port(pdev); in quirk_disable_root_port_attributes() local
4567 if (!root_port) { in quirk_disable_root_port_attributes()
4572 pci_info(root_port, "Disabling No Snoop/Relaxed Ordering Attributes to avoid PCIe Completion erratum in %s\n", in quirk_disable_root_port_attributes()
4574 pcie_capability_clear_and_set_word(root_port, PCI_EXP_DEVCTL, in quirk_disable_root_port_attributes()

Completed in 70 milliseconds

12