Searched refs:virt_dev (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/usb/host/ |
| H A D | xhci.c | 1506 struct xhci_virt_device *virt_dev; in xhci_check_args() local 1525 virt_dev = xhci->devs[udev->slot_id]; in xhci_check_args() 1526 if (virt_dev->udev != udev) { in xhci_check_args() 1995 struct xhci_virt_device *virt_dev; in xhci_add_endpoint() local 2019 virt_dev = xhci->devs[udev->slot_id]; in xhci_add_endpoint() 2020 in_ctx = virt_dev->in_ctx; in xhci_add_endpoint() 2032 if (virt_dev->eps[ep_index].ring && in xhci_add_endpoint() 2054 if (xhci_endpoint_init(xhci, virt_dev, udev, ep, GFP_NOIO) < 0) { in xhci_add_endpoint() 2074 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_add_endpoint() 2086 static void xhci_zero_in_ctx(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev) in xhci_zero_in_ctx() argument [all …]
|
| H A D | xhci-debugfs.h | 114 struct xhci_virt_device *virt_dev, 117 struct xhci_virt_device *virt_dev, 120 struct xhci_virt_device *virt_dev, 131 struct xhci_virt_device *virt_dev, in xhci_debugfs_create_endpoint() argument 135 struct xhci_virt_device *virt_dev, in xhci_debugfs_remove_endpoint() argument 139 struct xhci_virt_device *virt_dev, in xhci_debugfs_create_stream_files() argument
|
| H A D | xhci-mtk-sch.c | 131 struct xhci_virt_device *virt_dev; in get_bw_info() local 134 virt_dev = xhci->devs[udev->slot_id]; in get_bw_info() 135 if (!virt_dev->rhub_port) { in get_bw_info() 142 bw_index = (virt_dev->rhub_port->hw_portnum) * 2; in get_bw_info() 144 bw_index = (virt_dev->rhub_port->hw_portnum) * 2 + 1; in get_bw_info() 147 bw_index = virt_dev->rhub_port->hw_portnum + xhci->usb3_rhub.num_ports; in get_bw_info() 916 struct xhci_virt_device *virt_dev; in add_ep_quirk() local 920 virt_dev = xhci->devs[udev->slot_id]; in add_ep_quirk() 922 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in add_ep_quirk() 976 struct xhci_virt_device *virt_dev = xhci->devs[udev->slot_id]; in xhci_mtk_check_bandwidth() local [all …]
|
| H A D | xhci-ring.c | 1602 struct xhci_virt_device *virt_dev; in xhci_handle_cmd_disable_slot() local 1605 virt_dev = xhci->devs[slot_id]; in xhci_handle_cmd_disable_slot() 1606 if (!virt_dev) in xhci_handle_cmd_disable_slot() 1609 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_handle_cmd_disable_slot() 1614 xhci_free_device_endpoint_resources(xhci, virt_dev, true); in xhci_handle_cmd_disable_slot() 1623 struct xhci_virt_device *virt_dev; in xhci_handle_cmd_config_ep() local 1634 virt_dev = xhci->devs[slot_id]; in xhci_handle_cmd_config_ep() 1635 if (!virt_dev) in xhci_handle_cmd_config_ep() 1637 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep() 1648 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->out_ctx, ep_index); in xhci_handle_cmd_config_ep()
|
| /linux/drivers/pmdomain/ |
| H A D | core.c | 3317 struct device *virt_dev; in genpd_dev_pm_attach_by_id() local 3334 virt_dev = kzalloc_obj(*virt_dev); in genpd_dev_pm_attach_by_id() 3335 if (!virt_dev) in genpd_dev_pm_attach_by_id() 3338 dev_set_name(virt_dev, "genpd:%u:%s", index, dev_name(dev)); in genpd_dev_pm_attach_by_id() 3339 virt_dev->bus = &genpd_bus_type; in genpd_dev_pm_attach_by_id() 3340 virt_dev->release = genpd_release_dev; in genpd_dev_pm_attach_by_id() 3341 virt_dev->of_node = of_node_get(dev->of_node); in genpd_dev_pm_attach_by_id() 3343 ret = device_register(virt_dev); in genpd_dev_pm_attach_by_id() 3345 put_device(virt_dev); in genpd_dev_pm_attach_by_id() 3350 ret = __genpd_dev_pm_attach(virt_dev, dev, index, num_domains, false); in genpd_dev_pm_attach_by_id() [all …]
|