Searched refs:ref_count (Results 1 – 11 of 11) sorted by relevance
115 hlink->ref_count = 1; in snd_hdac_ext_bus_get_ml_capabilities()270 if (++link->ref_count == 1) { in snd_hdac_ext_bus_link_get()297 if (--link->ref_count == 0) { in snd_hdac_ext_bus_link_put()305 if (hlink->ref_count) { in snd_hdac_ext_bus_link_put()
247 if (atomic_dec_and_test(&subs->ref_count)) in clear_subscriber_list()526 atomic_inc(&subs->ref_count); in check_and_subscribe_port()576 atomic_set(&subs->ref_count, 0); in snd_seq_port_connect()619 atomic_dec(&subs->ref_count); /* mark as not ready */ in snd_seq_port_disconnect()
47 atomic_t ref_count; member
670 if (atomic_read(&subs->ref_count) != 2) in deliver_to_subscribers()
120 int ref_count; member
110 snd_iprintf(buffer,"index [%d] ref_count [%d]\n",scb->index,scb->ref_count); in cs46xx_dsp_proc_scb_info_read()1306 ins->pcm_channels[i].src_scb->ref_count ++; in cs46xx_dsp_create_pcm_channel()1496 pcm_channel->src_scb->ref_count <= 0)) in cs46xx_dsp_destroy_pcm_channel()1503 pcm_channel->src_scb->ref_count --; in cs46xx_dsp_destroy_pcm_channel()1509 if (!pcm_channel->src_scb->ref_count) { in cs46xx_dsp_destroy_pcm_channel()
995 ins->scbs[index].ref_count = 1; in _map_scb()
2239 static int ref_count; in skl_tplg_fill_str_mfest_tkn() local2243 if (ref_count > minfo->lib_count - 1) { in skl_tplg_fill_str_mfest_tkn()2244 ref_count = 0; in skl_tplg_fill_str_mfest_tkn()2248 strncpy(minfo->lib[ref_count].name, str_elem->string, in skl_tplg_fill_str_mfest_tkn()2249 ARRAY_SIZE(minfo->lib[ref_count].name)); in skl_tplg_fill_str_mfest_tkn()2250 ref_count++; in skl_tplg_fill_str_mfest_tkn()
298 if (hlink->ref_count) in skl_resume()309 if (!hlink->ref_count) in skl_resume()
964 substream->ref_count++; in snd_pcm_attach_substream()1007 substream->ref_count = 1; in snd_pcm_attach_substream()
2232 substream->ref_count--; in snd_pcm_release_substream()2233 if (substream->ref_count > 0) in snd_pcm_release_substream()2265 if (substream->ref_count > 1) { in snd_pcm_open_substream()2315 if (substream->ref_count == 1) { in snd_pcm_open_file()