Lines Matching defs:xhci
29 static struct xhci_segment *xhci_segment_alloc(struct xhci_hcd *xhci, in xhci_segment_alloc()
71 static void xhci_segment_free(struct xhci_hcd *xhci, struct xhci_segment *seg) in xhci_segment_free()
81 static void xhci_free_segments_for_ring(struct xhci_hcd *xhci, in xhci_free_segments_for_ring()
129 static void xhci_link_rings(struct xhci_hcd *xhci, struct xhci_ring *ring, in xhci_link_rings()
287 void xhci_ring_free(struct xhci_hcd *xhci, struct xhci_ring *ring) in xhci_ring_free()
329 static int xhci_alloc_segments_for_ring(struct xhci_hcd *xhci, in xhci_alloc_segments_for_ring()
381 struct xhci_ring *xhci_ring_alloc(struct xhci_hcd *xhci, in xhci_ring_alloc()
421 void xhci_free_endpoint_ring(struct xhci_hcd *xhci, in xhci_free_endpoint_ring()
433 int xhci_ring_expansion(struct xhci_hcd *xhci, struct xhci_ring *ring, in xhci_ring_expansion()
471 struct xhci_container_ctx *xhci_alloc_container_ctx(struct xhci_hcd *xhci, in xhci_alloc_container_ctx()
497 void xhci_free_container_ctx(struct xhci_hcd *xhci, in xhci_free_container_ctx()
515 struct xhci_slot_ctx *xhci_get_slot_ctx(struct xhci_hcd *xhci, in xhci_get_slot_ctx()
525 struct xhci_ep_ctx *xhci_get_ep_ctx(struct xhci_hcd *xhci, in xhci_get_ep_ctx()
541 static void xhci_free_stream_ctx(struct xhci_hcd *xhci, in xhci_free_stream_ctx()
566 static struct xhci_stream_ctx *xhci_alloc_stream_ctx(struct xhci_hcd *xhci, in xhci_alloc_stream_ctx()
600 struct xhci_stream_info *xhci_alloc_stream_info(struct xhci_hcd *xhci, in xhci_alloc_stream_info()
714 void xhci_setup_streams_ep_input_ctx(struct xhci_hcd *xhci, in xhci_setup_streams_ep_input_ctx()
751 void xhci_free_stream_info(struct xhci_hcd *xhci, in xhci_free_stream_info()
783 static void xhci_free_tt_info(struct xhci_hcd *xhci, in xhci_free_tt_info()
813 int xhci_alloc_tt_info(struct xhci_hcd *xhci, in xhci_alloc_tt_info()
858 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id) in xhci_free_virt_device()
921 static void xhci_free_virt_devices_depth_first(struct xhci_hcd *xhci, int slot_id) in xhci_free_virt_devices_depth_first()
957 int xhci_alloc_virt_device(struct xhci_hcd *xhci, int slot_id, in xhci_alloc_virt_device()
1028 void xhci_copy_ep0_dequeue_into_input_ctx(struct xhci_hcd *xhci, in xhci_copy_ep0_dequeue_into_input_ctx()
1060 static u32 xhci_find_real_port_number(struct xhci_hcd *xhci, in xhci_find_real_port_number()
1079 int xhci_setup_addressable_virt_dev(struct xhci_hcd *xhci, struct usb_device *udev) in xhci_setup_addressable_virt_dev()
1405 int xhci_endpoint_init(struct xhci_hcd *xhci, in xhci_endpoint_init()
1504 void xhci_endpoint_zero(struct xhci_hcd *xhci, in xhci_endpoint_zero()
1533 void xhci_update_bw_info(struct xhci_hcd *xhci, in xhci_update_bw_info()
1591 void xhci_endpoint_copy(struct xhci_hcd *xhci, in xhci_endpoint_copy()
1617 void xhci_slot_copy(struct xhci_hcd *xhci, in xhci_slot_copy()
1634 static int scratchpad_alloc(struct xhci_hcd *xhci, gfp_t flags) in scratchpad_alloc()
1697 static void scratchpad_free(struct xhci_hcd *xhci) in scratchpad_free()
1721 struct xhci_command *xhci_alloc_command(struct xhci_hcd *xhci, in xhci_alloc_command()
1749 struct xhci_command *xhci_alloc_command_with_ctx(struct xhci_hcd *xhci, in xhci_alloc_command_with_ctx()
1773 void xhci_free_command(struct xhci_hcd *xhci, in xhci_free_command()
1782 static int xhci_alloc_erst(struct xhci_hcd *xhci, in xhci_alloc_erst()
1813 xhci_remove_interrupter(struct xhci_hcd *xhci, struct xhci_interrupter *ir) in xhci_remove_interrupter()
1835 xhci_free_interrupter(struct xhci_hcd *xhci, struct xhci_interrupter *ir) in xhci_free_interrupter()
1861 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_remove_secondary_interrupter() local
1884 void xhci_mem_cleanup(struct xhci_hcd *xhci) in xhci_mem_cleanup()
1985 static void xhci_set_hc_event_deq(struct xhci_hcd *xhci, struct xhci_interrupter *ir) in xhci_set_hc_event_deq()
2002 static void xhci_add_in_port(struct xhci_hcd *xhci, unsigned int num_ports, in xhci_add_in_port()
2140 static void xhci_create_rhub_port_array(struct xhci_hcd *xhci, in xhci_create_rhub_port_array()
2173 static int xhci_setup_port_arrays(struct xhci_hcd *xhci, gfp_t flags) in xhci_setup_port_arrays()
2283 xhci_alloc_interrupter(struct xhci_hcd *xhci, int segs, gfp_t flags) in xhci_alloc_interrupter()
2319 xhci_add_interrupter(struct xhci_hcd *xhci, struct xhci_interrupter *ir, in xhci_add_interrupter()
2360 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_create_secondary_interrupter() local
2398 int xhci_mem_init(struct xhci_hcd *xhci, gfp_t flags) in xhci_mem_init()