Lines Matching defs:xhci
28 static struct xhci_segment *xhci_segment_alloc(struct xhci_hcd *xhci, in xhci_segment_alloc()
68 void xhci_segment_free(struct xhci_hcd *xhci, struct xhci_segment *seg) in xhci_segment_free()
79 void xhci_free_segments_for_ring(struct xhci_hcd *xhci, in xhci_free_segments_for_ring()
128 static void xhci_link_rings(struct xhci_hcd *xhci, struct xhci_ring *ring, in xhci_link_rings()
282 void xhci_ring_free(struct xhci_hcd *xhci, struct xhci_ring *ring) in xhci_ring_free()
325 static int xhci_alloc_segments_for_ring(struct xhci_hcd *xhci, in xhci_alloc_segments_for_ring()
368 static void xhci_vendor_free_container_ctx(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx) in xhci_vendor_free_container_ctx()
376 static void xhci_vendor_alloc_container_ctx(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx, in xhci_vendor_alloc_container_ctx()
385 static struct xhci_ring *xhci_vendor_alloc_transfer_ring(struct xhci_hcd *xhci, in xhci_vendor_alloc_transfer_ring()
397 void xhci_vendor_free_transfer_ring(struct xhci_hcd *xhci, in xhci_vendor_free_transfer_ring()
406 bool xhci_vendor_is_usb_offload_enabled(struct xhci_hcd *xhci, in xhci_vendor_is_usb_offload_enabled()
423 struct xhci_ring *xhci_ring_alloc(struct xhci_hcd *xhci, in xhci_ring_alloc()
464 void xhci_free_endpoint_ring(struct xhci_hcd *xhci, in xhci_free_endpoint_ring()
480 int xhci_ring_expansion(struct xhci_hcd *xhci, struct xhci_ring *ring, in xhci_ring_expansion()
526 struct xhci_container_ctx *xhci_alloc_container_ctx(struct xhci_hcd *xhci, in xhci_alloc_container_ctx()
558 void xhci_free_container_ctx(struct xhci_hcd *xhci, in xhci_free_container_ctx()
583 struct xhci_slot_ctx *xhci_get_slot_ctx(struct xhci_hcd *xhci, in xhci_get_slot_ctx()
594 struct xhci_ep_ctx *xhci_get_ep_ctx(struct xhci_hcd *xhci, in xhci_get_ep_ctx()
611 static void xhci_free_stream_ctx(struct xhci_hcd *xhci, in xhci_free_stream_ctx()
639 static struct xhci_stream_ctx *xhci_alloc_stream_ctx(struct xhci_hcd *xhci, in xhci_alloc_stream_ctx()
676 struct xhci_stream_info *xhci_alloc_stream_info(struct xhci_hcd *xhci, in xhci_alloc_stream_info()
794 void xhci_setup_streams_ep_input_ctx(struct xhci_hcd *xhci, in xhci_setup_streams_ep_input_ctx()
831 void xhci_free_stream_info(struct xhci_hcd *xhci, in xhci_free_stream_info()
863 static void xhci_init_endpoint_timer(struct xhci_hcd *xhci, in xhci_init_endpoint_timer()
871 static void xhci_free_tt_info(struct xhci_hcd *xhci, in xhci_free_tt_info()
901 int xhci_alloc_tt_info(struct xhci_hcd *xhci, in xhci_alloc_tt_info()
946 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id) in xhci_free_virt_device()
1009 static void xhci_free_virt_devices_depth_first(struct xhci_hcd *xhci, int slot_id) in xhci_free_virt_devices_depth_first()
1045 int xhci_alloc_virt_device(struct xhci_hcd *xhci, int slot_id, in xhci_alloc_virt_device()
1118 void xhci_copy_ep0_dequeue_into_input_ctx(struct xhci_hcd *xhci, in xhci_copy_ep0_dequeue_into_input_ctx()
1150 static u32 xhci_find_real_port_number(struct xhci_hcd *xhci, in xhci_find_real_port_number()
1169 int xhci_setup_addressable_virt_dev(struct xhci_hcd *xhci, struct usb_device *udev) in xhci_setup_addressable_virt_dev()
1498 int xhci_endpoint_init(struct xhci_hcd *xhci, in xhci_endpoint_init()
1605 void xhci_endpoint_zero(struct xhci_hcd *xhci, in xhci_endpoint_zero()
1634 void xhci_update_bw_info(struct xhci_hcd *xhci, in xhci_update_bw_info()
1692 void xhci_endpoint_copy(struct xhci_hcd *xhci, in xhci_endpoint_copy()
1718 void xhci_slot_copy(struct xhci_hcd *xhci, in xhci_slot_copy()
1735 static int scratchpad_alloc(struct xhci_hcd *xhci, gfp_t flags) in scratchpad_alloc()
1799 static void scratchpad_free(struct xhci_hcd *xhci) in scratchpad_free()
1823 struct xhci_command *xhci_alloc_command(struct xhci_hcd *xhci, in xhci_alloc_command()
1850 struct xhci_command *xhci_alloc_command_with_ctx(struct xhci_hcd *xhci, in xhci_alloc_command_with_ctx()
1874 void xhci_free_command(struct xhci_hcd *xhci, in xhci_free_command()
1884 int xhci_alloc_erst(struct xhci_hcd *xhci, in xhci_alloc_erst()
1915 void xhci_free_erst(struct xhci_hcd *xhci, struct xhci_erst *erst) in xhci_free_erst()
1930 struct xhci_hcd *xhci, gfp_t flags) in xhci_vendor_alloc_dcbaa()
1939 static void xhci_vendor_free_dcbaa(struct xhci_hcd *xhci) in xhci_vendor_free_dcbaa()
1947 void xhci_mem_cleanup(struct xhci_hcd *xhci) in xhci_mem_cleanup()
2051 static int xhci_test_trb_in_td(struct xhci_hcd *xhci, in xhci_test_trb_in_td()
2088 int xhci_check_trb_in_td_math(struct xhci_hcd *xhci) in xhci_check_trb_in_td_math()
2210 static void xhci_set_hc_event_deq(struct xhci_hcd *xhci) in xhci_set_hc_event_deq()
2234 static void xhci_add_in_port(struct xhci_hcd *xhci, unsigned int num_ports, in xhci_add_in_port()
2359 static void xhci_create_rhub_port_array(struct xhci_hcd *xhci, in xhci_create_rhub_port_array()
2392 static int xhci_setup_port_arrays(struct xhci_hcd *xhci, gfp_t flags) in xhci_setup_port_arrays()
2497 int xhci_mem_init(struct xhci_hcd *xhci, gfp_t flags) in xhci_mem_init()