Lines Matching defs:aw_dev

17 static int aw_dev_dsp_write_16bit(struct aw_device *aw_dev,  in aw_dev_dsp_write_16bit()
37 static int aw_dev_dsp_write_32bit(struct aw_device *aw_dev, in aw_dev_dsp_write_32bit()
66 static int aw_dev_dsp_write(struct aw_device *aw_dev, in aw_dev_dsp_write()
100 static int aw_dev_dsp_read_16bit(struct aw_device *aw_dev, in aw_dev_dsp_read_16bit()
122 static int aw_dev_dsp_read_32bit(struct aw_device *aw_dev, in aw_dev_dsp_read_32bit()
151 static int aw_dev_dsp_read(struct aw_device *aw_dev, in aw_dev_dsp_read()
186 static int aw_dev_read_chipid(struct aw_device *aw_dev, u16 *chip_id) in aw_dev_read_chipid()
215 static int aw_dev_dsp_fw_check(struct aw_device *aw_dev) in aw_dev_dsp_fw_check()
257 static int aw_dev_set_volume(struct aw_device *aw_dev, unsigned int value) in aw_dev_set_volume()
283 void aw88395_dev_set_volume(struct aw_device *aw_dev, unsigned short set_vol) in aw88395_dev_set_volume()
293 static void aw_dev_fade_in(struct aw_device *aw_dev) in aw_dev_fade_in()
317 static void aw_dev_fade_out(struct aw_device *aw_dev) in aw_dev_fade_out()
342 static int aw_dev_modify_dsp_cfg(struct aw_device *aw_dev, in aw_dev_modify_dsp_cfg()
375 static int aw_dev_dsp_set_cali_re(struct aw_device *aw_dev) in aw_dev_dsp_set_cali_re()
399 static void aw_dev_i2s_tx_enable(struct aw_device *aw_dev, bool flag) in aw_dev_i2s_tx_enable()
415 static int aw_dev_dsp_set_crc32(struct aw_device *aw_dev) in aw_dev_dsp_set_crc32()
439 static void aw_dev_dsp_check_crc_enable(struct aw_device *aw_dev, bool flag) in aw_dev_dsp_check_crc_enable()
454 static int aw_dev_dsp_check_st(struct aw_device *aw_dev) in aw_dev_dsp_check_st()
480 static void aw_dev_dsp_enable(struct aw_device *aw_dev, bool is_enable) in aw_dev_dsp_enable()
497 static int aw_dev_dsp_check_crc32(struct aw_device *aw_dev) in aw_dev_dsp_check_crc32()
529 static void aw_dev_pwd(struct aw_device *aw_dev, bool pwd) in aw_dev_pwd()
544 static void aw_dev_amppd(struct aw_device *aw_dev, bool amppd) in aw_dev_amppd()
559 void aw88395_dev_mute(struct aw_device *aw_dev, bool is_mute) in aw88395_dev_mute()
578 static int aw_dev_get_icalk(struct aw_device *aw_dev, int16_t *icalk) in aw_dev_get_icalk()
598 static int aw_dev_get_vcalk(struct aw_device *aw_dev, int16_t *vcalk) in aw_dev_get_vcalk()
620 static int aw_dev_get_vcalk_dac(struct aw_device *aw_dev, int16_t *vcalk) in aw_dev_get_vcalk_dac()
640 static int aw_dev_vsense_select(struct aw_device *aw_dev, int *vsense_select) in aw_dev_vsense_select()
663 static int aw_dev_set_vcalb(struct aw_device *aw_dev) in aw_dev_set_vcalb()
742 static int aw_dev_get_cali_f0_delay(struct aw_device *aw_dev) in aw_dev_get_cali_f0_delay()
760 static void aw_dev_get_int_status(struct aw_device *aw_dev, unsigned short *int_status) in aw_dev_get_int_status()
774 static void aw_dev_clear_int_status(struct aw_device *aw_dev) in aw_dev_clear_int_status()
786 static int aw_dev_get_iis_status(struct aw_device *aw_dev) in aw_dev_get_iis_status()
802 static int aw_dev_check_mode1_pll(struct aw_device *aw_dev) in aw_dev_check_mode1_pll()
819 static int aw_dev_check_mode2_pll(struct aw_device *aw_dev) in aw_dev_check_mode2_pll()
869 static int aw_dev_check_syspll(struct aw_device *aw_dev) in aw_dev_check_syspll()
886 static int aw_dev_check_sysst(struct aw_device *aw_dev) in aw_dev_check_sysst()
911 static int aw_dev_check_sysint(struct aw_device *aw_dev) in aw_dev_check_sysint()
925 static void aw_dev_get_cur_mode_st(struct aw_device *aw_dev) in aw_dev_get_cur_mode_st()
942 static void aw_dev_get_dsp_config(struct aw_device *aw_dev, unsigned char *dsp_cfg) in aw_dev_get_dsp_config()
958 static void aw_dev_select_memclk(struct aw_device *aw_dev, unsigned char flag) in aw_dev_select_memclk()
983 static int aw_dev_get_dsp_status(struct aw_device *aw_dev) in aw_dev_get_dsp_status()
997 static int aw_dev_get_vmax(struct aw_device *aw_dev, unsigned int *vmax) in aw_dev_get_vmax()
1002 static int aw_dev_update_reg_container(struct aw_device *aw_dev, in aw_dev_update_reg_container()
1074 static int aw_dev_reg_update(struct aw_device *aw_dev, in aw_dev_reg_update()
1095 struct aw_device *aw_dev = in aw_dev_get_ra() local
1113 static int aw_dev_dsp_update_container(struct aw_device *aw_dev, in aw_dev_dsp_update_container()
1163 static int aw_dev_dsp_update_fw(struct aw_device *aw_dev, in aw_dev_dsp_update_fw()
1179 static int aw_dev_copy_to_crc_dsp_cfg(struct aw_device *aw_dev, in aw_dev_copy_to_crc_dsp_cfg()
1202 static int aw_dev_dsp_update_cfg(struct aw_device *aw_dev, in aw_dev_dsp_update_cfg()
1242 static int aw_dev_check_sram(struct aw_device *aw_dev) in aw_dev_check_sram()
1291 int aw88395_dev_fw_update(struct aw_device *aw_dev, bool up_dsp_fw_en, bool force_up_en) in aw88395_dev_fw_update()
1370 static int aw_dev_dsp_check(struct aw_device *aw_dev) in aw_dev_dsp_check()
1402 struct aw_device *aw_dev = in aw_dev_update_cali_re() local
1415 int aw88395_dev_start(struct aw_device *aw_dev) in aw88395_dev_start()
1496 int aw88395_dev_stop(struct aw_device *aw_dev) in aw88395_dev_stop()
1548 int aw88395_dev_init(struct aw_device *aw_dev, struct aw_container *aw_cfg) in aw88395_dev_init()
1591 static void aw88395_parse_channel_dt(struct aw_device *aw_dev) in aw88395_parse_channel_dt()
1610 static void aw88395_parse_fade_enable_dt(struct aw_device *aw_dev) in aw88395_parse_fade_enable_dt()
1628 static int aw_dev_init(struct aw_device *aw_dev) in aw_dev_init()
1647 int aw88395_dev_get_profile_count(struct aw_device *aw_dev) in aw88395_dev_get_profile_count()
1653 int aw88395_dev_get_profile_index(struct aw_device *aw_dev) in aw88395_dev_get_profile_index()
1659 int aw88395_dev_set_profile_index(struct aw_device *aw_dev, int index) in aw88395_dev_set_profile_index()
1676 char *aw88395_dev_get_prof_name(struct aw_device *aw_dev, int index) in aw88395_dev_get_prof_name()
1693 int aw88395_dev_get_prof_data(struct aw_device *aw_dev, int index, in aw88395_dev_get_prof_data()
1708 int aw88395_init(struct aw_device **aw_dev, struct i2c_client *i2c, struct regmap *regmap) in aw88395_init()