Searched defs:ep_index (Results 1 - 7 of 7) sorted by relevance

/drivers/usb/host/
H A Dxhci-dbg.c370 unsigned int slot_id, unsigned int ep_index,
380 slot_id, ep_index, i);
388 slot_id, ep_index);
369 xhci_dbg_ep_rings(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, struct xhci_virt_ep *ep) argument
H A Dxhci-mem.c267 unsigned int ep_index)
274 virt_dev->eps[ep_index].ring;
281 xhci_ring_free(xhci, virt_dev->eps[ep_index].ring);
286 virt_dev->eps[ep_index].ring = NULL;
399 unsigned int ep_index)
402 ep_index++;
404 ep_index++;
407 (ctx->bytes + (ep_index * CTX_SIZE(xhci->hcc_params)));
482 unsigned int ep_index,
485 struct xhci_virt_ep *ep = &dev->eps[ep_index];
265 xhci_free_or_cache_endpoint_ring(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, unsigned int ep_index) argument
397 xhci_get_ep_ctx(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx, unsigned int ep_index) argument
480 xhci_stream_id_to_ring( struct xhci_virt_device *dev, unsigned int ep_index, unsigned int stream_id) argument
1393 unsigned int ep_index; local
1501 unsigned int ep_index; local
1584 xhci_endpoint_copy(struct xhci_hcd *xhci, struct xhci_container_ctx *in_ctx, struct xhci_container_ctx *out_ctx, unsigned int ep_index) argument
[all...]
H A Dxhci-ring.c283 unsigned int ep_index,
287 struct xhci_virt_ep *ep = &xhci->devs[slot_id]->eps[ep_index];
300 xhci_writel(xhci, DB_VALUE(ep_index, stream_id), db_addr);
309 unsigned int ep_index)
314 ep = &xhci->devs[slot_id]->eps[ep_index];
319 xhci_ring_ep_doorbell(xhci, slot_id, ep_index, 0);
327 xhci_ring_ep_doorbell(xhci, slot_id, ep_index,
359 unsigned int slot_id, unsigned int ep_index,
364 ep = &xhci->devs[slot_id]->eps[ep_index];
373 slot_id, ep_index);
281 xhci_ring_ep_doorbell(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, unsigned int stream_id) argument
307 ring_doorbell_for_active_rings(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index) argument
358 xhci_triad_to_transfer_ring(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, unsigned int stream_id) argument
419 xhci_find_new_dequeue_state(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, unsigned int stream_id, struct xhci_td *cur_td, struct xhci_dequeue_state *state) argument
549 xhci_queue_new_dequeue_state(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, unsigned int stream_id, struct xhci_dequeue_state *deq_state) argument
632 unsigned int ep_index; local
876 update_ring_for_set_deq_completion(struct xhci_hcd *xhci, struct xhci_virt_device *dev, struct xhci_ring *ep_ring, unsigned int ep_index) argument
935 unsigned int ep_index; local
1027 unsigned int ep_index; local
1089 unsigned int ep_index; local
1501 xhci_cleanup_halted_endpoint(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, unsigned int stream_id, struct xhci_td *td, union xhci_trb *event_trb) argument
1574 int ep_index; local
1685 int ep_index; local
2003 int ep_index; local
2610 prepare_transfer(struct xhci_hcd *xhci, struct xhci_virt_device *xdev, unsigned int ep_index, unsigned int stream_id, unsigned int num_trbs, struct urb *urb, unsigned int td_index, gfp_t mem_flags) argument
2710 giveback_first_trb(struct xhci_hcd *xhci, int slot_id, unsigned int ep_index, unsigned int stream_id, int start_cycle, struct xhci_generic_trb *start_trb) argument
2732 xhci_queue_intr_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, int slot_id, unsigned int ep_index) argument
2815 queue_bulk_sg_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, int slot_id, unsigned int ep_index) argument
2970 xhci_queue_bulk_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, int slot_id, unsigned int ep_index) argument
3108 xhci_queue_ctrl_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, int slot_id, unsigned int ep_index) argument
3299 xhci_queue_isoc_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, int slot_id, unsigned int ep_index) argument
3481 xhci_queue_isoc_tx_prepare(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, int slot_id, unsigned int ep_index) argument
3635 xhci_queue_stop_endpoint(struct xhci_hcd *xhci, int slot_id, unsigned int ep_index, int suspend) argument
3650 queue_set_tr_deq(struct xhci_hcd *xhci, int slot_id, unsigned int ep_index, unsigned int stream_id, struct xhci_segment *deq_seg, union xhci_trb *deq_ptr, u32 cycle_state) argument
3682 xhci_queue_reset_ep(struct xhci_hcd *xhci, int slot_id, unsigned int ep_index) argument
[all...]
H A Dxhci.c977 unsigned int xhci_get_endpoint_flag_from_index(unsigned int ep_index) argument
979 return 1 << (ep_index + 1);
1046 unsigned int ep_index, struct urb *urb)
1057 ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index);
1070 xhci->devs[slot_id]->out_ctx, ep_index);
1072 ep_ctx = xhci_get_ep_ctx(xhci, in_ctx, ep_index);
1085 xhci_dbg_ctx(xhci, in_ctx, ep_index);
1087 xhci_dbg_ctx(xhci, out_ctx, ep_index);
1110 unsigned int slot_id, ep_index; local
1119 ep_index
1045 xhci_check_maxpacket(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, struct urb *urb) argument
1241 unsigned int ep_index; local
1313 unsigned int ep_index; local
1416 unsigned int ep_index; local
1499 unsigned int ep_index; local
2617 xhci_setup_input_ctx_for_quirk(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, struct xhci_dequeue_state *deq_state) argument
2647 xhci_cleanup_stalled_ring(struct xhci_hcd *xhci, struct usb_device *udev, unsigned int ep_index) argument
2693 unsigned int ep_index; local
2744 unsigned int ep_index; local
2843 unsigned int ep_index; local
2902 unsigned int ep_index; local
3047 unsigned int ep_index; local
[all...]
/drivers/usb/gadget/
H A Ds3c-hsudc.c162 #define ep_index(_ep) ((_ep)->bEndpointAddress & \ macro
256 if (!ep_index(hsep)) {
391 offset = (ep_index(hsep)) ? S3C_ESR : S3C_EP0SR;
517 set_index(hsudc, ep_index(hsep));
518 offset = (ep_index(hsep)) ? S3C_ECR : S3C_EP0CR;
523 if (ep_index(hsep))
790 __set_bit(ep_index(hsep), hsudc->regs + S3C_EIER);
815 __clear_bit(ep_index(hsep), hsudc->regs + S3C_EIER);
897 if (!ep_index(hsep) && _req->length == 0) {
905 offset = (ep_index(hse
[all...]
H A Dfsl_qe_udc.h156 #define ep_index(EP) ((EP)->desc->bEndpointAddress & 0xF) macro
158 #define ep_is_in(EP) ((ep_index(EP) == 0) ? (EP->udc->ep0_dir == \
H A Dfsl_usb2_udc.h561 #define ep_index(EP) ((EP)->desc->bEndpointAddress&0xF) macro
563 #define ep_is_in(EP) ( (ep_index(EP) == 0) ? (EP->udc->ep0_dir == \
570 #define get_pipe_by_ep(EP) (ep_index(EP) * 2 + ep_is_in(EP))
575 if (ep_index(ep) != 0)

Completed in 101 milliseconds