• Home
  • Raw
  • Download

Lines Matching refs:setup

134 	struct loopback_setup setup[MAX_PCM_SUBSTREAMS][2];  member
193 return &dpcm->loopback->setup[dpcm->substream->number][device]; in get_setup()
323 struct loopback_setup *setup; in loopback_check_format() local
349 setup = get_setup(cable->streams[SNDRV_PCM_STREAM_PLAYBACK]); in loopback_check_format()
351 if (setup->format != runtime->format) { in loopback_check_format()
353 &setup->format_id); in loopback_check_format()
354 setup->format = runtime->format; in loopback_check_format()
356 if (setup->rate != runtime->rate) { in loopback_check_format()
358 &setup->rate_id); in loopback_check_format()
359 setup->rate = runtime->rate; in loopback_check_format()
361 if (setup->channels != runtime->channels) { in loopback_check_format()
363 &setup->channels_id); in loopback_check_format()
364 setup->channels = runtime->channels; in loopback_check_format()
1347 loopback->setup[kcontrol->id.subdevice] in loopback_rate_shift_get()
1366 if (val != loopback->setup[kcontrol->id.subdevice] in loopback_rate_shift_put()
1368 loopback->setup[kcontrol->id.subdevice] in loopback_rate_shift_put()
1383 loopback->setup[kcontrol->id.subdevice] in loopback_notify_get()
1398 if (val != loopback->setup[kcontrol->id.subdevice] in loopback_notify_put()
1400 loopback->setup[kcontrol->id.subdevice] in loopback_notify_put()
1445 (__force int)loopback->setup[kcontrol->id.subdevice] in loopback_format_get()
1468 loopback->setup[kcontrol->id.subdevice] in loopback_rate_get()
1492 loopback->setup[kcontrol->id.subdevice] in loopback_channels_get()
1552 struct loopback_setup *setup; in loopback_mixer_new() local
1561 setup = &loopback->setup[substr][dev]; in loopback_mixer_new()
1562 setup->notify = notify; in loopback_mixer_new()
1563 setup->rate_shift = NO_PITCH; in loopback_mixer_new()
1564 setup->format = SNDRV_PCM_FORMAT_S16_LE; in loopback_mixer_new()
1565 setup->rate = 48000; in loopback_mixer_new()
1566 setup->channels = 2; in loopback_mixer_new()
1585 setup->active_id = kctl->id; in loopback_mixer_new()
1588 setup->format_id = kctl->id; in loopback_mixer_new()
1591 setup->rate_id = kctl->id; in loopback_mixer_new()
1594 setup->channels_id = kctl->id; in loopback_mixer_new()