Lines Matching refs:mod
422 static void model_suspend(const struct bt_mesh_model *mod, const struct bt_mesh_elem *elem, in model_suspend() argument
425 if (mod->pub && mod->pub->update) { in model_suspend()
426 mod->pub->count = 0U; in model_suspend()
430 (void)k_work_cancel_delayable(&mod->pub->timer); in model_suspend()
491 static void model_resume(const struct bt_mesh_model *mod, const struct bt_mesh_elem *elem, in model_resume() argument
494 if (mod->pub && mod->pub->update) { in model_resume()
495 int32_t period_ms = bt_mesh_model_pub_period_get(mod); in model_resume()
498 k_work_reschedule(&mod->pub->timer, in model_resume()
609 static void model_start(const struct bt_mesh_model *mod, const struct bt_mesh_elem *elem, in model_start() argument
612 if (mod->cb && mod->cb->start) { in model_start()
613 mod->cb->start(mod); in model_start()