Searched refs:ep_index (Results 1 - 11 of 11) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/host/
H A Dxhci-ring.c326 unsigned int ep_index,
334 ep = &xhci->devs[slot_id]->eps[ep_index];
339 field |= EPI_TO_DB(ep_index) | STREAM_ID_TO_DB(stream_id);
347 unsigned int ep_index,
350 ring_ep_doorbell(xhci, slot_id, ep_index, stream_id);
357 unsigned int ep_index)
362 ep = &xhci->devs[slot_id]->eps[ep_index];
367 ring_ep_doorbell(xhci, slot_id, ep_index, 0);
375 ring_ep_doorbell(xhci, slot_id, ep_index, stream_id);
408 unsigned int slot_id, unsigned int ep_index,
324 ring_ep_doorbell(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, unsigned int stream_id) argument
345 xhci_ring_ep_doorbell(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, unsigned int stream_id) argument
355 ring_doorbell_for_active_rings(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index) argument
407 xhci_triad_to_transfer_ring(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, unsigned int stream_id) argument
464 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
566 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
643 unsigned int ep_index; local
881 unsigned int ep_index; local
955 unsigned int ep_index; local
1018 unsigned int ep_index; local
1232 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
1304 int ep_index; local
1406 int ep_index; local
1724 int ep_index; local
2218 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
2332 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, struct xhci_td *td) argument
2351 xhci_queue_intr_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, int slot_id, unsigned int ep_index) argument
2439 queue_bulk_sg_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, int slot_id, unsigned int ep_index) argument
2615 xhci_queue_bulk_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, int slot_id, unsigned int ep_index) argument
2772 xhci_queue_ctrl_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, int slot_id, unsigned int ep_index) argument
2905 xhci_queue_isoc_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, int slot_id, unsigned int ep_index) argument
3036 xhci_queue_isoc_tx_prepare(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, int slot_id, unsigned int ep_index) argument
3199 xhci_queue_stop_endpoint(struct xhci_hcd *xhci, int slot_id, unsigned int ep_index) argument
3213 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
3236 xhci_queue_reset_ep(struct xhci_hcd *xhci, int slot_id, unsigned int ep_index) argument
[all...]
H A Dxhci.c646 unsigned int xhci_get_endpoint_flag_from_index(unsigned int ep_index) argument
648 return 1 << (ep_index + 1);
696 unsigned int ep_index, struct urb *urb)
707 ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index);
720 xhci->devs[slot_id]->out_ctx, ep_index);
722 ep_ctx = xhci_get_ep_ctx(xhci, in_ctx, ep_index);
732 xhci_dbg_ctx(xhci, in_ctx, ep_index);
734 xhci_dbg_ctx(xhci, out_ctx, ep_index);
756 unsigned int slot_id, ep_index; local
764 ep_index
695 xhci_check_maxpacket(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, struct urb *urb) argument
877 unsigned int ep_index; local
949 unsigned int ep_index; local
1041 unsigned int ep_index; local
1125 unsigned int ep_index; local
1501 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
1531 xhci_cleanup_stalled_ring(struct xhci_hcd *xhci, struct usb_device *udev, unsigned int ep_index) argument
1572 unsigned int ep_index; local
1623 unsigned int ep_index; local
1723 unsigned int ep_index; local
1782 unsigned int ep_index; local
1921 unsigned int ep_index; local
[all...]
H A Dxhci.h898 /* Stop Endpoint TRB - ep_index to endpoint ID for this TRB */
1343 unsigned int slot_id, unsigned int ep_index,
1356 unsigned int xhci_get_endpoint_flag_from_index(unsigned int ep_index);
1362 unsigned int ep_index);
1372 unsigned int ep_index);
1389 unsigned int ep_index,
1449 unsigned int ep_index);
1451 int slot_id, unsigned int ep_index);
1453 int slot_id, unsigned int ep_index);
1455 int slot_id, unsigned int ep_index);
[all...]
H A Dxhci-mem.c203 unsigned int ep_index)
212 virt_dev->eps[ep_index].ring;
218 xhci_ring_free(xhci, virt_dev->eps[ep_index].ring);
223 virt_dev->eps[ep_index].ring = NULL;
295 unsigned int ep_index)
298 ep_index++;
300 ep_index++;
303 (ctx->bytes + (ep_index * CTX_SIZE(xhci->hcc_params)));
378 unsigned int ep_index,
381 struct xhci_virt_ep *ep = &dev->eps[ep_index];
201 xhci_free_or_cache_endpoint_ring(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, unsigned int ep_index) argument
293 xhci_get_ep_ctx(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx, unsigned int ep_index) argument
376 xhci_stream_id_to_ring( struct xhci_virt_device *dev, unsigned int ep_index, unsigned int stream_id) argument
1050 unsigned int ep_index; local
1166 unsigned int ep_index; local
1185 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-dbg.c345 unsigned int slot_id, unsigned int ep_index,
355 slot_id, ep_index, i);
363 slot_id, ep_index);
344 xhci_dbg_ep_rings(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, struct xhci_virt_ep *ep) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/gadget/
H A Dlh7a40x_udc.c534 pio_irq_disable(ep_index(ep));
539 DEBUG("Hmm.. %d ep FIFO is not empty!\n", ep_index(ep));
602 pio_irq_disable(ep_index(ep));
708 pio_irq_disable(ep_index(ep));
1063 usb_set_index(ep_index(ep));
1069 pio_irq_disable(ep_index(ep));
1150 DEBUG("Add to %d Q %d %d\n", ep_index(ep), list_empty(&ep->queue),
1155 if (unlikely(ep_index(ep) == 0)) {
1162 usb_set_index(ep_index(ep));
1164 pio_irq_enable(ep_index(e
[all...]
H A Dfsl_usb2_udc.h528 #define ep_index(EP) ((EP)->desc->bEndpointAddress&0xF) macro
530 #define ep_is_in(EP) ( (ep_index(EP) == 0) ? (EP->udc->ep0_dir == \
537 #define get_pipe_by_ep(EP) (ep_index(EP) * 2 + ep_is_in(EP))
H A Dfsl_udc_core.c509 struct_ep_qh_setup(udc, (unsigned char) ep_index(ep),
517 dr_ep_setup((unsigned char) ep_index(ep),
553 ep_num = ep_index(ep);
608 int i = ep_index(ep) * 2 + ep_is_in(ep);
616 ? (1 << (ep_index(ep) + 16))
617 : (1 << (ep_index(ep)));
662 ? (1 << (ep_index(ep) + 16))
663 : (1 << (ep_index(ep)));
831 if ((ep_index(ep) == 0))
859 ep_num = ep_index(e
[all...]
H A Dlh7a40x_udc.h256 #define ep_index(EP) ((EP)->bEndpointAddress&0xF) macro
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_qe_udc.c1701 if (!_ep || (!ep->desc && ep_index(ep))) {
1741 if (ep_index(ep) == 0 && req->req.length > 0) {

Completed in 206 milliseconds