| /Linux-v6.1/drivers/usb/host/ |
| D | xhci.c | 1526 struct xhci_virt_device *virt_dev; in xhci_check_args() local 1545 virt_dev = xhci->devs[udev->slot_id]; in xhci_check_args() 1546 if (virt_dev->udev != udev) { in xhci_check_args() 2013 struct xhci_virt_device *virt_dev; in xhci_add_endpoint() local 2037 virt_dev = xhci->devs[udev->slot_id]; in xhci_add_endpoint() 2038 in_ctx = virt_dev->in_ctx; in xhci_add_endpoint() 2050 if (virt_dev->eps[ep_index].ring && in xhci_add_endpoint() 2072 if (xhci_endpoint_init(xhci, virt_dev, udev, ep, GFP_NOIO) < 0) { in xhci_add_endpoint() 2092 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_add_endpoint() 2104 static void xhci_zero_in_ctx(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev) in xhci_zero_in_ctx() argument [all …]
|
| 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
|
| D | xhci-mtk-sch.c | 123 struct xhci_virt_device *virt_dev; in get_bw_info() local 126 virt_dev = xhci->devs[udev->slot_id]; in get_bw_info() 127 if (!virt_dev->real_port) { in get_bw_info() 134 bw_index = (virt_dev->real_port - 1) * 2; in get_bw_info() 136 bw_index = (virt_dev->real_port - 1) * 2 + 1; in get_bw_info() 139 bw_index = virt_dev->real_port + xhci->usb3_rhub.num_ports - 1; in get_bw_info() 632 struct xhci_virt_device *virt_dev; in add_ep_quirk() local 636 virt_dev = xhci->devs[udev->slot_id]; in add_ep_quirk() 638 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in add_ep_quirk() 692 struct xhci_virt_device *virt_dev = xhci->devs[udev->slot_id]; in xhci_mtk_check_bandwidth() local [all …]
|
| D | xhci-mem.c | 412 struct xhci_virt_device *virt_dev, in xhci_free_endpoint_ring() argument 415 xhci_ring_free(xhci, virt_dev->eps[ep_index].ring); in xhci_free_endpoint_ring() 416 virt_dev->eps[ep_index].ring = NULL; in xhci_free_endpoint_ring() 791 struct xhci_virt_device *virt_dev, in xhci_free_tt_info() argument 801 if (virt_dev->real_port == 0 || in xhci_free_tt_info() 802 virt_dev->real_port > HCS_MAX_PORTS(xhci->hcs_params1)) { in xhci_free_tt_info() 807 tt_list_head = &(xhci->rh_bw[virt_dev->real_port - 1].tts); in xhci_free_tt_info() 821 struct xhci_virt_device *virt_dev, in xhci_alloc_tt_info() argument 844 &xhci->rh_bw[virt_dev->real_port - 1].tts); in xhci_alloc_tt_info() 845 tt_info->slot_id = virt_dev->udev->slot_id; in xhci_alloc_tt_info() [all …]
|
| D | xhci.h | 2044 void xhci_endpoint_zero(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, struct usb_host_e… 2046 struct xhci_virt_device *virt_dev, 2052 struct xhci_virt_device *virt_dev); 2060 int xhci_endpoint_init(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, 2077 struct xhci_virt_device *virt_dev, 2091 struct xhci_virt_device *virt_dev, bool drop_control_ep); 2135 struct xhci_virt_device *virt_dev,
|
| D | xhci-hub.c | 477 struct xhci_virt_device *virt_dev; in xhci_stop_device() local 484 virt_dev = xhci->devs[slot_id]; in xhci_stop_device() 485 if (!virt_dev) in xhci_stop_device() 488 trace_xhci_stop_device(virt_dev); in xhci_stop_device() 496 if (virt_dev->eps[i].ring && virt_dev->eps[i].ring->dequeue) { in xhci_stop_device() 500 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->out_ctx, i); in xhci_stop_device()
|
| D | xhci-ring.c | 1450 struct xhci_virt_device *virt_dev; in xhci_handle_cmd_disable_slot() local 1453 virt_dev = xhci->devs[slot_id]; in xhci_handle_cmd_disable_slot() 1454 if (!virt_dev) in xhci_handle_cmd_disable_slot() 1457 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_handle_cmd_disable_slot() 1462 xhci_free_device_endpoint_resources(xhci, virt_dev, true); in xhci_handle_cmd_disable_slot() 1468 struct xhci_virt_device *virt_dev; in xhci_handle_cmd_config_ep() local 1479 virt_dev = xhci->devs[slot_id]; in xhci_handle_cmd_config_ep() 1480 if (!virt_dev) in xhci_handle_cmd_config_ep() 1482 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep() 1493 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->out_ctx, ep_index); in xhci_handle_cmd_config_ep()
|
| /Linux-v6.1/drivers/base/power/ |
| D | domain.c | 2832 struct device *virt_dev; in genpd_dev_pm_attach_by_id() local 2846 virt_dev = kzalloc(sizeof(*virt_dev), GFP_KERNEL); in genpd_dev_pm_attach_by_id() 2847 if (!virt_dev) in genpd_dev_pm_attach_by_id() 2850 dev_set_name(virt_dev, "genpd:%u:%s", index, dev_name(dev)); in genpd_dev_pm_attach_by_id() 2851 virt_dev->bus = &genpd_bus_type; in genpd_dev_pm_attach_by_id() 2852 virt_dev->release = genpd_release_dev; in genpd_dev_pm_attach_by_id() 2853 virt_dev->of_node = of_node_get(dev->of_node); in genpd_dev_pm_attach_by_id() 2855 ret = device_register(virt_dev); in genpd_dev_pm_attach_by_id() 2857 put_device(virt_dev); in genpd_dev_pm_attach_by_id() 2862 ret = __genpd_dev_pm_attach(virt_dev, dev, index, false); in genpd_dev_pm_attach_by_id() [all …]
|
| /Linux-v6.1/drivers/opp/ |
| D | core.c | 2340 struct device *virt_dev; in _opp_attach_genpd() local 2370 virt_dev = dev_pm_domain_attach_by_name(dev, *name); in _opp_attach_genpd() 2371 if (IS_ERR_OR_NULL(virt_dev)) { in _opp_attach_genpd() 2372 ret = PTR_ERR(virt_dev) ? : -ENODEV; in _opp_attach_genpd() 2377 opp_table->genpd_virt_devs[index] = virt_dev; in _opp_attach_genpd()
|