Home
last modified time | relevance | path

Searched refs:ref_count (Results 1 – 11 of 11) sorted by relevance

/sound/hda/ext/
Dhdac_ext_controller.c115 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()
/sound/core/seq/
Dseq_ports.c247 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()
Dseq_ports.h47 atomic_t ref_count; member
Dseq_clientmgr.c670 if (atomic_read(&subs->ref_count) != 2) in deliver_to_subscribers()
/sound/pci/cs46xx/
Dcs46xx_dsp_spos.h120 int ref_count; member
Ddsp_spos_scb_lib.c110 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()
Ddsp_spos.c995 ins->scbs[index].ref_count = 1; in _map_scb()
/sound/soc/intel/skylake/
Dskl-topology.c2239 static int ref_count; in skl_tplg_fill_str_mfest_tkn() local
2243 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()
Dskl.c298 if (hlink->ref_count) in skl_resume()
309 if (!hlink->ref_count) in skl_resume()
/sound/core/
Dpcm.c964 substream->ref_count++; in snd_pcm_attach_substream()
1007 substream->ref_count = 1; in snd_pcm_attach_substream()
Dpcm_native.c2232 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()