Home
last modified time | relevance | path

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

/sound/virtio/
A Dvirtio_ctl_msg.c24 refcount_t ref_count; member
35 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()
/sound/hda/core/ext/
A Dcontroller.c109 hlink->ref_count = 1; in snd_hdac_ext_bus_get_ml_capabilities()
309 if (++hlink->ref_count == 1) { in snd_hdac_ext_bus_link_get()
352 if (--hlink->ref_count == 0) { in snd_hdac_ext_bus_link_put()
360 if (hlink_tmp->ref_count) { in snd_hdac_ext_bus_link_put()
/sound/core/seq/
A Dseq_ports.h33 atomic_t ref_count; member
A Dseq_ports.c236 if (atomic_dec_and_test(&subs->ref_count)) in clear_subscriber_list()
533 atomic_inc(&subs->ref_count); in check_and_subscribe_port()
590 atomic_set(&subs->ref_count, 0); in snd_seq_port_connect()
A Dseq_clientmgr.c762 if (atomic_read(&subs->ref_count) != 2) in __deliver_to_subscribers()
/sound/pci/cs46xx/
A Dcs46xx_dsp_spos.h105 int ref_count; member
A Ddsp_spos_scb_lib.c93 snd_iprintf(buffer,"index [%d] ref_count [%d]\n",scb->index,scb->ref_count); in cs46xx_dsp_proc_scb_info_read()
1273 ins->pcm_channels[i].src_scb->ref_count ++; in cs46xx_dsp_create_pcm_channel()
1463 pcm_channel->src_scb->ref_count <= 0)) in cs46xx_dsp_destroy_pcm_channel()
1470 pcm_channel->src_scb->ref_count --; in cs46xx_dsp_destroy_pcm_channel()
1476 if (!pcm_channel->src_scb->ref_count) { in cs46xx_dsp_destroy_pcm_channel()
A Ddsp_spos.c929 ins->scbs[index].ref_count = 1; in _map_scb()
/sound/soc/sof/intel/
A Dhda-mlink.c421 hlink->ref_count = 1; in hda_ml_alloc_h2link()
702 if (++hlink->ref_count > 1) in hdac_bus_eml_power_up_base()
764 if (--hlink->ref_count > 0) in hdac_bus_eml_power_down_base()
925 if (!h2link->alt && hlink->ref_count) { in hda_bus_ml_resume()
/sound/core/
A Dpcm.c924 substream->ref_count++; in snd_pcm_attach_substream()
969 substream->ref_count = 1; in snd_pcm_attach_substream()
A Dpcm_native.c2723 substream->ref_count--; in snd_pcm_release_substream()
2724 if (substream->ref_count > 0) in snd_pcm_release_substream()
2754 if (substream->ref_count > 1) { in snd_pcm_open_substream()
2811 if (substream->ref_count == 1) in snd_pcm_open_file()

Completed in 47 milliseconds