Home
last modified time | relevance | path

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

/external/u-boot/drivers/usb/host/
Ddwc2.c919 uint32_t max_xfer_len; in chunk_msg() local
925 max_xfer_len = CONFIG_DWC2_MAX_PACKET_COUNT * max; in chunk_msg()
926 if (max_xfer_len > CONFIG_DWC2_MAX_TRANSFER_SIZE) in chunk_msg()
927 max_xfer_len = CONFIG_DWC2_MAX_TRANSFER_SIZE; in chunk_msg()
928 if (max_xfer_len > DWC2_DATA_BUF_SIZE) in chunk_msg()
929 max_xfer_len = DWC2_DATA_BUF_SIZE; in chunk_msg()
932 num_packets = max_xfer_len / max; in chunk_msg()
933 max_xfer_len = num_packets * max; in chunk_msg()
952 max_xfer_len = max; in chunk_msg()
962 if (xfer_len > max_xfer_len) in chunk_msg()
[all …]