Searched refs:formation (Results 1 – 6 of 6) sorted by relevance
/sound/firewire/oxfw/ |
D | oxfw-stream.c | 61 struct snd_oxfw_stream_formation formation; in set_stream_format() local 76 err = snd_oxfw_stream_parse_format(formats[i], &formation); in set_stream_format() 80 if ((formation.rate == rate) && (formation.pcm == pcm_channels)) in set_stream_format() 203 struct snd_oxfw_stream_formation formation; in keep_resources() local 218 err = snd_oxfw_stream_get_current_formation(oxfw, dir, &formation); in keep_resources() 232 if (fmt.rate == formation.rate && fmt.pcm == formation.pcm && in keep_resources() 233 fmt.midi == formation.midi) in keep_resources() 240 if (formation.pcm == 0) in keep_resources() 243 err = amdtp_am824_set_parameters(stream, formation.rate, formation.pcm, in keep_resources() 244 formation.midi * 8, false); in keep_resources() [all …]
|
D | oxfw-proc.c | 14 struct snd_oxfw_stream_formation formation, curr; in proc_read_formation() local 33 err = snd_oxfw_stream_parse_format(format, &formation); in proc_read_formation() 37 if (memcmp(&formation, &curr, sizeof(curr)) == 0) in proc_read_formation() 43 formation.rate, formation.pcm, formation.midi); in proc_read_formation() 63 err = snd_oxfw_stream_parse_format(format, &formation); in proc_read_formation() 67 if (memcmp(&formation, &curr, sizeof(curr)) == 0) in proc_read_formation() 73 formation.rate, formation.pcm, formation.midi); in proc_read_formation()
|
D | oxfw-pcm.c | 21 struct snd_oxfw_stream_formation formation; in hw_rule_rate() local 28 err = snd_oxfw_stream_parse_format(formats[i], &formation); in hw_rule_rate() 31 if (!snd_interval_test(c, formation.pcm)) in hw_rule_rate() 34 t.min = min(t.min, formation.rate); in hw_rule_rate() 35 t.max = max(t.max, formation.rate); in hw_rule_rate() 49 struct snd_oxfw_stream_formation formation; in hw_rule_channels() local 58 err = snd_oxfw_stream_parse_format(formats[i], &formation); in hw_rule_channels() 61 if (!snd_interval_test(r, formation.rate)) in hw_rule_channels() 63 if (list[count] == formation.pcm) in hw_rule_channels() 67 if (list[j] == formation.pcm) in hw_rule_channels() [all …]
|
D | oxfw.h | 140 struct snd_oxfw_stream_formation *formation); 143 struct snd_oxfw_stream_formation *formation);
|
/sound/firewire/bebob/ |
D | bebob_proc.c | 108 struct snd_bebob_stream_formation *formation; in proc_read_formation() local 113 formation = bebob->tx_stream_formations; in proc_read_formation() 117 formation[i].pcm, formation[i].midi); in proc_read_formation() 122 formation = bebob->rx_stream_formations; in proc_read_formation() 126 formation[i].pcm, formation[i].midi); in proc_read_formation()
|
D | bebob_stream.c | 706 struct snd_bebob_stream_formation *formation) in parse_stream_formation() argument 727 memset(&formation[i], 0, sizeof(struct snd_bebob_stream_formation)); in parse_stream_formation() 738 formation[i].pcm += channels; in parse_stream_formation() 742 formation[i].midi += channels; in parse_stream_formation() 767 if (formation[i].pcm > AM824_MAX_CHANNELS_FOR_PCM || in parse_stream_formation() 768 formation[i].midi > AM824_MAX_CHANNELS_FOR_MIDI) in parse_stream_formation()
|