Lines Matching refs:cm
28 const struct confirmed_msg *cm = zbus_chan_const_msg(chan); in listener_callback_example() local
30 LOG_INF("From listener -> Confirmed message payload = %u", cm->payload); in listener_callback_example()
42 struct confirmed_msg cm; in bar_sub1_task() local
48 zbus_chan_read(&confirmed_chan, &cm, K_MSEC(500)); in bar_sub1_task()
57 cm.payload); in bar_sub1_task()
67 struct confirmed_msg cm; in bar_sub2_task() local
73 zbus_chan_read(&confirmed_chan, &cm, K_MSEC(500)); in bar_sub2_task()
82 cm.payload); in bar_sub2_task()
93 struct confirmed_msg cm; in bar_sub3_task() local
99 zbus_chan_read(&confirmed_chan, &cm, K_MSEC(500)); in bar_sub3_task()
108 cm.payload); in bar_sub3_task()
113 static void pub_to_confirmed_channel(struct confirmed_msg *cm) in pub_to_confirmed_channel() argument
122 zbus_chan_pub(&confirmed_chan, cm, K_MSEC(500)); in pub_to_confirmed_channel()
127 struct confirmed_msg cm = {0}; in main() local
130 pub_to_confirmed_channel(&cm); in main()
132 ++cm.payload; in main()