Searched refs:use_count (Results 1 – 5 of 5) sorted by relevance
26 static unsigned int use_count; variable74 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()
1037 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()
59 int use_count; member
371 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()
282 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()