Searched refs:dev2pcm (Results 1 – 1 of 1) sorted by relevance
26 static struct snd_line6_pcm *dev2pcm(struct device *dev) in dev2pcm() function40 return sprintf(buf, "%d\n", dev2pcm(dev)->impulse_volume); in pcm_get_impulse_volume()50 struct snd_line6_pcm *line6pcm = dev2pcm(dev); in pcm_set_impulse_volume()68 return sprintf(buf, "%d\n", dev2pcm(dev)->impulse_period); in pcm_get_impulse_period()78 dev2pcm(dev)->impulse_period = simple_strtoul(buf, NULL, 10); in pcm_set_impulse_period()