Home
last modified time | relevance | path

Searched refs:use_count (Results 1 – 5 of 5) sorted by relevance

/sound/soc/sh/
Dmigor.c30 static unsigned int use_count; variable
78 use_count++; in migor_hw_params()
88 if (use_count) { in migor_hw_free()
89 use_count--; in migor_hw_free()
91 if (!use_count) in migor_hw_free()
/sound/usb/
Dendpoint.c878 if (ep->use_count != 0) { in snd_usb_endpoint_set_params()
945 if (++ep->use_count != 1) in snd_usb_endpoint_start()
1001 ep->use_count--; in snd_usb_endpoint_start()
1025 if (snd_BUG_ON(ep->use_count == 0)) in snd_usb_endpoint_stop()
1028 if (--ep->use_count == 0) { in snd_usb_endpoint_stop()
1049 if (ep->use_count != 0) in snd_usb_endpoint_deactivate()
1108 ep->use_count != 0) { in snd_usb_handle_sync_urb()
Dcard.h54 int use_count; member
Dmidi.c370 if (atomic_read(&in->urbs[j]->use_count)) in snd_usbmidi_error_timer()
/sound/core/
Drawmidi.c266 if (substream->use_count == 0) { in open_substream()
282 substream->use_count++; in open_substream()
469 if (--substream->use_count) in close_substream()
643 if (substream->append && substream->use_count > 1) in snd_rawmidi_output_params()