Searched refs:aw_dev (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/sound/soc/codecs/aw88395/ |
A D | aw88395_device.c | 310 usleep_range(aw_dev->fade_in_time, aw_dev->fade_in_time + 10); in aw_dev_fade_in() 333 usleep_range(aw_dev->fade_out_time, aw_dev->fade_out_time + 10); in aw_dev_fade_out() 1057 if (aw_dev->prof_cur != aw_dev->prof_index) { in aw_dev_update_reg_container() 1069 aw_dev_get_dsp_config(aw_dev, &aw_dev->dsp_cfg); in aw_dev_update_reg_container() 1231 ret = aw_dev_get_vmax(aw_dev, &aw_dev->vmax_desc.init_vmax); in aw_dev_dsp_update_cfg() 1298 if ((aw_dev->prof_cur == aw_dev->prof_index) && in aw88395_dev_fw_update() 1360 aw_dev->prof_cur = aw_dev->prof_index; in aw88395_dev_fw_update() 1392 dev_err(aw_dev->dev, "unknown dsp cfg=%d", aw_dev->dsp_cfg); in aw_dev_dsp_check() 1563 aw_dev->prof_cur = aw_dev->prof_info.prof_desc[0].id; in aw88395_dev_init() 1564 aw_dev->prof_index = aw_dev->prof_info.prof_desc[0].id; in aw88395_dev_init() [all …]
|
A D | aw88395_lib.c | 186 return aw_parse_bin_header(aw_dev, bin); in aw_parse_one_of_multi_bins() 283 ret = aw_check_sum(aw_dev, bin, i); in aw_parsing_bin_file() 428 devm_kfree(aw_dev->dev, aw_bin); in aw_dev_prof_parse_multi_bin() 480 dev_err(aw_dev->dev, "parse failed"); in aw_dev_parse_dev_type() 552 dev_dbg(aw_dev->dev, "get valid profile:%d", aw_dev->prof_info.count); in aw_dev_cfg_get_valid_prof() 616 devm_kfree(aw_dev->dev, all_prof_info); in aw_dev_load_cfg_by_hdr() 723 switch (aw_dev->prof_info.prof_type) { in aw_dev_parse_scene_count_v1() 731 dev_err(aw_dev->dev, "unsupported prof_type[%x]", aw_dev->prof_info.prof_type); in aw_dev_parse_scene_count_v1() 831 switch (aw_dev->prof_info.prof_type) { in aw_dev_parse_by_hdr_v1() 840 aw_dev->prof_info.prof_type); in aw_dev_parse_by_hdr_v1() [all …]
|
A D | aw88395_device.h | 178 int aw88395_dev_init(struct aw_device *aw_dev, struct aw_container *aw_cfg); 179 int aw88395_dev_start(struct aw_device *aw_dev); 180 int aw88395_dev_stop(struct aw_device *aw_dev); 183 void aw88395_dev_set_volume(struct aw_device *aw_dev, unsigned short set_vol); 184 int aw88395_dev_get_prof_data(struct aw_device *aw_dev, int index, 186 char *aw88395_dev_get_prof_name(struct aw_device *aw_dev, int index); 187 int aw88395_dev_set_profile_index(struct aw_device *aw_dev, int index); 188 int aw88395_dev_get_profile_index(struct aw_device *aw_dev); 189 int aw88395_dev_get_profile_count(struct aw_device *aw_dev); 191 int aw88395_dev_cfg_load(struct aw_device *aw_dev, struct aw_container *aw_cfg); [all …]
|
A D | aw88395.c | 109 struct aw_device *aw_dev = aw88395->aw_pa; in aw88395_get_fade_in_time() local 123 struct aw_device *aw_dev = aw88395->aw_pa; in aw88395_set_fade_in_time() local 131 if (time != aw_dev->fade_in_time) { in aw88395_set_fade_in_time() 132 aw_dev->fade_in_time = time; in aw88395_set_fade_in_time() 144 struct aw_device *aw_dev = aw88395->aw_pa; in aw88395_get_fade_out_time() local 158 struct aw_device *aw_dev = aw88395->aw_pa; in aw88395_set_fade_out_time() local 165 if (time != aw_dev->fade_out_time) { in aw88395_set_fade_out_time() 166 aw_dev->fade_out_time = time; in aw88395_set_fade_out_time() 321 struct aw_device *aw_dev = aw88395->aw_pa; in aw88395_re_get() local 342 if (aw_dev->cali_desc.cali_re != value) { in aw88395_re_set() [all …]
|
Completed in 18 milliseconds