Searched refs:root_port (Results 1 – 10 of 10) sorted by relevance
| /Linux-v5.10/net/bridge/ |
| D | br_stp.c | 83 u16 root_port) in br_should_become_root_port() argument 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() 212 = br_get_port(br, br->root_port); in br_transmit_config() [all …]
|
| D | br_ioctl.c | 141 b.root_port = br->root_port; in old_dev_ioctl()
|
| D | br_sysfs_br.c | 205 return sprintf(buf, "%d\n", to_bridge(d)->root_port); in root_port_show() 207 static DEVICE_ATTR_RO(root_port);
|
| D | br_private.h | 412 u16 root_port; member
|
| D | br_netlink.c | 1481 nla_put_u16(skb, IFLA_BR_ROOT_PORT, br->root_port) || in br_fill_info()
|
| /Linux-v5.10/drivers/thunderbolt/ |
| D | switch.c | 258 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()
|
| /Linux-v5.10/drivers/usb/host/ |
| D | r8a66597-hcd.c | 248 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() 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()
|
| D | r8a66597.h | 75 u16 root_port; member
|
| /Linux-v5.10/include/uapi/linux/ |
| D | if_bridge.h | 67 __u8 root_port; member
|
| /Linux-v5.10/drivers/pci/ |
| D | quirks.c | 4278 struct pci_dev *root_port = pcie_find_root_port(pdev); in quirk_disable_root_port_attributes() local 4280 if (!root_port) { in quirk_disable_root_port_attributes() 4285 …pci_info(root_port, "Disabling No Snoop/Relaxed Ordering Attributes to avoid PCIe Completion errat… in quirk_disable_root_port_attributes() 4287 pcie_capability_clear_and_set_word(root_port, PCI_EXP_DEVCTL, in quirk_disable_root_port_attributes()
|