Searched refs:msg (Results 1 – 1 of 1) sorted by relevance
190 am_sbl_host_msg_hdr_t* msg; in am_devices_cooper_handshake_recv() local194 msg = (am_sbl_host_msg_hdr_t*)pBuf; in am_devices_cooper_handshake_recv()195 am_hal_crc32((uint32_t)&msg->msgType, msg->msgLength - sizeof(uint32_t), &crc32); in am_devices_cooper_handshake_recv()197 gsSblUpdateState.pWorkBuf = (uint32_t*)msg; in am_devices_cooper_handshake_recv()198 gsSblUpdateState.bRxCrcCheckPass = (crc32 == msg->msgCrc); in am_devices_cooper_handshake_recv()211 am_sbl_host_msg_hdr_t msg; in send_hello() local212 msg.msgType = AM_SBL_HOST_MSG_HELLO; in send_hello()213 msg.msgLength = sizeof(am_sbl_host_msg_hdr_t); in send_hello()217 am_hal_crc32((uint32_t)&msg.msgType, msg.msgLength - sizeof(uint32_t), &msg.msgCrc); in send_hello()218 g_CooperCb.write((uint8_t*)&msg, sizeof(msg)); in send_hello()[all …]