Home
last modified time | relevance | path

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

/linux-4.4.14/net/bridge/
Dbr_stp.c71 u16 root_port) in br_should_become_root_port() argument
85 if (!root_port) in br_should_become_root_port()
88 rp = br_get_port(br, root_port); in br_should_become_root_port()
139 u16 root_port = 0; in br_root_selection() local
142 if (!br_should_become_root_port(p, root_port)) in br_root_selection()
148 root_port = p->port_no; in br_root_selection()
151 br->root_port = root_port; in br_root_selection()
153 if (!root_port) { in br_root_selection()
157 p = br_get_port(br, root_port); in br_root_selection()
201 = br_get_port(br, br->root_port); in br_transmit_config()
[all …]
Dbr_ioctl.c143 b.root_port = br->root_port; in old_dev_ioctl()
Dbr_sysfs_br.c228 return sprintf(buf, "%d\n", to_bridge(d)->root_port); in root_port_show()
230 static DEVICE_ATTR_RO(root_port);
Dbr_private.h287 u16 root_port; member
Dbr_netlink.c1157 nla_put_u16(skb, IFLA_BR_ROOT_PORT, br->root_port) || in br_fill_info()
/linux-4.4.14/include/uapi/linux/
Dif_bridge.h66 __u8 root_port; member
/linux-4.4.14/drivers/usb/host/
Dr8a66597-hcd.c261 char *devpath, u16 *root_port, u16 *hub_port) in get_port_number() argument
263 if (root_port) { in get_port_number()
264 *root_port = (devpath[0] & 0x0F) - 1; in get_port_number()
265 if (*root_port >= r8a66597->max_root_hub) in get_port_number()
368 &dev->root_port, &dev->hub_port); in make_r8a66597_device()
370 r8a66597->root_hub[dev->root_port].dev = dev; in make_r8a66597_device()
375 dev->hub_port, dev->root_port); in make_r8a66597_device()
1853 u16 root_port, hub_port; in set_address_zero() local
1857 &root_port, &hub_port); in set_address_zero()
1861 hub_port, root_port); in set_address_zero()
Dr8a66597.h88 u16 root_port; member
/linux-4.4.14/drivers/pci/
Dquirks.c3736 struct pci_dev *root_port = pci_find_pcie_root_port(pdev); in quirk_disable_root_port_attributes() local
3738 if (!root_port) { in quirk_disable_root_port_attributes()
3743 …dev_info(&root_port->dev, "Disabling No Snoop/Relaxed Ordering Attributes to avoid PCIe Completion… in quirk_disable_root_port_attributes()
3745 pcie_capability_clear_and_set_word(root_port, PCI_EXP_DEVCTL, in quirk_disable_root_port_attributes()