Searched refs:virt_dev (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/usb/host/ |
| A D | xhci.c | 2567 if (!virt_dev->tt_info && virt_dev->udev->speed == USB_SPEED_HIGH) { in xhci_check_bw_table() 2789 if (virt_dev->tt_info) in xhci_reserve_bandwidth() 2813 virt_dev->udev, in xhci_reserve_bandwidth() 2818 xhci_update_bw_info(xhci, virt_dev->in_ctx, ctrl_ctx, virt_dev); in xhci_reserve_bandwidth() 2825 virt_dev->udev, in xhci_reserve_bandwidth() 2850 virt_dev->udev, in xhci_reserve_bandwidth() 2862 virt_dev->udev, in xhci_reserve_bandwidth() 3080 virt_dev->eps[i].ring = virt_dev->eps[i].new_ring; in xhci_check_bandwidth() 3786 if (!virt_dev) { in xhci_discover_or_reset_device() 3917 virt_dev->flags = 0; in xhci_discover_or_reset_device() [all …]
|
| 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
|
| A D | xhci-mtk-sch.c | 128 struct xhci_virt_device *virt_dev; in get_bw_info() local 131 virt_dev = xhci->devs[udev->slot_id]; in get_bw_info() 132 if (!virt_dev->real_port) { in get_bw_info() 139 bw_index = (virt_dev->real_port - 1) * 2; in get_bw_info() 141 bw_index = (virt_dev->real_port - 1) * 2 + 1; in get_bw_info() 144 bw_index = virt_dev->real_port + xhci->usb3_rhub.num_ports - 1; in get_bw_info() 692 struct xhci_virt_device *virt_dev; in add_ep_quirk() local 696 virt_dev = xhci->devs[udev->slot_id]; in add_ep_quirk() 698 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in add_ep_quirk() 752 struct xhci_virt_device *virt_dev = xhci->devs[udev->slot_id]; in xhci_mtk_check_bandwidth() local [all …]
|
| A D | xhci-mem.c | 412 struct xhci_virt_device *virt_dev, in xhci_free_endpoint_ring() argument 416 virt_dev->eps[ep_index].ring = NULL; in xhci_free_endpoint_ring() 795 struct xhci_virt_device *virt_dev, in xhci_free_tt_info() argument 805 if (virt_dev->real_port == 0 || in xhci_free_tt_info() 825 struct xhci_virt_device *virt_dev, in xhci_alloc_tt_info() argument 859 xhci_free_tt_info(xhci, virt_dev, virt_dev->udev->slot_id); in xhci_alloc_tt_info() 1040 struct xhci_virt_device *virt_dev; in xhci_copy_ep0_dequeue_into_input_ctx() local 1046 ep_ring = virt_dev->eps[0].ring; in xhci_copy_ep0_dequeue_into_input_ctx() 1417 struct xhci_virt_device *virt_dev, in xhci_endpoint_init() argument 1490 virt_dev->eps[ep_index].new_ring = in xhci_endpoint_init() [all …]
|
| A D | xhci.h | 2021 void xhci_endpoint_zero(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, struct usb_host_e… 2023 struct xhci_virt_device *virt_dev, 2029 struct xhci_virt_device *virt_dev); 2037 int xhci_endpoint_init(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, 2054 struct xhci_virt_device *virt_dev, 2068 struct xhci_virt_device *virt_dev, bool drop_control_ep); 2112 struct xhci_virt_device *virt_dev,
|
| A 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()
|
| A D | xhci-ring.c | 1515 struct xhci_virt_device *virt_dev; in xhci_handle_cmd_disable_slot() local 1518 virt_dev = xhci->devs[slot_id]; in xhci_handle_cmd_disable_slot() 1519 if (!virt_dev) in xhci_handle_cmd_disable_slot() 1522 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_handle_cmd_disable_slot() 1527 xhci_free_device_endpoint_resources(xhci, virt_dev, true); in xhci_handle_cmd_disable_slot() 1533 struct xhci_virt_device *virt_dev; in xhci_handle_cmd_config_ep() local 1548 virt_dev = xhci->devs[slot_id]; in xhci_handle_cmd_config_ep() 1549 if (!virt_dev) in xhci_handle_cmd_config_ep() 1551 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep() 1574 ep_state = virt_dev->eps[ep_index].ep_state; in xhci_handle_cmd_config_ep() [all …]
|
| /linux/drivers/base/power/ |
| A D | domain.c | 2765 struct device *virt_dev; in genpd_dev_pm_attach_by_id() local 2779 virt_dev = kzalloc(sizeof(*virt_dev), GFP_KERNEL); in genpd_dev_pm_attach_by_id() 2780 if (!virt_dev) in genpd_dev_pm_attach_by_id() 2784 virt_dev->bus = &genpd_bus_type; in genpd_dev_pm_attach_by_id() 2785 virt_dev->release = genpd_release_dev; in genpd_dev_pm_attach_by_id() 2786 virt_dev->of_node = of_node_get(dev->of_node); in genpd_dev_pm_attach_by_id() 2788 ret = device_register(virt_dev); in genpd_dev_pm_attach_by_id() 2790 put_device(virt_dev); in genpd_dev_pm_attach_by_id() 2797 device_unregister(virt_dev); in genpd_dev_pm_attach_by_id() 2801 pm_runtime_enable(virt_dev); in genpd_dev_pm_attach_by_id() [all …]
|
| /linux/drivers/opp/ |
| A D | core.c | 2354 struct device *virt_dev; in dev_pm_opp_attach_genpd() local 2390 virt_dev = dev_pm_domain_attach_by_name(dev, *name); in dev_pm_opp_attach_genpd() 2391 if (IS_ERR(virt_dev)) { in dev_pm_opp_attach_genpd() 2392 ret = PTR_ERR(virt_dev); in dev_pm_opp_attach_genpd() 2397 opp_table->genpd_virt_devs[index] = virt_dev; in dev_pm_opp_attach_genpd()
|
Completed in 49 milliseconds