ep_index           63 drivers/usb/dwc2/gadget.c 						u32 ep_index, u32 dir_in)
ep_index           66 drivers/usb/dwc2/gadget.c 		return hsotg->eps_in[ep_index];
ep_index           68 drivers/usb/dwc2/gadget.c 		return hsotg->eps_out[ep_index];
ep_index         1701 drivers/usb/gadget/udc/fsl_qe_udc.c 	if (!_ep || (!ep->ep.desc && ep_index(ep))) {
ep_index         1741 drivers/usb/gadget/udc/fsl_qe_udc.c 	if (ep_index(ep) == 0 && req->req.length > 0) {
ep_index          154 drivers/usb/gadget/udc/fsl_qe_udc.h #define ep_is_in(EP)	((ep_index(EP) == 0) ? (EP->udc->ep0_dir == \
ep_index          602 drivers/usb/gadget/udc/fsl_udc_core.c 	struct_ep_qh_setup(udc, (unsigned char) ep_index(ep),
ep_index          610 drivers/usb/gadget/udc/fsl_udc_core.c 	dr_ep_setup((unsigned char) ep_index(ep),
ep_index          646 drivers/usb/gadget/udc/fsl_udc_core.c 	ep_num = ep_index(ep);
ep_index          718 drivers/usb/gadget/udc/fsl_udc_core.c 	fsl_writel(ep_is_in(ep) ? (1 << (ep_index(ep) + 16))
ep_index          719 drivers/usb/gadget/udc/fsl_udc_core.c 			: (1 << (ep_index(ep))), &dr_regs->endpointprime);
ep_index          731 drivers/usb/gadget/udc/fsl_udc_core.c 		? (1 << (ep_index(ep) + 16))
ep_index          732 drivers/usb/gadget/udc/fsl_udc_core.c 		: (1 << (ep_index(ep)));
ep_index          735 drivers/usb/gadget/udc/fsl_udc_core.c 	if (!(list_empty(&ep->queue)) && !(ep_index(ep) == 0)) {
ep_index          938 drivers/usb/gadget/udc/fsl_udc_core.c 	ep_num = ep_index(ep);
ep_index         1031 drivers/usb/gadget/udc/fsl_udc_core.c 	ep_num = (unsigned char)(ep_index(ep));
ep_index         1036 drivers/usb/gadget/udc/fsl_udc_core.c 	if (ep_index(ep) == 0) {
ep_index         1056 drivers/usb/gadget/udc/fsl_udc_core.c 	if (!_ep || (!ep->ep.desc && ep_index(ep) != 0))
ep_index         1066 drivers/usb/gadget/udc/fsl_udc_core.c 	bitmask = (ep_is_in(ep)) ? (1 << (ep_index(ep) + 16)) :
ep_index         1067 drivers/usb/gadget/udc/fsl_udc_core.c 	    (1 << (ep_index(ep)));
ep_index         1092 drivers/usb/gadget/udc/fsl_udc_core.c 	ep_num = ep_index(ep);
ep_index         1357 drivers/usb/gadget/udc/fsl_udc_core.c 		tmp = dr_ep_get_stall(ep_index(target_ep), ep_is_in(target_ep))
ep_index         2172 drivers/usb/gadget/udc/fsl_udc_core.c 			ep->ep.name, ep_maxpacket(ep), ep_index(ep));
ep_index         2191 drivers/usb/gadget/udc/fsl_udc_core.c 					ep_index(ep));
ep_index          572 drivers/usb/gadget/udc/fsl_usb2_udc.h #define ep_is_in(EP)	( (ep_index(EP) == 0) ? (EP->udc->ep0_dir == \
ep_index          579 drivers/usb/gadget/udc/fsl_usb2_udc.h #define get_pipe_by_ep(EP)	(ep_index(EP) * 2 + ep_is_in(EP))
ep_index          584 drivers/usb/gadget/udc/fsl_usb2_udc.h 	if (ep_index(ep) != 0)
ep_index          251 drivers/usb/gadget/udc/s3c-hsudc.c 	if (!ep_index(hsep)) {
ep_index          384 drivers/usb/gadget/udc/s3c-hsudc.c 	offset = (ep_index(hsep)) ? S3C_ESR : S3C_EP0SR;
ep_index          510 drivers/usb/gadget/udc/s3c-hsudc.c 	set_index(hsudc, ep_index(hsep));
ep_index          511 drivers/usb/gadget/udc/s3c-hsudc.c 	offset = (ep_index(hsep)) ? S3C_ECR : S3C_EP0CR;
ep_index          516 drivers/usb/gadget/udc/s3c-hsudc.c 		if (ep_index(hsep))
ep_index          783 drivers/usb/gadget/udc/s3c-hsudc.c 	__set_bit(ep_index(hsep), hsudc->regs + S3C_EIER);
ep_index          808 drivers/usb/gadget/udc/s3c-hsudc.c 	__clear_bit(ep_index(hsep), hsudc->regs + S3C_EIER);
ep_index          889 drivers/usb/gadget/udc/s3c-hsudc.c 	if (!ep_index(hsep) && _req->length == 0) {
ep_index          897 drivers/usb/gadget/udc/s3c-hsudc.c 		offset = (ep_index(hsep)) ? S3C_ESR : S3C_EP0SR;
ep_index          438 drivers/usb/host/xhci-debugfs.c 				  int ep_index)
ep_index          446 drivers/usb/host/xhci-debugfs.c 	if (spriv->eps[ep_index])
ep_index          453 drivers/usb/host/xhci-debugfs.c 	snprintf(epriv->name, sizeof(epriv->name), "ep%02d", ep_index);
ep_index          455 drivers/usb/host/xhci-debugfs.c 						   &dev->eps[ep_index].ring,
ep_index          458 drivers/usb/host/xhci-debugfs.c 	spriv->eps[ep_index] = epriv;
ep_index          463 drivers/usb/host/xhci-debugfs.c 				  int ep_index)
ep_index          468 drivers/usb/host/xhci-debugfs.c 	if (!spriv || !spriv->eps[ep_index])
ep_index          471 drivers/usb/host/xhci-debugfs.c 	epriv = spriv->eps[ep_index];
ep_index          473 drivers/usb/host/xhci-debugfs.c 	spriv->eps[ep_index] = NULL;
ep_index          112 drivers/usb/host/xhci-debugfs.h 				  int ep_index);
ep_index          115 drivers/usb/host/xhci-debugfs.h 				  int ep_index);
ep_index          126 drivers/usb/host/xhci-debugfs.h 			     int ep_index) { }
ep_index          130 drivers/usb/host/xhci-debugfs.h 			     int ep_index) { }
ep_index          404 drivers/usb/host/xhci-mem.c 		unsigned int ep_index)
ep_index          406 drivers/usb/host/xhci-mem.c 	xhci_ring_free(xhci, virt_dev->eps[ep_index].ring);
ep_index          407 drivers/usb/host/xhci-mem.c 	virt_dev->eps[ep_index].ring = NULL;
ep_index          516 drivers/usb/host/xhci-mem.c 				    unsigned int ep_index)
ep_index          519 drivers/usb/host/xhci-mem.c 	ep_index++;
ep_index          521 drivers/usb/host/xhci-mem.c 		ep_index++;
ep_index          524 drivers/usb/host/xhci-mem.c 		(ctx->bytes + (ep_index * CTX_SIZE(xhci->hcc_params)));
ep_index          588 drivers/usb/host/xhci-mem.c 		unsigned int ep_index,
ep_index          591 drivers/usb/host/xhci-mem.c 	struct xhci_virt_ep *ep = &dev->eps[ep_index];
ep_index         1427 drivers/usb/host/xhci-mem.c 	unsigned int ep_index;
ep_index         1440 drivers/usb/host/xhci-mem.c 	ep_index = xhci_get_endpoint_index(&ep->desc);
ep_index         1441 drivers/usb/host/xhci-mem.c 	ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index);
ep_index         1495 drivers/usb/host/xhci-mem.c 	virt_dev->eps[ep_index].new_ring =
ep_index         1497 drivers/usb/host/xhci-mem.c 	if (!virt_dev->eps[ep_index].new_ring)
ep_index         1500 drivers/usb/host/xhci-mem.c 	virt_dev->eps[ep_index].skip = false;
ep_index         1501 drivers/usb/host/xhci-mem.c 	ep_ring = virt_dev->eps[ep_index].new_ring;
ep_index         1524 drivers/usb/host/xhci-mem.c 	unsigned int ep_index;
ep_index         1527 drivers/usb/host/xhci-mem.c 	ep_index = xhci_get_endpoint_index(&ep->desc);
ep_index         1528 drivers/usb/host/xhci-mem.c 	ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index);
ep_index         1610 drivers/usb/host/xhci-mem.c 		unsigned int ep_index)
ep_index         1615 drivers/usb/host/xhci-mem.c 	out_ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index);
ep_index         1616 drivers/usb/host/xhci-mem.c 	in_ep_ctx = xhci_get_ep_ctx(xhci, in_ctx, ep_index);
ep_index          603 drivers/usb/host/xhci-mtk-sch.c 	unsigned int ep_index;
ep_index          609 drivers/usb/host/xhci-mtk-sch.c 	ep_index = xhci_get_endpoint_index(&ep->desc);
ep_index          611 drivers/usb/host/xhci-mtk-sch.c 	ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index);
ep_index          388 drivers/usb/host/xhci-ring.c 		unsigned int ep_index,
ep_index          392 drivers/usb/host/xhci-ring.c 	struct xhci_virt_ep *ep = &xhci->devs[slot_id]->eps[ep_index];
ep_index          404 drivers/usb/host/xhci-ring.c 	writel(DB_VALUE(ep_index, stream_id), db_addr);
ep_index          413 drivers/usb/host/xhci-ring.c 		unsigned int ep_index)
ep_index          418 drivers/usb/host/xhci-ring.c 	ep = &xhci->devs[slot_id]->eps[ep_index];
ep_index          423 drivers/usb/host/xhci-ring.c 			xhci_ring_ep_doorbell(xhci, slot_id, ep_index, 0);
ep_index          431 drivers/usb/host/xhci-ring.c 			xhci_ring_ep_doorbell(xhci, slot_id, ep_index,
ep_index          438 drivers/usb/host/xhci-ring.c 		unsigned int ep_index)
ep_index          440 drivers/usb/host/xhci-ring.c 	ring_doorbell_for_active_rings(xhci, slot_id, ep_index);
ep_index          448 drivers/usb/host/xhci-ring.c 		unsigned int slot_id, unsigned int ep_index,
ep_index          453 drivers/usb/host/xhci-ring.c 	ep = &xhci->devs[slot_id]->eps[ep_index];
ep_index          462 drivers/usb/host/xhci-ring.c 				slot_id, ep_index);
ep_index          473 drivers/usb/host/xhci-ring.c 			slot_id, ep_index,
ep_index          487 drivers/usb/host/xhci-ring.c 			   unsigned int ep_index, unsigned int stream_id)
ep_index          493 drivers/usb/host/xhci-ring.c 	ep = &vdev->eps[ep_index];
ep_index          499 drivers/usb/host/xhci-ring.c 	ep_ctx = xhci_get_ep_ctx(xhci, vdev->out_ctx, ep_index);
ep_index          522 drivers/usb/host/xhci-ring.c 		unsigned int slot_id, unsigned int ep_index,
ep_index          527 drivers/usb/host/xhci-ring.c 	struct xhci_virt_ep *ep = &dev->eps[ep_index];
ep_index          537 drivers/usb/host/xhci-ring.c 			ep_index, stream_id);
ep_index          565 drivers/usb/host/xhci-ring.c 	hw_dequeue = xhci_get_hw_deq(xhci, dev, ep_index, stream_id);
ep_index          720 drivers/usb/host/xhci-ring.c 	unsigned int ep_index;
ep_index          739 drivers/usb/host/xhci-ring.c 	ep_index = TRB_TO_EP_INDEX(le32_to_cpu(trb->generic.field[3]));
ep_index          742 drivers/usb/host/xhci-ring.c 	ep_ctx = xhci_get_ep_ctx(xhci, vdev->out_ctx, ep_index);
ep_index          745 drivers/usb/host/xhci-ring.c 	ep = &xhci->devs[slot_id]->eps[ep_index];
ep_index          751 drivers/usb/host/xhci-ring.c 		ring_doorbell_for_active_rings(xhci, slot_id, ep_index);
ep_index          788 drivers/usb/host/xhci-ring.c 		hw_deq = xhci_get_hw_deq(xhci, vdev, ep_index,
ep_index          794 drivers/usb/host/xhci-ring.c 			xhci_find_new_dequeue_state(xhci, slot_id, ep_index,
ep_index          814 drivers/usb/host/xhci-ring.c 		xhci_queue_new_dequeue_state(xhci, slot_id, ep_index,
ep_index          819 drivers/usb/host/xhci-ring.c 		ring_doorbell_for_active_rings(xhci, slot_id, ep_index);
ep_index          873 drivers/usb/host/xhci-ring.c 		int slot_id, int ep_index)
ep_index          880 drivers/usb/host/xhci-ring.c 	ep = &xhci->devs[slot_id]->eps[ep_index];
ep_index          893 drivers/usb/host/xhci-ring.c 					slot_id, ep_index, stream_id);
ep_index          902 drivers/usb/host/xhci-ring.c 				slot_id, ep_index);
ep_index         1003 drivers/usb/host/xhci-ring.c 		unsigned int ep_index)
ep_index         1023 drivers/usb/host/xhci-ring.c 	while (ep_ring->dequeue != dev->eps[ep_index].queued_deq_ptr) {
ep_index         1029 drivers/usb/host/xhci-ring.c 					dev->eps[ep_index].queued_deq_ptr)
ep_index         1056 drivers/usb/host/xhci-ring.c 	unsigned int ep_index;
ep_index         1064 drivers/usb/host/xhci-ring.c 	ep_index = TRB_TO_EP_INDEX(le32_to_cpu(trb->generic.field[3]));
ep_index         1067 drivers/usb/host/xhci-ring.c 	ep = &dev->eps[ep_index];
ep_index         1069 drivers/usb/host/xhci-ring.c 	ep_ring = xhci_stream_id_to_ring(dev, ep_index, stream_id);
ep_index         1077 drivers/usb/host/xhci-ring.c 	ep_ctx = xhci_get_ep_ctx(xhci, dev->out_ctx, ep_index);
ep_index         1132 drivers/usb/host/xhci-ring.c 				ep_ring, ep_index);
ep_index         1141 drivers/usb/host/xhci-ring.c 	dev->eps[ep_index].ep_state &= ~SET_DEQ_PENDING;
ep_index         1142 drivers/usb/host/xhci-ring.c 	dev->eps[ep_index].queued_deq_seg = NULL;
ep_index         1143 drivers/usb/host/xhci-ring.c 	dev->eps[ep_index].queued_deq_ptr = NULL;
ep_index         1145 drivers/usb/host/xhci-ring.c 	ring_doorbell_for_active_rings(xhci, slot_id, ep_index);
ep_index         1153 drivers/usb/host/xhci-ring.c 	unsigned int ep_index;
ep_index         1155 drivers/usb/host/xhci-ring.c 	ep_index = TRB_TO_EP_INDEX(le32_to_cpu(trb->generic.field[3]));
ep_index         1157 drivers/usb/host/xhci-ring.c 	ep_ctx = xhci_get_ep_ctx(xhci, vdev->out_ctx, ep_index);
ep_index         1185 drivers/usb/host/xhci-ring.c 		xhci->devs[slot_id]->eps[ep_index].ep_state &= ~EP_HALTED;
ep_index         1190 drivers/usb/host/xhci-ring.c 		ring_doorbell_for_active_rings(xhci, slot_id, ep_index);
ep_index         1226 drivers/usb/host/xhci-ring.c 	unsigned int ep_index;
ep_index         1248 drivers/usb/host/xhci-ring.c 	ep_index = xhci_last_valid_endpoint(add_flags) - 1;
ep_index         1250 drivers/usb/host/xhci-ring.c 	ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->out_ctx, ep_index);
ep_index         1260 drivers/usb/host/xhci-ring.c 			ep_index != (unsigned int) -1 &&
ep_index         1262 drivers/usb/host/xhci-ring.c 		ep_state = virt_dev->eps[ep_index].ep_state;
ep_index         1268 drivers/usb/host/xhci-ring.c 				ep_index, ep_state);
ep_index         1270 drivers/usb/host/xhci-ring.c 		virt_dev->eps[ep_index].ep_state &= ~EP_HALTED;
ep_index         1271 drivers/usb/host/xhci-ring.c 		ring_doorbell_for_active_rings(xhci, slot_id, ep_index);
ep_index         1845 drivers/usb/host/xhci-ring.c 		unsigned int slot_id, unsigned int ep_index,
ep_index         1849 drivers/usb/host/xhci-ring.c 	struct xhci_virt_ep *ep = &xhci->devs[slot_id]->eps[ep_index];
ep_index         1865 drivers/usb/host/xhci-ring.c 	xhci_queue_reset_ep(xhci, command, slot_id, ep_index, reset_type);
ep_index         1869 drivers/usb/host/xhci-ring.c 		xhci_cleanup_stalled_ring(xhci, slot_id, ep_index, stream_id,
ep_index         1970 drivers/usb/host/xhci-ring.c 	int ep_index;
ep_index         1974 drivers/usb/host/xhci-ring.c 	ep_index = TRB_TO_EP_ID(le32_to_cpu(event->flags)) - 1;
ep_index         1976 drivers/usb/host/xhci-ring.c 	ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index);
ep_index         2001 drivers/usb/host/xhci-ring.c 		if ((ep_index != 0) || (trb_comp_code != COMP_STALL_ERROR))
ep_index         2003 drivers/usb/host/xhci-ring.c 		xhci_cleanup_halted_endpoint(xhci, slot_id, ep_index,
ep_index         2039 drivers/usb/host/xhci-ring.c 	int ep_index;
ep_index         2048 drivers/usb/host/xhci-ring.c 	ep_index = TRB_TO_EP_ID(le32_to_cpu(event->flags)) - 1;
ep_index         2049 drivers/usb/host/xhci-ring.c 	ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index);
ep_index         2097 drivers/usb/host/xhci-ring.c 			 trb_comp_code, ep_index);
ep_index         2259 drivers/usb/host/xhci-ring.c 	int ep_index;
ep_index         2263 drivers/usb/host/xhci-ring.c 	ep_index = TRB_TO_EP_ID(le32_to_cpu(event->flags)) - 1;
ep_index         2301 drivers/usb/host/xhci-ring.c 		xhci_cleanup_halted_endpoint(xhci, slot_id, ep_index,
ep_index         2336 drivers/usb/host/xhci-ring.c 	int ep_index;
ep_index         2349 drivers/usb/host/xhci-ring.c 	ep_index = TRB_TO_EP_ID(le32_to_cpu(event->flags)) - 1;
ep_index         2360 drivers/usb/host/xhci-ring.c 	ep = &xdev->eps[ep_index];
ep_index         2362 drivers/usb/host/xhci-ring.c 	ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index);
ep_index         2367 drivers/usb/host/xhci-ring.c 			  slot_id, ep_index);
ep_index         2378 drivers/usb/host/xhci-ring.c 			xhci_cleanup_halted_endpoint(xhci, slot_id, ep_index, 0,
ep_index         2387 drivers/usb/host/xhci-ring.c 				 slot_id, ep_index);
ep_index         2412 drivers/usb/host/xhci-ring.c 					      slot_id, ep_index);
ep_index         2418 drivers/usb/host/xhci-ring.c 			 slot_id, ep_index);
ep_index         2423 drivers/usb/host/xhci-ring.c 			 slot_id, ep_index);
ep_index         2428 drivers/usb/host/xhci-ring.c 			 slot_id, ep_index);
ep_index         2433 drivers/usb/host/xhci-ring.c 			 ep_index);
ep_index         2440 drivers/usb/host/xhci-ring.c 			 slot_id, ep_index);
ep_index         2445 drivers/usb/host/xhci-ring.c 			 slot_id, ep_index);
ep_index         2452 drivers/usb/host/xhci-ring.c 			  slot_id, ep_index);
ep_index         2459 drivers/usb/host/xhci-ring.c 			  slot_id, ep_index);
ep_index         2465 drivers/usb/host/xhci-ring.c 			  slot_id, ep_index);
ep_index         2470 drivers/usb/host/xhci-ring.c 			  slot_id, ep_index);
ep_index         2483 drivers/usb/host/xhci-ring.c 				 ep_index);
ep_index         2491 drivers/usb/host/xhci-ring.c 				 ep_index);
ep_index         2503 drivers/usb/host/xhci-ring.c 			 slot_id, ep_index);
ep_index         2509 drivers/usb/host/xhci-ring.c 			 slot_id, ep_index);
ep_index         2516 drivers/usb/host/xhci-ring.c 			  slot_id, ep_index);
ep_index         2526 drivers/usb/host/xhci-ring.c 			  trb_comp_code, slot_id, ep_index);
ep_index         2548 drivers/usb/host/xhci-ring.c 						ep_index);
ep_index         2553 drivers/usb/host/xhci-ring.c 					 slot_id, ep_index);
ep_index         2559 drivers/usb/host/xhci-ring.c 							     ep_index,
ep_index         2571 drivers/usb/host/xhci-ring.c 				 slot_id, ep_index);
ep_index         2613 drivers/usb/host/xhci-ring.c 					"comp_code %u\n", ep_index,
ep_index         2632 drivers/usb/host/xhci-ring.c 				 slot_id, ep_index);
ep_index         2654 drivers/usb/host/xhci-ring.c 							     ep_index,
ep_index         3012 drivers/usb/host/xhci-ring.c 		unsigned int ep_index,
ep_index         3023 drivers/usb/host/xhci-ring.c 	struct xhci_ep_ctx *ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index);
ep_index         3025 drivers/usb/host/xhci-ring.c 	ep_ring = xhci_stream_id_to_ring(xdev, ep_index, stream_id);
ep_index         3117 drivers/usb/host/xhci-ring.c 		unsigned int ep_index, unsigned int stream_id, int start_cycle,
ep_index         3129 drivers/usb/host/xhci-ring.c 	xhci_ring_ep_doorbell(xhci, slot_id, ep_index, stream_id);
ep_index         3169 drivers/usb/host/xhci-ring.c 		struct urb *urb, int slot_id, unsigned int ep_index)
ep_index         3173 drivers/usb/host/xhci-ring.c 	ep_ctx = xhci_get_ep_ctx(xhci, xhci->devs[slot_id]->out_ctx, ep_index);
ep_index         3176 drivers/usb/host/xhci-ring.c 	return xhci_queue_bulk_tx(xhci, mem_flags, urb, slot_id, ep_index);
ep_index         3293 drivers/usb/host/xhci-ring.c 		struct urb *urb, int slot_id, unsigned int ep_index)
ep_index         3328 drivers/usb/host/xhci-ring.c 			ep_index, urb->stream_id,
ep_index         3437 drivers/usb/host/xhci-ring.c 				       ep_index, urb->stream_id,
ep_index         3445 drivers/usb/host/xhci-ring.c 	giveback_first_trb(xhci, slot_id, ep_index, urb->stream_id,
ep_index         3452 drivers/usb/host/xhci-ring.c 		struct urb *urb, int slot_id, unsigned int ep_index)
ep_index         3485 drivers/usb/host/xhci-ring.c 			ep_index, urb->stream_id,
ep_index         3578 drivers/usb/host/xhci-ring.c 	giveback_first_trb(xhci, slot_id, ep_index, 0,
ep_index         3729 drivers/usb/host/xhci-ring.c 		struct urb *urb, int slot_id, unsigned int ep_index)
ep_index         3746 drivers/usb/host/xhci-ring.c 	xep = &xhci->devs[slot_id]->eps[ep_index];
ep_index         3747 drivers/usb/host/xhci-ring.c 	ep_ring = xhci->devs[slot_id]->eps[ep_index].ring;
ep_index         3782 drivers/usb/host/xhci-ring.c 		ret = prepare_transfer(xhci, xhci->devs[slot_id], ep_index,
ep_index         3889 drivers/usb/host/xhci-ring.c 	giveback_first_trb(xhci, slot_id, ep_index, urb->stream_id,
ep_index         3924 drivers/usb/host/xhci-ring.c 		struct urb *urb, int slot_id, unsigned int ep_index)
ep_index         3936 drivers/usb/host/xhci-ring.c 	xep = &xhci->devs[slot_id]->eps[ep_index];
ep_index         3937 drivers/usb/host/xhci-ring.c 	ep_ring = xdev->eps[ep_index].ring;
ep_index         3938 drivers/usb/host/xhci-ring.c 	ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index);
ep_index         3995 drivers/usb/host/xhci-ring.c 	return xhci_queue_isoc_tx(xhci, mem_flags, urb, slot_id, ep_index);
ep_index         4108 drivers/usb/host/xhci-ring.c 			     int slot_id, unsigned int ep_index, int suspend)
ep_index         4111 drivers/usb/host/xhci-ring.c 	u32 trb_ep_index = EP_ID_FOR_TRB(ep_index);
ep_index         4121 drivers/usb/host/xhci-ring.c 		unsigned int slot_id, unsigned int ep_index,
ep_index         4126 drivers/usb/host/xhci-ring.c 	u32 trb_ep_index = EP_ID_FOR_TRB(ep_index);
ep_index         4151 drivers/usb/host/xhci-ring.c 	ep = &xhci->devs[slot_id]->eps[ep_index];
ep_index         4185 drivers/usb/host/xhci-ring.c 			int slot_id, unsigned int ep_index,
ep_index         4189 drivers/usb/host/xhci-ring.c 	u32 trb_ep_index = EP_ID_FOR_TRB(ep_index);
ep_index         1298 drivers/usb/host/xhci.c unsigned int xhci_get_endpoint_address(unsigned int ep_index)
ep_index         1300 drivers/usb/host/xhci.c 	unsigned int number = DIV_ROUND_UP(ep_index, 2);
ep_index         1301 drivers/usb/host/xhci.c 	unsigned int direction = ep_index % 2 ? USB_DIR_OUT : USB_DIR_IN;
ep_index         1318 drivers/usb/host/xhci.c static unsigned int xhci_get_endpoint_flag_from_index(unsigned int ep_index)
ep_index         1320 drivers/usb/host/xhci.c 	return 1 << (ep_index + 1);
ep_index         1385 drivers/usb/host/xhci.c 		unsigned int ep_index, struct urb *urb)
ep_index         1396 drivers/usb/host/xhci.c 	ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index);
ep_index         1430 drivers/usb/host/xhci.c 				xhci->devs[slot_id]->out_ctx, ep_index);
ep_index         1432 drivers/usb/host/xhci.c 		ep_ctx = xhci_get_ep_ctx(xhci, command->in_ctx, ep_index);
ep_index         1462 drivers/usb/host/xhci.c 	unsigned int slot_id, ep_index;
ep_index         1472 drivers/usb/host/xhci.c 	ep_index = xhci_get_endpoint_index(&urb->ep->desc);
ep_index         1473 drivers/usb/host/xhci.c 	ep_state = &xhci->devs[slot_id]->eps[ep_index].ep_state;
ep_index         1511 drivers/usb/host/xhci.c 					ep_index, urb);
ep_index         1544 drivers/usb/host/xhci.c 					 slot_id, ep_index);
ep_index         1548 drivers/usb/host/xhci.c 					 slot_id, ep_index);
ep_index         1552 drivers/usb/host/xhci.c 				slot_id, ep_index);
ep_index         1556 drivers/usb/host/xhci.c 				slot_id, ep_index);
ep_index         1607 drivers/usb/host/xhci.c 	unsigned int ep_index;
ep_index         1629 drivers/usb/host/xhci.c 	ep_index = xhci_get_endpoint_index(&urb->ep->desc);
ep_index         1630 drivers/usb/host/xhci.c 	ep = &vdev->eps[ep_index];
ep_index         1702 drivers/usb/host/xhci.c 					 ep_index, 0);
ep_index         1737 drivers/usb/host/xhci.c 	unsigned int ep_index;
ep_index         1767 drivers/usb/host/xhci.c 	ep_index = xhci_get_endpoint_index(&ep->desc);
ep_index         1768 drivers/usb/host/xhci.c 	ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index);
ep_index         1776 drivers/usb/host/xhci.c 		if (xhci->devs[udev->slot_id]->eps[ep_index].ring != NULL)
ep_index         1788 drivers/usb/host/xhci.c 	xhci_debugfs_remove_endpoint(xhci, xhci->devs[udev->slot_id], ep_index);
ep_index         1821 drivers/usb/host/xhci.c 	unsigned int ep_index;
ep_index         1859 drivers/usb/host/xhci.c 	ep_index = xhci_get_endpoint_index(&ep->desc);
ep_index         1863 drivers/usb/host/xhci.c 	if (virt_dev->eps[ep_index].ring &&
ep_index         1894 drivers/usb/host/xhci.c 			xhci_ring_free(xhci, virt_dev->eps[ep_index].new_ring);
ep_index         1895 drivers/usb/host/xhci.c 			virt_dev->eps[ep_index].new_ring = NULL;
ep_index         1914 drivers/usb/host/xhci.c 	ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index);
ep_index         1917 drivers/usb/host/xhci.c 	xhci_debugfs_create_endpoint(xhci, virt_dev, ep_index);
ep_index         2996 drivers/usb/host/xhci.c 		unsigned int slot_id, unsigned int ep_index,
ep_index         3014 drivers/usb/host/xhci.c 			xhci->devs[slot_id]->out_ctx, ep_index);
ep_index         3015 drivers/usb/host/xhci.c 	ep_ctx = xhci_get_ep_ctx(xhci, in_ctx, ep_index);
ep_index         3028 drivers/usb/host/xhci.c 	added_ctxs = xhci_get_endpoint_flag_from_index(ep_index);
ep_index         3035 drivers/usb/host/xhci.c 			       unsigned int ep_index, unsigned int stream_id,
ep_index         3045 drivers/usb/host/xhci.c 	xhci_find_new_dequeue_state(xhci, slot_id, ep_index, stream_id, td,
ep_index         3058 drivers/usb/host/xhci.c 				ep_index, &deq_state);
ep_index         3069 drivers/usb/host/xhci.c 				ep_index, &deq_state);
ep_index         3081 drivers/usb/host/xhci.c 	unsigned int		ep_index;
ep_index         3095 drivers/usb/host/xhci.c 	ep_index = xhci_get_endpoint_index(&host_ep->desc);
ep_index         3096 drivers/usb/host/xhci.c 	ep = &vdev->eps[ep_index];
ep_index         3136 drivers/usb/host/xhci.c 	unsigned int ep_index;
ep_index         3154 drivers/usb/host/xhci.c 	ep_index = xhci_get_endpoint_index(&host_ep->desc);
ep_index         3155 drivers/usb/host/xhci.c 	ep = &vdev->eps[ep_index];
ep_index         3201 drivers/usb/host/xhci.c 					ep_index, 0);
ep_index         3221 drivers/usb/host/xhci.c 	xhci_endpoint_copy(xhci, cfg_cmd->in_ctx, vdev->out_ctx, ep_index);
ep_index         3249 drivers/usb/host/xhci.c 	unsigned int ep_index;
ep_index         3264 drivers/usb/host/xhci.c 	ep_index = xhci_get_endpoint_index(&ep->desc);
ep_index         3265 drivers/usb/host/xhci.c 	ep_state = xhci->devs[slot_id]->eps[ep_index].ep_state;
ep_index         3275 drivers/usb/host/xhci.c 	if (!list_empty(&xhci->devs[slot_id]->eps[ep_index].ring->td_list)) {
ep_index         3348 drivers/usb/host/xhci.c 	unsigned int ep_index;
ep_index         3357 drivers/usb/host/xhci.c 		ep_index = xhci_get_endpoint_index(&eps[i]->desc);
ep_index         3358 drivers/usb/host/xhci.c 		ep_state = xhci->devs[slot_id]->eps[ep_index].ep_state;
ep_index         3408 drivers/usb/host/xhci.c 	unsigned int ep_index;
ep_index         3468 drivers/usb/host/xhci.c 		ep_index = xhci_get_endpoint_index(&eps[i]->desc);
ep_index         3469 drivers/usb/host/xhci.c 		vdev->eps[ep_index].ep_state |= EP_GETTING_STREAMS;
ep_index         3482 drivers/usb/host/xhci.c 		ep_index = xhci_get_endpoint_index(&eps[i]->desc);
ep_index         3484 drivers/usb/host/xhci.c 		vdev->eps[ep_index].stream_info = xhci_alloc_stream_info(xhci,
ep_index         3488 drivers/usb/host/xhci.c 		if (!vdev->eps[ep_index].stream_info)
ep_index         3499 drivers/usb/host/xhci.c 		ep_index = xhci_get_endpoint_index(&eps[i]->desc);
ep_index         3500 drivers/usb/host/xhci.c 		ep_ctx = xhci_get_ep_ctx(xhci, config_cmd->in_ctx, ep_index);
ep_index         3503 drivers/usb/host/xhci.c 				vdev->out_ctx, ep_index);
ep_index         3505 drivers/usb/host/xhci.c 				vdev->eps[ep_index].stream_info);
ep_index         3527 drivers/usb/host/xhci.c 		ep_index = xhci_get_endpoint_index(&eps[i]->desc);
ep_index         3528 drivers/usb/host/xhci.c 		vdev->eps[ep_index].ep_state &= ~EP_GETTING_STREAMS;
ep_index         3530 drivers/usb/host/xhci.c 			 udev->slot_id, ep_index);
ep_index         3531 drivers/usb/host/xhci.c 		vdev->eps[ep_index].ep_state |= EP_HAS_STREAMS;
ep_index         3542 drivers/usb/host/xhci.c 		ep_index = xhci_get_endpoint_index(&eps[i]->desc);
ep_index         3543 drivers/usb/host/xhci.c 		xhci_free_stream_info(xhci, vdev->eps[ep_index].stream_info);
ep_index         3544 drivers/usb/host/xhci.c 		vdev->eps[ep_index].stream_info = NULL;
ep_index         3548 drivers/usb/host/xhci.c 		vdev->eps[ep_index].ep_state &= ~EP_GETTING_STREAMS;
ep_index         3549 drivers/usb/host/xhci.c 		vdev->eps[ep_index].ep_state &= ~EP_HAS_STREAMS;
ep_index         3571 drivers/usb/host/xhci.c 	unsigned int ep_index;
ep_index         3591 drivers/usb/host/xhci.c 	ep_index = xhci_get_endpoint_index(&eps[0]->desc);
ep_index         3592 drivers/usb/host/xhci.c 	command = vdev->eps[ep_index].stream_info->free_streams_command;
ep_index         3604 drivers/usb/host/xhci.c 		ep_index = xhci_get_endpoint_index(&eps[i]->desc);
ep_index         3605 drivers/usb/host/xhci.c 		ep_ctx = xhci_get_ep_ctx(xhci, command->in_ctx, ep_index);
ep_index         3606 drivers/usb/host/xhci.c 		xhci->devs[udev->slot_id]->eps[ep_index].ep_state |=
ep_index         3610 drivers/usb/host/xhci.c 				vdev->out_ctx, ep_index);
ep_index         3612 drivers/usb/host/xhci.c 				&vdev->eps[ep_index]);
ep_index         3633 drivers/usb/host/xhci.c 		ep_index = xhci_get_endpoint_index(&eps[i]->desc);
ep_index         3634 drivers/usb/host/xhci.c 		xhci_free_stream_info(xhci, vdev->eps[ep_index].stream_info);
ep_index         3635 drivers/usb/host/xhci.c 		vdev->eps[ep_index].stream_info = NULL;
ep_index         3639 drivers/usb/host/xhci.c 		vdev->eps[ep_index].ep_state &= ~EP_GETTING_NO_STREAMS;
ep_index         3640 drivers/usb/host/xhci.c 		vdev->eps[ep_index].ep_state &= ~EP_HAS_STREAMS;
ep_index         5279 drivers/usb/host/xhci.c 	unsigned int ep_index;
ep_index         5287 drivers/usb/host/xhci.c 	ep_index = xhci_get_endpoint_index(&ep->desc);
ep_index         5289 drivers/usb/host/xhci.c 	xhci->devs[slot_id]->eps[ep_index].ep_state &= ~EP_CLEARING_TT;
ep_index         5290 drivers/usb/host/xhci.c 	xhci_ring_doorbell_for_active_rings(xhci, slot_id, ep_index);
ep_index         1986 drivers/usb/host/xhci.h unsigned int xhci_get_endpoint_address(unsigned int ep_index);
ep_index         2000 drivers/usb/host/xhci.h 		unsigned int ep_index);
ep_index         2020 drivers/usb/host/xhci.h 		unsigned int ep_index);
ep_index         2039 drivers/usb/host/xhci.h 		unsigned int ep_index,
ep_index         2093 drivers/usb/host/xhci.h 		int slot_id, unsigned int ep_index, int suspend);
ep_index         2095 drivers/usb/host/xhci.h 		int slot_id, unsigned int ep_index);
ep_index         2097 drivers/usb/host/xhci.h 		int slot_id, unsigned int ep_index);
ep_index         2099 drivers/usb/host/xhci.h 		int slot_id, unsigned int ep_index);
ep_index         2101 drivers/usb/host/xhci.h 		struct urb *urb, int slot_id, unsigned int ep_index);
ep_index         2108 drivers/usb/host/xhci.h 		int slot_id, unsigned int ep_index,
ep_index         2113 drivers/usb/host/xhci.h 		unsigned int slot_id, unsigned int ep_index,
ep_index         2117 drivers/usb/host/xhci.h 		unsigned int slot_id, unsigned int ep_index,
ep_index         2120 drivers/usb/host/xhci.h 			       unsigned int ep_index, unsigned int stream_id,
ep_index         2126 drivers/usb/host/xhci.h 		unsigned int ep_index, unsigned int stream_id);
ep_index         2129 drivers/usb/host/xhci.h 		unsigned int ep_index);
ep_index         2165 drivers/usb/host/xhci.h struct xhci_ep_ctx *xhci_get_ep_ctx(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx, unsigned int ep_index);
ep_index         2168 drivers/usb/host/xhci.h 		unsigned int slot_id, unsigned int ep_index,