| /freebsd/sys/dev/usb/ |
| H A D | usb_transfer.c | 172 xfer->max_frame_size = xfer->max_packet_size * xfer->max_packet_count; in usbd_update_max_frame_size() 384 uint32_t max_packet_size; in usbd_get_max_frame_length() local 388 max_packet_size = UGETW(edesc->wMaxPacketSize); in usbd_get_max_frame_length() 398 (max_packet_size >> 11) & 3; in usbd_get_max_frame_length() 407 max_packet_size &= 0x7FF; in usbd_get_max_frame_length() 410 max_packet_count += (max_packet_size >> 11) & 3; in usbd_get_max_frame_length() 438 max_packet_size &= 0x7FF; in usbd_get_max_frame_length() 443 return (max_packet_size * max_packet_count); in usbd_get_max_frame_length() 495 xfer->max_packet_size = UGETW(edesc->wMaxPacketSize); in usbd_transfer_setup_sub() 508 (xfer->max_packet_size >> 11) & 3; in usbd_transfer_setup_sub() [all …]
|
| H A D | usb_core.h | 166 uint16_t max_packet_size; member
|
| H A D | usb_pf.c | 285 temp = xfer->max_packet_size; in usbpf_xfertap()
|
| /freebsd/sys/dev/usb/controller/ |
| H A D | dwc_otg.c | 1304 if (count != td->max_packet_size) { in dwc_otg_host_data_rx_sub() 1305 if (count < td->max_packet_size) { in dwc_otg_host_data_rx_sub() 1567 (td->max_packet_size << HCTSIZ_XFERSIZE_SHIFT) | in dwc_otg_host_data_rx() 1707 if (count != td->max_packet_size) { in dwc_otg_data_rx() 1708 if (count < td->max_packet_size) { in dwc_otg_data_rx() 1772 DXEPTSIZ_SET_NBYTES(td->max_packet_size)); in dwc_otg_data_rx() 1779 ((td->max_packet_size + 3) & ~3))); in dwc_otg_data_rx() 1990 count = td->max_packet_size; in dwc_otg_host_data_tx() 2178 td->max_packet_size; in dwc_otg_data_tx() 2183 fifo_left = td->max_packet_size; in dwc_otg_data_tx() [all...] |
| H A D | avr32dci.c | 394 if (count != td->max_packet_size) { in avr32dci_data_rx() 395 if (count < td->max_packet_size) { in avr32dci_data_rx() 421 (td->ep_no << 16) + (td->offset % td->max_packet_size), buf_res.length); in avr32dci_data_rx() 479 count = td->max_packet_size; in avr32dci_data_tx() 495 (td->ep_no << 16) + (td->offset % td->max_packet_size), in avr32dci_data_tx() 1972 td->max_packet_size = xfer->max_packet_size; in avr32dci_xfer_setup()
|
| H A D | atmegadci.c | 382 if (count != td->max_packet_size) { in atmegadci_data_rx() 383 if (count < td->max_packet_size) { in atmegadci_data_rx() 479 count = td->max_packet_size; in atmegadci_data_tx() 2015 td->max_packet_size = xfer->max_packet_size; in atmegadci_xfer_setup()
|
| H A D | atmegadci.h | 203 uint16_t max_packet_size; member
|
| H A D | dwc_otg.h | 65 uint16_t max_packet_size; /* packet_size */ member
|
| H A D | avr32dci.h | 169 uint16_t max_packet_size; member
|
| H A D | uss820dci.c | 444 if (count != td->max_packet_size) { in uss820dci_data_rx() 445 if (count < td->max_packet_size) { in uss820dci_data_rx() 550 count = td->max_packet_size; in uss820dci_data_tx() 2290 td->max_packet_size = xfer->max_packet_size; in uss820dci_xfer_setup()
|
| H A D | uss820dci.h | 280 uint16_t max_packet_size; member
|
| H A D | xhci.c | 142 uint32_t max_packet_size; member 1803 if (temp->len % temp->max_packet_size) { in xhci_setup_generic_chain_sub() 1902 temp->max_packet_size); in xhci_setup_generic_chain_sub() 2076 temp.max_packet_size = xfer->max_packet_size; in xhci_setup_generic_chain() 2251 tdpc = howmany(temp.len, xfer->max_packet_size); in xhci_setup_generic_chain() 2394 uint8_t mult, uint8_t fps_shift, uint16_t max_packet_size, in xhci_configure_endpoint() argument 2492 XHCI_EPCTX_1_MAXP_SIZE_SET(max_packet_size); in xhci_configure_endpoint() 2589 usbd_xfer_get_fps_shift(xfer), xfer->max_packet_size, in xhci_configure_endpoint_by_xfer()
|
| H A D | ehci.c | 1077 dt = (actlen / xfer->max_packet_size) & 1; in ehci_data_toggle_update() 1080 rem = actlen % xfer->max_packet_size; in ehci_data_toggle_update() 1921 EHCI_QH_SET_MPL(xfer->max_packet_size)); in ehci_setup_standard_chain() 2673 EHCI_ITD_SET_MPL(xfer->max_packet_size & 0x7FF); in ehci_device_isoc_hs_open()
|
| H A D | musb_otg.c | 4093 td->reg_max_packet = xfer->max_packet_size | in musbotg_xfer_setup()
|
| /freebsd/sys/contrib/dev/athk/ath10k/ |
| H A D | usb.h | 84 u16 max_packet_size; member
|
| H A D | usb.c | 442 if (!(skb->len % pipe->max_packet_size)) { in ath10k_usb_hif_tx_sg() 898 pipe->max_packet_size = le16_to_cpu(endpoint->wMaxPacketSize); in ath10k_usb_setup_pipe_resources() 901 pipe->max_packet_size = UGETW(endpoint->wMaxPacketSize); in ath10k_usb_setup_pipe_resources()
|
| /freebsd/contrib/unbound/testcode/ |
| H A D | doqclient.c | 1801 max_packet_size = 1200; 1870 (datav[0].len>max_packet_size?max_packet_size: 1874 (datav[0].len+datav[1].len>max_packet_size? 1875 max_packet_size:datav[0].len+datav[1].len) 1895 if(this_send > max_packet_size) 1896 this_send = max_packet_size; 1902 if(possible_next_send > max_packet_size) 1903 possible_next_send = max_packet_size;
|
| /freebsd/crypto/openssh/ |
| H A D | packet.c | 159 u_int max_packet_size; member 251 state->max_packet_size = 32768; in ssh_alloc_session_state() 2313 state->max_packet_size, s); in ssh_packet_set_maxsize() 2322 state->max_packet_size = s; in ssh_packet_set_maxsize() 2341 return ssh->state->max_packet_size; in ssh_packet_get_maxsize()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteCommunicationServerCommon.cpp | 1381 constexpr uint32_t max_packet_size = 128 * 1024; in HandleFeatures() local 1385 llvm::formatv("PacketSize={0}", max_packet_size), in HandleFeatures()
|
| /freebsd/sys/dev/usb/serial/ |
| H A D | uftdi.c | 1300 pktmax = xfer->max_packet_size - UFTDI_IHDRSIZE; in uftdi_read_callback()
|