Lines Matching refs:channel
154 static int omap_mcbsp_st_set_chgain(struct omap_mcbsp *mcbsp, int channel, in omap_mcbsp_st_set_chgain() argument
164 if (channel == 0) in omap_mcbsp_st_set_chgain()
166 else if (channel == 1) in omap_mcbsp_st_set_chgain()
178 static int omap_mcbsp_st_get_chgain(struct omap_mcbsp *mcbsp, int channel, in omap_mcbsp_st_get_chgain() argument
188 if (channel == 0) in omap_mcbsp_st_get_chgain()
190 else if (channel == 1) in omap_mcbsp_st_get_chgain()
399 #define OMAP_MCBSP_ST_CHANNEL_VOLUME(channel) \ argument
401 omap_mcbsp_set_st_ch##channel##_volume(struct snd_kcontrol *kc, \
416 return omap_mcbsp_st_set_chgain(mcbsp, channel, val); \
420 omap_mcbsp_get_st_ch##channel##_volume(struct snd_kcontrol *kc, \
427 if (omap_mcbsp_st_get_chgain(mcbsp, channel, &chgain)) \