Lines Matching defs:xhci
29 static struct xhci_segment *xhci_segment_alloc(struct xhci_hcd *xhci, in xhci_segment_alloc()
64 static void xhci_segment_free(struct xhci_hcd *xhci, struct xhci_segment *seg) in xhci_segment_free()
74 static void xhci_ring_segments_free(struct xhci_hcd *xhci, struct xhci_ring *ring) in xhci_ring_segments_free()
116 static void xhci_initialize_ring_segments(struct xhci_hcd *xhci, struct xhci_ring *ring) in xhci_initialize_ring_segments()
136 static void xhci_link_rings(struct xhci_hcd *xhci, struct xhci_ring *src, struct xhci_ring *dst) in xhci_link_rings()
289 void xhci_ring_free(struct xhci_hcd *xhci, struct xhci_ring *ring) in xhci_ring_free()
330 static int xhci_alloc_segments_for_ring(struct xhci_hcd *xhci, struct xhci_ring *ring, gfp_t flags) in xhci_alloc_segments_for_ring()
370 struct xhci_ring *xhci_ring_alloc(struct xhci_hcd *xhci, unsigned int num_segs, in xhci_ring_alloc()
402 void xhci_free_endpoint_ring(struct xhci_hcd *xhci, in xhci_free_endpoint_ring()
414 int xhci_ring_expansion(struct xhci_hcd *xhci, struct xhci_ring *ring, in xhci_ring_expansion()
452 struct xhci_container_ctx *xhci_alloc_container_ctx(struct xhci_hcd *xhci, in xhci_alloc_container_ctx()
478 void xhci_free_container_ctx(struct xhci_hcd *xhci, in xhci_free_container_ctx()
496 struct xhci_slot_ctx *xhci_get_slot_ctx(struct xhci_hcd *xhci, in xhci_get_slot_ctx()
506 struct xhci_ep_ctx *xhci_get_ep_ctx(struct xhci_hcd *xhci, in xhci_get_ep_ctx()
522 static void xhci_free_stream_ctx(struct xhci_hcd *xhci, in xhci_free_stream_ctx()
547 static struct xhci_stream_ctx *xhci_alloc_stream_ctx(struct xhci_hcd *xhci, in xhci_alloc_stream_ctx()
581 struct xhci_stream_info *xhci_alloc_stream_info(struct xhci_hcd *xhci, in xhci_alloc_stream_info()
696 void xhci_setup_streams_ep_input_ctx(struct xhci_hcd *xhci, in xhci_setup_streams_ep_input_ctx()
733 void xhci_free_stream_info(struct xhci_hcd *xhci, in xhci_free_stream_info()
765 static void xhci_free_tt_info(struct xhci_hcd *xhci, in xhci_free_tt_info()
794 int xhci_alloc_tt_info(struct xhci_hcd *xhci, in xhci_alloc_tt_info()
839 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id) in xhci_free_virt_device()
904 static void xhci_free_virt_devices_depth_first(struct xhci_hcd *xhci, int slot_id) in xhci_free_virt_devices_depth_first()
939 int xhci_alloc_virt_device(struct xhci_hcd *xhci, int slot_id, in xhci_alloc_virt_device()
1010 void xhci_copy_ep0_dequeue_into_input_ctx(struct xhci_hcd *xhci, in xhci_copy_ep0_dequeue_into_input_ctx()
1042 static struct xhci_port *xhci_find_rhub_port(struct xhci_hcd *xhci, struct usb_device *udev) in xhci_find_rhub_port()
1062 int xhci_setup_addressable_virt_dev(struct xhci_hcd *xhci, struct usb_device *udev) in xhci_setup_addressable_virt_dev()
1383 int xhci_endpoint_init(struct xhci_hcd *xhci, in xhci_endpoint_init()
1482 void xhci_endpoint_zero(struct xhci_hcd *xhci, in xhci_endpoint_zero()
1511 void xhci_update_bw_info(struct xhci_hcd *xhci, in xhci_update_bw_info()
1569 void xhci_endpoint_copy(struct xhci_hcd *xhci, in xhci_endpoint_copy()
1595 void xhci_slot_copy(struct xhci_hcd *xhci, in xhci_slot_copy()
1612 static int scratchpad_alloc(struct xhci_hcd *xhci, gfp_t flags) in scratchpad_alloc()
1675 static void scratchpad_free(struct xhci_hcd *xhci) in scratchpad_free()
1699 struct xhci_command *xhci_alloc_command(struct xhci_hcd *xhci, in xhci_alloc_command()
1727 struct xhci_command *xhci_alloc_command_with_ctx(struct xhci_hcd *xhci, in xhci_alloc_command_with_ctx()
1751 void xhci_free_command(struct xhci_hcd *xhci, in xhci_free_command()
1760 static int xhci_alloc_erst(struct xhci_hcd *xhci, in xhci_alloc_erst()
1791 xhci_remove_interrupter(struct xhci_hcd *xhci, struct xhci_interrupter *ir) in xhci_remove_interrupter()
1813 xhci_free_interrupter(struct xhci_hcd *xhci, struct xhci_interrupter *ir) in xhci_free_interrupter()
1839 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_remove_secondary_interrupter() local
1862 void xhci_mem_cleanup(struct xhci_hcd *xhci) in xhci_mem_cleanup()
1961 static void xhci_set_hc_event_deq(struct xhci_hcd *xhci, struct xhci_interrupter *ir) in xhci_set_hc_event_deq()
1978 static void xhci_add_in_port(struct xhci_hcd *xhci, unsigned int num_ports, in xhci_add_in_port()
2113 static void xhci_create_rhub_port_array(struct xhci_hcd *xhci, in xhci_create_rhub_port_array()
2146 static int xhci_setup_port_arrays(struct xhci_hcd *xhci, gfp_t flags) in xhci_setup_port_arrays()
2251 xhci_alloc_interrupter(struct xhci_hcd *xhci, unsigned int segs, gfp_t flags) in xhci_alloc_interrupter()
2287 xhci_add_interrupter(struct xhci_hcd *xhci, struct xhci_interrupter *ir, in xhci_add_interrupter()
2332 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_create_secondary_interrupter() local
2375 int xhci_mem_init(struct xhci_hcd *xhci, gfp_t flags) in xhci_mem_init()