Lines Matching refs:send_buffer
167 uint8_t send_buffer[SEND_BUFFER_MAX_LENGTH + 1]; member
776 memcpy(fw_upload.send_buffer, cmd5_hdrData, CMD_HDR_LEN); in fw_upload_change_speed()
777 memcpy(&fw_upload.send_buffer[CMD_HDR_LEN], in fw_upload_change_speed()
781 fw_upload.send_buffer, true); in fw_upload_change_speed()
853 memset(fw_upload.send_buffer, 0, sizeof(fw_upload.send_buffer)); in fw_upload_v1_send_data()
862 memcpy(fw_upload.send_buffer, fw_upload.fw + fw_upload.current_length, len); in fw_upload_v1_send_data()
864 cmd = sys_get_le32(fw_upload.send_buffer); in fw_upload_v1_send_data()
869 data_len = fw_upload_get_payload_length(fw_upload.send_buffer); in fw_upload_v1_send_data()
870 if ((data_len > (sizeof(fw_upload.send_buffer) - len)) || in fw_upload_v1_send_data()
876 memcpy(&fw_upload.send_buffer[len], fw_upload.fw + fw_upload.current_length, in fw_upload_v1_send_data()
885 ret_len = fw_upload_write_hdr_and_payload(len, fw_upload.send_buffer, false); in fw_upload_v1_send_data()
898 fw_upload_write_data(fw_upload.send_buffer, fw_upload.length); in fw_upload_v3_send_data()
901 memset(fw_upload.send_buffer, 0, sizeof(fw_upload.send_buffer)); in fw_upload_v3_send_data()
912 memcpy(fw_upload.send_buffer, fw_upload.fw + start, fw_upload.length); in fw_upload_v3_send_data()
915 fw_upload_write_data(fw_upload.send_buffer, fw_upload.length); in fw_upload_v3_send_data()