H A D | xhci-mem.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * xHCI host controller driver 16 #include <linux/dma-mapping.h> 18 #include "xhci.h" 19 #include "xhci-trace.h" 20 #include "xhci-debugf 29 xhci_segment_alloc(struct xhci_hcd * xhci,unsigned int cycle_state,unsigned int max_packet,gfp_t flags) xhci_segment_alloc() argument 69 xhci_segment_free(struct xhci_hcd * xhci,struct xhci_segment * seg) xhci_segment_free() argument 79 xhci_free_segments_for_ring(struct xhci_hcd * xhci,struct xhci_segment * first) xhci_free_segments_for_ring() argument 127 xhci_link_rings(struct xhci_hcd * xhci,struct xhci_ring * ring,struct xhci_segment * first,struct xhci_segment * last,unsigned int num_segs) xhci_link_rings() argument 280 xhci_ring_free(struct xhci_hcd * xhci,struct xhci_ring * ring) xhci_ring_free() argument 321 xhci_alloc_segments_for_ring(struct xhci_hcd * xhci,struct xhci_segment ** first,struct xhci_segment ** last,unsigned int num_segs,unsigned int cycle_state,enum xhci_ring_type type,unsigned int max_packet,gfp_t flags) xhci_alloc_segments_for_ring() argument 371 xhci_ring_alloc(struct xhci_hcd * xhci,unsigned int num_segs,unsigned int cycle_state,enum xhci_ring_type type,unsigned int max_packet,gfp_t flags) xhci_ring_alloc() argument 411 xhci_free_endpoint_ring(struct xhci_hcd * xhci,struct xhci_virt_device * virt_dev,unsigned int ep_index) xhci_free_endpoint_ring() argument 423 xhci_ring_expansion(struct xhci_hcd * xhci,struct xhci_ring * ring,unsigned int num_new_segs,gfp_t flags) xhci_ring_expansion() argument 460 xhci_alloc_container_ctx(struct xhci_hcd * xhci,int type,gfp_t flags) xhci_alloc_container_ctx() argument 486 xhci_free_container_ctx(struct xhci_hcd * xhci,struct xhci_container_ctx * ctx) xhci_free_container_ctx() argument 504 xhci_get_slot_ctx(struct xhci_hcd * xhci,struct xhci_container_ctx * ctx) xhci_get_slot_ctx() argument 514 xhci_get_ep_ctx(struct xhci_hcd * xhci,struct xhci_container_ctx * ctx,unsigned int ep_index) xhci_get_ep_ctx() argument 530 xhci_free_stream_ctx(struct xhci_hcd * xhci,unsigned int num_stream_ctxs,struct xhci_stream_ctx * stream_ctx,dma_addr_t dma) xhci_free_stream_ctx() argument 555 xhci_alloc_stream_ctx(struct xhci_hcd * xhci,unsigned int num_stream_ctxs,dma_addr_t * dma,gfp_t mem_flags) xhci_alloc_stream_ctx() argument 589 xhci_alloc_stream_info(struct xhci_hcd * xhci,unsigned int num_stream_ctxs,unsigned int num_streams,unsigned int max_packet,gfp_t mem_flags) xhci_alloc_stream_info() argument 703 xhci_setup_streams_ep_input_ctx(struct xhci_hcd * xhci,struct xhci_ep_ctx * ep_ctx,struct xhci_stream_info * stream_info) xhci_setup_streams_ep_input_ctx() argument 740 xhci_free_stream_info(struct xhci_hcd * xhci,struct xhci_stream_info * stream_info) xhci_free_stream_info() argument 772 xhci_free_tt_info(struct xhci_hcd * xhci,struct xhci_virt_device * virt_dev,int slot_id) xhci_free_tt_info() argument 802 xhci_alloc_tt_info(struct xhci_hcd * xhci,struct xhci_virt_device * virt_dev,struct usb_device * hdev,struct usb_tt * tt,gfp_t mem_flags) xhci_alloc_tt_info() argument 847 xhci_free_virt_device(struct xhci_hcd * xhci,int slot_id) xhci_free_virt_device() argument 910 xhci_free_virt_devices_depth_first(struct xhci_hcd * xhci,int slot_id) xhci_free_virt_devices_depth_first() argument 946 xhci_alloc_virt_device(struct xhci_hcd * xhci,int slot_id,struct usb_device * udev,gfp_t flags) xhci_alloc_virt_device() argument 1017 xhci_copy_ep0_dequeue_into_input_ctx(struct xhci_hcd * xhci,struct usb_device * udev) xhci_copy_ep0_dequeue_into_input_ctx() argument 1049 xhci_find_real_port_number(struct xhci_hcd * xhci,struct usb_device * udev) xhci_find_real_port_number() argument 1068 xhci_setup_addressable_virt_dev(struct xhci_hcd * xhci,struct usb_device * udev) xhci_setup_addressable_virt_dev() argument 1394 xhci_endpoint_init(struct xhci_hcd * xhci,struct xhci_virt_device * virt_dev,struct usb_device * udev,struct usb_host_endpoint * ep,gfp_t mem_flags) xhci_endpoint_init() argument 1493 xhci_endpoint_zero(struct xhci_hcd * xhci,struct xhci_virt_device * virt_dev,struct usb_host_endpoint * ep) xhci_endpoint_zero() argument 1522 xhci_update_bw_info(struct xhci_hcd * xhci,struct xhci_container_ctx * in_ctx,struct xhci_input_control_ctx * ctrl_ctx,struct xhci_virt_device * virt_dev) xhci_update_bw_info() argument 1580 xhci_endpoint_copy(struct xhci_hcd * xhci,struct xhci_container_ctx * in_ctx,struct xhci_container_ctx * out_ctx,unsigned int ep_index) xhci_endpoint_copy() argument 1606 xhci_slot_copy(struct xhci_hcd * xhci,struct xhci_container_ctx * in_ctx,struct xhci_container_ctx * out_ctx) xhci_slot_copy() argument 1623 scratchpad_alloc(struct xhci_hcd * xhci,gfp_t flags) scratchpad_alloc() argument 1686 scratchpad_free(struct xhci_hcd * xhci) scratchpad_free() argument 1710 xhci_alloc_command(struct xhci_hcd * xhci,bool allocate_completion,gfp_t mem_flags) xhci_alloc_command() argument 1738 xhci_alloc_command_with_ctx(struct xhci_hcd * xhci,bool allocate_completion,gfp_t mem_flags) xhci_alloc_command_with_ctx() argument 1762 xhci_free_command(struct xhci_hcd * xhci,struct xhci_command * command) xhci_free_command() argument 1771 xhci_alloc_erst(struct xhci_hcd * xhci,struct xhci_ring * evt_ring,struct xhci_erst * erst,gfp_t flags) xhci_alloc_erst() argument 1802 xhci_free_interrupter(struct xhci_hcd * xhci,struct xhci_interrupter * ir) xhci_free_interrupter() argument 1842 xhci_mem_cleanup(struct xhci_hcd * xhci) xhci_mem_cleanup() argument 1936 xhci_set_hc_event_deq(struct xhci_hcd * xhci,struct xhci_interrupter * ir) xhci_set_hc_event_deq() argument 1958 xhci_add_in_port(struct xhci_hcd * xhci,unsigned int num_ports,__le32 __iomem * addr,int max_caps) xhci_add_in_port() argument 2096 xhci_create_rhub_port_array(struct xhci_hcd * xhci,struct xhci_hub * rhub,gfp_t flags) xhci_create_rhub_port_array() argument 2129 xhci_setup_port_arrays(struct xhci_hcd * xhci,gfp_t flags) xhci_setup_port_arrays() argument 2239 xhci_alloc_interrupter(struct xhci_hcd * xhci,gfp_t flags) xhci_alloc_interrupter() argument 2269 xhci_add_interrupter(struct xhci_hcd * xhci,struct xhci_interrupter * ir,unsigned int intr_num) xhci_add_interrupter() argument 2303 xhci_mem_init(struct xhci_hcd * xhci,gfp_t flags) xhci_mem_init() argument [all...] |