Home
last modified time | relevance | path

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

/Zephyr-latest/samples/arch/smp/pktqueue/src/
Dmain.c93 struct phdr_desc *qin_ptr = NULL; in test_thread() local
99 qin_ptr = phdr_desc_dequeue(sender_queue, &sender_queue_mtx[queue_num]); in test_thread()
100 while (qin_ptr != NULL) { in test_thread()
102 crc_orig = qin_ptr->ptr[CRC_BYTE_1] << 8; in test_thread()
103 crc_orig |= qin_ptr->ptr[11]; in test_thread()
106 qin_ptr->ptr[CRC_BYTE_1] = 0; in test_thread()
107 qin_ptr->ptr[CRC_BYTE_2] = 0; in test_thread()
108 crc = crc16(POLYNOMIAL, 0x0000, qin_ptr->ptr, SIZE_OF_HEADER); in test_thread()
112 phdr_desc_enqueue(receiver_queue, qin_ptr, in test_thread()
116 qin_ptr = phdr_desc_dequeue(sender_queue, in test_thread()