Lines Matching refs:mod
87 srv->mod, false, NULL, &srv->state, in store_state()
97 bt_mesh_model_data_store(srv->mod, false, NULL, NULL, 0); in erase_state()
203 (void)bt_mesh_model_send(srv->mod, &ctx, &buf, &report_cb, srv); in block_report()
349 (void)bt_mesh_model_send(srv->mod, ctx, &buf, NULL, NULL); in xfer_status_rsp()
414 (void)bt_mesh_model_send(srv->mod, ctx, &buf, NULL, NULL); in block_status_rsp()
417 static int handle_xfer_get(const struct bt_mesh_model *mod, struct bt_mesh_msg_ctx *ctx, in handle_xfer_get() argument
420 struct bt_mesh_blob_srv *srv = mod->rt->user_data; in handle_xfer_get()
437 static int handle_xfer_start(const struct bt_mesh_model *mod, struct bt_mesh_msg_ctx *ctx, in handle_xfer_start() argument
440 struct bt_mesh_blob_srv *srv = mod->rt->user_data; in handle_xfer_start()
568 static int handle_xfer_cancel(const struct bt_mesh_model *mod, struct bt_mesh_msg_ctx *ctx, in handle_xfer_cancel() argument
572 struct bt_mesh_blob_srv *srv = mod->rt->user_data; in handle_xfer_cancel()
596 static int handle_block_get(const struct bt_mesh_model *mod, struct bt_mesh_msg_ctx *ctx, in handle_block_get() argument
600 struct bt_mesh_blob_srv *srv = mod->rt->user_data; in handle_block_get()
627 static int handle_block_start(const struct bt_mesh_model *mod, struct bt_mesh_msg_ctx *ctx, in handle_block_start() argument
630 struct bt_mesh_blob_srv *srv = mod->rt->user_data; in handle_block_start()
722 static int handle_chunk(const struct bt_mesh_model *mod, struct bt_mesh_msg_ctx *ctx, in handle_chunk() argument
725 struct bt_mesh_blob_srv *srv = mod->rt->user_data; in handle_chunk()
812 static int handle_info_get(const struct bt_mesh_model *mod, struct bt_mesh_msg_ctx *ctx, in handle_info_get() argument
815 struct bt_mesh_blob_srv *srv = mod->rt->user_data; in handle_info_get()
833 (void)bt_mesh_model_send(srv->mod, ctx, &rsp, NULL, NULL); in handle_info_get()
849 static int blob_srv_init(const struct bt_mesh_model *mod) in blob_srv_init() argument
851 struct bt_mesh_blob_srv *srv = mod->rt->user_data; in blob_srv_init()
853 srv->mod = mod; in blob_srv_init()
863 static int blob_srv_settings_set(const struct bt_mesh_model *mod, const char *name, in blob_srv_settings_set() argument
867 struct bt_mesh_blob_srv *srv = mod->rt->user_data; in blob_srv_settings_set()
905 static int blob_srv_start(const struct bt_mesh_model *mod) in blob_srv_start() argument
907 struct bt_mesh_blob_srv *srv = mod->rt->user_data; in blob_srv_start()
933 static void blob_srv_reset(const struct bt_mesh_model *mod) in blob_srv_reset() argument
935 struct bt_mesh_blob_srv *srv = mod->rt->user_data; in blob_srv_reset()