Searched refs:grp (Results 1 – 3 of 3) sorted by relevance
98 static void port_subs_info_init(struct snd_seq_port_subs_info *grp) in port_subs_info_init() argument100 INIT_LIST_HEAD(&grp->list_head); in port_subs_info_init()101 grp->count = 0; in port_subs_info_init()102 grp->exclusive = 0; in port_subs_info_init()103 rwlock_init(&grp->list_lock); in port_subs_info_init()104 init_rwsem(&grp->list_mutex); in port_subs_info_init()105 grp->open = NULL; in port_subs_info_init()106 grp->close = NULL; in port_subs_info_init()165 struct snd_seq_port_subs_info *grp,169 struct snd_seq_port_subs_info *grp,[all …]
670 struct snd_seq_port_subs_info *grp; in deliver_to_subscribers() local677 grp = &src_port->c_src; in deliver_to_subscribers()681 read_lock(&grp->list_lock); in deliver_to_subscribers()683 down_read_nested(&grp->list_mutex, hop); in deliver_to_subscribers()684 list_for_each_entry(subs, &grp->list_head, src_list) { in deliver_to_subscribers()706 read_unlock(&grp->list_lock); in deliver_to_subscribers()708 up_read(&grp->list_mutex); in deliver_to_subscribers()
12 get_phys_name(struct snd_efw_phys_grp *grp, bool input) in get_phys_name() argument19 if (grp->type < ARRAY_SIZE(ch_type)) in get_phys_name()20 return ch_type[grp->type]; in get_phys_name()