Searched refs:ratep (Results 1 – 1 of 1) sorted by relevance
1183 struct via_rate_lock *ratep; in snd_via82xx_pcm_open() local1189 ratep = &chip->rates[viadev->direction]; in snd_via82xx_pcm_open()1190 spin_lock_irq(&ratep->lock); in snd_via82xx_pcm_open()1191 ratep->used++; in snd_via82xx_pcm_open()1207 } else if (! ratep->rate) { in snd_via82xx_pcm_open()1214 runtime->hw.rate_max = runtime->hw.rate_min = ratep->rate; in snd_via82xx_pcm_open()1216 spin_unlock_irq(&ratep->lock); in snd_via82xx_pcm_open()1326 struct via_rate_lock *ratep; in snd_via82xx_pcm_close() local1329 ratep = &chip->rates[viadev->direction]; in snd_via82xx_pcm_close()1330 spin_lock_irq(&ratep->lock); in snd_via82xx_pcm_close()[all …]