Home
last modified time | relevance | path

Searched refs:ep0_ctx (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/usb/cdns3/
H A Dcdnsp-mem.c717 struct cdnsp_ep_ctx *ep0_ctx = pdev->eps[0].in_ctx; in cdnsp_copy_ep0_dequeue_into_input_ctx() local
722 ep0_ctx->deq = cpu_to_le64(dma | ep_ring->cycle_state); in cdnsp_copy_ep0_dequeue_into_input_ctx()
729 struct cdnsp_ep_ctx *ep0_ctx; in cdnsp_setup_addressable_priv_dev() local
732 ep0_ctx = cdnsp_get_ep_ctx(&pdev->in_ctx, 0); in cdnsp_setup_addressable_priv_dev()
764 ep0_ctx->tx_info = cpu_to_le32(EP_AVG_TRB_LENGTH(0x8)); in cdnsp_setup_addressable_priv_dev()
765 ep0_ctx->ep_info2 = cpu_to_le32(EP_TYPE(CTRL_EP)); in cdnsp_setup_addressable_priv_dev()
766 ep0_ctx->ep_info2 |= cpu_to_le32(MAX_BURST(0) | ERROR_COUNT(3) | in cdnsp_setup_addressable_priv_dev()
769 ep0_ctx->deq = cpu_to_le64(pdev->eps[0].ring->first_seg->dma | in cdnsp_setup_addressable_priv_dev()
/linux/drivers/usb/host/
H A Dxhci-mem.c1020 struct xhci_ep_ctx *ep0_ctx; in xhci_copy_ep0_dequeue_into_input_ctx() local
1024 ep0_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, 0); in xhci_copy_ep0_dequeue_into_input_ctx()
1033 ep0_ctx->deq = cpu_to_le64(xhci_trb_virt_to_dma(ep_ring->enq_seg, in xhci_copy_ep0_dequeue_into_input_ctx()
1071 struct xhci_ep_ctx *ep0_ctx; in xhci_setup_addressable_virt_dev() local
1082 ep0_ctx = xhci_get_ep_ctx(xhci, dev->in_ctx, 0); in xhci_setup_addressable_virt_dev()
1166 ep0_ctx->ep_info2 = cpu_to_le32(EP_TYPE(CTRL_EP)); in xhci_setup_addressable_virt_dev()
1169 ep0_ctx->ep_info2 |= cpu_to_le32(MAX_BURST(0) | ERROR_COUNT(3) | in xhci_setup_addressable_virt_dev()
1172 ep0_ctx->deq = cpu_to_le64(dev->eps[0].ring->first_seg->dma | in xhci_setup_addressable_virt_dev()