| /OK3568_Linux_fs/kernel/sound/soc/codecs/aw87xxx/ |
| H A D | aw_device.c | 83 int aw_dev_i2c_write_byte(struct aw_device *aw_dev, in aw_dev_i2c_write_byte() 104 int aw_dev_i2c_read_byte(struct aw_device *aw_dev, in aw_dev_i2c_read_byte() 126 int aw_dev_i2c_read_msg(struct aw_device *aw_dev, in aw_dev_i2c_read_msg() 158 int aw_dev_i2c_write_bits(struct aw_device *aw_dev, in aw_dev_i2c_write_bits() 185 static int aw_dev_reg_update(struct aw_device *aw_dev, in aw_dev_reg_update() 212 static void aw_dev_reg_mute_bits_set(struct aw_device *aw_dev, in aw_dev_reg_mute_bits_set() 229 static bool aw_dev_gpio_is_valid(struct aw_device *aw_dev) in aw_dev_gpio_is_valid() 237 void aw_dev_hw_pwr_ctrl(struct aw_device *aw_dev, bool enable) in aw_dev_hw_pwr_ctrl() 266 int aw_dev_mute_ctrl(struct aw_device *aw_dev, bool enable) in aw_dev_mute_ctrl() 287 void aw_dev_soft_reset(struct aw_device *aw_dev) in aw_dev_soft_reset() [all …]
|
| H A D | aw87xxx.c | 91 struct aw_device *aw_dev = &aw87xxx->aw_dev; in aw87xxx_update_off_prof() local 148 struct aw_device *aw_dev = &aw87xxx->aw_dev; in aw87xxx_update_profile() local 263 struct aw_device *aw_dev = &aw87xxx->aw_dev; in aw87xxx_esd_update_off_prof() local 311 struct aw_device *aw_dev = &aw87xxx->aw_dev; in aw87xxx_esd_update_profile() local 751 struct aw_device *aw_dev = &aw87xxx->aw_dev; in aw87xxx_attr_get_reg() local
|
| H A D | aw87xxx.h | 106 struct aw_device aw_dev; member
|
| H A D | aw_acf_bin.h | 170 struct aw_device *aw_dev; member
|
| H A D | aw_acf_bin.c | 1558 void aw_acf_init(struct aw_device *aw_dev, struct acf_bin_info *acf_info, int index) in aw_acf_init()
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/aw883xx/ |
| H A D | aw_device.c | 38 static int aw_dev_reg_dump(struct aw_device *aw_dev) in aw_dev_reg_dump() 55 static void aw_dev_fade_in(struct aw_device *aw_dev) in aw_dev_fade_in() 79 static void aw_dev_fade_out(struct aw_device *aw_dev) in aw_dev_fade_out() 105 int aw_dev_get_fade_vol_step(struct aw_device *aw_dev) in aw_dev_get_fade_vol_step() 110 void aw_dev_set_fade_vol_step(struct aw_device *aw_dev, unsigned int step) in aw_dev_set_fade_vol_step() 169 static int aw_dev_set_dsp_crc32(struct aw_device *aw_dev) in aw_dev_set_dsp_crc32() 203 static int aw_dev_dsp_crc_check_enable(struct aw_device *aw_dev, bool flag) in aw_dev_dsp_crc_check_enable() 229 static int aw_dev_dsp_st_check(struct aw_device *aw_dev) in aw_dev_dsp_st_check() 256 static int aw_dev_dsp_crc32_check(struct aw_device *aw_dev) in aw_dev_dsp_crc32_check() 288 static void aw_dev_pwd(struct aw_device *aw_dev, bool pwd) in aw_dev_pwd() [all …]
|
| H A D | aw_monitor.c | 46 static int aw_monitor_get_chip_voltage(struct aw_device *aw_dev, in aw_monitor_get_chip_voltage() 73 static int aw_monitor_get_chip_temperature(struct aw_device *aw_dev, int *temp) in aw_monitor_get_chip_temperature() 98 static int aw_monitor_get_battery_state(struct aw_device *aw_dev, in aw_monitor_get_battery_state() 123 static int aw_monitor_get_system_temperature(struct aw_device *aw_dev, int *temp) in aw_monitor_get_system_temperature() 140 static int aw_monitor_set_system_temperature(struct aw_device *aw_dev, int sys_temp) in aw_monitor_set_system_temperature() 156 static int aw_monitor_get_system_voltage(struct aw_device *aw_dev, unsigned int *vol) in aw_monitor_get_system_voltage() 174 static int aw_monitor_get_temperature(struct aw_device *aw_dev, int *temp) in aw_monitor_get_temperature() 183 static int aw_monitor_get_voltage(struct aw_device *aw_dev, unsigned int *vol) in aw_monitor_get_voltage() 192 static int aw_monitor_get_temp_and_vol(struct aw_device *aw_dev) in aw_monitor_get_temp_and_vol() 232 static int aw_monitor_first_get_data_form_table(struct aw_device *aw_dev, in aw_monitor_first_get_data_form_table() [all …]
|
| H A D | aw_calib.c | 163 static void aw_run_mute_for_cali(struct aw_device *aw_dev, int8_t cali_result) in aw_run_mute_for_cali() 183 static int aw_cali_svc_get_dev_re_range(struct aw_device *aw_dev, in aw_cali_svc_get_dev_re_range() 192 static int aw_cali_svc_get_devs_re_range(struct aw_device *aw_dev, in aw_cali_svc_get_devs_re_range() 226 static int aw_cali_store_cali_re(struct aw_device *aw_dev, int32_t re) in aw_cali_store_cali_re() 249 struct aw_device *aw_dev = in aw_cali_get_cali_re() local 284 struct aw_device *aw_dev = in aw_cali_read_cali_re_from_dsp() local 307 struct aw_device *aw_dev = in aw_cali_svc_set_cali_re_to_dsp() local 338 struct aw_device *aw_dev = in aw_cali_svc_get_ra() local 355 static int aw_cali_svc_get_dev_realtime_re(struct aw_device *aw_dev, in aw_cali_svc_get_dev_realtime_re() 416 static int aw_cali_svc_get_dev_re(struct aw_device *aw_dev, in aw_cali_svc_get_dev_re() [all …]
|
| H A D | aw_init.c | 27 static int aw883xx_dev_i2c_writes(struct aw_device *aw_dev, in aw883xx_dev_i2c_writes() 35 static int aw883xx_dev_i2c_write(struct aw_device *aw_dev, in aw883xx_dev_i2c_write() 43 static int aw883xx_dev_i2c_read(struct aw_device *aw_dev, in aw883xx_dev_i2c_read() 52 static int aw883xx_dev_reg_read(struct aw_device *aw_dev, in aw883xx_dev_reg_read() 60 static int aw883xx_dev_reg_write(struct aw_device *aw_dev, in aw883xx_dev_reg_write() 68 static int aw883xx_dev_reg_write_bits(struct aw_device *aw_dev, in aw883xx_dev_reg_write_bits() 76 static int aw883xx_dev_dsp_write(struct aw_device *aw_dev, in aw883xx_dev_dsp_write() 84 static int aw883xx_dev_dsp_read(struct aw_device *aw_dev, in aw883xx_dev_dsp_read() 149 static int aw_pid_2049_set_volume(struct aw_device *aw_dev, uint16_t value) in aw_pid_2049_set_volume() 155 static int aw_pid_2049_get_volume(struct aw_device *aw_dev, uint16_t *value) in aw_pid_2049_get_volume() [all …]
|
| H A D | aw_bin_parse.c | 504 int aw_dev_dsp_data_order(struct aw_device *aw_dev, in aw_dev_dsp_data_order() 526 static int aw_dev_parse_raw_reg(struct aw_device *aw_dev, in aw_dev_parse_raw_reg() 539 static int aw_dev_parse_raw_dsp_cfg(struct aw_device *aw_dev, in aw_dev_parse_raw_dsp_cfg() 558 static int aw_dev_parse_raw_dsp_fw(struct aw_device *aw_dev, in aw_dev_parse_raw_dsp_fw() 577 static int aw_dev_prof_parse_multi_bin(struct aw_device *aw_dev, in aw_dev_prof_parse_multi_bin() 633 static int aw_dev_parse_data_by_sec_type(struct aw_device *aw_dev, struct aw_cfg_hdr *cfg_hdr, in aw_dev_parse_data_by_sec_type() 658 static int aw_dev_parse_dev_type(struct aw_device *aw_dev, in aw_dev_parse_dev_type() 707 static int aw_dev_parse_dev_default_type(struct aw_device *aw_dev, in aw_dev_parse_dev_default_type() 754 static int aw_dev_cfg_get_vaild_prof(struct aw_device *aw_dev, in aw_dev_cfg_get_vaild_prof() 816 static int aw_dev_load_cfg_by_hdr(struct aw_device *aw_dev, in aw_dev_load_cfg_by_hdr() [all …]
|
| H A D | aw_spin.c | 119 static int aw_mtk_set_spin_angle(struct aw_device *aw_dev, uint32_t spin_angle) in aw_mtk_set_spin_angle() 153 static int aw_mtk_set_mixer_en(struct aw_device *aw_dev, uint32_t msg_id, int32_t is_enable) in aw_mtk_set_mixer_en() 237 static int aw_qcom_set_spin_angle(struct aw_device *aw_dev, in aw_qcom_set_spin_angle() 264 static int aw_qcom_set_mixer_en(struct aw_device *aw_dev, in aw_qcom_set_mixer_en() 298 static int aw_set_adsp_spin_angle(struct aw_device *aw_dev, uint32_t spin_angle) in aw_set_adsp_spin_angle() 324 static int aw_set_mixer_en(struct aw_device *aw_dev, int32_t is_enable) in aw_set_mixer_en() 348 struct aw_device *aw_dev = container_of(spin_desc, in aw_hold_reg_spin_st() local 388 struct aw_device *aw_dev = container_of(spin_desc, in aw_check_spin_mode() local 420 struct aw_device *aw_dev = container_of(spin_desc, in aw_hold_dsp_spin_st() local 673 void aw_add_spin_controls(void *aw_dev) in aw_add_spin_controls() [all …]
|