Home
last modified time | relevance | path

Searched refs:virt_dev (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/usb/host/
H A Dxhci-debugfs.h114 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 Dxhci-mtk-sch.c131 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()
917 struct xhci_virt_device *virt_dev; in add_ep_quirk() local
921 virt_dev = xhci->devs[udev->slot_id]; in add_ep_quirk()
923 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in add_ep_quirk()
977 struct xhci_virt_device *virt_dev = xhci->devs[udev->slot_id]; in xhci_mtk_check_bandwidth() local
[all …]
H A Dxhci-mem.c403 struct xhci_virt_device *virt_dev, in xhci_free_endpoint_ring() argument
406 xhci_ring_free(xhci, virt_dev->eps[ep_index].ring); in xhci_free_endpoint_ring()
407 virt_dev->eps[ep_index].ring = NULL; in xhci_free_endpoint_ring()
766 struct xhci_virt_device *virt_dev, in xhci_free_tt_info() argument
776 if (!virt_dev->rhub_port) { in xhci_free_tt_info()
781 tt_list_head = &(xhci->rh_bw[virt_dev->rhub_port->hw_portnum].tts); in xhci_free_tt_info()
795 struct xhci_virt_device *virt_dev, in xhci_alloc_tt_info() argument
818 &xhci->rh_bw[virt_dev->rhub_port->hw_portnum].tts); in xhci_alloc_tt_info()
819 tt_info->slot_id = virt_dev->udev->slot_id; in xhci_alloc_tt_info()
829 xhci_free_tt_info(xhci, virt_dev, virt_dev->udev->slot_id); in xhci_alloc_tt_info()
[all …]
H A Dxhci.h1781 void xhci_endpoint_zero(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, struct usb_host_e…
1783 struct xhci_virt_device *virt_dev,
1789 struct xhci_virt_device *virt_dev);
1797 int xhci_endpoint_init(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev,
1807 struct xhci_virt_device *virt_dev,
1821 struct xhci_virt_device *virt_dev, bool drop_control_ep);
1875 struct xhci_virt_device *virt_dev,
H A Dxhci-ring.c1562 struct xhci_virt_device *virt_dev; in xhci_handle_cmd_disable_slot() local
1565 virt_dev = xhci->devs[slot_id]; in xhci_handle_cmd_disable_slot()
1566 if (!virt_dev) in xhci_handle_cmd_disable_slot()
1569 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_handle_cmd_disable_slot()
1574 xhci_free_device_endpoint_resources(xhci, virt_dev, true); in xhci_handle_cmd_disable_slot()
1579 struct xhci_virt_device *virt_dev; in xhci_handle_cmd_config_ep() local
1590 virt_dev = xhci->devs[slot_id]; in xhci_handle_cmd_config_ep()
1591 if (!virt_dev) in xhci_handle_cmd_config_ep()
1593 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep()
1604 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->out_ctx, ep_index); in xhci_handle_cmd_config_ep()
/linux/drivers/pmdomain/
H A Dcore.c3084 struct device *virt_dev; in genpd_dev_pm_attach_by_id() local
3098 virt_dev = kzalloc(sizeof(*virt_dev), GFP_KERNEL); in genpd_dev_pm_attach_by_id()
3099 if (!virt_dev) in genpd_dev_pm_attach_by_id()
3102 dev_set_name(virt_dev, "genpd:%u:%s", index, dev_name(dev)); in genpd_dev_pm_attach_by_id()
3103 virt_dev->bus = &genpd_bus_type; in genpd_dev_pm_attach_by_id()
3104 virt_dev->release = genpd_release_dev; in genpd_dev_pm_attach_by_id()
3105 virt_dev->of_node = of_node_get(dev->of_node); in genpd_dev_pm_attach_by_id()
3107 ret = device_register(virt_dev); in genpd_dev_pm_attach_by_id()
3109 put_device(virt_dev); in genpd_dev_pm_attach_by_id()
3114 ret = __genpd_dev_pm_attach(virt_dev, dev, index, num_domains, false); in genpd_dev_pm_attach_by_id()
[all …]