Home
last modified time | relevance | path

Searched refs:max_packet_size (Results 1 – 23 of 23) sorted by relevance

/freebsd-12-stable/sys/dev/usb/
Dusb_transfer.c175 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 …]
Dusb_core.h168 uint16_t max_packet_size; member
Dusb_pf.c453 temp = xfer->max_packet_size; in usbpf_xfertap()
/freebsd-12-stable/sys/contrib/octeon-sdk/
Dcvmx-usbd.c828 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()
Dcvmx-usbd.h248 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/
Dsaf1761_otg.c484 (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 …]
Ddwc_otg.c1310 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 …]
Davr32dci.c397 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()
Dsaf1761_otg.h75 uint16_t max_packet_size; member
Datmegadci.c387 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()
Datmegadci.h204 uint16_t max_packet_size; member
Ddwc_otg.h66 uint16_t max_packet_size; /* packet_size */ member
Davr32dci.h170 uint16_t max_packet_size; member
Duss820dci.c448 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()
Duss820dci.h281 uint16_t max_packet_size; member
Dxhci.c134 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()
Dehci.c1081 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()
Dmusb_otg.c4184 td->reg_max_packet = xfer->max_packet_size | in musbotg_xfer_setup()
/freebsd-12-stable/sys/mips/cavium/usb/
Doctusb.h73 uint16_t max_packet_size; member
Doctusb.c166 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/
Dpacket.c168 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/
DGDBRemoteCommunicationServerCommon.cpp1283 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/
Duftdi.c1285 pktmax = xfer->max_packet_size - UFTDI_IHDRSIZE; in uftdi_read_callback()