• Home
  • Raw
  • Download

Lines Matching refs:xhci_hcd

958 	struct xhci_hcd		*xhci;
1766 struct xhci_hcd { struct
1978 static inline struct xhci_hcd *hcd_to_xhci(struct usb_hcd *hcd) in hcd_to_xhci()
1987 return (struct xhci_hcd *) (primary_hcd->hcd_priv); in hcd_to_xhci()
1990 static inline struct usb_hcd *xhci_to_hcd(struct xhci_hcd *xhci) in xhci_to_hcd()
2015 static inline u64 xhci_read_64(const struct xhci_hcd *xhci, in xhci_read_64()
2020 static inline void xhci_write_64(struct xhci_hcd *xhci, in xhci_write_64()
2026 static inline int xhci_link_trb_quirk(struct xhci_hcd *xhci) in xhci_link_trb_quirk()
2032 char *xhci_get_slot_state(struct xhci_hcd *xhci,
2034 void xhci_dbg_trace(struct xhci_hcd *xhci, void (*trace)(struct va_format *),
2038 void xhci_mem_cleanup(struct xhci_hcd *xhci);
2039 int xhci_mem_init(struct xhci_hcd *xhci, gfp_t flags);
2040 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id);
2041 int xhci_alloc_virt_device(struct xhci_hcd *xhci, int slot_id, struct usb_device *udev, gfp_t flags…
2042 int xhci_setup_addressable_virt_dev(struct xhci_hcd *xhci, struct usb_device *udev);
2043 void xhci_copy_ep0_dequeue_into_input_ctx(struct xhci_hcd *xhci,
2048 void xhci_endpoint_zero(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, struct usb_host_e…
2049 void xhci_update_tt_active_eps(struct xhci_hcd *xhci,
2053 void xhci_update_bw_info(struct xhci_hcd *xhci,
2057 void xhci_endpoint_copy(struct xhci_hcd *xhci,
2061 void xhci_slot_copy(struct xhci_hcd *xhci,
2064 int xhci_endpoint_init(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev,
2067 struct xhci_ring *xhci_ring_alloc(struct xhci_hcd *xhci,
2070 void xhci_ring_free(struct xhci_hcd *xhci, struct xhci_ring *ring);
2071 int xhci_ring_expansion(struct xhci_hcd *xhci, struct xhci_ring *ring,
2073 int xhci_alloc_erst(struct xhci_hcd *xhci,
2079 void xhci_free_erst(struct xhci_hcd *xhci, struct xhci_erst *erst);
2080 void xhci_free_endpoint_ring(struct xhci_hcd *xhci,
2083 struct xhci_stream_info *xhci_alloc_stream_info(struct xhci_hcd *xhci,
2087 void xhci_free_stream_info(struct xhci_hcd *xhci,
2089 void xhci_setup_streams_ep_input_ctx(struct xhci_hcd *xhci,
2094 void xhci_free_device_endpoint_resources(struct xhci_hcd *xhci,
2099 struct xhci_command *xhci_alloc_command(struct xhci_hcd *xhci,
2101 struct xhci_command *xhci_alloc_command_with_ctx(struct xhci_hcd *xhci,
2104 void xhci_free_command(struct xhci_hcd *xhci,
2106 struct xhci_container_ctx *xhci_alloc_container_ctx(struct xhci_hcd *xhci,
2108 void xhci_free_container_ctx(struct xhci_hcd *xhci,
2112 typedef void (*xhci_get_quirks_t)(struct device *, struct xhci_hcd *);
2114 void xhci_quiesce(struct xhci_hcd *xhci);
2115 int xhci_halt(struct xhci_hcd *xhci);
2116 int xhci_start(struct xhci_hcd *xhci);
2117 int xhci_reset(struct xhci_hcd *xhci, u64 timeout_us);
2131 int xhci_disable_slot(struct xhci_hcd *xhci, u32 slot_id);
2132 int xhci_ext_cap_init(struct xhci_hcd *xhci);
2134 int xhci_suspend(struct xhci_hcd *xhci, bool do_wakeup);
2135 int xhci_resume(struct xhci_hcd *xhci, bool hibernated);
2140 int xhci_alloc_tt_info(struct xhci_hcd *xhci,
2147 struct xhci_segment *trb_in_td(struct xhci_hcd *xhci,
2150 int xhci_is_vendor_info_code(struct xhci_hcd *xhci, unsigned int trb_comp_code);
2151 void xhci_ring_cmd_db(struct xhci_hcd *xhci);
2152 int xhci_queue_slot_control(struct xhci_hcd *xhci, struct xhci_command *cmd,
2154 int xhci_queue_address_device(struct xhci_hcd *xhci, struct xhci_command *cmd,
2156 int xhci_queue_vendor_command(struct xhci_hcd *xhci, struct xhci_command *cmd,
2158 int xhci_queue_stop_endpoint(struct xhci_hcd *xhci, struct xhci_command *cmd,
2160 int xhci_queue_ctrl_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb,
2162 int xhci_queue_bulk_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb,
2164 int xhci_queue_intr_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb,
2166 int xhci_queue_isoc_tx_prepare(struct xhci_hcd *xhci, gfp_t mem_flags,
2168 int xhci_queue_configure_endpoint(struct xhci_hcd *xhci,
2171 int xhci_queue_evaluate_context(struct xhci_hcd *xhci, struct xhci_command *cmd,
2173 int xhci_queue_reset_ep(struct xhci_hcd *xhci, struct xhci_command *cmd,
2176 int xhci_queue_reset_device(struct xhci_hcd *xhci, struct xhci_command *cmd,
2178 void xhci_cleanup_stalled_ring(struct xhci_hcd *xhci, unsigned int slot_id,
2184 void xhci_ring_ep_doorbell(struct xhci_hcd *xhci, unsigned int slot_id,
2186 void xhci_ring_doorbell_for_active_rings(struct xhci_hcd *xhci,
2189 void xhci_cleanup_command_queue(struct xhci_hcd *xhci);
2190 void inc_deq(struct xhci_hcd *xhci, struct xhci_ring *ring);
2194 void xhci_set_link_state(struct xhci_hcd *xhci, struct xhci_port *port,
2196 void xhci_test_and_clear_bit(struct xhci_hcd *xhci, struct xhci_port *port,
2204 void xhci_hc_died(struct xhci_hcd *xhci);
2217 int xhci_find_slot_id_by_port(struct usb_hcd *hcd, struct xhci_hcd *xhci,
2219 void xhci_ring_device(struct xhci_hcd *xhci, int slot_id);
2223 struct xhci_slot_ctx *xhci_get_slot_ctx(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx);
2224 struct xhci_ep_ctx *xhci_get_ep_ctx(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx, unsigned…
2226 struct xhci_ring *xhci_triad_to_transfer_ring(struct xhci_hcd *xhci,
2230 static inline struct xhci_ring *xhci_urb_to_transfer_ring(struct xhci_hcd *xhci, in xhci_urb_to_transfer_ring()