Home
last modified time | relevance | path

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

/sound/core/
Dpcm_native.c75 void snd_pcm_group_init(struct snd_pcm_group *group) in snd_pcm_group_init() argument
77 spin_lock_init(&group->lock); in snd_pcm_group_init()
78 mutex_init(&group->mutex); in snd_pcm_group_init()
79 INIT_LIST_HEAD(&group->substreams); in snd_pcm_group_init()
80 refcount_set(&group->refs, 1); in snd_pcm_group_init()
85 static void snd_pcm_group_ ## action(struct snd_pcm_group *group, bool nonatomic) \
88 mutex_ ## mutex_action(&group->mutex); \
90 spin_ ## action(&group->lock); \
141 struct snd_pcm_group *group = &substream->self_group; in snd_pcm_stream_lock_nested() local
144 mutex_lock_nested(&group->mutex, SINGLE_DEPTH_NESTING); in snd_pcm_stream_lock_nested()
[all …]
Dpcm_local.h68 void snd_pcm_group_init(struct snd_pcm_group *group);
Dinit.c710 const struct attribute_group *group) in snd_card_add_dev_attr() argument
717 card->dev_groups[i] = group; in snd_card_add_dev_attr()
Dpcm.c694 substream->group = &substream->self_group; in snd_pcm_new_stream()
/sound/hda/
Dhdac_sysfs.c312 const struct attribute_group *group) in free_widget_node() argument
315 sysfs_remove_group(kobj, group); in free_widget_node()
339 const struct attribute_group *group, in add_widget_node() argument
353 err = sysfs_create_group(kobj, group); in add_widget_node()
/sound/core/seq/
Dseq_clientmgr.c1953 struct snd_seq_port_subs_info *group; in snd_seq_ioctl_query_subs() local
1964 group = &port->c_src; in snd_seq_ioctl_query_subs()
1967 group = &port->c_dest; in snd_seq_ioctl_query_subs()
1973 down_read(&group->list_mutex); in snd_seq_ioctl_query_subs()
1975 subs->num_subs = group->count; in snd_seq_ioctl_query_subs()
1978 list_for_each(p, &group->list_head) { in snd_seq_ioctl_query_subs()
1995 up_read(&group->list_mutex); in snd_seq_ioctl_query_subs()
2384 struct snd_seq_port_subs_info *group, in snd_seq_info_dump_subscribers() argument
2391 down_read(&group->list_mutex); in snd_seq_info_dump_subscribers()
2392 if (list_empty(&group->list_head)) { in snd_seq_info_dump_subscribers()
[all …]
/sound/pci/mixart/
Dmixart_core.h170 struct mixart_uid group; member
Dmixart.c314 pipe->group_uid = buf->sgroup_resp.group; /* id of the pipe, as returned by embedded */ in snd_mixart_add_ref_pipe()
/sound/soc/codecs/
Dcs42l52.c639 u8 group; member
819 (clk_map_table[index].group << CLK_32K_SR_SHIFT) | in cs42l52_pcm_hw_params()
/sound/pci/
Drme96.c1394 (rme96->playback_substream->group == in snd_rme96_playback_trigger()
1395 rme96->capture_substream->group); in snd_rme96_playback_trigger()
1451 (rme96->playback_substream->group == in snd_rme96_capture_trigger()
1452 rme96->capture_substream->group); in snd_rme96_capture_trigger()
/sound/pci/hda/
Dpatch_ca0132.c663 unsigned int group[AE5_CA0113_OUT_SET_COMMANDS]; member
669 { .group = { 0x30, 0x30, 0x48, 0x48, 0x48, 0x30 },
673 { .group = { 0x30, 0x30, 0x48, 0x48, 0x48, 0x30 },
677 { .group = { 0x30, 0x30, 0x48, 0x48, 0x48, 0x30 },
3260 static void ca0113_mmio_command_set(struct hda_codec *codec, unsigned int group, in ca0113_mmio_command_set() argument
3273 writel(group, spec->mem_base + 0x804); in ca0113_mmio_command_set()
3300 unsigned int group, unsigned int target, unsigned int value) in ca0113_mmio_command_set_type2() argument
3312 writel(group, spec->mem_base + 0x804); in ca0113_mmio_command_set_type2()
4172 ae5_ca0113_output_presets[spec->cur_out_type].group[i], in ae5_mmio_select_out()