Lines Matching refs:device_idx
2871 static const char *snd_djm_get_label_cap(u8 device_idx, u16 wvalue) in snd_djm_get_label_cap() argument
2873 switch (device_idx) { in snd_djm_get_label_cap()
2889 static const char *snd_djm_get_label(u8 device_idx, u16 wvalue, u16 windex) in snd_djm_get_label() argument
2893 case SND_DJM_WINDEX_CAP: return snd_djm_get_label_cap(device_idx, wvalue); in snd_djm_get_label()
3031 u8 device_idx = (private_value & SND_DJM_DEVICE_MASK) >> SND_DJM_DEVICE_SHIFT; in snd_djm_controls_info() local
3033 const struct snd_djm_device *device = &snd_djm_devices[device_idx]; in snd_djm_controls_info()
3046 name = snd_djm_get_label(device_idx, in snd_djm_controls_info()
3060 u8 device_idx, u8 group, u16 value) in snd_djm_controls_update() argument
3063 const struct snd_djm_device *device = &snd_djm_devices[device_idx]; in snd_djm_controls_update()
3119 const u8 device_idx) in snd_djm_controls_create() argument
3124 const struct snd_djm_device *device = &snd_djm_devices[device_idx]; in snd_djm_controls_create()
3139 ((unsigned long)device_idx << SND_DJM_DEVICE_SHIFT) | in snd_djm_controls_create()
3142 err = snd_djm_controls_update(mixer, device_idx, i, value); in snd_djm_controls_create()