Lines Matching refs:MAX_FRAME_SIZE
93 #define MAX_FRAME_SIZE 2048 macro
179 static uint8_t sSpiRxFrameBuffer[MAX_FRAME_SIZE + SPI_RX_ALIGN_ALLOWANCE_MAX];
184 static uint8_t sSpiTxFrameBuffer[MAX_FRAME_SIZE + SPI_RX_ALIGN_ALLOWANCE_MAX];
198 static int sMTU = MAX_FRAME_SIZE - HEADER_LEN;
547 if (slave_data_len > MAX_FRAME_SIZE) in push_pull_spi()
645 …eader & SPI_HEADER_PATTERN_MASK) != SPI_HEADER_PATTERN_VALUE) || (slave_max_rx > MAX_FRAME_SIZE) || in push_pull_spi()
646 (slave_data_len > MAX_FRAME_SIZE)) in push_pull_spi()
817 static uint8_t escaped_frame_buffer[MAX_FRAME_SIZE * 2]; in push_hdlc()
938 if (sSpiTxPayloadSize >= (MAX_FRAME_SIZE - HEADER_LEN)) in pull_hdlc()
1023 static uint8_t raw_frame_buffer[MAX_FRAME_SIZE]; in push_raw()
1636 if (sSpiSmallPacketSize > MAX_FRAME_SIZE - HEADER_LEN) in main()
1639 MAX_FRAME_SIZE - HEADER_LEN); in main()
1640 sSpiSmallPacketSize = MAX_FRAME_SIZE - HEADER_LEN; in main()
1683 if (sMTU > MAX_FRAME_SIZE - HEADER_LEN) in main()
1686 MAX_FRAME_SIZE - HEADER_LEN); in main()