Lines Matching refs:rslot
910 static void mixer_slot_clear(struct snd_mixer_oss_slot *rslot)
912 int idx = rslot->number; /* remember this */
913 if (rslot->private_free)
914 rslot->private_free(rslot);
915 memset(rslot, 0, sizeof(*rslot));
916 rslot->number = idx;
993 struct snd_mixer_oss_slot *rslot;
1045 rslot = &mixer->slots[ptr->oss_id];
1046 mixer_slot_clear(rslot);
1047 rslot->stereo = slot.channels > 1 ? 1 : 0;
1048 rslot->get_volume = snd_mixer_oss_get_volume1;
1049 rslot->put_volume = snd_mixer_oss_put_volume1;
1052 rslot->get_recsrc = snd_mixer_oss_get_recsrc1_sw;
1053 rslot->put_recsrc = snd_mixer_oss_put_recsrc1_sw;
1055 rslot->get_recsrc = snd_mixer_oss_get_recsrc1_route;
1056 rslot->put_recsrc = snd_mixer_oss_put_recsrc1_route;
1060 rslot->private_data = pslot;
1061 rslot->private_free = snd_mixer_oss_slot_free;