Lines Matching refs:chan

38 static void fh1_cb(const struct zbus_channel *chan)  in fh1_cb()  argument
40 const struct sensor_msg *msg = zbus_chan_const_msg(chan); in fh1_cb()
48 static void fh2_cb(const struct zbus_channel *chan) in fh2_cb() argument
50 const struct sensor_msg *msg = zbus_chan_const_msg(chan); in fh2_cb()
58 static void fh3_cb(const struct zbus_channel *chan) in fh3_cb() argument
60 const struct sensor_msg *msg = zbus_chan_const_msg(chan); in fh3_cb()
70 const struct zbus_channel *chan; member
83 zbus_chan_read(sens->chan, &msg, K_MSEC(200)); in wq_dh_cb()
90 static void dh1_cb(const struct zbus_channel *chan) in dh1_cb() argument
92 wq_handler1.chan = chan; in dh1_cb()
99 static void dh2_cb(const struct zbus_channel *chan) in dh2_cb() argument
101 wq_handler2.chan = chan; in dh2_cb()
108 static void dh3_cb(const struct zbus_channel *chan) in dh3_cb() argument
110 wq_handler3.chan = chan; in dh3_cb()
133 const struct zbus_channel *chan; in thread_handler1_task() local
135 while (!zbus_sub_wait(&thread_handler1_sub, &chan, K_FOREVER)) { in thread_handler1_task()
138 zbus_chan_read(chan, &msg, K_MSEC(200)); in thread_handler1_task()
152 const struct zbus_channel *chan; in thread_handler2_task() local
154 while (!zbus_sub_wait(&thread_handler2_sub, &chan, K_FOREVER)) { in thread_handler2_task()
157 zbus_chan_read(chan, &msg, K_MSEC(200)); in thread_handler2_task()
171 const struct zbus_channel *chan; in thread_handler3_task() local
173 while (!zbus_sub_wait(&thread_handler3_sub, &chan, K_FOREVER)) { in thread_handler3_task()
176 zbus_chan_read(chan, &msg, K_MSEC(200)); in thread_handler3_task()