Lines Matching refs:mod

93 static int handle_extended_scan_report(const struct bt_mesh_model *mod, struct bt_mesh_msg_ctx *ctx,  in handle_extended_scan_report()  argument
97 struct bt_mesh_rpr_cli *cli = mod->rt->user_data; in handle_extended_scan_report()
126 static int handle_link_report(const struct bt_mesh_model *mod, struct bt_mesh_msg_ctx *ctx, in handle_link_report() argument
130 struct bt_mesh_rpr_cli *cli = mod->rt->user_data; in handle_link_report()
164 static int handle_link_status(const struct bt_mesh_model *mod, struct bt_mesh_msg_ctx *ctx, in handle_link_status() argument
167 struct bt_mesh_rpr_cli *cli = mod->rt->user_data; in handle_link_status()
198 static int handle_pdu_outbound_report(const struct bt_mesh_model *mod, struct bt_mesh_msg_ctx *ctx, in handle_pdu_outbound_report() argument
201 struct bt_mesh_rpr_cli *cli = mod->rt->user_data; in handle_pdu_outbound_report()
229 static int handle_pdu_report(const struct bt_mesh_model *mod, struct bt_mesh_msg_ctx *ctx, in handle_pdu_report() argument
232 struct bt_mesh_rpr_cli *cli = mod->rt->user_data; in handle_pdu_report()
260 static int handle_scan_caps_status(const struct bt_mesh_model *mod, struct bt_mesh_msg_ctx *ctx, in handle_scan_caps_status() argument
263 struct bt_mesh_rpr_cli *cli = mod->rt->user_data; in handle_scan_caps_status()
284 static int handle_scan_report(const struct bt_mesh_model *mod, struct bt_mesh_msg_ctx *ctx, in handle_scan_report() argument
287 struct bt_mesh_rpr_cli *cli = mod->rt->user_data; in handle_scan_report()
316 static int handle_scan_status(const struct bt_mesh_model *mod, struct bt_mesh_msg_ctx *ctx, in handle_scan_status() argument
319 struct bt_mesh_rpr_cli *cli = mod->rt->user_data; in handle_scan_status()
364 static int rpr_cli_init(const struct bt_mesh_model *mod) in rpr_cli_init() argument
366 if (mod->rt->elem_idx) { in rpr_cli_init()
372 struct bt_mesh_rpr_cli *cli = mod->rt->user_data; in rpr_cli_init()
374 cli->mod = mod; in rpr_cli_init()
380 mod->keys[0] = BT_MESH_KEY_DEV_ANY; in rpr_cli_init()
381 mod->rt->flags |= BT_MESH_MOD_DEVKEY_ONLY; in rpr_cli_init()
434 err = bt_mesh_model_send(cli->mod, &ctx, buf, NULL, NULL); in tx_wait()
549 return bt_mesh_model_send(cli->mod, &ctx, &buf, NULL, NULL); in bt_mesh_rpr_scan_start_ext()
598 return bt_mesh_model_send(cli->mod, &ctx, &buf, NULL, NULL); in link_open_prov()
612 return bt_mesh_model_send(cli->mod, &ctx, &buf, NULL, NULL); in link_open_node()
630 err = bt_mesh_model_send(cli->mod, &ctx, &buf, NULL, NULL); in link_close()
670 err = bt_mesh_model_send(cli->mod, &ctx, buf, &pdu_send_cb, cli); in send()