Searched refs:virt_dev (Results 1 – 8 of 8) sorted by relevance
| /drivers/usb/host/ |
| A D | xhci.c | 2585 if (!virt_dev->tt_info && virt_dev->udev->speed == USB_SPEED_HIGH) { in xhci_check_bw_table() 2799 if (virt_dev->tt_info) in xhci_reserve_bandwidth() 2823 virt_dev->udev, in xhci_reserve_bandwidth() 2828 xhci_update_bw_info(xhci, virt_dev->in_ctx, ctrl_ctx, virt_dev); in xhci_reserve_bandwidth() 2835 virt_dev->udev, in xhci_reserve_bandwidth() 2860 virt_dev->udev, in xhci_reserve_bandwidth() 2872 virt_dev->udev, in xhci_reserve_bandwidth() 3135 virt_dev->eps[i].ring = virt_dev->eps[i].new_ring; in xhci_check_bandwidth() 3896 if (!virt_dev) { in xhci_discover_or_reset_device() 4046 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 | 131 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 …]
|
| A D | xhci-mem.c | 403 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() 795 struct xhci_virt_device *virt_dev, in xhci_free_tt_info() argument 805 if (!virt_dev->rhub_port) { in xhci_free_tt_info() 824 struct xhci_virt_device *virt_dev, in xhci_alloc_tt_info() argument 858 xhci_free_tt_info(xhci, virt_dev, virt_dev->udev->slot_id); in xhci_alloc_tt_info() 1042 struct xhci_virt_device *virt_dev; in xhci_copy_ep0_dequeue_into_input_ctx() local 1048 ep_ring = virt_dev->eps[0].ring; in xhci_copy_ep0_dequeue_into_input_ctx() 1415 struct xhci_virt_device *virt_dev, in xhci_endpoint_init() argument 1492 virt_dev->eps[ep_index].new_ring = in xhci_endpoint_init() [all …]
|
| A D | xhci-hub.c | 460 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()
|
| A D | xhci.h | 1801 void xhci_endpoint_zero(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, struct usb_host_e… 1803 struct xhci_virt_device *virt_dev, 1809 struct xhci_virt_device *virt_dev); 1817 int xhci_endpoint_init(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, 1827 struct xhci_virt_device *virt_dev, 1841 struct xhci_virt_device *virt_dev, bool drop_control_ep); 1900 struct xhci_virt_device *virt_dev,
|
| A D | xhci-ring.c | 1597 struct xhci_virt_device *virt_dev; in xhci_handle_cmd_disable_slot() local 1600 virt_dev = xhci->devs[slot_id]; in xhci_handle_cmd_disable_slot() 1601 if (!virt_dev) in xhci_handle_cmd_disable_slot() 1604 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_handle_cmd_disable_slot() 1609 xhci_free_device_endpoint_resources(xhci, virt_dev, true); in xhci_handle_cmd_disable_slot() 1614 struct xhci_virt_device *virt_dev; in xhci_handle_cmd_config_ep() local 1625 virt_dev = xhci->devs[slot_id]; in xhci_handle_cmd_config_ep() 1626 if (!virt_dev) in xhci_handle_cmd_config_ep() 1628 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep() 1639 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->out_ctx, ep_index); in xhci_handle_cmd_config_ep()
|
| /drivers/pmdomain/ |
| A D | core.c | 3286 struct device *virt_dev; in genpd_dev_pm_attach_by_id() local 3303 virt_dev = kzalloc(sizeof(*virt_dev), GFP_KERNEL); in genpd_dev_pm_attach_by_id() 3304 if (!virt_dev) in genpd_dev_pm_attach_by_id() 3308 virt_dev->bus = &genpd_bus_type; in genpd_dev_pm_attach_by_id() 3309 virt_dev->release = genpd_release_dev; in genpd_dev_pm_attach_by_id() 3310 virt_dev->of_node = of_node_get(dev->of_node); in genpd_dev_pm_attach_by_id() 3312 ret = device_register(virt_dev); in genpd_dev_pm_attach_by_id() 3314 put_device(virt_dev); in genpd_dev_pm_attach_by_id() 3321 device_unregister(virt_dev); in genpd_dev_pm_attach_by_id() 3325 pm_runtime_enable(virt_dev); in genpd_dev_pm_attach_by_id() [all …]
|
Completed in 44 milliseconds