Lines Matching refs:prof_desc

320 		struct aw_prof_desc *prof_desc)  in aw_dev_parse_raw_reg()  argument
322 prof_desc->sec_desc[AW88395_DATA_TYPE_REG].data = data; in aw_dev_parse_raw_reg()
323 prof_desc->sec_desc[AW88395_DATA_TYPE_REG].len = data_len; in aw_dev_parse_raw_reg()
325 prof_desc->prof_st = AW88395_PROFILE_OK; in aw_dev_parse_raw_reg()
331 struct aw_prof_desc *prof_desc) in aw_dev_parse_raw_dsp_cfg() argument
338 prof_desc->sec_desc[AW88395_DATA_TYPE_DSP_CFG].data = data; in aw_dev_parse_raw_dsp_cfg()
339 prof_desc->sec_desc[AW88395_DATA_TYPE_DSP_CFG].len = data_len; in aw_dev_parse_raw_dsp_cfg()
341 prof_desc->prof_st = AW88395_PROFILE_OK; in aw_dev_parse_raw_dsp_cfg()
347 struct aw_prof_desc *prof_desc) in aw_dev_parse_raw_dsp_fw() argument
354 prof_desc->sec_desc[AW88395_DATA_TYPE_DSP_FW].data = data; in aw_dev_parse_raw_dsp_fw()
355 prof_desc->sec_desc[AW88395_DATA_TYPE_DSP_FW].len = data_len; in aw_dev_parse_raw_dsp_fw()
357 prof_desc->prof_st = AW88395_PROFILE_OK; in aw_dev_parse_raw_dsp_fw()
363 unsigned int data_len, struct aw_prof_desc *prof_desc) in aw_dev_prof_parse_multi_bin() argument
385 prof_desc->sec_desc[AW88395_DATA_TYPE_REG].len = in aw_dev_prof_parse_multi_bin()
387 prof_desc->sec_desc[AW88395_DATA_TYPE_REG].data = in aw_dev_prof_parse_multi_bin()
399 prof_desc->sec_desc[AW88395_DATA_TYPE_DSP_CFG].len = in aw_dev_prof_parse_multi_bin()
401 prof_desc->sec_desc[AW88395_DATA_TYPE_DSP_CFG].data = in aw_dev_prof_parse_multi_bin()
414 prof_desc->fw_ver = aw_bin->header_info[i].app_version; in aw_dev_prof_parse_multi_bin()
415 prof_desc->sec_desc[AW88395_DATA_TYPE_DSP_FW].len = in aw_dev_prof_parse_multi_bin()
417 prof_desc->sec_desc[AW88395_DATA_TYPE_DSP_FW].data = in aw_dev_prof_parse_multi_bin()
425 prof_desc->prof_st = AW88395_PROFILE_OK; in aw_dev_prof_parse_multi_bin()
434 uint8_t *data, uint32_t data_len, struct aw_prof_desc *prof_desc) in aw_dev_parse_reg_bin_with_hdr() argument
465 prof_desc->sec_desc[AW88395_DATA_TYPE_REG].data = in aw_dev_parse_reg_bin_with_hdr()
467 prof_desc->sec_desc[AW88395_DATA_TYPE_REG].len = in aw_dev_parse_reg_bin_with_hdr()
469 prof_desc->prof_st = AW88395_PROFILE_OK; in aw_dev_parse_reg_bin_with_hdr()
531 &all_prof_info->prof_desc[cfg_dde[i].dev_profile]); in aw_dev_parse_dev_type()
566 &all_prof_info->prof_desc[cfg_dde[i].dev_profile]); in aw_dev_parse_dev_default_type()
586 struct aw_prof_desc *prof_desc = all_prof_info.prof_desc; in aw88261_dev_cfg_get_valid_prof() local
592 if (prof_desc[i].prof_st == AW88395_PROFILE_OK) in aw88261_dev_cfg_get_valid_prof()
603 prof_info->prof_desc = devm_kcalloc(aw_dev->dev, in aw88261_dev_cfg_get_valid_prof()
606 if (!prof_info->prof_desc) in aw88261_dev_cfg_get_valid_prof()
610 if (prof_desc[i].prof_st == AW88395_PROFILE_OK) { in aw88261_dev_cfg_get_valid_prof()
616 prof_info->prof_desc[num] = prof_desc[i]; in aw88261_dev_cfg_get_valid_prof()
617 prof_info->prof_desc[num].id = i; in aw88261_dev_cfg_get_valid_prof()
628 struct aw_prof_desc *prof_desc = all_prof_info.prof_desc; in aw88395_dev_cfg_get_valid_prof() local
635 if (prof_desc[i].prof_st == AW88395_PROFILE_OK) { in aw88395_dev_cfg_get_valid_prof()
636 sec_desc = prof_desc[i].sec_desc; in aw88395_dev_cfg_get_valid_prof()
654 prof_info->prof_desc = devm_kcalloc(aw_dev->dev, in aw88395_dev_cfg_get_valid_prof()
657 if (!prof_info->prof_desc) in aw88395_dev_cfg_get_valid_prof()
661 if (prof_desc[i].prof_st == AW88395_PROFILE_OK) { in aw88395_dev_cfg_get_valid_prof()
662 sec_desc = prof_desc[i].sec_desc; in aw88395_dev_cfg_get_valid_prof()
674 prof_info->prof_desc[num] = prof_desc[i]; in aw88395_dev_cfg_get_valid_prof()
675 prof_info->prof_desc[num].id = i; in aw88395_dev_cfg_get_valid_prof()
731 struct aw_prof_desc *prof_desc = prof_info->prof_desc; in aw_dev_create_prof_name_list_v1() local
734 if (!prof_desc) { in aw_dev_create_prof_name_list_v1()
746 prof_desc[i].id = i; in aw_dev_create_prof_name_list_v1()
747 prof_info->prof_name_list[i] = prof_desc[i].prf_str; in aw_dev_create_prof_name_list_v1()
899 cfg_dde->data_size, &prof_info->prof_desc[*cur_scene_id]); in aw_dev_parse_data_by_sec_type_v1()
904 prof_info->prof_desc[*cur_scene_id].prf_str = cfg_dde->dev_profile_str; in aw_dev_parse_data_by_sec_type_v1()
905 prof_info->prof_desc[*cur_scene_id].id = cfg_dde->dev_profile; in aw_dev_parse_data_by_sec_type_v1()
911 cfg_dde->data_size, &prof_info->prof_desc[*cur_scene_id]); in aw_dev_parse_data_by_sec_type_v1()
916 prof_info->prof_desc[*cur_scene_id].prf_str = cfg_dde->dev_profile_str; in aw_dev_parse_data_by_sec_type_v1()
917 prof_info->prof_desc[*cur_scene_id].id = cfg_dde->dev_profile; in aw_dev_parse_data_by_sec_type_v1()
1022 prof_info->prof_desc = devm_kcalloc(aw_dev->dev, in aw_dev_load_cfg_by_hdr_v1()
1025 if (!prof_info->prof_desc) in aw_dev_load_cfg_by_hdr_v1()