Lines Matching refs:channel
185 audio_channel_t channel, in wm8904_out_update() argument
190 switch (channel) { in wm8904_out_update()
219 static int wm8904_out_volume_config(const struct device *dev, audio_channel_t channel, int volume) in wm8904_out_volume_config() argument
227 return wm8904_out_update(dev, channel, val, mask); in wm8904_out_volume_config()
230 static int wm8904_out_mute_config(const struct device *dev, audio_channel_t channel, bool mute) in wm8904_out_mute_config() argument
235 return wm8904_out_update(dev, channel, val, mask); in wm8904_out_mute_config()
240 audio_channel_t channel, in wm8904_in_update() argument
245 switch (channel) { in wm8904_in_update()
264 static int wm8904_in_volume_config(const struct device *dev, audio_channel_t channel, int volume) in wm8904_in_volume_config() argument
269 return wm8904_in_update(dev, channel, val, mask); in wm8904_in_volume_config()
272 static int wm8904_in_mute_config(const struct device *dev, audio_channel_t channel, bool mute) in wm8904_in_mute_config() argument
277 return wm8904_in_update(dev, channel, val, mask); in wm8904_in_mute_config()
280 static int wm8904_route_input(const struct device *dev, audio_channel_t channel, uint32_t input) in wm8904_route_input() argument
293 switch (channel) { in wm8904_route_input()
545 audio_channel_t channel, audio_property_value_t val) in wm8904_set_property() argument
549 return wm8904_out_volume_config(dev, channel, val.vol); in wm8904_set_property()
552 return wm8904_out_mute_config(dev, channel, val.mute); in wm8904_set_property()
555 return wm8904_in_volume_config(dev, channel, val.vol); in wm8904_set_property()
558 return wm8904_in_mute_config(dev, channel, val.mute); in wm8904_set_property()