Home
last modified time | relevance | path

Searched refs:maxp (Results 1 – 7 of 7) sorted by relevance

/u-boot/drivers/usb/mtu3/
A Dmtu3_gadget_ep0.c536 u32 maxp; in ep0_rx_state() local
561 maxp = mtu->g.ep0->maxpacket; in ep0_rx_state()
562 if (count < maxp || req->actual == req->length) { in ep0_rx_state()
591 u32 maxp; in ep0_tx_state() local
598 maxp = mtu->g.ep0->maxpacket; in ep0_tx_state()
603 count = min(maxp, req->length - req->actual); in ep0_tx_state()
608 __func__, req->actual, req->length, count, maxp, req->zero); in ep0_tx_state()
612 if ((count < maxp) || in ep0_tx_state()
A Dmtu3_core.c313 fifo_addr = ep_fifo_alloc(mep, mep->maxp); in mtu3_config_ep()
315 dev_err(mtu->dev, "alloc ep fifo failed(%d)\n", mep->maxp); in mtu3_config_ep()
323 csr0 = TX_TXMAXPKTSZ(mep->maxp); in mtu3_config_ep()
359 csr0 = RX_RXMAXPKTSZ(mep->maxp); in mtu3_config_ep()
A Dmtu3_gadget.c72 mep->maxp = max_packet & GENMASK(10, 0); in mtu3_ep_enable()
101 __func__, mep->maxp, interval, burst, mult); in mtu3_ep_enable()
103 mep->ep.maxpacket = mep->maxp; in mtu3_ep_enable()
A Dmtu3.h258 u16 maxp; member
/u-boot/drivers/usb/dwc3/
A Dep0.c778 unsigned maxp; in dwc3_ep0_complete_data() local
813 maxp = ep0->endpoint.maxpacket; in dwc3_ep0_complete_data()
821 transfer_size = (ur->length / maxp) * maxp; in dwc3_ep0_complete_data()
834 maxp); in dwc3_ep0_complete_data()
/u-boot/include/linux/usb/
A Dch9.h643 int maxp = __le16_to_cpu(epd->wMaxPacketSize); in usb_endpoint_maxp_mult() local
645 return USB_EP_MAXP_MULT(maxp) + 1; in usb_endpoint_maxp_mult()
/u-boot/drivers/usb/host/
A Dxhci-ring.c334 int maxp, bool more_trbs_coming) in xhci_td_remainder() argument
351 total_packet_count = DIV_ROUND_UP(td_total_len, maxp); in xhci_td_remainder()
354 return (total_packet_count - ((transferred + trb_buff_len) / maxp)); in xhci_td_remainder()

Completed in 26 milliseconds