| /freebsd-12-stable/sys/dev/usb/ |
| D | usb_transfer.c | 175 xfer->max_frame_size = xfer->max_packet_size * xfer->max_packet_count; in usbd_update_max_frame_size() 389 uint32_t max_packet_size; in usbd_get_max_frame_length() local 393 max_packet_size = UGETW(edesc->wMaxPacketSize); in usbd_get_max_frame_length() 403 (max_packet_size >> 11) & 3; in usbd_get_max_frame_length() 412 max_packet_size &= 0x7FF; in usbd_get_max_frame_length() 415 max_packet_count += (max_packet_size >> 11) & 3; in usbd_get_max_frame_length() 443 max_packet_size &= 0x7FF; in usbd_get_max_frame_length() 448 return (max_packet_size * max_packet_count); in usbd_get_max_frame_length() 500 xfer->max_packet_size = UGETW(edesc->wMaxPacketSize); in usbd_transfer_setup_sub() 513 (xfer->max_packet_size >> 11) & 3; in usbd_transfer_setup_sub() [all …]
|
| D | usb_core.h | 168 uint16_t max_packet_size; member
|
| D | usb_pf.c | 453 temp = xfer->max_packet_size; in usbpf_xfertap()
|
| /freebsd-12-stable/sys/contrib/octeon-sdk/ |
| D | cvmx-usbd.c | 828 int max_packet_size, uint64_t buffer, int buffer_length) in cvmx_usbd_out_endpoint_enable() argument 850 usbc_doeptsiz.s.pktcnt = (buffer_length + max_packet_size - 1) / max_packet_size; in cvmx_usbd_out_endpoint_enable() 865 switch (max_packet_size) in cvmx_usbd_out_endpoint_enable() 882 usbc_doepctl.s.mps = max_packet_size; in cvmx_usbd_out_endpoint_enable() 941 int max_packet_size, uint64_t buffer, int buffer_length) in cvmx_usbd_in_endpoint_enable() argument 963 usbc_dieptsiz.s.pktcnt = (buffer_length + max_packet_size - 1) / max_packet_size; in cvmx_usbd_in_endpoint_enable() 986 switch (max_packet_size) in cvmx_usbd_in_endpoint_enable() 1003 usbc_diepctl.s.mps = max_packet_size; in cvmx_usbd_in_endpoint_enable()
|
| D | cvmx-usbd.h | 248 int max_packet_size, uint64_t buffer, int buffer_length); 281 int max_packet_size, uint64_t buffer, int buffer_length);
|
| /freebsd-12-stable/sys/dev/usb/controller/ |
| D | saf1761_otg.c | 484 (td->max_packet_size << 18) /* wMaxPacketSize */ | in saf1761_host_setup_tx() 551 if (count != td->max_packet_size) { in saf1761_host_bulk_data_rx() 552 if (count < td->max_packet_size) { in saf1761_host_bulk_data_rx() 611 (td->max_packet_size << 18) /* wMaxPacketSize */ | in saf1761_host_bulk_data_rx() 612 (td->max_packet_size << 3) /* transfer count */ | in saf1761_host_bulk_data_rx() 661 count = td->max_packet_size; in saf1761_host_bulk_data_tx() 696 (td->max_packet_size << 18) /* wMaxPacketSize */ | in saf1761_host_bulk_data_tx() 745 if (count != td->max_packet_size) { in saf1761_host_intr_data_rx() 746 if (count < td->max_packet_size) { in saf1761_host_intr_data_rx() 812 (td->max_packet_size << 18) /* wMaxPacketSize */ | in saf1761_host_intr_data_rx() [all …]
|
| D | dwc_otg.c | 1310 if (count != td->max_packet_size) { in dwc_otg_host_data_rx_sub() 1311 if (count < td->max_packet_size) { in dwc_otg_host_data_rx_sub() 1573 (td->max_packet_size << HCTSIZ_XFERSIZE_SHIFT) | in dwc_otg_host_data_rx() 1713 if (count != td->max_packet_size) { in dwc_otg_data_rx() 1714 if (count < td->max_packet_size) { in dwc_otg_data_rx() 1778 DXEPTSIZ_SET_NBYTES(td->max_packet_size)); in dwc_otg_data_rx() 1785 ((td->max_packet_size + 3) & ~3))); in dwc_otg_data_rx() 1997 count = td->max_packet_size; in dwc_otg_host_data_tx() 2188 td->max_packet_size; in dwc_otg_data_tx() 2193 fifo_left = td->max_packet_size; in dwc_otg_data_tx() [all …]
|
| D | avr32dci.c | 397 if (count != td->max_packet_size) { in avr32dci_data_rx() 398 if (count < td->max_packet_size) { in avr32dci_data_rx() 424 (td->ep_no << 16) + (td->offset % td->max_packet_size), buf_res.length); in avr32dci_data_rx() 482 count = td->max_packet_size; in avr32dci_data_tx() 499 (td->ep_no << 16) + (td->offset % td->max_packet_size), in avr32dci_data_tx() 2021 td->max_packet_size = xfer->max_packet_size; in avr32dci_xfer_setup()
|
| D | saf1761_otg.h | 75 uint16_t max_packet_size; member
|
| D | atmegadci.c | 387 if (count != td->max_packet_size) { in atmegadci_data_rx() 388 if (count < td->max_packet_size) { in atmegadci_data_rx() 484 count = td->max_packet_size; in atmegadci_data_tx() 2082 td->max_packet_size = xfer->max_packet_size; in atmegadci_xfer_setup()
|
| D | atmegadci.h | 204 uint16_t max_packet_size; member
|
| D | dwc_otg.h | 66 uint16_t max_packet_size; /* packet_size */ member
|
| D | avr32dci.h | 170 uint16_t max_packet_size; member
|
| D | uss820dci.c | 448 if (count != td->max_packet_size) { in uss820dci_data_rx() 449 if (count < td->max_packet_size) { in uss820dci_data_rx() 554 count = td->max_packet_size; in uss820dci_data_tx() 2357 td->max_packet_size = xfer->max_packet_size; in uss820dci_xfer_setup()
|
| D | uss820dci.h | 281 uint16_t max_packet_size; member
|
| D | xhci.c | 134 uint32_t max_packet_size; member 1776 if (temp->len % temp->max_packet_size) { in xhci_setup_generic_chain_sub() 1877 temp->max_packet_size); in xhci_setup_generic_chain_sub() 2051 temp.max_packet_size = xfer->max_packet_size; in xhci_setup_generic_chain() 2231 tdpc = howmany(temp.len, xfer->max_packet_size); in xhci_setup_generic_chain() 2374 uint8_t mult, uint8_t fps_shift, uint16_t max_packet_size, in xhci_configure_endpoint() argument 2471 XHCI_EPCTX_1_MAXP_SIZE_SET(max_packet_size); in xhci_configure_endpoint() 2568 usbd_xfer_get_fps_shift(xfer), xfer->max_packet_size, in xhci_configure_endpoint_by_xfer()
|
| D | ehci.c | 1081 dt = (actlen / xfer->max_packet_size) & 1; in ehci_data_toggle_update() 1084 rem = actlen % xfer->max_packet_size; in ehci_data_toggle_update() 1943 EHCI_QH_SET_MPL(xfer->max_packet_size)); in ehci_setup_standard_chain() 2734 EHCI_ITD_SET_MPL(xfer->max_packet_size & 0x7FF); in ehci_device_isoc_hs_open()
|
| D | musb_otg.c | 4184 td->reg_max_packet = xfer->max_packet_size | in musbotg_xfer_setup()
|
| /freebsd-12-stable/sys/mips/cavium/usb/ |
| D | octusb.h | 73 uint16_t max_packet_size; member
|
| D | octusb.c | 166 td->qh->max_packet_size, in octusb_host_alloc_endpoint() 1774 qh->max_packet_size = xfer->max_packet_size; in octusb_xfer_setup()
|
| /freebsd-12-stable/crypto/openssh/ |
| D | packet.c | 168 u_int max_packet_size; member 250 state->max_packet_size = 32768; in ssh_alloc_session_state() 2114 state->max_packet_size, s); in ssh_packet_set_maxsize() 2123 state->max_packet_size = s; in ssh_packet_set_maxsize() 2142 return ssh->state->max_packet_size; in ssh_packet_get_maxsize()
|
| /freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
| D | GDBRemoteCommunicationServerCommon.cpp | 1283 constexpr uint32_t max_packet_size = 128 * 1024; in HandleFeatures() local 1287 llvm::formatv("PacketSize={0}", max_packet_size), in HandleFeatures()
|
| /freebsd-12-stable/sys/dev/usb/serial/ |
| D | uftdi.c | 1285 pktmax = xfer->max_packet_size - UFTDI_IHDRSIZE; in uftdi_read_callback()
|