Lines Matching refs:model
36 static int data_status(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in data_status() argument
81 static int large_comp_data_status(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in large_comp_data_status() argument
84 return data_status(model, ctx, buf, OP_LARGE_COMP_DATA_STATUS, in large_comp_data_status()
89 static int models_metadata_status(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in models_metadata_status() argument
92 return data_status(model, ctx, buf, OP_MODELS_METADATA_STATUS, in models_metadata_status()
103 static int large_comp_data_cli_init(const struct bt_mesh_model *model) in large_comp_data_cli_init() argument
105 if (!bt_mesh_model_in_primary(model)) { in large_comp_data_cli_init()
110 model->keys[0] = BT_MESH_KEY_DEV_ANY; in large_comp_data_cli_init()
111 model->rt->flags |= BT_MESH_MOD_DEVKEY_ONLY; in large_comp_data_cli_init()
113 cli = model->rt->user_data; in large_comp_data_cli_init()
114 cli->model = model; in large_comp_data_cli_init()
142 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, rsp ? &rsp_ctx : NULL); in data_get()