Lines Matching defs:xhci

39 static struct xhci_segment *xhci_segment_alloc(struct xhci_hcd *xhci,  in xhci_segment_alloc()
68 static void xhci_segment_free(struct xhci_hcd *xhci, struct xhci_segment *seg) in xhci_segment_free()
77 static void xhci_free_segments_for_ring(struct xhci_hcd *xhci, in xhci_free_segments_for_ring()
98 static void xhci_link_segments(struct xhci_hcd *xhci, struct xhci_segment *prev, in xhci_link_segments()
128 static void xhci_link_rings(struct xhci_hcd *xhci, struct xhci_ring *ring, in xhci_link_rings()
276 void xhci_ring_free(struct xhci_hcd *xhci, struct xhci_ring *ring) in xhci_ring_free()
318 static int xhci_alloc_segments_for_ring(struct xhci_hcd *xhci, in xhci_alloc_segments_for_ring()
362 static struct xhci_ring *xhci_ring_alloc(struct xhci_hcd *xhci, in xhci_ring_alloc()
398 void xhci_free_or_cache_endpoint_ring(struct xhci_hcd *xhci, in xhci_free_or_cache_endpoint_ring()
425 static void xhci_reinit_cached_ring(struct xhci_hcd *xhci, in xhci_reinit_cached_ring()
457 int xhci_ring_expansion(struct xhci_hcd *xhci, struct xhci_ring *ring, in xhci_ring_expansion()
503 static struct xhci_container_ctx *xhci_alloc_container_ctx(struct xhci_hcd *xhci, in xhci_alloc_container_ctx()
529 static void xhci_free_container_ctx(struct xhci_hcd *xhci, in xhci_free_container_ctx()
547 struct xhci_slot_ctx *xhci_get_slot_ctx(struct xhci_hcd *xhci, in xhci_get_slot_ctx()
557 struct xhci_ep_ctx *xhci_get_ep_ctx(struct xhci_hcd *xhci, in xhci_get_ep_ctx()
573 static void xhci_free_stream_ctx(struct xhci_hcd *xhci, in xhci_free_stream_ctx()
601 static struct xhci_stream_ctx *xhci_alloc_stream_ctx(struct xhci_hcd *xhci, in xhci_alloc_stream_ctx()
655 struct xhci_stream_info *xhci_alloc_stream_info(struct xhci_hcd *xhci, in xhci_alloc_stream_info()
763 void xhci_setup_streams_ep_input_ctx(struct xhci_hcd *xhci, in xhci_setup_streams_ep_input_ctx()
800 void xhci_free_stream_info(struct xhci_hcd *xhci, in xhci_free_stream_info()
832 static void xhci_init_endpoint_timer(struct xhci_hcd *xhci, in xhci_init_endpoint_timer()
840 static void xhci_free_tt_info(struct xhci_hcd *xhci, in xhci_free_tt_info()
870 int xhci_alloc_tt_info(struct xhci_hcd *xhci, in xhci_alloc_tt_info()
913 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id) in xhci_free_virt_device()
967 int xhci_alloc_virt_device(struct xhci_hcd *xhci, int slot_id, in xhci_alloc_virt_device()
1036 void xhci_copy_ep0_dequeue_into_input_ctx(struct xhci_hcd *xhci, in xhci_copy_ep0_dequeue_into_input_ctx()
1069 static u32 xhci_find_real_port_number(struct xhci_hcd *xhci, in xhci_find_real_port_number()
1088 int xhci_setup_addressable_virt_dev(struct xhci_hcd *xhci, struct usb_device *udev) in xhci_setup_addressable_virt_dev()
1399 int xhci_endpoint_init(struct xhci_hcd *xhci, in xhci_endpoint_init()
1514 void xhci_endpoint_zero(struct xhci_hcd *xhci, in xhci_endpoint_zero()
1543 void xhci_update_bw_info(struct xhci_hcd *xhci, in xhci_update_bw_info()
1601 void xhci_endpoint_copy(struct xhci_hcd *xhci, in xhci_endpoint_copy()
1623 void xhci_slot_copy(struct xhci_hcd *xhci, in xhci_slot_copy()
1640 static int scratchpad_alloc(struct xhci_hcd *xhci, gfp_t flags) in scratchpad_alloc()
1711 static void scratchpad_free(struct xhci_hcd *xhci) in scratchpad_free()
1736 struct xhci_command *xhci_alloc_command(struct xhci_hcd *xhci, in xhci_alloc_command()
1780 void xhci_free_command(struct xhci_hcd *xhci, in xhci_free_command()
1789 void xhci_mem_cleanup(struct xhci_hcd *xhci) in xhci_mem_cleanup()
1890 static int xhci_test_trb_in_td(struct xhci_hcd *xhci, in xhci_test_trb_in_td()
1927 static int xhci_check_trb_in_td_math(struct xhci_hcd *xhci) in xhci_check_trb_in_td_math()
2048 static void xhci_set_hc_event_deq(struct xhci_hcd *xhci) in xhci_set_hc_event_deq()
2072 static void xhci_add_in_port(struct xhci_hcd *xhci, unsigned int num_ports, in xhci_add_in_port()
2197 static int xhci_setup_port_arrays(struct xhci_hcd *xhci, gfp_t flags) in xhci_setup_port_arrays()
2349 int xhci_mem_init(struct xhci_hcd *xhci, gfp_t flags) in xhci_mem_init()