Lines Matching refs:ctrl
1238 struct xhci_slot_ctx *xhci_get_slot_ctx(struct xhci_ctrl *ctrl,
1240 struct xhci_ep_ctx *xhci_get_ep_ctx(struct xhci_ctrl *ctrl,
1243 void xhci_endpoint_copy(struct xhci_ctrl *ctrl,
1247 void xhci_slot_copy(struct xhci_ctrl *ctrl,
1250 void xhci_setup_addressable_virt_dev(struct xhci_ctrl *ctrl,
1252 void xhci_queue_command(struct xhci_ctrl *ctrl, dma_addr_t addr,
1254 void xhci_acknowledge_event(struct xhci_ctrl *ctrl);
1255 union xhci_trb *xhci_wait_for_event(struct xhci_ctrl *ctrl, trb_type expected);
1263 void xhci_cleanup(struct xhci_ctrl *ctrl);
1264 struct xhci_ring *xhci_ring_alloc(struct xhci_ctrl *ctrl, unsigned int num_segs,
1266 int xhci_alloc_virt_device(struct xhci_ctrl *ctrl, unsigned int slot_id);
1267 int xhci_mem_init(struct xhci_ctrl *ctrl, struct xhci_hccr *hccr,
1293 static inline dma_addr_t xhci_dma_map(struct xhci_ctrl *ctrl, void *addr, in xhci_dma_map() argument
1297 return dev_iommu_dma_map(xhci_to_dev(ctrl), addr, size); in xhci_dma_map()
1299 return dev_phys_to_bus(xhci_to_dev(ctrl), virt_to_phys(addr)); in xhci_dma_map()
1303 static inline void xhci_dma_unmap(struct xhci_ctrl *ctrl, dma_addr_t addr, in xhci_dma_unmap() argument
1307 dev_iommu_dma_unmap(xhci_to_dev(ctrl), addr, size); in xhci_dma_unmap()