Lines Matching refs:chn

129 	int result = 0, chn;  in snd_mixer_oss_devmask()  local
134 for (chn = 0; chn < 31; chn++) { in snd_mixer_oss_devmask()
135 pslot = &mixer->slots[chn]; in snd_mixer_oss_devmask()
137 result |= 1 << chn; in snd_mixer_oss_devmask()
147 int result = 0, chn; in snd_mixer_oss_stereodevs() local
152 for (chn = 0; chn < 31; chn++) { in snd_mixer_oss_stereodevs()
153 pslot = &mixer->slots[chn]; in snd_mixer_oss_stereodevs()
155 result |= 1 << chn; in snd_mixer_oss_stereodevs()
173 int chn; in snd_mixer_oss_recmask() local
174 for (chn = 0; chn < 31; chn++) { in snd_mixer_oss_recmask()
175 pslot = &mixer->slots[chn]; in snd_mixer_oss_recmask()
177 result |= 1 << chn; in snd_mixer_oss_recmask()
200 int chn; in snd_mixer_oss_get_recsrc() local
201 for (chn = 0; chn < 31; chn++) { in snd_mixer_oss_get_recsrc()
202 pslot = &mixer->slots[chn]; in snd_mixer_oss_get_recsrc()
207 result |= 1 << chn; in snd_mixer_oss_get_recsrc()
221 int chn, active; in snd_mixer_oss_set_recsrc() local
235 for (chn = 0; chn < 31; chn++) { in snd_mixer_oss_set_recsrc()
236 pslot = &mixer->slots[chn]; in snd_mixer_oss_set_recsrc()
238 active = (recsrc & (1 << chn)) ? 1 : 0; in snd_mixer_oss_set_recsrc()
243 for (chn = 0; chn < 31; chn++) { in snd_mixer_oss_set_recsrc()
244 pslot = &mixer->slots[chn]; in snd_mixer_oss_set_recsrc()
249 result |= 1 << chn; in snd_mixer_oss_set_recsrc()
965 static void snd_mixer_oss_slot_free(struct snd_mixer_oss_slot *chn) in snd_mixer_oss_slot_free() argument
967 struct slot *p = chn->private_data; in snd_mixer_oss_slot_free()
1363 struct snd_mixer_oss_slot *chn = &mixer->slots[idx]; in snd_mixer_oss_free1() local
1364 if (chn->private_free) in snd_mixer_oss_free1()
1365 chn->private_free(chn); in snd_mixer_oss_free1()