Lines Matching refs:udev
1522 static int xhci_check_args(struct usb_hcd *hcd, struct usb_device *udev, in xhci_check_args() argument
1528 if (!hcd || (check_ep && !ep) || !udev) { in xhci_check_args()
1532 if (!udev->parent) { in xhci_check_args()
1539 if (!udev->slot_id || !xhci->devs[udev->slot_id]) { in xhci_check_args()
1545 virt_dev = xhci->devs[udev->slot_id]; in xhci_check_args()
1546 if (virt_dev->udev != udev) { in xhci_check_args()
1560 struct usb_device *udev, struct xhci_command *command,
1923 int xhci_drop_endpoint(struct usb_hcd *hcd, struct usb_device *udev, in xhci_drop_endpoint() argument
1935 ret = xhci_check_args(hcd, udev, ep, 1, true, __func__); in xhci_drop_endpoint()
1942 xhci_dbg(xhci, "%s called for udev %p\n", __func__, udev); in xhci_drop_endpoint()
1950 in_ctx = xhci->devs[udev->slot_id]->in_ctx; in xhci_drop_endpoint()
1951 out_ctx = xhci->devs[udev->slot_id]->out_ctx; in xhci_drop_endpoint()
1968 if (xhci->devs[udev->slot_id]->eps[ep_index].ring != NULL) in xhci_drop_endpoint()
1980 xhci_debugfs_remove_endpoint(xhci, xhci->devs[udev->slot_id], ep_index); in xhci_drop_endpoint()
1982 xhci_endpoint_zero(xhci, xhci->devs[udev->slot_id], ep); in xhci_drop_endpoint()
1986 udev->slot_id, in xhci_drop_endpoint()
2006 int xhci_add_endpoint(struct usb_hcd *hcd, struct usb_device *udev, in xhci_add_endpoint() argument
2019 ret = xhci_check_args(hcd, udev, ep, 1, true, __func__); in xhci_add_endpoint()
2040 virt_dev = xhci->devs[udev->slot_id]; in xhci_add_endpoint()
2075 if (xhci_endpoint_init(xhci, virt_dev, udev, ep, GFP_NOIO) < 0) { in xhci_add_endpoint()
2076 dev_dbg(&udev->dev, "%s - could not initialize ep %#x\n", in xhci_add_endpoint()
2093 ep->hcpriv = udev; in xhci_add_endpoint()
2100 udev->slot_id, in xhci_add_endpoint()
2142 struct usb_device *udev, u32 *cmd_status) in xhci_configure_endpoint_result() argument
2153 dev_warn(&udev->dev, in xhci_configure_endpoint_result()
2160 dev_warn(&udev->dev, in xhci_configure_endpoint_result()
2167 dev_warn(&udev->dev, "ERROR: Endpoint drop flag = 0, " in xhci_configure_endpoint_result()
2173 dev_warn(&udev->dev, in xhci_configure_endpoint_result()
2192 struct usb_device *udev, u32 *cmd_status) in xhci_evaluate_context_result() argument
2203 dev_warn(&udev->dev, in xhci_evaluate_context_result()
2208 dev_warn(&udev->dev, in xhci_evaluate_context_result()
2213 dev_warn(&udev->dev, in xhci_evaluate_context_result()
2218 dev_warn(&udev->dev, in xhci_evaluate_context_result()
2224 dev_warn(&udev->dev, "WARN: Max Exit Latency too large\n"); in xhci_evaluate_context_result()
2348 static unsigned int xhci_get_block_size(struct usb_device *udev) in xhci_get_block_size() argument
2350 switch (udev->speed) { in xhci_get_block_size()
2483 if (virt_dev->udev->speed >= USB_SPEED_SUPER) in xhci_check_bw_table()
2486 if (virt_dev->udev->speed == USB_SPEED_HIGH) { in xhci_check_bw_table()
2499 block_size = xhci_get_block_size(virt_dev->udev); in xhci_check_bw_table()
2616 if (!virt_dev->tt_info && virt_dev->udev->speed == USB_SPEED_HIGH) { in xhci_check_bw_table()
2674 struct usb_device *udev, in xhci_drop_ep_from_interval_table() argument
2684 if (udev->speed >= USB_SPEED_SUPER) { in xhci_drop_ep_from_interval_table()
2686 xhci->devs[udev->slot_id]->bw_table->ss_bw_in -= in xhci_drop_ep_from_interval_table()
2689 xhci->devs[udev->slot_id]->bw_table->ss_bw_out -= in xhci_drop_ep_from_interval_table()
2702 if (udev->speed == USB_SPEED_HIGH) in xhci_drop_ep_from_interval_table()
2711 switch (udev->speed) { in xhci_drop_ep_from_interval_table()
2738 struct usb_device *udev, in xhci_add_ep_to_interval_table() argument
2749 if (udev->speed == USB_SPEED_SUPER) { in xhci_add_ep_to_interval_table()
2751 xhci->devs[udev->slot_id]->bw_table->ss_bw_in += in xhci_add_ep_to_interval_table()
2754 xhci->devs[udev->slot_id]->bw_table->ss_bw_out += in xhci_add_ep_to_interval_table()
2762 if (udev->speed == USB_SPEED_HIGH) in xhci_add_ep_to_interval_table()
2771 switch (udev->speed) { in xhci_add_ep_to_interval_table()
2862 virt_dev->udev, in xhci_reserve_bandwidth()
2874 virt_dev->udev, in xhci_reserve_bandwidth()
2899 virt_dev->udev, in xhci_reserve_bandwidth()
2911 virt_dev->udev, in xhci_reserve_bandwidth()
2923 struct usb_device *udev, in xhci_configure_endpoint() argument
2943 virt_dev = xhci->devs[udev->slot_id]; in xhci_configure_endpoint()
2978 udev->slot_id, must_succeed); in xhci_configure_endpoint()
2982 udev->slot_id, must_succeed); in xhci_configure_endpoint()
2998 ret = xhci_configure_endpoint_result(xhci, udev, in xhci_configure_endpoint()
3001 ret = xhci_evaluate_context_result(xhci, udev, in xhci_configure_endpoint()
3042 int xhci_check_bandwidth(struct usb_hcd *hcd, struct usb_device *udev) in xhci_check_bandwidth() argument
3052 ret = xhci_check_args(hcd, udev, NULL, 0, true, __func__); in xhci_check_bandwidth()
3060 xhci_dbg(xhci, "%s called for udev %p\n", __func__, udev); in xhci_check_bandwidth()
3061 virt_dev = xhci->devs[udev->slot_id]; in xhci_check_bandwidth()
3100 ret = xhci_configure_endpoint(xhci, udev, command, in xhci_check_bandwidth()
3141 void xhci_reset_bandwidth(struct usb_hcd *hcd, struct usb_device *udev) in xhci_reset_bandwidth() argument
3147 ret = xhci_check_args(hcd, udev, NULL, 0, true, __func__); in xhci_reset_bandwidth()
3152 xhci_dbg(xhci, "%s called for udev %p\n", __func__, udev); in xhci_reset_bandwidth()
3153 virt_dev = xhci->devs[udev->slot_id]; in xhci_reset_bandwidth()
3184 struct usb_device *udev; in xhci_endpoint_disable() local
3192 udev = (struct usb_device *)host_ep->hcpriv; in xhci_endpoint_disable()
3193 if (!udev || !udev->slot_id) in xhci_endpoint_disable()
3196 vdev = xhci->devs[udev->slot_id]; in xhci_endpoint_disable()
3236 struct usb_device *udev; in xhci_endpoint_reset() local
3249 udev = (struct usb_device *) host_ep->hcpriv; in xhci_endpoint_reset()
3250 vdev = xhci->devs[udev->slot_id]; in xhci_endpoint_reset()
3257 if (!udev->slot_id || !vdev) in xhci_endpoint_reset()
3302 dev_err(&udev->dev, "EP not empty, refuse reset\n"); in xhci_endpoint_reset()
3308 err = xhci_queue_stop_endpoint(xhci, stop_cmd, udev->slot_id, in xhci_endpoint_reset()
3340 udev->slot_id, false); in xhci_endpoint_reset()
3364 struct usb_device *udev, struct usb_host_endpoint *ep, in xhci_check_streams_endpoint() argument
3373 ret = xhci_check_args(xhci_to_hcd(xhci), udev, ep, 1, true, __func__); in xhci_check_streams_endpoint()
3430 struct usb_device *udev, in xhci_calculate_streams_and_bitmask() argument
3440 ret = xhci_check_streams_endpoint(xhci, udev, in xhci_calculate_streams_and_bitmask()
3441 eps[i], udev->slot_id); in xhci_calculate_streams_and_bitmask()
3462 struct usb_device *udev, in xhci_calculate_no_streams_bitmask() argument
3471 slot_id = udev->slot_id; in xhci_calculate_no_streams_bitmask()
3518 static int xhci_alloc_streams(struct usb_hcd *hcd, struct usb_device *udev, in xhci_alloc_streams() argument
3568 ret = xhci_calculate_streams_and_bitmask(xhci, udev, eps, in xhci_alloc_streams()
3582 vdev = xhci->devs[udev->slot_id]; in xhci_alloc_streams()
3634 ret = xhci_configure_endpoint(xhci, udev, config_cmd, in xhci_alloc_streams()
3649 udev->slot_id, ep_index); in xhci_alloc_streams()
3685 static int xhci_free_streams(struct usb_hcd *hcd, struct usb_device *udev, in xhci_free_streams() argument
3699 vdev = xhci->devs[udev->slot_id]; in xhci_free_streams()
3704 udev, eps, num_eps); in xhci_free_streams()
3729 xhci->devs[udev->slot_id]->eps[ep_index].ep_state |= in xhci_free_streams()
3745 ret = xhci_configure_endpoint(xhci, udev, command, in xhci_free_streams()
3818 struct usb_device *udev) in xhci_discover_or_reset_device() argument
3829 ret = xhci_check_args(hcd, udev, NULL, 0, false, __func__); in xhci_discover_or_reset_device()
3833 slot_id = udev->slot_id; in xhci_discover_or_reset_device()
3838 ret = xhci_alloc_dev(hcd, udev); in xhci_discover_or_reset_device()
3848 if (virt_dev->udev != udev) { in xhci_discover_or_reset_device()
3856 ret = xhci_alloc_dev(hcd, udev); in xhci_discover_or_reset_device()
3959 udev, in xhci_discover_or_reset_device()
3979 static void xhci_free_dev(struct usb_hcd *hcd, struct usb_device *udev) in xhci_free_dev() argument
3995 ret = xhci_check_args(hcd, udev, NULL, 0, true, __func__); in xhci_free_dev()
4002 virt_dev = xhci->devs[udev->slot_id]; in xhci_free_dev()
4011 virt_dev->udev = NULL; in xhci_free_dev()
4012 xhci_disable_slot(xhci, udev->slot_id); in xhci_free_dev()
4015 xhci_free_virt_device(xhci, udev->slot_id); in xhci_free_dev()
4091 int xhci_alloc_dev(struct usb_hcd *hcd, struct usb_device *udev) in xhci_alloc_dev() argument
4145 if (!xhci_alloc_virt_device(xhci, slot_id, udev, GFP_NOIO)) { in xhci_alloc_dev()
4153 udev->slot_id = slot_id; in xhci_alloc_dev()
4169 xhci_disable_slot(xhci, udev->slot_id); in xhci_alloc_dev()
4170 xhci_free_virt_device(xhci, udev->slot_id); in xhci_alloc_dev()
4179 static int xhci_setup_device(struct usb_hcd *hcd, struct usb_device *udev, in xhci_setup_device() argument
4199 if (!udev->slot_id) { in xhci_setup_device()
4201 "Bad Slot ID %d", udev->slot_id); in xhci_setup_device()
4206 virt_dev = xhci->devs[udev->slot_id]; in xhci_setup_device()
4215 udev->slot_id); in xhci_setup_device()
4252 xhci_setup_addressable_virt_dev(xhci, udev); in xhci_setup_device()
4255 xhci_copy_ep0_dequeue_into_input_ctx(xhci, udev); in xhci_setup_device()
4266 udev->slot_id, setup); in xhci_setup_device()
4292 act, udev->slot_id); in xhci_setup_device()
4296 dev_warn(&udev->dev, "Device not responding to setup %s.\n", act); in xhci_setup_device()
4299 ret = xhci_disable_slot(xhci, udev->slot_id); in xhci_setup_device()
4300 xhci_free_virt_device(xhci, udev->slot_id); in xhci_setup_device()
4302 xhci_alloc_dev(hcd, udev); in xhci_setup_device()
4307 dev_warn(&udev->dev, in xhci_setup_device()
4330 udev->slot_id, in xhci_setup_device()
4331 &xhci->dcbaa->dev_context_ptrs[udev->slot_id], in xhci_setup_device()
4333 le64_to_cpu(xhci->dcbaa->dev_context_ptrs[udev->slot_id])); in xhci_setup_device()
4349 udev->devaddr = (u8)(le32_to_cpu(slot_ctx->dev_state) & DEV_ADDR_MASK); in xhci_setup_device()
4363 static int xhci_address_device(struct usb_hcd *hcd, struct usb_device *udev) in xhci_address_device() argument
4365 return xhci_setup_device(hcd, udev, SETUP_CONTEXT_ADDRESS); in xhci_address_device()
4368 static int xhci_enable_device(struct usb_hcd *hcd, struct usb_device *udev) in xhci_enable_device() argument
4370 return xhci_setup_device(hcd, udev, SETUP_CONTEXT_ONLY); in xhci_enable_device()
4392 struct usb_device *udev, u16 max_exit_latency) in xhci_change_max_exit_latency() argument
4403 virt_dev = xhci->devs[udev->slot_id]; in xhci_change_max_exit_latency()
4439 ret = xhci_configure_endpoint(xhci, udev, command, in xhci_change_max_exit_latency()
4458 struct usb_device *udev) in xhci_calculate_hird_besl() argument
4465 field = le32_to_cpu(udev->bos->ext_cap->bmAttributes); in xhci_calculate_hird_besl()
4492 static int xhci_calculate_usb2_hw_lpm_params(struct usb_device *udev) in xhci_calculate_usb2_hw_lpm_params() argument
4499 field = le32_to_cpu(udev->bos->ext_cap->bmAttributes); in xhci_calculate_usb2_hw_lpm_params()
4502 l1 = udev->l1_params.timeout / 256; in xhci_calculate_usb2_hw_lpm_params()
4514 struct usb_device *udev, int enable) in xhci_set_usb2_hardware_lpm() argument
4529 !udev->lpm_capable) in xhci_set_usb2_hardware_lpm()
4532 if (!udev->parent || udev->parent->parent || in xhci_set_usb2_hardware_lpm()
4533 udev->descriptor.bDeviceClass == USB_CLASS_HUB) in xhci_set_usb2_hardware_lpm()
4536 if (udev->usb2_hw_lpm_capable != 1) in xhci_set_usb2_hardware_lpm()
4542 port_num = udev->portnum - 1; in xhci_set_usb2_hardware_lpm()
4552 if (udev->usb2_hw_lpm_besl_capable) { in xhci_set_usb2_hardware_lpm()
4557 field = le32_to_cpu(udev->bos->ext_cap->bmAttributes); in xhci_set_usb2_hardware_lpm()
4562 hird = udev->l1_params.besl; in xhci_set_usb2_hardware_lpm()
4575 ret = xhci_change_max_exit_latency(xhci, udev, in xhci_set_usb2_hardware_lpm()
4583 hlpm_val = xhci_calculate_usb2_hw_lpm_params(udev); in xhci_set_usb2_hardware_lpm()
4588 hird = xhci_calculate_hird_besl(xhci, udev); in xhci_set_usb2_hardware_lpm()
4592 pm_val |= PORT_HIRD(hird) | PORT_RWE | PORT_L1DS(udev->slot_id); in xhci_set_usb2_hardware_lpm()
4604 if (udev->usb2_hw_lpm_besl_capable) { in xhci_set_usb2_hardware_lpm()
4607 xhci_change_max_exit_latency(xhci, udev, 0); in xhci_set_usb2_hardware_lpm()
4643 static int xhci_update_device(struct usb_hcd *hcd, struct usb_device *udev) in xhci_update_device() argument
4646 int portnum = udev->portnum - 1; in xhci_update_device()
4648 if (hcd->speed >= HCD_USB3 || !udev->lpm_capable) in xhci_update_device()
4652 if (!udev->parent || udev->parent->parent || in xhci_update_device()
4653 udev->descriptor.bDeviceClass == USB_CLASS_HUB) in xhci_update_device()
4659 udev->usb2_hw_lpm_capable = 1; in xhci_update_device()
4660 udev->l1_params.timeout = XHCI_L1_TIMEOUT; in xhci_update_device()
4661 udev->l1_params.besl = XHCI_DEFAULT_BESL; in xhci_update_device()
4664 udev->usb2_hw_lpm_besl_capable = 1; in xhci_update_device()
4679 static u16 xhci_get_timeout_no_hub_lpm(struct usb_device *udev, in xhci_get_timeout_no_hub_lpm() argument
4690 sel = DIV_ROUND_UP(udev->u1_params.sel, 1000); in xhci_get_timeout_no_hub_lpm()
4691 pel = DIV_ROUND_UP(udev->u1_params.pel, 1000); in xhci_get_timeout_no_hub_lpm()
4696 sel = DIV_ROUND_UP(udev->u2_params.sel, 1000); in xhci_get_timeout_no_hub_lpm()
4697 pel = DIV_ROUND_UP(udev->u2_params.pel, 1000); in xhci_get_timeout_no_hub_lpm()
4702 dev_warn(&udev->dev, "%s: Can't get timeout for non-U1 or U2 state.\n", in xhci_get_timeout_no_hub_lpm()
4711 dev_dbg(&udev->dev, "Device-initiated %s disabled " in xhci_get_timeout_no_hub_lpm()
4715 dev_dbg(&udev->dev, "Device-initiated %s disabled " in xhci_get_timeout_no_hub_lpm()
4730 struct usb_device *udev, in xhci_calculate_intel_u1_timeout() argument
4740 timeout_ns = udev->u1_params.sel * 3; in xhci_calculate_intel_u1_timeout()
4743 timeout_ns = udev->u1_params.sel * 5; in xhci_calculate_intel_u1_timeout()
4748 timeout_ns = udev->u1_params.sel * 3; in xhci_calculate_intel_u1_timeout()
4756 if (timeout_ns < udev->u1_params.sel * 2) in xhci_calculate_intel_u1_timeout()
4757 timeout_ns = udev->u1_params.sel * 2; in xhci_calculate_intel_u1_timeout()
4768 struct usb_device *udev, in xhci_calculate_u1_timeout() argument
4775 if (xhci_service_interval_to_ns(desc) <= udev->u1_params.mel) { in xhci_calculate_u1_timeout()
4776 dev_dbg(&udev->dev, "Disable U1, ESIT shorter than exit latency\n"); in xhci_calculate_u1_timeout()
4782 timeout_ns = xhci_calculate_intel_u1_timeout(udev, desc); in xhci_calculate_u1_timeout()
4784 timeout_ns = udev->u1_params.sel; in xhci_calculate_u1_timeout()
4799 dev_dbg(&udev->dev, "Hub-initiated U1 disabled " in xhci_calculate_u1_timeout()
4801 return xhci_get_timeout_no_hub_lpm(udev, USB3_LPM_U1); in xhci_calculate_u1_timeout()
4811 struct usb_device *udev, in xhci_calculate_intel_u2_timeout() argument
4823 u2_del_ns = le16_to_cpu(udev->bos->ss_cap->bU2DevExitLat) * 1000ULL; in xhci_calculate_intel_u2_timeout()
4832 struct usb_device *udev, in xhci_calculate_u2_timeout() argument
4839 if (xhci_service_interval_to_ns(desc) <= udev->u2_params.mel) { in xhci_calculate_u2_timeout()
4840 dev_dbg(&udev->dev, "Disable U2, ESIT shorter than exit latency\n"); in xhci_calculate_u2_timeout()
4846 timeout_ns = xhci_calculate_intel_u2_timeout(udev, desc); in xhci_calculate_u2_timeout()
4848 timeout_ns = udev->u2_params.sel; in xhci_calculate_u2_timeout()
4857 dev_dbg(&udev->dev, "Hub-initiated U2 disabled " in xhci_calculate_u2_timeout()
4859 return xhci_get_timeout_no_hub_lpm(udev, USB3_LPM_U2); in xhci_calculate_u2_timeout()
4863 struct usb_device *udev, in xhci_call_host_update_timeout_for_endpoint() argument
4869 return xhci_calculate_u1_timeout(xhci, udev, desc); in xhci_call_host_update_timeout_for_endpoint()
4871 return xhci_calculate_u2_timeout(xhci, udev, desc); in xhci_call_host_update_timeout_for_endpoint()
4877 struct usb_device *udev, in xhci_update_timeout_for_endpoint() argument
4884 alt_timeout = xhci_call_host_update_timeout_for_endpoint(xhci, udev, in xhci_update_timeout_for_endpoint()
4902 struct usb_device *udev, in xhci_update_timeout_for_interface() argument
4910 if (xhci_update_timeout_for_endpoint(xhci, udev, in xhci_update_timeout_for_interface()
4917 static int xhci_check_intel_tier_policy(struct usb_device *udev, in xhci_check_intel_tier_policy() argument
4927 for (parent = udev->parent, num_hubs = 0; parent->parent; in xhci_check_intel_tier_policy()
4934 dev_dbg(&udev->dev, "Disabling U1 link state for device" in xhci_check_intel_tier_policy()
4936 dev_dbg(&udev->dev, "Plug device into first-tier hub " in xhci_check_intel_tier_policy()
4942 struct usb_device *udev, in xhci_check_tier_policy() argument
4946 return xhci_check_intel_tier_policy(udev, state); in xhci_check_tier_policy()
4957 struct usb_device *udev, enum usb3_link_state state) in xhci_calculate_lpm_timeout() argument
4970 dev_warn(&udev->dev, "Can't enable unknown link state %i\n", in xhci_calculate_lpm_timeout()
4975 if (xhci_check_tier_policy(xhci, udev, state) < 0) in xhci_calculate_lpm_timeout()
4981 if (xhci_update_timeout_for_endpoint(xhci, udev, &udev->ep0.desc, in xhci_calculate_lpm_timeout()
4985 config = udev->actconfig; in xhci_calculate_lpm_timeout()
5002 dev_dbg(&udev->dev, "Hub-initiated %s disabled at request of driver %s\n", in xhci_calculate_lpm_timeout()
5004 timeout = xhci_get_timeout_no_hub_lpm(udev, in xhci_calculate_lpm_timeout()
5015 if (xhci_update_timeout_for_interface(xhci, udev, in xhci_calculate_lpm_timeout()
5023 static int calculate_max_exit_latency(struct usb_device *udev, in calculate_max_exit_latency() argument
5048 if ((udev->u1_params.timeout != USB3_LPM_DISABLED && !disabling_u1) || in calculate_max_exit_latency()
5050 u1_mel_us = DIV_ROUND_UP(udev->u1_params.mel, 1000); in calculate_max_exit_latency()
5051 if ((udev->u2_params.timeout != USB3_LPM_DISABLED && !disabling_u2) || in calculate_max_exit_latency()
5053 u2_mel_us = DIV_ROUND_UP(udev->u2_params.mel, 1000); in calculate_max_exit_latency()
5061 dev_warn(&udev->dev, "Link PM max exit latency of %lluus " in calculate_max_exit_latency()
5070 struct usb_device *udev, enum usb3_link_state state) in xhci_enable_usb3_lpm_timeout() argument
5084 !xhci->devs[udev->slot_id]) in xhci_enable_usb3_lpm_timeout()
5088 if (udev->parent && !udev->parent->parent) { in xhci_enable_usb3_lpm_timeout()
5089 port = xhci->usb3_rhub.ports[udev->portnum - 1]; in xhci_enable_usb3_lpm_timeout()
5094 hub_encoded_timeout = xhci_calculate_lpm_timeout(hcd, udev, state); in xhci_enable_usb3_lpm_timeout()
5095 mel = calculate_max_exit_latency(udev, state, hub_encoded_timeout); in xhci_enable_usb3_lpm_timeout()
5102 ret = xhci_change_max_exit_latency(xhci, udev, mel); in xhci_enable_usb3_lpm_timeout()
5109 struct usb_device *udev, enum usb3_link_state state) in xhci_disable_usb3_lpm_timeout() argument
5116 !xhci->devs[udev->slot_id]) in xhci_disable_usb3_lpm_timeout()
5119 mel = calculate_max_exit_latency(udev, state, USB3_LPM_DISABLED); in xhci_disable_usb3_lpm_timeout()
5120 return xhci_change_max_exit_latency(xhci, udev, mel); in xhci_disable_usb3_lpm_timeout()
5125 struct usb_device *udev, int enable) in xhci_set_usb2_hardware_lpm() argument
5130 static int xhci_update_device(struct usb_hcd *hcd, struct usb_device *udev) in xhci_update_device() argument
5136 struct usb_device *udev, enum usb3_link_state state) in xhci_enable_usb3_lpm_timeout() argument
5142 struct usb_device *udev, enum usb3_link_state state) in xhci_disable_usb3_lpm_timeout() argument
5425 struct usb_device *udev; in xhci_clear_tt_buffer_complete() local
5433 udev = (struct usb_device *)ep->hcpriv; in xhci_clear_tt_buffer_complete()
5434 slot_id = udev->slot_id; in xhci_clear_tt_buffer_complete()