Lines Matching refs:op

144                 if (mesh_model[model->mod_idx].op_list[i].op == opcode) {  in mesh_op_cb()
304 models->op = bt_mesh_cfg_srv_op; in ble_stack_mesh_init()
310 models->op = bt_mesh_cfg_cli_op; in ble_stack_mesh_init()
344 models->op = bt_mesh_health_srv_op; in ble_stack_mesh_init()
356 models->op = bt_mesh_health_cli_op; in ble_stack_mesh_init()
360 …struct bt_mesh_model_op *op = malloc(sizeof(struct bt_mesh_model_op) * (param->comp->elem[i].model… in ble_stack_mesh_init() local
362 if (op == NULL) { in ble_stack_mesh_init()
366 … memset(op, 0, sizeof(struct bt_mesh_model_op) * param->comp->elem[i].models[j].op_num); in ble_stack_mesh_init()
370 op[k].opcode = param->comp->elem[i].models[j].op_list[k].op; in ble_stack_mesh_init()
371 op[k].min_len = 0; in ble_stack_mesh_init()
372 op[k].func = mesh_op_cb_dummy; in ble_stack_mesh_init()
373 op[k].func2 = mesh_op_cb; in ble_stack_mesh_init()
403 models->op = op; in ble_stack_mesh_init()
423 …struct bt_mesh_model_op *op = malloc(sizeof(struct bt_mesh_model_op) * (param->comp->elem[i].vnd_m… in ble_stack_mesh_init() local
425 if (op == NULL) { in ble_stack_mesh_init()
429 … memset(op, 0, sizeof(struct bt_mesh_model_op) * param->comp->elem[i].vnd_models[j].op_num); in ble_stack_mesh_init()
433 op[k].opcode = param->comp->elem[i].vnd_models[j].op_list[k].op; in ble_stack_mesh_init()
434 op[k].min_len = 0; in ble_stack_mesh_init()
435 op[k].func = mesh_op_cb_dummy; in ble_stack_mesh_init()
436 op[k].func2 = mesh_op_cb; in ble_stack_mesh_init()
457 free(op); in ble_stack_mesh_init()
458 op = NULL; in ble_stack_mesh_init()
470 models->op = op; in ble_stack_mesh_init()
526 uint32_t op, in ble_stack_mesh_send() argument
543 if (op < 0x10000) { in ble_stack_mesh_send()
560 bt_mesh_model_msg_init(&msg_buf, op); in ble_stack_mesh_send()
569 uint32_t op, in ble_stack_mesh_pub() argument
580 if (op < 0x10000) { in ble_stack_mesh_pub()
597 bt_mesh_model_msg_init(msg_buf, op); in ble_stack_mesh_pub()