Lines Matching refs:conf
34 static int mbox_deinit(const struct icmsg_config_t *conf, in mbox_deinit() argument
39 err = mbox_set_enabled_dt(&conf->mbox_rx, 0); in mbox_deinit()
44 err = mbox_register_callback_dt(&conf->mbox_rx, NULL, NULL); in mbox_deinit()
238 static int mbox_init(const struct icmsg_config_t *conf, in mbox_init() argument
248 err = mbox_register_callback_dt(&conf->mbox_rx, mbox_callback, dev_data); in mbox_init()
253 return mbox_set_enabled_dt(&conf->mbox_rx, 1); in mbox_init()
256 int icmsg_open(const struct icmsg_config_t *conf, in icmsg_open() argument
267 dev_data->cfg = conf; in icmsg_open()
299 ret = mbox_init(conf, dev_data); in icmsg_open()
314 int icmsg_close(const struct icmsg_config_t *conf, in icmsg_close() argument
319 ret = mbox_deinit(conf, dev_data); in icmsg_close()
329 int icmsg_send(const struct icmsg_config_t *conf, in icmsg_send() argument
370 __ASSERT_NO_MSG(conf->mbox_tx.dev != NULL); in icmsg_send()
372 ret = mbox_send_dt(&conf->mbox_tx, NULL); in icmsg_send()