Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/usb/host/
Dxhci.c1427 struct xhci_virt_device *virt_dev; in xhci_check_args() local
1446 virt_dev = xhci->devs[udev->slot_id]; in xhci_check_args()
1447 if (virt_dev->udev != udev) { in xhci_check_args()
1904 struct xhci_virt_device *virt_dev; in xhci_add_endpoint() local
1928 virt_dev = xhci->devs[udev->slot_id]; in xhci_add_endpoint()
1929 in_ctx = virt_dev->in_ctx; in xhci_add_endpoint()
1941 if (virt_dev->eps[ep_index].ring && in xhci_add_endpoint()
1963 if (xhci_endpoint_init(xhci, virt_dev, udev, ep, GFP_NOIO) < 0) { in xhci_add_endpoint()
1983 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_add_endpoint()
1995 static void xhci_zero_in_ctx(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev) in xhci_zero_in_ctx() argument
[all …]
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
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 …]
Dxhci-mem.c416 struct xhci_virt_device *virt_dev, in xhci_free_endpoint_ring() argument
419 xhci_ring_free(xhci, virt_dev->eps[ep_index].ring); in xhci_free_endpoint_ring()
420 virt_dev->eps[ep_index].ring = NULL; in xhci_free_endpoint_ring()
772 struct xhci_virt_device *virt_dev, in xhci_free_tt_info() argument
782 if (!virt_dev->rhub_port) { in xhci_free_tt_info()
787 tt_list_head = &(xhci->rh_bw[virt_dev->rhub_port->hw_portnum].tts); in xhci_free_tt_info()
801 struct xhci_virt_device *virt_dev, in xhci_alloc_tt_info() argument
824 &xhci->rh_bw[virt_dev->rhub_port->hw_portnum].tts); in xhci_alloc_tt_info()
825 tt_info->slot_id = virt_dev->udev->slot_id; in xhci_alloc_tt_info()
835 xhci_free_tt_info(xhci, virt_dev, virt_dev->udev->slot_id); in xhci_alloc_tt_info()
[all …]
Dxhci-hub.c459 struct xhci_virt_device *virt_dev; in xhci_stop_device() local
466 virt_dev = xhci->devs[slot_id]; in xhci_stop_device()
467 if (!virt_dev) in xhci_stop_device()
470 trace_xhci_stop_device(virt_dev); in xhci_stop_device()
478 if (virt_dev->eps[i].ring && virt_dev->eps[i].ring->dequeue) { in xhci_stop_device()
482 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->out_ctx, i); in xhci_stop_device()
Dxhci.h1772 void xhci_endpoint_zero(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, struct usb_host_e…
1774 struct xhci_virt_device *virt_dev,
1780 struct xhci_virt_device *virt_dev);
1788 int xhci_endpoint_init(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev,
1800 struct xhci_virt_device *virt_dev,
1814 struct xhci_virt_device *virt_dev, bool drop_control_ep);
1868 struct xhci_virt_device *virt_dev,
Dxhci-ring.c1512 struct xhci_virt_device *virt_dev; in xhci_handle_cmd_disable_slot() local
1515 virt_dev = xhci->devs[slot_id]; in xhci_handle_cmd_disable_slot()
1516 if (!virt_dev) in xhci_handle_cmd_disable_slot()
1519 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_handle_cmd_disable_slot()
1524 xhci_free_device_endpoint_resources(xhci, virt_dev, true); in xhci_handle_cmd_disable_slot()
1529 struct xhci_virt_device *virt_dev; in xhci_handle_cmd_config_ep() local
1540 virt_dev = xhci->devs[slot_id]; in xhci_handle_cmd_config_ep()
1541 if (!virt_dev) in xhci_handle_cmd_config_ep()
1543 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep()
1554 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->out_ctx, ep_index); in xhci_handle_cmd_config_ep()
/linux-6.12.1/drivers/pmdomain/
Dcore.c3027 struct device *virt_dev; in genpd_dev_pm_attach_by_id() local
3041 virt_dev = kzalloc(sizeof(*virt_dev), GFP_KERNEL); in genpd_dev_pm_attach_by_id()
3042 if (!virt_dev) in genpd_dev_pm_attach_by_id()
3045 dev_set_name(virt_dev, "genpd:%u:%s", index, dev_name(dev)); in genpd_dev_pm_attach_by_id()
3046 virt_dev->bus = &genpd_bus_type; in genpd_dev_pm_attach_by_id()
3047 virt_dev->release = genpd_release_dev; in genpd_dev_pm_attach_by_id()
3048 virt_dev->of_node = of_node_get(dev->of_node); in genpd_dev_pm_attach_by_id()
3050 ret = device_register(virt_dev); in genpd_dev_pm_attach_by_id()
3052 put_device(virt_dev); in genpd_dev_pm_attach_by_id()
3057 ret = __genpd_dev_pm_attach(virt_dev, dev, index, false); in genpd_dev_pm_attach_by_id()
[all …]
/linux-6.12.1/drivers/opp/
Dcore.c2396 struct device *virt_dev, *gdev; in _opp_attach_genpd() local
2423 virt_dev = dev_pm_domain_attach_by_name(dev, *name); in _opp_attach_genpd()
2424 if (IS_ERR_OR_NULL(virt_dev)) { in _opp_attach_genpd()
2425 ret = virt_dev ? PTR_ERR(virt_dev) : -ENODEV; in _opp_attach_genpd()
2444 gdev = dev_to_genpd_dev(virt_dev); in _opp_attach_genpd()
2460 opp_table->required_devs[index] = virt_dev; in _opp_attach_genpd()