Lines Matching refs:rsp
24 enum bt_mesh_brg_cfg_state *rsp; in bridge_status() local
27 (void **)&rsp)) { in bridge_status()
28 *rsp = status; in bridge_status()
42 struct bt_mesh_brg_cfg_table_status *rsp; in table_status() local
60 (void **)&rsp)) { in table_status()
61 *rsp = table_status; in table_status()
75 struct bt_mesh_brg_cfg_subnets_list *rsp; in subnets_list() local
91 (void **)&rsp)) { in subnets_list()
92 rsp->net_idx_filter = subnets_list.net_idx_filter; in subnets_list()
93 rsp->start_idx = subnets_list.start_idx; in subnets_list()
95 if (rsp->list) { in subnets_list()
98 to_copy = MIN(net_buf_simple_tailroom(rsp->list), buf->len); in subnets_list()
99 net_buf_simple_add_mem(rsp->list, buf->data, to_copy); in subnets_list()
115 struct bt_mesh_brg_cfg_table_list *rsp; in table_list() local
128 (void **)&rsp)) { in table_list()
129 rsp->status = table_list.status; in table_list()
130 rsp->net_idx1 = table_list.net_idx1; in table_list()
131 rsp->net_idx2 = table_list.net_idx2; in table_list()
132 rsp->start_idx = table_list.start_idx; in table_list()
134 if (rsp->list) { in table_list()
137 to_copy = MIN(net_buf_simple_tailroom(rsp->list), (buf->len / 5) * 5); in table_list()
138 net_buf_simple_add_mem(rsp->list, buf->data, to_copy); in table_list()
154 uint16_t *rsp; in table_size_status() local
157 (void **)&rsp)) { in table_size_status()
158 *rsp = size; in table_size_status()
257 struct bt_mesh_brg_cfg_table_status *rsp) in bt_mesh_brg_cfg_cli_table_add() argument
264 .user_data = rsp, in bt_mesh_brg_cfg_cli_table_add()
290 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !rsp ? NULL : &rsp_ctx); in bt_mesh_brg_cfg_cli_table_add()
295 struct bt_mesh_brg_cfg_table_status *rsp) in bt_mesh_brg_cfg_cli_table_remove() argument
302 .user_data = rsp, in bt_mesh_brg_cfg_cli_table_remove()
319 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !rsp ? NULL : &rsp_ctx); in bt_mesh_brg_cfg_cli_table_remove()
324 uint8_t start_idx, struct bt_mesh_brg_cfg_subnets_list *rsp) in bt_mesh_brg_cfg_cli_subnets_get() argument
331 .user_data = rsp, in bt_mesh_brg_cfg_cli_subnets_get()
339 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !rsp ? NULL : &rsp_ctx); in bt_mesh_brg_cfg_cli_subnets_get()
344 struct bt_mesh_brg_cfg_table_list *rsp) in bt_mesh_brg_cfg_cli_table_get() argument
351 .user_data = rsp, in bt_mesh_brg_cfg_cli_table_get()
359 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !rsp ? NULL : &rsp_ctx); in bt_mesh_brg_cfg_cli_table_get()