Searched refs:audio_ctl_elem_value (Results 1 – 8 of 8) sorted by relevance
/AliOS-Things-master/hardware/chip/rtl872xd/hal/ |
A D | audio.c | 19 static int codec_hw_vol_get(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *ucontrol); 20 static int codec_hw_vol_put(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *ucontrol); 21 static int codec_hw_mute_state_get(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *uc… 22 static int codec_hw_mute_state_put(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *uc… 42 static int codec_hw_mute_state_get(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *uc… in codec_hw_mute_state_get() 55 static int codec_hw_mute_state_put(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *uc… in codec_hw_mute_state_put() 69 static int codec_hw_vol_get(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *ucontrol) in codec_hw_vol_get() 83 static int codec_hw_vol_put(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *ucontrol) in codec_hw_vol_put()
|
/AliOS-Things-master/hardware/chip/haas1000/hal/ |
A D | audio.c | 121 static int codec_hw_vol_get(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *ucontrol); 122 static int codec_hw_vol_put(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *ucontrol); 123 static int codec_hw_mute_state_get(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *uc… 124 static int codec_hw_mute_state_put(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *uc… 143 static int codec_hw_mute_state_get(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *uc… in codec_hw_mute_state_get() 156 static int codec_hw_mute_state_put(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *uc… in codec_hw_mute_state_put() 169 static int codec_hw_vol_get(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *ucontrol) in codec_hw_vol_get() 183 static int codec_hw_vol_put(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *ucontrol) in codec_hw_vol_put()
|
/AliOS-Things-master/components/a2sa/src/driver/platform/rtos/ |
A D | template.c | 26 static int codec_hw_vol_get(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *ucontrol); 27 static int codec_hw_vol_put(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *ucontrol); 28 static int codec_hw_mute_state_get(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *uc… 29 static int codec_hw_mute_state_put(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *uc… 48 static int codec_hw_mute_state_get(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *uc… in codec_hw_mute_state_get() 61 static int codec_hw_mute_state_put(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *uc… in codec_hw_mute_state_put() 82 static int codec_hw_vol_get(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *ucontrol) in codec_hw_vol_get() 95 static int codec_hw_vol_put(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *ucontrol) in codec_hw_vol_put()
|
/AliOS-Things-master/components/a2sa/internal/driver/core/ |
A D | control.h | 107 struct audio_ctl_elem_value { struct 130 typedef int (audio_kcontrol_get_t) (struct audio_kcontrol * kcontrol, struct audio_ctl_elem_value *… argument 131 typedef int (audio_kcontrol_put_t) (struct audio_kcontrol * kcontrol, struct audio_ctl_elem_value *… 195 int audio_ctl_elem_read(ctrl_device_t *dev, struct audio_ctl_elem_value *value); 196 int audio_ctl_elem_write(ctrl_device_t *dev, struct audio_ctl_elem_value *value);
|
A D | audio_drv.h | 60 #define AUDIO_CTL_IOCTL_ELEM_READ _IOWR('U', 0x12, struct audio_ctl_elem_value) 61 #define AUDIO_CTL_IOCTL_ELEM_WRITE _IOWR('U', 0x13, struct audio_ctl_elem_value)
|
/AliOS-Things-master/components/a2sa/src/framework/ |
A D | sound_mixer.c | 174 struct audio_ctl_elem_value ev; in aos_mixer_set_int_value() 203 struct audio_ctl_elem_value ev; in aos_mixer_get_int_value()
|
/AliOS-Things-master/components/a2sa/src/driver/core/ |
A D | audio.c | 254 ret = audio_ctl_elem_read(ctrl, (struct audio_ctl_elem_value *)arg); in audio_ctrl_ioctl() 257 ret = audio_ctl_elem_write(ctrl, (struct audio_ctl_elem_value *)arg); in audio_ctrl_ioctl()
|
A D | control.c | 322 int audio_ctl_elem_read(ctrl_device_t *dev, struct audio_ctl_elem_value *value) in audio_ctl_elem_read() 347 int audio_ctl_elem_write(ctrl_device_t *dev, struct audio_ctl_elem_value *value) in audio_ctl_elem_write()
|
Completed in 20 milliseconds