Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/mbox/mbox_usage/src/
Dmain.c23 static char msg_data[2][MAIL_LEN] = { variable
140 zassert_equal(memcmp(rxdata, msg_data[1], MAIL_LEN), 0, in thread_low_prio()
157 zassert_equal(memcmp(rxdata, msg_data[0], MAIL_LEN), 0, in thread_high_prio()
178 mmsg.size = sizeof(msg_data[0]); in ZTEST()
179 mmsg.tx_data = msg_data[0]; in ZTEST()
183 mmsg.size = sizeof(msg_data[1]); in ZTEST()
184 mmsg.tx_data = msg_data[1]; in ZTEST()
/Zephyr-latest/tests/subsys/logging/log_core_additional/src/
Dlog_test.c34 ZTEST_DMEM uint32_t msg_data = 0x1234; variable
512 level, &msg_data, 0, in ZTEST()
513 sizeof(msg_data), NULL); in ZTEST()
516 level, &msg_data, in ZTEST()
517 sizeof(msg_data), NULL); in ZTEST()
540 level, &msg_data, 0, in ZTEST_USER()
541 sizeof(msg_data), TEST_MESSAGE); in ZTEST_USER()
544 level, &msg_data, in ZTEST_USER()
545 sizeof(msg_data), TEST_MESSAGE); in ZTEST_USER()
/Zephyr-latest/tests/net/lib/lwm2m/block_transfer/src/
Dmain.c74 zassert_not_equal(msg->msg_data, msg->cpkt.data, in ZTEST_F()
107 zassert_not_equal(msg->msg_data, msg->cpkt.data, in ZTEST_F()
134 zassert_equal(msg->msg_data, msg->cpkt.data, in ZTEST_F()
197 zassert_not_equal(msg->msg_data, msg->cpkt.data, "Buffer for block data is not yet in use"); in ZTEST_F()
204 zassert_equal(msg->msg_data, msg->cpkt.data, "Buffer for block data is not in use"); in ZTEST_F()
254 zassert_not_equal(msg->msg_data, msg->cpkt.data, "Buffer for block data is not yet in use"); in ZTEST_F()
260 zassert_equal(msg->msg_data, msg->cpkt.data, "Buffer for block data is not in use"); in ZTEST_F()
330 zassert_not_equal(msg->msg_data, msg->cpkt.data, "Buffer for block data is not yet in use"); in ZTEST_F()
336 zassert_equal(msg->msg_data, msg->cpkt.data, "Buffer for block data is not in use"); in ZTEST_F()
/Zephyr-latest/tests/net/lib/lwm2m/content_json/src/
Dmain.c125 test_msg.cpkt.data = test_msg.msg_data; in context_reset()
126 test_msg.cpkt.max_len = sizeof(test_msg.msg_data); in context_reset()
131 memcpy(test_msg.msg_data + 1, payload, strlen(payload)); in test_payload_set()
148 test_msg.cpkt.offset = sizeof(test_msg.msg_data) - TEST_PAYLOAD_OFFSET; in test_prepare_nomem()
179 zassert_mem_equal(test_msg.msg_data + offset, in ZTEST()
221 zassert_mem_equal(test_msg.msg_data + offset, in ZTEST()
263 zassert_mem_equal(test_msg.msg_data + offset, in ZTEST()
305 zassert_mem_equal(test_msg.msg_data + offset, in ZTEST()
338 zassert_mem_equal(test_msg.msg_data + TEST_PAYLOAD_OFFSET, in ZTEST()
381 zassert_mem_equal(test_msg.msg_data + offset, in ZTEST()
[all …]
/Zephyr-latest/tests/net/lib/lwm2m/content_senml_cbor/src/
Dmain.c141 test_msg.cpkt.data = test_msg.msg_data; in context_reset()
142 test_msg.cpkt.max_len = sizeof(test_msg.msg_data); in context_reset()
147 memcpy(test_msg.msg_data + 1, payload.data, payload.len); in test_payload_set()
165 test_msg.cpkt.offset = sizeof(test_msg.msg_data) - TEST_PAYLOAD_OFFSET; in test_prepare_nomem()
241 zassert_mem_equal(test_msg.msg_data + offset, in ZTEST()
329 zassert_mem_equal(test_msg.msg_data + offset, in ZTEST()
417 zassert_mem_equal(test_msg.msg_data + offset, in ZTEST()
505 zassert_mem_equal(test_msg.msg_data + offset, in ZTEST()
552 zassert_mem_equal(test_msg.msg_data + TEST_PAYLOAD_OFFSET, in ZTEST()
684 zassert_mem_equal(test_msg.msg_data + offset, in ZTEST()
[all …]
/Zephyr-latest/include/zephyr/drivers/pcie/
Dmsi.h47 uint32_t msg_data; member
/Zephyr-latest/drivers/can/
Dcan_nxp_s32_canxl.c832 static void nxp_s32_msg_data_to_zcan_frame(Canexcel_RxFdMsg msg_data, in nxp_s32_msg_data_to_zcan_frame() argument
837 if (!!(msg_data.Header.Id & CANXL_TX_HEADER_IDE_MASK)) { in nxp_s32_msg_data_to_zcan_frame()
842 frame->id = (msg_data.Header.Id & CANXL_IP_ID_EXT_MASK); in nxp_s32_msg_data_to_zcan_frame()
844 frame->id = ((msg_data.Header.Id & CANXL_IP_ID_STD_MASK) in nxp_s32_msg_data_to_zcan_frame()
848 frame->dlc = (msg_data.Header.Control & CANXL_TX_HEADER_DLC_MASK) in nxp_s32_msg_data_to_zcan_frame()
851 if (!!(msg_data.Header.Control & CANXL_TX_HEADER_FDF_MASK)) { in nxp_s32_msg_data_to_zcan_frame()
855 if (!!(msg_data.Header.Control & CANXL_TX_HEADER_BRS_MASK)) { in nxp_s32_msg_data_to_zcan_frame()
859 if (!!(msg_data.Header.Id & CANXL_TX_HEADER_RTR_MASK)) { in nxp_s32_msg_data_to_zcan_frame()
862 memcpy(frame->data, msg_data.data, can_dlc_to_bytes(frame->dlc)); in nxp_s32_msg_data_to_zcan_frame()
866 frame->timestamp = msg_data.timeStampL; in nxp_s32_msg_data_to_zcan_frame()
/Zephyr-latest/subsys/ipc/ipc_service/lib/
Dicmsg.c228 void *user_data, struct mbox_msg *msg_data) in mbox_callback() argument
/Zephyr-latest/drivers/pcie/host/
Dmsi.c212 sys_write32(mdr, (mm_reg_t) &vectors[i].msix_vector->msg_data); in enable_msix()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_message_handling.c295 NET_ASSERT(msg->msg_data == msg->cpkt.data, in build_msg_block_for_send()
402 msg->cpkt.data = msg->msg_data; in prepare_msg_for_send()
649 body_data = msg->msg_data; in lwm2m_init_message()
650 body_data_max_len = sizeof(msg->msg_data); in lwm2m_init_message()
653 body_data = msg->msg_data; in lwm2m_init_message()
654 body_data_max_len = sizeof(msg->msg_data); in lwm2m_init_message()
Dlwm2m_object.h497 uint8_t msg_data[MAX_PACKET_SIZE]; member
/Zephyr-latest/subsys/ipc/ipc_service/backends/
Dipc_rpmsg_static_vrings.c317 void *user_data, struct mbox_msg *msg_data) in mbox_callback() argument