Home
last modified time | relevance | path

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

/linux-6.15/drivers/usb/host/
H A Dxhci.c2505 if (!virt_dev->tt_info && virt_dev->udev->speed == USB_SPEED_HIGH) { in xhci_check_bw_table()
2719 if (virt_dev->tt_info) in xhci_reserve_bandwidth()
2743 virt_dev->udev, in xhci_reserve_bandwidth()
2748 xhci_update_bw_info(xhci, virt_dev->in_ctx, ctrl_ctx, virt_dev); in xhci_reserve_bandwidth()
2755 virt_dev->udev, in xhci_reserve_bandwidth()
2780 virt_dev->udev, in xhci_reserve_bandwidth()
2792 virt_dev->udev, in xhci_reserve_bandwidth()
3055 virt_dev->eps[i].ring = virt_dev->eps[i].new_ring; in xhci_check_bandwidth()
3780 if (!virt_dev) { in xhci_discover_or_reset_device()
3928 virt_dev->flags = 0; in xhci_discover_or_reset_device()
[all …]
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
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()
795 struct xhci_virt_device *virt_dev, in xhci_alloc_tt_info() argument
829 xhci_free_tt_info(xhci, virt_dev, virt_dev->udev->slot_id); in xhci_alloc_tt_info()
1013 struct xhci_virt_device *virt_dev; in xhci_copy_ep0_dequeue_into_input_ctx() local
1019 ep_ring = virt_dev->eps[0].ring; in xhci_copy_ep0_dequeue_into_input_ctx()
1384 struct xhci_virt_device *virt_dev, in xhci_endpoint_init() argument
1457 virt_dev->eps[ep_index].new_ring = in xhci_endpoint_init()
[all …]
H A Dxhci.h1794 void xhci_endpoint_zero(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, struct usb_host_e…
1796 struct xhci_virt_device *virt_dev,
1802 struct xhci_virt_device *virt_dev);
1810 int xhci_endpoint_init(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev,
1820 struct xhci_virt_device *virt_dev,
1834 struct xhci_virt_device *virt_dev, bool drop_control_ep);
1888 struct xhci_virt_device *virt_dev,
H A Dxhci-hub.c460 struct xhci_virt_device *virt_dev; in xhci_stop_device() local
467 virt_dev = xhci->devs[slot_id]; in xhci_stop_device()
468 if (!virt_dev) in xhci_stop_device()
471 trace_xhci_stop_device(virt_dev); in xhci_stop_device()
479 if (virt_dev->eps[i].ring && virt_dev->eps[i].ring->dequeue) { in xhci_stop_device()
483 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->out_ctx, i); in xhci_stop_device()
H A Dxhci-ring.c1595 struct xhci_virt_device *virt_dev; in xhci_handle_cmd_disable_slot() local
1598 virt_dev = xhci->devs[slot_id]; in xhci_handle_cmd_disable_slot()
1599 if (!virt_dev) in xhci_handle_cmd_disable_slot()
1602 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_handle_cmd_disable_slot()
1607 xhci_free_device_endpoint_resources(xhci, virt_dev, true); in xhci_handle_cmd_disable_slot()
1612 struct xhci_virt_device *virt_dev; in xhci_handle_cmd_config_ep() local
1623 virt_dev = xhci->devs[slot_id]; in xhci_handle_cmd_config_ep()
1624 if (!virt_dev) in xhci_handle_cmd_config_ep()
1626 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep()
1637 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->out_ctx, ep_index); in xhci_handle_cmd_config_ep()
/linux-6.15/drivers/pmdomain/
H A Dcore.c3119 struct device *virt_dev; in genpd_dev_pm_attach_by_id() local
3133 virt_dev = kzalloc(sizeof(*virt_dev), GFP_KERNEL); in genpd_dev_pm_attach_by_id()
3134 if (!virt_dev) in genpd_dev_pm_attach_by_id()
3138 virt_dev->bus = &genpd_bus_type; in genpd_dev_pm_attach_by_id()
3139 virt_dev->release = genpd_release_dev; in genpd_dev_pm_attach_by_id()
3140 virt_dev->of_node = of_node_get(dev->of_node); in genpd_dev_pm_attach_by_id()
3142 ret = device_register(virt_dev); in genpd_dev_pm_attach_by_id()
3144 put_device(virt_dev); in genpd_dev_pm_attach_by_id()
3151 device_unregister(virt_dev); in genpd_dev_pm_attach_by_id()
3155 pm_runtime_enable(virt_dev); in genpd_dev_pm_attach_by_id()
[all …]