Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/usb/
H A Dusb_transfer.c384 uint32_t max_packet_size; in usbd_get_max_frame_length() local
398 (max_packet_size >> 11) & 3; in usbd_get_max_frame_length()
407 max_packet_size &= 0x7FF; in usbd_get_max_frame_length()
438 max_packet_size &= 0x7FF; in usbd_get_max_frame_length()
517 xfer->max_packet_size &= 0x7FF; in usbd_transfer_setup_sub()
548 xfer->max_packet_size &= 0x7FF; in usbd_transfer_setup_sub()
561 maxp_old = xfer->max_packet_size; in usbd_transfer_setup_sub()
566 (xfer->max_packet_size == 0)) { in usbd_transfer_setup_sub()
714 (xfer->max_packet_size == 0)) { in usbd_transfer_setup_sub()
721 xfer->max_packet_size = MIN_PKT; in usbd_transfer_setup_sub()
[all …]
H A Dusb_core.h166 uint16_t max_packet_size; member
H A Dusb_pf.c450 temp = xfer->max_packet_size; in usbpf_xfertap()
/freebsd-14.2/sys/dev/usb/controller/
H A Ddwc_otg.c1304 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()
1707 if (count != td->max_packet_size) { in dwc_otg_data_rx()
1708 if (count < td->max_packet_size) { 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()
2242 td->npkt = count / td->max_packet_size; in dwc_otg_data_tx()
2254 count = td->max_packet_size * mpkt; in dwc_otg_data_tx()
2263 count = td->max_packet_size; in dwc_otg_data_tx()
[all …]
H A Davr32dci.c394 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 Datmegadci.c382 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 Datmegadci.h203 uint16_t max_packet_size; member
H A Ddwc_otg.h65 uint16_t max_packet_size; /* packet_size */ member
H A Davr32dci.h169 uint16_t max_packet_size; member
H A Duss820dci.c444 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 Duss820dci.h280 uint16_t max_packet_size; member
H A Dxhci.c142 uint32_t max_packet_size; member
1718 if (temp->len % temp->max_packet_size) { in xhci_setup_generic_chain_sub()
1817 temp->max_packet_size); in xhci_setup_generic_chain_sub()
1991 temp.max_packet_size = xfer->max_packet_size; in xhci_setup_generic_chain()
2166 tdpc = howmany(temp.len, xfer->max_packet_size); in xhci_setup_generic_chain()
2309 uint8_t mult, uint8_t fps_shift, uint16_t max_packet_size, in xhci_configure_endpoint() argument
2407 XHCI_EPCTX_1_MAXP_SIZE_SET(max_packet_size); in xhci_configure_endpoint()
2504 usbd_xfer_get_fps_shift(xfer), xfer->max_packet_size, in xhci_configure_endpoint_by_xfer()
H A Dehci.c1077 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 Dmusb_otg.c4093 td->reg_max_packet = xfer->max_packet_size | in musbotg_xfer_setup()
/freebsd-14.2/sys/contrib/dev/athk/ath10k/
H A Dusb.h83 u16 max_packet_size; member
H A Dusb.c442 if (!(skb->len % pipe->max_packet_size)) { in ath10k_usb_hif_tx_sg()
885 pipe->max_packet_size = le16_to_cpu(endpoint->wMaxPacketSize); in ath10k_usb_setup_pipe_resources()
/freebsd-14.2/crypto/openssh/
H A Dpacket.c167 u_int max_packet_size; member
249 state->max_packet_size = 32768; in ssh_alloc_session_state()
2164 state->max_packet_size, s); in ssh_packet_set_maxsize()
2173 state->max_packet_size = s; in ssh_packet_set_maxsize()
2192 return ssh->state->max_packet_size; in ssh_packet_get_maxsize()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerCommon.cpp1379 constexpr uint32_t max_packet_size = 128 * 1024; in HandleFeatures() local
1383 llvm::formatv("PacketSize={0}", max_packet_size), in HandleFeatures()
/freebsd-14.2/sys/dev/usb/serial/
H A Duftdi.c1283 pktmax = xfer->max_packet_size - UFTDI_IHDRSIZE; in uftdi_read_callback()