Lines Matching refs:xhci_hcd
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()
284 void xhci_ring_free(struct xhci_hcd *xhci, struct xhci_ring *ring) in xhci_ring_free()
326 static int xhci_alloc_segments_for_ring(struct xhci_hcd *xhci, in xhci_alloc_segments_for_ring()
376 struct xhci_ring *xhci_ring_alloc(struct xhci_hcd *xhci, in xhci_ring_alloc()
415 void xhci_free_endpoint_ring(struct xhci_hcd *xhci, in xhci_free_endpoint_ring()
427 int xhci_ring_expansion(struct xhci_hcd *xhci, struct xhci_ring *ring, in xhci_ring_expansion()
459 struct xhci_container_ctx *xhci_alloc_container_ctx(struct xhci_hcd *xhci, in xhci_alloc_container_ctx()
485 void xhci_free_container_ctx(struct xhci_hcd *xhci, in xhci_free_container_ctx()
503 struct xhci_slot_ctx *xhci_get_slot_ctx(struct xhci_hcd *xhci, in xhci_get_slot_ctx()
513 struct xhci_ep_ctx *xhci_get_ep_ctx(struct xhci_hcd *xhci, in xhci_get_ep_ctx()
529 static void xhci_free_stream_ctx(struct xhci_hcd *xhci, in xhci_free_stream_ctx()
554 static struct xhci_stream_ctx *xhci_alloc_stream_ctx(struct xhci_hcd *xhci, in xhci_alloc_stream_ctx()
588 struct xhci_stream_info *xhci_alloc_stream_info(struct xhci_hcd *xhci, in xhci_alloc_stream_info()
702 void xhci_setup_streams_ep_input_ctx(struct xhci_hcd *xhci, in xhci_setup_streams_ep_input_ctx()
739 void xhci_free_stream_info(struct xhci_hcd *xhci, in xhci_free_stream_info()
771 static void xhci_free_tt_info(struct xhci_hcd *xhci, in xhci_free_tt_info()
800 int xhci_alloc_tt_info(struct xhci_hcd *xhci, in xhci_alloc_tt_info()
845 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id) in xhci_free_virt_device()
910 static void xhci_free_virt_devices_depth_first(struct xhci_hcd *xhci, int slot_id) in xhci_free_virt_devices_depth_first()
945 int xhci_alloc_virt_device(struct xhci_hcd *xhci, int slot_id, in xhci_alloc_virt_device()
1016 void xhci_copy_ep0_dequeue_into_input_ctx(struct xhci_hcd *xhci, in xhci_copy_ep0_dequeue_into_input_ctx()
1048 static struct xhci_port *xhci_find_rhub_port(struct xhci_hcd *xhci, struct usb_device *udev) in xhci_find_rhub_port()
1068 int xhci_setup_addressable_virt_dev(struct xhci_hcd *xhci, struct usb_device *udev) in xhci_setup_addressable_virt_dev()
1389 int xhci_endpoint_init(struct xhci_hcd *xhci, in xhci_endpoint_init()
1488 void xhci_endpoint_zero(struct xhci_hcd *xhci, in xhci_endpoint_zero()
1517 void xhci_update_bw_info(struct xhci_hcd *xhci, in xhci_update_bw_info()
1575 void xhci_endpoint_copy(struct xhci_hcd *xhci, in xhci_endpoint_copy()
1601 void xhci_slot_copy(struct xhci_hcd *xhci, in xhci_slot_copy()
1618 static int scratchpad_alloc(struct xhci_hcd *xhci, gfp_t flags) in scratchpad_alloc()
1681 static void scratchpad_free(struct xhci_hcd *xhci) in scratchpad_free()
1705 struct xhci_command *xhci_alloc_command(struct xhci_hcd *xhci, in xhci_alloc_command()
1733 struct xhci_command *xhci_alloc_command_with_ctx(struct xhci_hcd *xhci, in xhci_alloc_command_with_ctx()
1757 void xhci_free_command(struct xhci_hcd *xhci, in xhci_free_command()
1766 static int xhci_alloc_erst(struct xhci_hcd *xhci, in xhci_alloc_erst()
1797 xhci_remove_interrupter(struct xhci_hcd *xhci, struct xhci_interrupter *ir) in xhci_remove_interrupter()
1819 xhci_free_interrupter(struct xhci_hcd *xhci, struct xhci_interrupter *ir) in xhci_free_interrupter()
1845 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_remove_secondary_interrupter()
1868 void xhci_mem_cleanup(struct xhci_hcd *xhci) in xhci_mem_cleanup()
1967 static void xhci_set_hc_event_deq(struct xhci_hcd *xhci, struct xhci_interrupter *ir) in xhci_set_hc_event_deq()
1984 static void xhci_add_in_port(struct xhci_hcd *xhci, unsigned int num_ports, in xhci_add_in_port()
2119 static void xhci_create_rhub_port_array(struct xhci_hcd *xhci, in xhci_create_rhub_port_array()
2152 static int xhci_setup_port_arrays(struct xhci_hcd *xhci, gfp_t flags) in xhci_setup_port_arrays()
2257 xhci_alloc_interrupter(struct xhci_hcd *xhci, unsigned int segs, gfp_t flags) in xhci_alloc_interrupter()
2293 xhci_add_interrupter(struct xhci_hcd *xhci, struct xhci_interrupter *ir, in xhci_add_interrupter()
2338 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_create_secondary_interrupter()
2381 int xhci_mem_init(struct xhci_hcd *xhci, gfp_t flags) in xhci_mem_init()