Home
last modified time | relevance | path

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

/sound/soc/sh/
Dmigor.c26 static unsigned int use_count; variable
74 use_count++; in migor_hw_params()
84 if (use_count) { in migor_hw_free()
85 use_count--; in migor_hw_free()
87 if (!use_count) in migor_hw_free()
/sound/usb/
Dendpoint.c1037 if (ep->use_count != 0) { in snd_usb_endpoint_set_params()
1117 if (++ep->use_count != 1) in snd_usb_endpoint_start()
1173 ep->use_count--; in snd_usb_endpoint_start()
1197 if (snd_BUG_ON(ep->use_count == 0)) in snd_usb_endpoint_stop()
1200 if (--ep->use_count == 0) { in snd_usb_endpoint_stop()
1221 if (ep->use_count != 0) in snd_usb_endpoint_deactivate()
1280 ep->use_count != 0) { in snd_usb_handle_sync_urb()
Dcard.h59 int use_count; member
Dmidi.c371 if (atomic_read(&in->urbs[j]->use_count)) in snd_usbmidi_error_timer()
2323 if (!atomic_read(&urb->use_count)) { in snd_usbmidi_input_start_ep()
/sound/core/
Drawmidi.c282 if (substream->use_count == 0) { in open_substream()
298 substream->use_count++; in open_substream()
483 if (--substream->use_count) in close_substream()
689 if (substream->append && substream->use_count > 1) in snd_rawmidi_output_params()