Lines Matching refs:opencount
367 atomic_inc(&chip->opencount); in pcm_analog_in_open()
368 if (atomic_read(&chip->opencount) > 1 && chip->rate_set) in pcm_analog_in_open()
371 chip->can_set_rate, atomic_read(&chip->opencount), in pcm_analog_in_open()
403 atomic_inc(&chip->opencount); in pcm_analog_out_open()
404 if (atomic_read(&chip->opencount) > 1 && chip->rate_set) in pcm_analog_out_open()
407 chip->can_set_rate, atomic_read(&chip->opencount), in pcm_analog_out_open()
445 atomic_inc(&chip->opencount); in pcm_digital_in_open()
446 if (atomic_read(&chip->opencount) > 1 && chip->rate_set) in pcm_digital_in_open()
488 atomic_inc(&chip->opencount); in pcm_digital_out_open()
489 if (atomic_read(&chip->opencount) > 1 && chip->rate_set) in pcm_digital_out_open()
512 atomic_dec(&chip->opencount); in pcm_close()
513 oc = atomic_read(&chip->opencount); in pcm_close()
1475 if (atomic_read(&chip->opencount)) { in snd_echo_digital_mode_put()
1969 atomic_set(&chip->opencount, 0); in snd_echo_create()