Lines Matching refs:model

20 static int bridge_status(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx,  in bridge_status()  argument
38 static int table_status(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in table_status() argument
71 static int subnets_list(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in subnets_list() argument
111 static int table_list(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in table_list() argument
150 static int table_size_status(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in table_size_status() argument
177 static int brg_cfg_cli_init(const struct bt_mesh_model *model) in brg_cfg_cli_init() argument
179 if (!bt_mesh_model_in_primary(model)) { in brg_cfg_cli_init()
184 if (!model->rt->user_data) { in brg_cfg_cli_init()
189 cli = model->rt->user_data; in brg_cfg_cli_init()
190 cli->model = model; in brg_cfg_cli_init()
193 model->keys[0] = BT_MESH_KEY_DEV_ANY; in brg_cfg_cli_init()
194 model->rt->flags |= BT_MESH_MOD_DEVKEY_ONLY; in brg_cfg_cli_init()
218 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status ? NULL : &rsp_ctx); in bt_mesh_brg_cfg_cli_get()
236 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status ? NULL : &rsp_ctx); in bt_mesh_brg_cfg_cli_set()
252 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !size ? NULL : &rsp_ctx); in bt_mesh_brg_cfg_cli_table_size_get()
290 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !rsp ? NULL : &rsp_ctx); in bt_mesh_brg_cfg_cli_table_add()
319 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !rsp ? NULL : &rsp_ctx); in bt_mesh_brg_cfg_cli_table_remove()
339 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !rsp ? NULL : &rsp_ctx); in bt_mesh_brg_cfg_cli_subnets_get()
359 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !rsp ? NULL : &rsp_ctx); in bt_mesh_brg_cfg_cli_table_get()