Searched refs:prof_info (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/sound/soc/codecs/aw88395/ |
D | aw88395_lib.c | 566 struct aw_prof_info *prof_info = &aw_dev->prof_info; in aw_dev_cfg_get_reg_valid_prof() local 572 prof_info->count++; in aw_dev_cfg_get_reg_valid_prof() 575 dev_dbg(aw_dev->dev, "get valid profile:%d", aw_dev->prof_info.count); in aw_dev_cfg_get_reg_valid_prof() 577 if (!prof_info->count) { 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() 583 prof_info->count, sizeof(struct aw_prof_desc), in aw_dev_cfg_get_reg_valid_prof() 585 if (!prof_info->prof_desc) in aw_dev_cfg_get_reg_valid_prof() 590 if (num >= prof_info->count) { in aw_dev_cfg_get_reg_valid_prof() 592 prof_info->count); 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() [all …]
|
D | aw88395_device.c | 1491 &aw_dev->prof_info.prof_desc[aw_dev->prof_cur].sec_desc[AW88395_DATA_TYPE_DSP_CFG]; in aw88395_dev_stop() 1493 &aw_dev->prof_info.prof_desc[aw_dev->prof_cur].sec_desc[AW88395_DATA_TYPE_DSP_FW]; in aw88395_dev_stop() 1555 aw_dev->prof_cur = aw_dev->prof_info.prof_desc[0].id; in aw88395_dev_init() 1556 aw_dev->prof_index = aw_dev->prof_info.prof_desc[0].id; in aw88395_dev_init() 1607 aw_dev->prof_info.prof_desc = NULL; in aw_dev_init() 1608 aw_dev->prof_info.count = 0; in aw_dev_init() 1609 aw_dev->prof_info.prof_type = AW88395_DEV_NONE_TYPE_ID; in aw_dev_init() 1622 return aw_dev->prof_info.count; in aw88395_dev_get_profile_count() 1635 if ((index >= aw_dev->prof_info.count) || (index < 0)) in aw88395_dev_set_profile_index() 1643 aw_dev->prof_info.prof_name_list[aw_dev->prof_info.prof_desc[index].id]); in aw88395_dev_set_profile_index() [all …]
|
D | aw88395_device.h | 164 struct aw_prof_info prof_info; member
|
/linux-6.12.1/sound/soc/codecs/ |
D | aw87390.c | 52 struct aw_prof_info *prof_info = &aw_dev->prof_info; in aw87390_dev_get_prof_name() local 55 if ((index >= aw_dev->prof_info.count) || (index < 0)) { in aw87390_dev_get_prof_name() 57 index, aw_dev->prof_info.count); in aw87390_dev_get_prof_name() 61 prof_desc = &aw_dev->prof_info.prof_desc[index]; in aw87390_dev_get_prof_name() 63 *prof_name = prof_info->prof_name_list[prof_desc->id]; in aw87390_dev_get_prof_name() 71 if ((index >= aw_dev->prof_info.count) || (index < 0)) { in aw87390_dev_get_prof_data() 73 __func__, index, aw_dev->prof_info.count); in aw87390_dev_get_prof_data() 77 *prof_desc = &aw_dev->prof_info.prof_desc[index]; in aw87390_dev_get_prof_data() 164 if ((index >= aw_dev->prof_info.count) || (index < 0)) in aw87390_dev_set_profile_index() 186 count = aw87390->aw_pa->prof_info.count; in aw87390_profile_info() [all …]
|
D | aw88261.c | 481 struct aw_prof_info *prof_info = &aw_dev->prof_info; in aw88261_dev_get_prof_name() local 484 if ((index >= aw_dev->prof_info.count) || (index < 0)) { in aw88261_dev_get_prof_name() 486 index, aw_dev->prof_info.count); in aw88261_dev_get_prof_name() 490 prof_desc = &aw_dev->prof_info.prof_desc[index]; in aw88261_dev_get_prof_name() 492 *prof_name = prof_info->prof_name_list[prof_desc->id]; in aw88261_dev_get_prof_name() 500 if ((index >= aw_dev->prof_info.count) || (index < 0)) { in aw88261_dev_get_prof_data() 502 __func__, index, aw_dev->prof_info.count); in aw88261_dev_get_prof_data() 506 *prof_desc = &aw_dev->prof_info.prof_desc[index]; in aw88261_dev_get_prof_data() 806 if ((index >= aw_dev->prof_info.count) || (index < 0)) in aw88261_dev_set_profile_index() 828 count = aw88261->aw_pa->prof_info.count; in aw88261_profile_info() [all …]
|
D | aw88399.c | 1125 struct aw_prof_info *prof_info = &aw_dev->prof_info; in aw88399_dev_get_prof_name() local 1128 if ((index >= aw_dev->prof_info.count) || (index < 0)) { in aw88399_dev_get_prof_name() 1130 index, aw_dev->prof_info.count); in aw88399_dev_get_prof_name() 1134 prof_desc = &aw_dev->prof_info.prof_desc[index]; in aw88399_dev_get_prof_name() 1136 *prof_name = prof_info->prof_name_list[prof_desc->id]; in aw88399_dev_get_prof_name() 1144 if ((index >= aw_dev->prof_info.count) || (index < 0)) { in aw88399_dev_get_prof_data() 1146 __func__, index, aw_dev->prof_info.count); in aw88399_dev_get_prof_data() 1150 *prof_desc = &aw_dev->prof_info.prof_desc[index]; in aw88399_dev_get_prof_data() 1305 &aw_dev->prof_info.prof_desc[aw_dev->prof_cur].sec_desc[AW88395_DATA_TYPE_DSP_CFG]; in aw88399_stop() 1307 &aw_dev->prof_info.prof_desc[aw_dev->prof_cur].sec_desc[AW88395_DATA_TYPE_DSP_FW]; in aw88399_stop() [all …]
|