Home
last modified time | relevance | path

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

/Linux-v5.4/net/bridge/
Dbr_stp.c65 u16 root_port) in br_should_become_root_port() argument
79 if (!root_port) in br_should_become_root_port()
82 rp = br_get_port(br, root_port); in br_should_become_root_port()
132 u16 root_port = 0; in br_root_selection() local
135 if (!br_should_become_root_port(p, root_port)) in br_root_selection()
141 root_port = p->port_no; in br_root_selection()
144 br->root_port = root_port; in br_root_selection()
146 if (!root_port) { in br_root_selection()
150 p = br_get_port(br, root_port); in br_root_selection()
194 = br_get_port(br, br->root_port); in br_transmit_config()
[all …]
Dbr_ioctl.c141 b.root_port = br->root_port; in old_dev_ioctl()
Dbr_sysfs_br.c207 return sprintf(buf, "%d\n", to_bridge(d)->root_port); in root_port_show()
209 static DEVICE_ATTR_RO(root_port);
Dbr_private.h353 u16 root_port; member
Dbr_netlink.c1427 nla_put_u16(skb, IFLA_BR_ROOT_PORT, br->root_port) || in br_fill_info()
/Linux-v5.4/drivers/thunderbolt/
Dswitch.c1171 struct pci_dev *root_port; in nvm_authenticate_start() local
1179 root_port = pci_find_pcie_root_port(sw->tb->nhi->pdev); in nvm_authenticate_start()
1180 if (root_port) in nvm_authenticate_start()
1181 pm_runtime_get_noresume(&root_port->dev); in nvm_authenticate_start()
1186 struct pci_dev *root_port; in nvm_authenticate_complete() local
1188 root_port = pci_find_pcie_root_port(sw->tb->nhi->pdev); in nvm_authenticate_complete()
1189 if (root_port) in nvm_authenticate_complete()
1190 pm_runtime_put(&root_port->dev); in nvm_authenticate_complete()
/Linux-v5.4/drivers/usb/host/
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()
1844 u16 root_port, hub_port; in set_address_zero() local
1848 &root_port, &hub_port); in set_address_zero()
1852 hub_port, root_port); in set_address_zero()
Dr8a66597.h75 u16 root_port; member
/Linux-v5.4/include/uapi/linux/
Dif_bridge.h67 __u8 root_port; member
/Linux-v5.4/drivers/pci/
Dquirks.c4233 struct pci_dev *root_port = pci_find_pcie_root_port(pdev); in quirk_disable_root_port_attributes() local
4235 if (!root_port) { in quirk_disable_root_port_attributes()
4240 …pci_info(root_port, "Disabling No Snoop/Relaxed Ordering Attributes to avoid PCIe Completion errat… in quirk_disable_root_port_attributes()
4242 pcie_capability_clear_and_set_word(root_port, PCI_EXP_DEVCTL, in quirk_disable_root_port_attributes()