Home
last modified time | relevance | path

Searched refs:prof_info (Results 1 – 9 of 9) sorted by relevance

/OK3568_Linux_fs/kernel/sound/soc/codecs/aw87xxx/
H A Daw_acf_bin.c688 struct aw_prof_info *prof_info = &acf_info->prof_info; in aw_set_prof_off_info_v_0_0_0_1() local
690 if (index >= prof_info->count) { in aw_set_prof_off_info_v_0_0_0_1()
692 index, prof_info->count); in aw_set_prof_off_info_v_0_0_0_1()
697 prof_info->prof_desc[index] = prof_desc[AW_PROFILE_OFF]; in aw_set_prof_off_info_v_0_0_0_1()
699 prof_info->prof_desc[index].dev_name, in aw_set_prof_off_info_v_0_0_0_1()
702 memset(&prof_info->prof_desc[index].data_container, 0, in aw_set_prof_off_info_v_0_0_0_1()
704 prof_info->prof_desc[index].prof_st = AW_PROFILE_WAIT; in aw_set_prof_off_info_v_0_0_0_1()
705 prof_info->prof_desc[index].prof_name = aw_get_prof_name(AW_PROFILE_OFF); in aw_set_prof_off_info_v_0_0_0_1()
724 struct aw_prof_info *prof_info = &acf_info->prof_info; in aw_get_vaild_prof_v_0_0_0_1() local
726 prof_info->count = 0; in aw_get_vaild_prof_v_0_0_0_1()
[all …]
H A Daw87xxx.c146 struct aw_prof_info *prof_info = &aw87xxx->acf_info.prof_info; in aw87xxx_update_profile() local
152 if (!prof_info->status) { in aw87xxx_update_profile()
309 struct aw_prof_info *prof_info = &aw87xxx->acf_info.prof_info; in aw87xxx_esd_update_profile() local
315 if (!prof_info->status) { in aw87xxx_esd_update_profile()
706 struct aw_prof_info *prof_info = &aw87xxx->acf_info.prof_info; in aw87xxx_fw_load_work_routine() local
710 if (prof_info->status == AW_ACF_WAIT) { in aw87xxx_fw_load_work_routine()
813 struct aw_prof_info *prof_info = &aw87xxx->acf_info.prof_info; in aw87xxx_attr_get_profile() local
815 if (!prof_info->status) { in aw87xxx_attr_get_profile()
823 for (i = 0; i < prof_info->count; i++) { in aw87xxx_attr_get_profile()
824 if (!strncmp(aw87xxx->current_profile, prof_info->prof_name_list[i], in aw87xxx_attr_get_profile()
[all …]
H A Daw_acf_bin.h173 struct aw_prof_info prof_info; member
/OK3568_Linux_fs/kernel/sound/soc/codecs/aw883xx/
H A Daw_bin_parse.c761 struct aw_prof_info *prof_info = &aw_dev->prof_info; in aw_dev_cfg_get_vaild_prof() local
772 prof_info->count++; in aw_dev_cfg_get_vaild_prof()
777 aw_dev_info(aw_dev->dev, "get vaild profile:%d", aw_dev->prof_info.count); in aw_dev_cfg_get_vaild_prof()
779 if (!prof_info->count) { in aw_dev_cfg_get_vaild_prof()
784 prof_info->prof_desc = devm_kzalloc(aw_dev->dev, in aw_dev_cfg_get_vaild_prof()
785 prof_info->count * sizeof(struct aw_prof_desc), in aw_dev_cfg_get_vaild_prof()
787 if (prof_info->prof_desc == NULL) { in aw_dev_cfg_get_vaild_prof()
801 if (num >= prof_info->count) { in aw_dev_cfg_get_vaild_prof()
803 num, prof_info->count); in aw_dev_cfg_get_vaild_prof()
806 prof_info->prof_desc[num] = prof_desc[i]; in aw_dev_cfg_get_vaild_prof()
[all …]
H A Daw_device.c1440 &aw_dev->prof_info.prof_desc[aw_dev->cur_prof].sec_desc[AW_DATA_TYPE_DSP_CFG]; in aw_device_stop()
1442 &aw_dev->prof_info.prof_desc[aw_dev->cur_prof].sec_desc[AW_DATA_TYPE_DSP_FW]; in aw_device_stop()
1502 if (aw_dev->prof_info.prof_desc != NULL) { in aw_dev_deinit()
1503 devm_kfree(aw_dev->dev, aw_dev->prof_info.prof_desc); in aw_dev_deinit()
1504 aw_dev->prof_info.prof_desc = NULL; in aw_dev_deinit()
1506 aw_dev->prof_info.count = 0; in aw_dev_deinit()
1533 aw_dev->cur_prof = aw_dev->prof_info.prof_desc[0].id; in aw_device_init()
1534 aw_dev->set_prof = aw_dev->prof_info.prof_desc[0].id; in aw_device_init()
H A Daw_init.c378 aw_pa->prof_info.prof_desc = NULL; in aw883xx_dev_init()
379 aw_pa->prof_info.count = 0; in aw883xx_dev_init()
380 aw_pa->prof_info.prof_type = AW_DEV_NONE_TYPE_ID; in aw883xx_dev_init()
H A Daw_device.h447 struct aw_prof_info prof_info; member
/OK3568_Linux_fs/external/rkwifibt/drivers/bluetooth_usb_driver/
H A Drtk_coex.c825 rtk_prof_info *prof_info = NULL; in handle_l2cap_con_req() local
835 prof_info = in handle_l2cap_con_req()
838 prof_info = in handle_l2cap_con_req()
841 if (prof_info) { in handle_l2cap_con_req()
864 rtk_prof_info *prof_info = NULL; in handle_l2cap_con_rsp() local
869 prof_info = in handle_l2cap_con_rsp()
872 prof_info = in handle_l2cap_con_rsp()
875 if (!prof_info) { in handle_l2cap_con_rsp()
884 prof_info->dcid = dcid; in handle_l2cap_con_rsp()
886 prof_info->scid = dcid; in handle_l2cap_con_rsp()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bluetooth_uart_driver/
H A Drtk_coex.c825 rtk_prof_info *prof_info = NULL; in handle_l2cap_con_req() local
835 prof_info = in handle_l2cap_con_req()
838 prof_info = in handle_l2cap_con_req()
841 if (prof_info) { in handle_l2cap_con_req()
864 rtk_prof_info *prof_info = NULL; in handle_l2cap_con_rsp() local
869 prof_info = in handle_l2cap_con_rsp()
872 prof_info = in handle_l2cap_con_rsp()
875 if (!prof_info) { in handle_l2cap_con_rsp()
884 prof_info->dcid = dcid; in handle_l2cap_con_rsp()
886 prof_info->scid = dcid; in handle_l2cap_con_rsp()
[all …]