Home
last modified time | relevance | path

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

/sound/core/
Dcontrol_led.c40 unsigned int group; member
59 .group = (SNDRV_CTL_ELEM_ACCESS_SPK_LED >> SNDRV_CTL_ELEM_ACCESS_LED_SHIFT) - 1,
65 .group = (SNDRV_CTL_ELEM_ACCESS_MIC_LED >> SNDRV_CTL_ELEM_ACCESS_LED_SHIFT) - 1,
87 static inline unsigned int group_to_access(unsigned int group) in group_to_access() argument
89 return (group + 1) << SNDRV_CTL_ELEM_ACCESS_LED_SHIFT; in group_to_access()
94 unsigned int group = access_to_group(access); in snd_ctl_led_get_by_access() local
95 if (group >= MAX_LED) in snd_ctl_led_get_by_access()
97 return &snd_ctl_leds[group]; in snd_ctl_led_get_by_access()
187 unsigned int group; in snd_ctl_led_find() local
189 for (group = 0; group < MAX_LED; group++) { in snd_ctl_led_find()
[all …]
Dpcm_native.c77 void snd_pcm_group_init(struct snd_pcm_group *group) in snd_pcm_group_init() argument
79 spin_lock_init(&group->lock); in snd_pcm_group_init()
80 mutex_init(&group->mutex); in snd_pcm_group_init()
81 INIT_LIST_HEAD(&group->substreams); in snd_pcm_group_init()
82 refcount_set(&group->refs, 1); in snd_pcm_group_init()
87 static void snd_pcm_group_ ## action(struct snd_pcm_group *group, bool nonatomic) \
90 mutex_ ## mutex_action(&group->mutex); \
92 spin_ ## action(&group->lock); \
143 struct snd_pcm_group *group = &substream->self_group; in snd_pcm_stream_lock_nested() local
146 mutex_lock_nested(&group->mutex, SINGLE_DEPTH_NESTING); in snd_pcm_stream_lock_nested()
[all …]
Dpcm_local.h65 void snd_pcm_group_init(struct snd_pcm_group *group);
Dinit.c848 const struct attribute_group *group) in snd_card_add_dev_attr() argument
855 card->dev_groups[i] = group; in snd_card_add_dev_attr()
Dpcm.c696 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.c1967 struct snd_seq_port_subs_info *group; in snd_seq_ioctl_query_subs() local
1980 group = &port->c_src; in snd_seq_ioctl_query_subs()
1983 group = &port->c_dest; in snd_seq_ioctl_query_subs()
1989 down_read(&group->list_mutex); in snd_seq_ioctl_query_subs()
1991 subs->num_subs = group->count; in snd_seq_ioctl_query_subs()
1994 list_for_each(p, &group->list_head) { in snd_seq_ioctl_query_subs()
2011 up_read(&group->list_mutex); in snd_seq_ioctl_query_subs()
2400 struct snd_seq_port_subs_info *group, in snd_seq_info_dump_subscribers() argument
2407 down_read(&group->list_mutex); in snd_seq_info_dump_subscribers()
2408 if (list_empty(&group->list_head)) { in snd_seq_info_dump_subscribers()
[all …]
/sound/usb/
Dmixer_quirks.c3269 u8 device_idx, u8 group, u16 value) in snd_djm_controls_update() argument
3274 if ((group >= device->ncontrols) || value >= device->controls[group].noptions) in snd_djm_controls_update()
3285 device->controls[group].options[value], in snd_djm_controls_update()
3286 device->controls[group].wIndex, in snd_djm_controls_update()
3307 u8 group = (private_value & SND_DJM_GROUP_MASK) >> SND_DJM_GROUP_SHIFT; in snd_djm_controls_put() local
3311 (group << SND_DJM_GROUP_SHIFT) | in snd_djm_controls_put()
3314 return snd_djm_controls_update(mixer, device, group, value); in snd_djm_controls_put()
3321 u8 group = (private_value & SND_DJM_GROUP_MASK) >> SND_DJM_GROUP_SHIFT; in snd_djm_controls_resume() local
3324 return snd_djm_controls_update(list->mixer, device, group, value); in snd_djm_controls_resume()
/sound/pci/mixart/
Dmixart_core.h171 struct mixart_uid group; member
Dmixart.c313 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.c1400 (rme96->playback_substream->group == in snd_rme96_playback_trigger()
1401 rme96->capture_substream->group); in snd_rme96_playback_trigger()
1457 (rme96->playback_substream->group == in snd_rme96_capture_trigger()
1458 rme96->capture_substream->group); in snd_rme96_capture_trigger()
/sound/pci/hda/
Dpatch_ca0132.c732 unsigned int group[AE_CA0113_OUT_SET_COMMANDS]; member
738 .group = { 0x30, 0x30, 0x48, 0x48, 0x48, 0x30 },
747 .group = { 0x30, 0x30, 0x48, 0x48, 0x48, 0x30 },
3664 static void ca0113_mmio_command_set(struct hda_codec *codec, unsigned int group, in ca0113_mmio_command_set() argument
3677 writel(group, spec->mem_base + 0x804); in ca0113_mmio_command_set()
3704 unsigned int group, unsigned int target, unsigned int value) in ca0113_mmio_command_set_type2() argument
3716 writel(group, spec->mem_base + 0x804); in ca0113_mmio_command_set_type2()
4562 ca0113_mmio_command_set(codec, out_cmds->group[i], in ae5_mmio_select_out()