Searched refs:msg_received (Results 1 – 3 of 3) sorted by relevance
38 struct bm_msg msg_received; in s_cb() local40 memcpy(zbus_chan_msg(chan), &msg_received, chan->message_size); in s_cb()42 atomic_add(&count, *((uint16_t *)msg_received.bytes)); in s_cb()44 const struct bm_msg *msg_received = zbus_chan_const_msg(chan); in s_cb() local46 atomic_add(&count, *((uint16_t *)msg_received->bytes)); in s_cb()
38 struct bm_msg msg_received; in msg_sub_thread() local42 if (zbus_sub_wait_msg(msub, &chan, &msg_received, K_FOREVER) == 0) { in msg_sub_thread()43 atomic_add(&count, *((uint16_t *)msg_received.bytes)); in msg_sub_thread()
53 const struct bm_msg *msg_received = zbus_chan_const_msg(chan); in sub_thread() local55 atomic_add(&count, *((uint16_t *)msg_received->bytes)); in sub_thread()