Lines Matching refs:aw_pa
304 dev_dbg(aw88261->aw_pa->dev, "needn't set reg value"); in aw88261_reg_force_set()
396 struct aw_device *aw_dev = aw88261->aw_pa; in aw88261_dev_reg_update()
512 struct aw_device *aw_dev = aw88261->aw_pa; in aw88261_dev_fw_update()
546 struct aw_device *aw_dev = aw88261->aw_pa; in aw88261_dev_start()
638 struct aw_device *aw_dev = aw88261->aw_pa; in aw88261_reg_update()
672 dev_err(aw88261->aw_pa->dev, "fw update failed, cnt:%d\n", i); in aw88261_start_pa()
677 dev_err(aw88261->aw_pa->dev, "aw88261 device start failed. retry = %d", i); in aw88261_start_pa()
680 dev_info(aw88261->aw_pa->dev, "start success\n"); in aw88261_start_pa()
698 if (aw88261->aw_pa->fw_status != AW88261_DEV_FW_OK) in aw88261_start()
701 if (aw88261->aw_pa->status == AW88261_DEV_PW_ON) in aw88261_start()
738 struct aw_device *aw_dev = aw88261->aw_pa; in aw88261_get_fade_in_time()
752 struct aw_device *aw_dev = aw88261->aw_pa; in aw88261_set_fade_in_time()
773 struct aw_device *aw_dev = aw88261->aw_pa; in aw88261_get_fade_out_time()
787 struct aw_device *aw_dev = aw88261->aw_pa; in aw88261_set_fade_out_time()
828 count = aw88261->aw_pa->prof_info.count; in aw88261_profile_info()
842 prof_name = aw88261_dev_get_prof_name(aw88261->aw_pa, count); in aw88261_profile_info()
860 ucontrol->value.integer.value[0] = aw88261->aw_pa->prof_index; in aw88261_profile_get()
874 ret = aw88261_dev_set_profile_index(aw88261->aw_pa, ucontrol->value.integer.value[0]); in aw88261_profile_set()
881 if (aw88261->aw_pa->status) { in aw88261_profile_set()
882 aw88261_dev_stop(aw88261->aw_pa); in aw88261_profile_set()
896 struct aw_volume_desc *vol_desc = &aw88261->aw_pa->volume_desc; in aw88261_volume_get()
908 struct aw_volume_desc *vol_desc = &aw88261->aw_pa->volume_desc; in aw88261_volume_set()
920 aw88261_dev_set_volume(aw88261->aw_pa, vol_desc->ctl_volume); in aw88261_volume_set()
934 ucontrol->value.integer.value[0] = aw88261->aw_pa->fade_step; in aw88261_get_fade_step()
952 if (aw88261->aw_pa->fade_step != value) { in aw88261_set_fade_step()
953 aw88261->aw_pa->fade_step = value; in aw88261_set_fade_step()
986 aw88261_dev_stop(aw88261->aw_pa); in aw88261_playback_event()
1039 dev_dbg(aw88261->aw_pa->dev, "tem is 0x%04x, frcset_en is %d", in aw88261_frcset_check()
1047 struct aw_device *aw_dev = aw88261->aw_pa; in aw88261_dev_init()
1099 aw88261->aw_pa->fw_status = AW88261_DEV_FW_FAILED; in aw88261_request_firmware_file()
1101 ret = request_firmware(&cont, AW88261_ACF_FILE, aw88261->aw_pa->dev); in aw88261_request_firmware_file()
1103 return dev_err_probe(aw88261->aw_pa->dev, ret, in aw88261_request_firmware_file()
1106 dev_info(aw88261->aw_pa->dev, "loaded %s - size: %zu\n", in aw88261_request_firmware_file()
1109 aw88261->aw_cfg = devm_kzalloc(aw88261->aw_pa->dev, cont->size + sizeof(int), GFP_KERNEL); in aw88261_request_firmware_file()
1118 ret = aw88395_dev_load_acf_check(aw88261->aw_pa, aw88261->aw_cfg); in aw88261_request_firmware_file()
1120 dev_err(aw88261->aw_pa->dev, "load [%s] failed !", AW88261_ACF_FILE); in aw88261_request_firmware_file()
1128 dev_err(aw88261->aw_pa->dev, "dev init failed"); in aw88261_request_firmware_file()
1144 return dev_err_probe(aw88261->aw_pa->dev, ret, in aw88261_codec_probe()
1187 struct aw_device *aw_dev = aw88261->aw_pa; in aw88261_parse_channel_dt()
1222 (*aw88261)->aw_pa = aw_dev; in aw88261_init()