Lines Matching refs:rslot
977 static void mixer_slot_clear(struct snd_mixer_oss_slot *rslot) in mixer_slot_clear() argument
979 int idx = rslot->number; /* remember this */ in mixer_slot_clear()
980 if (rslot->private_free) in mixer_slot_clear()
981 rslot->private_free(rslot); in mixer_slot_clear()
982 memset(rslot, 0, sizeof(*rslot)); in mixer_slot_clear()
983 rslot->number = idx; in mixer_slot_clear()
1060 struct snd_mixer_oss_slot *rslot; in snd_mixer_oss_build_input() local
1122 rslot = &mixer->slots[ptr->oss_id]; in snd_mixer_oss_build_input()
1123 mixer_slot_clear(rslot); in snd_mixer_oss_build_input()
1124 rslot->stereo = slot.channels > 1 ? 1 : 0; in snd_mixer_oss_build_input()
1125 rslot->get_volume = snd_mixer_oss_get_volume1; in snd_mixer_oss_build_input()
1126 rslot->put_volume = snd_mixer_oss_put_volume1; in snd_mixer_oss_build_input()
1129 rslot->get_recsrc = snd_mixer_oss_get_recsrc1_sw; in snd_mixer_oss_build_input()
1130 rslot->put_recsrc = snd_mixer_oss_put_recsrc1_sw; in snd_mixer_oss_build_input()
1132 rslot->get_recsrc = snd_mixer_oss_get_recsrc1_route; in snd_mixer_oss_build_input()
1133 rslot->put_recsrc = snd_mixer_oss_put_recsrc1_route; in snd_mixer_oss_build_input()
1137 rslot->private_data = pslot; in snd_mixer_oss_build_input()
1138 rslot->private_free = snd_mixer_oss_slot_free; in snd_mixer_oss_build_input()