Searched refs:grp (Results 1 – 2 of 2) sorted by relevance
112 static void port_subs_info_init(struct snd_seq_port_subs_info *grp) in port_subs_info_init() argument114 INIT_LIST_HEAD(&grp->list_head); in port_subs_info_init()115 grp->count = 0; in port_subs_info_init()116 grp->exclusive = 0; in port_subs_info_init()117 rwlock_init(&grp->list_lock); in port_subs_info_init()118 init_rwsem(&grp->list_mutex); in port_subs_info_init()119 grp->open = NULL; in port_subs_info_init()120 grp->close = NULL; in port_subs_info_init()183 struct snd_seq_port_subs_info *grp,187 struct snd_seq_port_subs_info *grp,[all …]
660 struct snd_seq_port_subs_info *grp; in deliver_to_subscribers() local667 grp = &src_port->c_src; in deliver_to_subscribers()671 read_lock(&grp->list_lock); in deliver_to_subscribers()673 down_read(&grp->list_mutex); in deliver_to_subscribers()674 list_for_each_entry(subs, &grp->list_head, src_list) { in deliver_to_subscribers()689 read_unlock(&grp->list_lock); in deliver_to_subscribers()691 up_read(&grp->list_mutex); in deliver_to_subscribers()