Searched refs:grp (Results 1 – 3 of 3) sorted by relevance
113 static void port_subs_info_init(struct snd_seq_port_subs_info *grp) in port_subs_info_init() argument115 INIT_LIST_HEAD(&grp->list_head); in port_subs_info_init()116 grp->count = 0; in port_subs_info_init()117 grp->exclusive = 0; in port_subs_info_init()118 rwlock_init(&grp->list_lock); in port_subs_info_init()119 init_rwsem(&grp->list_mutex); in port_subs_info_init()120 grp->open = NULL; in port_subs_info_init()121 grp->close = NULL; in port_subs_info_init()181 struct snd_seq_port_subs_info *grp,185 struct snd_seq_port_subs_info *grp,[all …]
667 struct snd_seq_port_subs_info *grp; in deliver_to_subscribers() local674 grp = &src_port->c_src; in deliver_to_subscribers()678 read_lock(&grp->list_lock); in deliver_to_subscribers()680 down_read_nested(&grp->list_mutex, hop); in deliver_to_subscribers()681 list_for_each_entry(subs, &grp->list_head, src_list) { in deliver_to_subscribers()703 read_unlock(&grp->list_lock); in deliver_to_subscribers()705 up_read(&grp->list_mutex); in deliver_to_subscribers()
13 get_phys_name(struct snd_efw_phys_grp *grp, bool input) in get_phys_name() argument20 if (grp->type < ARRAY_SIZE(ch_type)) in get_phys_name()21 return ch_type[grp->type]; in get_phys_name()