Home
last modified time | relevance | path

Searched refs:ep_ring (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-6.6/drivers/usb/cdns3/
H A Dcdnsp-ring.c368 struct cdnsp_ring *ep_ring; in cdnsp_ring_doorbell_for_active_rings() local
373 ep_ring = cdnsp_get_transfer_ring(pdev, pep, stream_id); in cdnsp_ring_doorbell_for_active_rings()
374 if (!ep_ring) in cdnsp_ring_doorbell_for_active_rings()
377 if (!ep_ring->stream_active || ep_ring->stream_rejected) in cdnsp_ring_doorbell_for_active_rings()
380 list_for_each_entry_safe(td, td_temp, &ep_ring->td_list, in cdnsp_ring_doorbell_for_active_rings()
438 struct cdnsp_ring *ep_ring; in cdnsp_find_new_dequeue_state() local
443 ep_ring = cdnsp_get_transfer_ring(pdev, pep, stream_id); in cdnsp_find_new_dequeue_state()
444 if (!ep_ring) in cdnsp_find_new_dequeue_state()
452 new_seg = ep_ring in cdnsp_find_new_dequeue_state()
503 cdnsp_td_to_noop(struct cdnsp_device *pdev, struct cdnsp_ring *ep_ring, struct cdnsp_td *td, bool flip_cycle) cdnsp_td_to_noop() argument
638 struct cdnsp_ring *ep_ring; cdnsp_cmd_set_deq() local
696 struct cdnsp_ring *ep_ring; cdnsp_remove_request() local
889 cdnsp_td_cleanup(struct cdnsp_device *pdev, struct cdnsp_td *td, struct cdnsp_ring *ep_ring, int *status) cdnsp_td_cleanup() argument
921 struct cdnsp_ring *ep_ring; cdnsp_finish_td() local
999 struct cdnsp_ring *ep_ring; cdnsp_process_ctrl_td() local
1050 struct cdnsp_ring *ep_ring; cdnsp_process_isoc_td() local
1110 struct cdnsp_ring *ep_ring; cdnsp_skip_isoc_td() local
1136 struct cdnsp_ring *ep_ring; cdnsp_process_bulk_intr_td() local
1177 struct cdnsp_ring *ep_ring; cdnsp_handle_tx_nrdy() local
1231 struct cdnsp_ring *ep_ring; cdnsp_handle_tx_event() local
1623 cdnsp_prepare_ring(struct cdnsp_device *pdev, struct cdnsp_ring *ep_ring, u32 ep_state, unsigned int num_trbs, gfp_t mem_flags) cdnsp_prepare_ring() argument
1675 struct cdnsp_ring *ep_ring; cdnsp_prepare_transfer() local
2016 struct cdnsp_ring *ep_ring; cdnsp_queue_ctrl_tx() local
2209 struct cdnsp_ring *ep_ring; cdnsp_queue_isoc_tx() local
[all...]
H A Dcdnsp-mem.c718 struct cdnsp_ring *ep_ring = pdev->eps[0].ring; in cdnsp_copy_ep0_dequeue_into_input_ctx() local
721 dma = cdnsp_trb_virt_to_dma(ep_ring->enq_seg, ep_ring->enqueue); in cdnsp_copy_ep0_dequeue_into_input_ctx()
722 ep0_ctx->deq = cpu_to_le64(dma | ep_ring->cycle_state); in cdnsp_copy_ep0_dequeue_into_input_ctx()
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci-ring.c570 struct xhci_ring *ep_ring; in xhci_find_new_dequeue_state() local
581 ep_ring = xhci_triad_to_transfer_ring(xhci, slot_id, in xhci_find_new_dequeue_state()
583 if (!ep_ring) { in xhci_find_new_dequeue_state()
595 if (list_empty(&ep_ring->td_list)) { in xhci_find_new_dequeue_state()
596 state->new_deq_seg = ep_ring->enq_seg; in xhci_find_new_dequeue_state()
597 state->new_deq_ptr = ep_ring->enqueue; in xhci_find_new_dequeue_state()
598 state->new_cycle_state = ep_ring->cycle_state; in xhci_find_new_dequeue_state()
611 new_seg = ep_ring->deq_seg; in xhci_find_new_dequeue_state()
612 new_deq = ep_ring->dequeue; in xhci_find_new_dequeue_state()
657 next_trb(xhci, ep_ring, in xhci_find_new_dequeue_state()
690 td_to_noop(struct xhci_hcd *xhci, struct xhci_ring *ep_ring, struct xhci_td *td, bool flip_cycle) td_to_noop() argument
776 xhci_td_cleanup(struct xhci_hcd *xhci, struct xhci_td *td, struct xhci_ring *ep_ring, int status) xhci_td_cleanup() argument
937 struct xhci_ring *ep_ring; xhci_handle_cmd_stop_ep() local
1173 update_ring_for_set_deq_completion(struct xhci_hcd *xhci, struct xhci_virt_device *dev, struct xhci_ring *ep_ring, unsigned int ep_index) update_ring_for_set_deq_completion() argument
1231 struct xhci_ring *ep_ring; xhci_handle_cmd_set_deq() local
2062 finish_td(struct xhci_hcd *xhci, struct xhci_virt_ep *ep, struct xhci_ring *ep_ring, struct xhci_td *td, u32 trb_comp_code) finish_td() argument
2126 process_ctrl_td(struct xhci_hcd *xhci, struct xhci_virt_ep *ep, struct xhci_ring *ep_ring, struct xhci_td *td, union xhci_trb *ep_trb, struct xhci_transfer_event *event) process_ctrl_td() argument
2222 process_isoc_td(struct xhci_hcd *xhci, struct xhci_virt_ep *ep, struct xhci_ring *ep_ring, struct xhci_td *td, union xhci_trb *ep_trb, struct xhci_transfer_event *event) process_isoc_td() argument
2352 process_bulk_intr_td(struct xhci_hcd *xhci, struct xhci_virt_ep *ep, struct xhci_ring *ep_ring, struct xhci_td *td, union xhci_trb *ep_trb, struct xhci_transfer_event *event) process_bulk_intr_td() argument
2434 struct xhci_ring *ep_ring; handle_tx_event() local
3077 prepare_ring(struct xhci_hcd *xhci, struct xhci_ring *ep_ring, u32 ep_state, unsigned int num_trbs, gfp_t mem_flags) prepare_ring() argument
3167 struct xhci_ring *ep_ring; prepare_transfer() local
3605 struct xhci_ring *ep_ring; xhci_queue_ctrl_tx() local
3902 struct xhci_ring *ep_ring; xhci_queue_isoc_tx() local
4096 struct xhci_ring *ep_ring; xhci_queue_isoc_tx_prepare() local
[all...]
H A Dxhci-mem.c1068 struct xhci_ring *ep_ring; in xhci_copy_ep0_dequeue_into_input_ctx() local
1072 ep_ring = virt_dev->eps[0].ring; in xhci_copy_ep0_dequeue_into_input_ctx()
1080 ep0_ctx->deq = cpu_to_le64(xhci_trb_virt_to_dma(ep_ring->enq_seg, in xhci_copy_ep0_dequeue_into_input_ctx()
1081 ep_ring->enqueue) in xhci_copy_ep0_dequeue_into_input_ctx()
1082 | ep_ring->cycle_state); in xhci_copy_ep0_dequeue_into_input_ctx()
1451 struct xhci_ring *ep_ring; in xhci_endpoint_init() local
1523 ep_ring = virt_dev->eps[ep_index].new_ring; in xhci_endpoint_init()
1533 ep_ctx->deq = cpu_to_le64(ep_ring->first_seg->dma | in xhci_endpoint_init()
1534 ep_ring->cycle_state); in xhci_endpoint_init()
H A Dxhci.c1658 struct xhci_ring *ep_ring; in xhci_urb_dequeue() local
1681 ep_ring = xhci_urb_to_transfer_ring(xhci, urb); in xhci_urb_dequeue()
1682 if (!ep || !ep_ring) in xhci_urb_dequeue()
1697 if (!td_on_ring(&urb_priv->td[0], ep_ring)) { in xhci_urb_dequeue()
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dxhci-ring.c626 struct xhci_ring *ep_ring; in xhci_move_dequeue_past_td() local
638 ep_ring = xhci_triad_to_transfer_ring(xhci, slot_id, in xhci_move_dequeue_past_td()
640 if (!ep_ring) { in xhci_move_dequeue_past_td()
653 if (list_empty(&ep_ring->td_list)) { in xhci_move_dequeue_past_td()
654 new_seg = ep_ring->enq_seg; in xhci_move_dequeue_past_td()
655 new_deq = ep_ring->enqueue; in xhci_move_dequeue_past_td()
656 new_cycle = ep_ring->cycle_state; in xhci_move_dequeue_past_td()
666 new_seg = ep_ring->deq_seg; in xhci_move_dequeue_past_td()
667 new_deq = ep_ring->dequeue; in xhci_move_dequeue_past_td()
690 next_trb(xhci, ep_ring, in xhci_move_dequeue_past_td()
754 td_to_noop(struct xhci_hcd *xhci, struct xhci_ring *ep_ring, struct xhci_td *td, bool flip_cycle) td_to_noop() argument
832 xhci_td_cleanup(struct xhci_hcd *xhci, struct xhci_td *td, struct xhci_ring *ep_ring, int status) xhci_td_cleanup() argument
1276 update_ring_for_set_deq_completion(struct xhci_hcd *xhci, struct xhci_virt_device *dev, struct xhci_ring *ep_ring, unsigned int ep_index) update_ring_for_set_deq_completion() argument
1325 struct xhci_ring *ep_ring; xhci_handle_cmd_set_deq() local
2160 finish_td(struct xhci_hcd *xhci, struct xhci_virt_ep *ep, struct xhci_ring *ep_ring, struct xhci_td *td, u32 trb_comp_code) finish_td() argument
2259 process_ctrl_td(struct xhci_hcd *xhci, struct xhci_virt_ep *ep, struct xhci_ring *ep_ring, struct xhci_td *td, union xhci_trb *ep_trb, struct xhci_transfer_event *event) process_ctrl_td() argument
2355 process_isoc_td(struct xhci_hcd *xhci, struct xhci_virt_ep *ep, struct xhci_ring *ep_ring, struct xhci_td *td, union xhci_trb *ep_trb, struct xhci_transfer_event *event) process_isoc_td() argument
2484 process_bulk_intr_td(struct xhci_hcd *xhci, struct xhci_virt_ep *ep, struct xhci_ring *ep_ring, struct xhci_td *td, union xhci_trb *ep_trb, struct xhci_transfer_event *event) process_bulk_intr_td() argument
2565 struct xhci_ring *ep_ring; handle_tx_event() local
3215 prepare_ring(struct xhci_hcd *xhci, struct xhci_ring *ep_ring, u32 ep_state, unsigned int num_trbs, gfp_t mem_flags) prepare_ring() argument
3316 struct xhci_ring *ep_ring; prepare_transfer() local
3755 struct xhci_ring *ep_ring; xhci_queue_ctrl_tx() local
4052 struct xhci_ring *ep_ring; xhci_queue_isoc_tx() local
4245 struct xhci_ring *ep_ring; xhci_queue_isoc_tx_prepare() local
[all...]
H A Dxhci-mem.c1022 struct xhci_ring *ep_ring; in xhci_copy_ep0_dequeue_into_input_ctx() local
1026 ep_ring = virt_dev->eps[0].ring; in xhci_copy_ep0_dequeue_into_input_ctx()
1034 ep0_ctx->deq = cpu_to_le64(xhci_trb_virt_to_dma(ep_ring->enq_seg, in xhci_copy_ep0_dequeue_into_input_ctx()
1035 ep_ring->enqueue) in xhci_copy_ep0_dequeue_into_input_ctx()
1036 | ep_ring->cycle_state); in xhci_copy_ep0_dequeue_into_input_ctx()
1402 struct xhci_ring *ep_ring; in xhci_endpoint_init() local
1474 ep_ring = virt_dev->eps[ep_index].new_ring; in xhci_endpoint_init()
1484 ep_ctx->deq = cpu_to_le64(ep_ring->first_seg->dma | in xhci_endpoint_init()
1485 ep_ring->cycle_state); in xhci_endpoint_init()
H A Dxhci.c1645 struct xhci_ring *ep_ring; in xhci_urb_dequeue() local
1668 ep_ring = xhci_urb_to_transfer_ring(xhci, urb); in xhci_urb_dequeue()
1669 if (!ep || !ep_ring) in xhci_urb_dequeue()
1684 if (!td_on_ring(&urb_priv->td[0], ep_ring)) { in xhci_urb_dequeue()

Completed in 32 milliseconds