Home
last modified time | relevance | path

Searched refs:ep_info2 (Results 1 – 16 of 16) sorted by relevance

/openbmc/u-boot/drivers/usb/host/
H A Dxhci-mem.c680 in_ep_ctx->ep_info2 = out_ep_ctx->ep_info2; in xhci_endpoint_copy()
821 ep0_ctx->ep_info2 = cpu_to_le32(CTRL_EP << EP_TYPE_SHIFT); in xhci_setup_addressable_virt_dev()
826 ep0_ctx->ep_info2 |= cpu_to_le32(((512 & MAX_PACKET_MASK) << in xhci_setup_addressable_virt_dev()
833 ep0_ctx->ep_info2 |= cpu_to_le32(((64 & MAX_PACKET_MASK) << in xhci_setup_addressable_virt_dev()
838 ep0_ctx->ep_info2 |= cpu_to_le32(((8 & MAX_PACKET_MASK) << in xhci_setup_addressable_virt_dev()
848 ep0_ctx->ep_info2 |= in xhci_setup_addressable_virt_dev()
H A Dxhci.c585 ep_ctx[ep_index]->ep_info2 = in xhci_set_configuration()
587 ep_ctx[ep_index]->ep_info2 |= in xhci_set_configuration()
594 ep_ctx[ep_index]->ep_info2 |= in xhci_set_configuration()
777 hw_max_packet_size = MAX_PACKET_DECODED(le32_to_cpu(ep_ctx->ep_info2)); in xhci_check_maxpacket()
790 ep_ctx->ep_info2 &= cpu_to_le32(~((0xffff & MAX_PACKET_MASK) in xhci_check_maxpacket()
792 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); in xhci_check_maxpacket()
H A Dxhci.h592 __le32 ep_info2; member
/openbmc/linux/drivers/usb/early/
H A Dxhci-dbc.h76 __le32 ep_info2; member
H A Dxhci-dbc.c325 ep_out->ep_info2 = cpu_to_le32(EP_TYPE(BULK_OUT_EP) | MAX_PACKET(1024) | MAX_BURST(max_burst)); in xdbc_mem_init()
332 ep_in->ep_info2 = cpu_to_le32(EP_TYPE(BULK_IN_EP) | MAX_PACKET(1024) | MAX_BURST(max_burst)); in xdbc_mem_init()
/openbmc/linux/drivers/usb/host/
H A Dxhci-mtk-sch.c283 ep_type = CTX_TO_EP_TYPE(le32_to_cpu(ep_ctx->ep_info2)); in setup_sch_info()
284 maxpkt = MAX_PACKET_DECODED(le32_to_cpu(ep_ctx->ep_info2)); in setup_sch_info()
285 max_burst = CTX_TO_MAX_BURST(le32_to_cpu(ep_ctx->ep_info2)); in setup_sch_info()
H A Dxhci-mem.c1171 ep0_ctx->ep_info2 = cpu_to_le32(EP_TYPE(CTRL_EP)); in xhci_setup_addressable_virt_dev()
1174 ep0_ctx->ep_info2 |= cpu_to_le32(MAX_BURST(0) | ERROR_COUNT(3) | in xhci_setup_addressable_virt_dev()
1480 ep_ctx->ep_info2 = cpu_to_le32(EP_TYPE(endpoint_type) | in xhci_endpoint_init()
1504 ep_ctx->ep_info2 = 0; in xhci_endpoint_zero()
1548 ep_type = CTX_TO_EP_TYPE(le32_to_cpu(ep_ctx->ep_info2)); in xhci_update_bw_info()
1566 le32_to_cpu(ep_ctx->ep_info2)) + 1; in xhci_update_bw_info()
1568 le32_to_cpu(ep_ctx->ep_info2)); in xhci_update_bw_info()
1592 in_ep_ctx->ep_info2 = out_ep_ctx->ep_info2; in xhci_endpoint_copy()
H A Dxhci-dbgcap.c114 ep_ctx->ep_info2 = dbc_epctx_info2(BULK_OUT_EP, 1024, max_burst); in xhci_dbc_init_contexts()
121 ep_ctx->ep_info2 = dbc_epctx_info2(BULK_IN_EP, 1024, max_burst); in xhci_dbc_init_contexts()
H A Dxhci-trace.h323 __entry->info2 = le32_to_cpu(ctx->ep_info2);
H A Dxhci-debugfs.c297 le32_to_cpu(ep_ctx->ep_info2), in xhci_endpoint_context_show()
H A Dxhci.c1443 hw_max_packet_size = MAX_PACKET_DECODED(le32_to_cpu(ep_ctx->ep_info2)); in xhci_check_maxpacket()
1480 ep_ctx->ep_info2 &= cpu_to_le32(~MAX_PACKET_MASK); in xhci_check_maxpacket()
1481 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); in xhci_check_maxpacket()
2005 ep_ctx->ep_info2 = 0; in xhci_zero_in_ctx()
H A Dxhci.h439 * @ep_info2: information on endpoint type, max packet size, max burst size,
456 __le32 ep_info2; member
498 /* ep_info2 bitmasks */
/openbmc/linux/drivers/usb/cdns3/
H A Dcdnsp-mem.c765 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()
998 ep_ctx->ep_info2 = cpu_to_le32(EP_TYPE(endpoint_type) | in cdnsp_endpoint_init()
1020 pep->in_ctx->ep_info2 = 0; in cdnsp_endpoint_zero()
H A Dcdnsp-gadget.h641 __le32 ep_info2; member
H A Dcdnsp-trace.h548 __entry->info2 = le32_to_cpu(ctx->ep_info2);
H A Dcdnsp-gadget.c464 ep_ctx->ep_info2 = 0; in cdnsp_zero_in_ctx()