Searched refs:ref_count (Results 1 – 13 of 13) sorted by relevance
24 refcount_t ref_count; member35 refcount_inc(&msg->ref_count); in virtsnd_ctl_msg_ref()48 if (refcount_dec_and_test(&msg->ref_count)) in virtsnd_ctl_msg_unref()104 refcount_set(&msg->ref_count, 1); in virtsnd_ctl_msg_alloc()
108 hlink->ref_count = 1; in snd_hdac_ext_bus_get_ml_capabilities()268 if (++link->ref_count == 1) { in snd_hdac_ext_bus_link_get()311 if (--link->ref_count == 0) { in snd_hdac_ext_bus_link_put()319 if (hlink->ref_count) { in snd_hdac_ext_bus_link_put()
32 atomic_t ref_count; member
231 if (atomic_dec_and_test(&subs->ref_count)) in clear_subscriber_list()508 atomic_inc(&subs->ref_count); in check_and_subscribe_port()570 atomic_set(&subs->ref_count, 0); in snd_seq_port_connect()
686 if (atomic_read(&subs->ref_count) != 2) in deliver_to_subscribers()
105 int ref_count; member
93 snd_iprintf(buffer,"index [%d] ref_count [%d]\n",scb->index,scb->ref_count); in cs46xx_dsp_proc_scb_info_read()1280 ins->pcm_channels[i].src_scb->ref_count ++; in cs46xx_dsp_create_pcm_channel()1470 pcm_channel->src_scb->ref_count <= 0)) in cs46xx_dsp_destroy_pcm_channel()1477 pcm_channel->src_scb->ref_count --; in cs46xx_dsp_destroy_pcm_channel()1483 if (!pcm_channel->src_scb->ref_count) { in cs46xx_dsp_destroy_pcm_channel()
929 ins->scbs[index].ref_count = 1; in _map_scb()
700 if (!hlink->ref_count) in hda_resume()739 if (hlink->ref_count) { in hda_dsp_resume()
381 if (hlink->ref_count) in skl_resume()393 if (!hlink->ref_count) in skl_resume()
3187 static int ref_count; in skl_tplg_fill_str_mfest_tkn() local3191 if (ref_count > skl->lib_count - 1) { in skl_tplg_fill_str_mfest_tkn()3192 ref_count = 0; in skl_tplg_fill_str_mfest_tkn()3196 strncpy(skl->lib_info[ref_count].name, in skl_tplg_fill_str_mfest_tkn()3198 ARRAY_SIZE(skl->lib_info[ref_count].name)); in skl_tplg_fill_str_mfest_tkn()3199 ref_count++; in skl_tplg_fill_str_mfest_tkn()
933 substream->ref_count++; in snd_pcm_attach_substream()978 substream->ref_count = 1; in snd_pcm_attach_substream()
2699 substream->ref_count--; in snd_pcm_release_substream()2700 if (substream->ref_count > 0) in snd_pcm_release_substream()2730 if (substream->ref_count > 1) { in snd_pcm_open_substream()2780 if (substream->ref_count == 1) in snd_pcm_open_file()