Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/bridge/
H A Dbr_stp.c83 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 …]
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);
H A Dbr_private.h412 u16 root_port; member
H A Dbr_netlink.c1482 nla_put_u16(skb, IFLA_BR_ROOT_PORT, br->root_port) || in br_fill_info()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
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()
H A Dr8a66597.h75 u16 root_port; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dif_bridge.h67 __u8 root_port; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dif_bridge.h67 __u8 root_port; member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dif_bridge.h67 __u8 root_port; member
/OK3568_Linux_fs/kernel/drivers/pci/
H A Dquirks.c4404 struct pci_dev *root_port = pcie_find_root_port(pdev); in quirk_disable_root_port_attributes() local
4406 if (!root_port) { in quirk_disable_root_port_attributes()
4411 …pci_info(root_port, "Disabling No Snoop/Relaxed Ordering Attributes to avoid PCIe Completion errat… in quirk_disable_root_port_attributes()
4413 pcie_capability_clear_and_set_word(root_port, PCI_EXP_DEVCTL, in quirk_disable_root_port_attributes()