Searched refs:max_packet_size (Results 1 - 12 of 12) sorted by relevance

/fuchsia/zircon/system/dev/usb/dwc3/
H A Ddwc3-commands.c35 unsigned max_packet_size, unsigned interval, bool modify) {
38 uint32_t param0 = DEPCFG_FIFO_NUM(fifo_num) | DEPCFG_MAX_PACKET_SIZE(max_packet_size)
34 dwc3_cmd_ep_set_config(dwc3_t* dwc, unsigned ep_num, unsigned ep_type, unsigned max_packet_size, unsigned interval, bool modify) argument
H A Ddwc3.h67 uint16_t max_packet_size; member in struct:__anon505
128 unsigned max_packet_size, unsigned interval, bool modify);
H A Ddwc3-endpoints.c137 bool send_zlp = req->header.send_zlp && (req->header.length % ep->max_packet_size) == 0;
168 ep->max_packet_size = usb_ep_max_packet(ep_desc);
207 if (req->header.length == 0 || req->header.length % ep->max_packet_size != 0) {
237 dwc3_cmd_ep_set_config(dwc, ep_num, ep->type, ep->max_packet_size, ep->interval, false);
248 dwc3_cmd_ep_set_config(dwc, EP0_IN, USB_ENDPOINT_CONTROL, dwc->eps[EP0_IN].max_packet_size, 0,
H A Ddwc3-ep0.c33 ep->max_packet_size = EP0_MAX_PACKET_SIZE;
H A Ddwc3.c251 dwc->eps[EP0_OUT].max_packet_size = ep0_max_packet;
252 dwc->eps[EP0_IN].max_packet_size = ep0_max_packet;
/fuchsia/zircon/third_party/ulib/usb-dwc-regs/include/dwc2/
H A Dusb_dwc_regs.h461 uint32_t max_packet_size : 11; /* Bits 0-10 */ member in struct:dwc_regs::dwc_host_channel::dwc_host_channel_characteristics::__anon1932
/fuchsia/zircon/system/dev/usb/dwc2/
H A Ddwc2.c1182 characteristics.max_packet_size = ep->desc.wMaxPacketSize;
1277 if (transfer.size > characteristics.max_packet_size) {
1278 transfer.size = characteristics.max_packet_size;
1294 DIV_ROUND_UP(transfer.size, characteristics.max_packet_size);
1299 transfer.size % characteristics.max_packet_size == 0) {
1372 uint32_t max_packet_size = characteristics.max_packet_size; local
1379 bytes_transferred += max_packet_size * (packets_transferred - 1);
1382 (req->total_bytes_queued % max_packet_size != 0 ||
1386 bytes_transferred += max_packet_size;
[all...]
/fuchsia/zircon/system/dev/usb/xhci/
H A Dxhci-device-manager.c604 ep->max_packet_size = usb_ep_max_packet(ep_desc);
629 int max_packet_size = usb_ep_max_packet(ep_desc); local
642 int avg_trb_length = max_packet_size * max_burst;
646 max_esit_payload = max_packet_size * max_burst;
670 max_packet_size);
H A Dxhci.h65 uint16_t max_packet_size; member in struct:__anon549
H A Dxhci-transfer.c181 xhci_transfer_state_init(state, req, ep->ep_type, ep->max_packet_size);
/fuchsia/zircon/system/dev/usb/usb-hub/
H A Dusb-hub.c449 uint16_t max_packet_size = usb_ep_max_packet(endp); local
466 status = usb_req_alloc(&usb, &req, max_packet_size, ep_addr);
/fuchsia/zircon/system/dev/ethernet/usb-cdc-ecm/
H A Dusb-cdc-ecm.c39 uint16_t max_packet_size; member in struct:__anon353
505 ep_info->max_packet_size = desc->wMaxPacketSize;
665 ecm_ctx->int_endpoint.max_packet_size,

Completed in 56 milliseconds