Lines Matching refs:param
382 const struct bt_vocs_register_param *param) in bt_vocs_register() argument
402 CHECKIF(!param) { in bt_vocs_register()
417 CHECKIF(param->offset > BT_VOCS_MAX_OFFSET || param->offset < BT_VOCS_MIN_OFFSET) { in bt_vocs_register()
418 LOG_DBG("Invalid offset %d", param->offset); in bt_vocs_register()
422 inst->location = param->location; in bt_vocs_register()
423 inst->state.offset = param->offset; in bt_vocs_register()
424 inst->cb = param->cb; in bt_vocs_register()
426 if (param->output_desc) { in bt_vocs_register()
427 (void)utf8_lcpy(inst->output_desc, param->output_desc, in bt_vocs_register()
430 strcmp(inst->output_desc, param->output_desc)) { in bt_vocs_register()
444 if (param->location_writable && !bt_uuid_cmp(attr->uuid, BT_UUID_VOCS_LOCATION)) { in bt_vocs_register()
449 } else if (param->desc_writable && in bt_vocs_register()