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()
397 prof_desc->sec_desc[AW88395_DATA_TYPE_DSP_CFG].len = in aw_dev_prof_parse_multi_bin()
399 prof_desc->sec_desc[AW88395_DATA_TYPE_DSP_CFG].data = in aw_dev_prof_parse_multi_bin()
410 prof_desc->fw_ver = aw_bin->header_info[i].app_version; in aw_dev_prof_parse_multi_bin()
411 prof_desc->sec_desc[AW88395_DATA_TYPE_DSP_FW].len = in aw_dev_prof_parse_multi_bin()
413 prof_desc->sec_desc[AW88395_DATA_TYPE_DSP_FW].data = in aw_dev_prof_parse_multi_bin()
421 prof_desc->prof_st = AW88395_PROFILE_OK; in aw_dev_prof_parse_multi_bin()
427 uint8_t *data, uint32_t data_len, struct aw_prof_desc *prof_desc) in aw_dev_parse_reg_bin_with_hdr() argument
451 prof_desc->sec_desc[AW88395_DATA_TYPE_REG].data = in aw_dev_parse_reg_bin_with_hdr()
453 prof_desc->sec_desc[AW88395_DATA_TYPE_REG].len = in aw_dev_parse_reg_bin_with_hdr()
455 prof_desc->prof_st = AW88395_PROFILE_OK; in aw_dev_parse_reg_bin_with_hdr()
509 &all_prof_info->prof_desc[cfg_dde[i].dev_profile]); in aw_dev_parse_dev_type()
545 &all_prof_info->prof_desc[cfg_dde[i].dev_profile]); in aw_dev_parse_dev_default_type()
565 struct aw_prof_desc *prof_desc = all_prof_info->prof_desc; in aw_dev_cfg_get_reg_valid_prof() local
571 if (prof_desc[i].prof_st == AW88395_PROFILE_OK) in aw_dev_cfg_get_reg_valid_prof()
582 prof_info->prof_desc = devm_kcalloc(aw_dev->dev, in aw_dev_cfg_get_reg_valid_prof()
585 if (!prof_info->prof_desc) in aw_dev_cfg_get_reg_valid_prof()
589 if (prof_desc[i].prof_st == AW88395_PROFILE_OK) { in aw_dev_cfg_get_reg_valid_prof()
595 prof_info->prof_desc[num] = prof_desc[i]; in aw_dev_cfg_get_reg_valid_prof()
596 prof_info->prof_desc[num].id = i; in aw_dev_cfg_get_reg_valid_prof()
607 struct aw_prof_desc *prof_desc = all_prof_info->prof_desc; in aw_dev_cfg_get_multiple_valid_prof() local
614 if (prof_desc[i].prof_st == AW88395_PROFILE_OK) { in aw_dev_cfg_get_multiple_valid_prof()
615 sec_desc = prof_desc[i].sec_desc; in aw_dev_cfg_get_multiple_valid_prof()
633 prof_info->prof_desc = devm_kcalloc(aw_dev->dev, in aw_dev_cfg_get_multiple_valid_prof()
636 if (!prof_info->prof_desc) in aw_dev_cfg_get_multiple_valid_prof()
640 if (prof_desc[i].prof_st == AW88395_PROFILE_OK) { in aw_dev_cfg_get_multiple_valid_prof()
641 sec_desc = prof_desc[i].sec_desc; in aw_dev_cfg_get_multiple_valid_prof()
653 prof_info->prof_desc[num] = prof_desc[i]; in aw_dev_cfg_get_multiple_valid_prof()
654 prof_info->prof_desc[num].id = i; in aw_dev_cfg_get_multiple_valid_prof()
704 struct aw_prof_desc *prof_desc = prof_info->prof_desc; in aw_dev_create_prof_name_list_v1() local
707 if (!prof_desc) { in aw_dev_create_prof_name_list_v1()
719 prof_desc[i].id = i; in aw_dev_create_prof_name_list_v1()
720 prof_info->prof_name_list[i] = prof_desc[i].prf_str; in aw_dev_create_prof_name_list_v1()
846 cfg_dde->data_size, &prof_info->prof_desc[*cur_scene_id]); in aw_dev_parse_data_by_sec_type_v1()
851 prof_info->prof_desc[*cur_scene_id].prf_str = cfg_dde->dev_profile_str; in aw_dev_parse_data_by_sec_type_v1()
852 prof_info->prof_desc[*cur_scene_id].id = cfg_dde->dev_profile; in aw_dev_parse_data_by_sec_type_v1()
858 cfg_dde->data_size, &prof_info->prof_desc[*cur_scene_id]); in aw_dev_parse_data_by_sec_type_v1()
863 prof_info->prof_desc[*cur_scene_id].prf_str = cfg_dde->dev_profile_str; in aw_dev_parse_data_by_sec_type_v1()
864 prof_info->prof_desc[*cur_scene_id].id = cfg_dde->dev_profile; in aw_dev_parse_data_by_sec_type_v1()
969 prof_info->prof_desc = devm_kcalloc(aw_dev->dev, in aw_dev_load_cfg_by_hdr_v1()
972 if (!prof_info->prof_desc) in aw_dev_load_cfg_by_hdr_v1()