Home
last modified time | relevance | path

Searched refs:max_packet (Results 1 – 5 of 5) sorted by relevance

/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-usb.c1266 CVMX_USB_LOG_PARAM("%d", max_packet); in cvmx_usb_open_pipe()
1280 if (cvmx_unlikely((max_packet <= 0) || (max_packet > 1024))) in cvmx_usb_open_pipe()
1314 pipe->max_packet = max_packet; in cvmx_usb_open_pipe()
1608 bytes_to_transfer = pipe->max_packet; in __cvmx_usb_start_channel_control()
1652 bytes_to_transfer *= pipe->max_packet; in __cvmx_usb_start_channel_control()
1657 packets_to_transfer = (bytes_to_transfer + pipe->max_packet - 1) / pipe->max_packet; in __cvmx_usb_start_channel_control()
1804 if (bytes_to_transfer > pipe->max_packet) in __cvmx_usb_start_channel()
1805 bytes_to_transfer = pipe->max_packet; in __cvmx_usb_start_channel()
1848 bytes_to_transfer *= pipe->max_packet; in __cvmx_usb_start_channel()
1853 packets_to_transfer = (bytes_to_transfer + pipe->max_packet - 1) / pipe->max_packet; in __cvmx_usb_start_channel()
[all …]
H A Dcvmx-usb.h807 cvmx_usb_speed_t device_speed, int max_packet,
/f-stack/freebsd/mips/cavium/octe/
H A Dethernet-common.c189 …int max_packet = new_mtu + 14 + 4 + vlan_bytes; /* Add ethernet header and FCS, and VLAN if config… in cvm_oct_common_change_mtu() local
193 cvmx_write_csr(CVMX_GMXX_RXX_FRM_MAX(index, interface), max_packet); in cvm_oct_common_change_mtu()
200 frm_len_chk.s.maxlen = max_packet; in cvm_oct_common_change_mtu()
205 cvmx_write_csr(CVMX_GMXX_RXX_JABBER(index, interface), (max_packet + 7) & ~7u); in cvm_oct_common_change_mtu()
/f-stack/freebsd/arm/broadcom/bcm2835/
H A Dvc_vchi_audioserv_defs.h120 uint16_t max_packet; member
H A Dbcm2835_audio.c447 m.u.write.max_packet = VCHIQ_AUDIO_PACKET_SIZE; in bcm2835_audio_write_samples()
459 int bytes = MIN((int)m.u.write.max_packet, (int)count); in bcm2835_audio_write_samples()