Searched refs:sound_model (Results 1 – 3 of 3) sorted by relevance
608 struct sound_trigger_sound_model *sound_model, in stdev_load_sound_model() argument617 if (handle == NULL || sound_model == NULL) { in stdev_load_sound_model()621 if (sound_model->data_size == 0 || in stdev_load_sound_model()622 sound_model->data_offset < sizeof(struct sound_trigger_sound_model)) { in stdev_load_sound_model()657 model_context->model_type = sound_model->type; in stdev_load_sound_model()659 char *data = (char *)sound_model + sound_model->data_offset; in stdev_load_sound_model()661 sound_model->data_size, data[0], data[sound_model->data_size - 1]); in stdev_load_sound_model()662 model_context->model_uuid = sound_model->uuid; in stdev_load_sound_model()
85 struct sound_trigger_sound_model *sound_model,
2612 struct sound_trigger_sound_model *sound_model, in stdev_load_sound_model() argument2634 if (handle == NULL || sound_model == NULL) { in stdev_load_sound_model()2640 if (sound_model->data_size == 0 || in stdev_load_sound_model()2641 sound_model->data_offset < sizeof(struct sound_trigger_sound_model)) { in stdev_load_sound_model()2650 if ((check_uuid_equality(sound_model->vendor_uuid, in stdev_load_sound_model()2653 (check_uuid_equality(sound_model->vendor_uuid, in stdev_load_sound_model()2659 i = find_handle_for_uuid(stdev, sound_model->vendor_uuid); in stdev_load_sound_model()2675 kw_buffer = (unsigned char *) sound_model + sound_model->data_offset; in stdev_load_sound_model()2676 kw_model_sz = sound_model->data_size; in stdev_load_sound_model()2692 if (check_uuid_equality(sound_model->vendor_uuid, in stdev_load_sound_model()[all …]