Searched refs:uinfo (Results 51 - 75 of 230) sorted by relevance

12345678910

/linux-master/sound/soc/codecs/
H A Daudio-iio-aux.c34 struct snd_ctl_elem_info *uinfo)
38 uinfo->count = 1;
39 uinfo->value.integer.min = 0;
40 uinfo->value.integer.max = chan->max - chan->min;
41 uinfo->type = (uinfo->value.integer.max == 1) ?
33 audio_iio_aux_info_volsw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
/linux-master/sound/soc/sof/
H A Dcontrol.c48 int snd_sof_volume_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
60 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN;
62 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
64 uinfo->count = channels;
65 uinfo->value.integer.min = 0;
66 uinfo->value.integer.max = platform_max - sm->min;
/linux-master/sound/pci/ac97/
H A Dac97_patch.h57 struct snd_ctl_elem_info *uinfo);
76 struct snd_ctl_elem_info *uinfo);
/linux-master/sound/soc/meson/
H A Daxg-spdifin.c263 struct snd_ctl_elem_info *uinfo)
265 uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958;
266 uinfo->count = 1;
337 struct snd_ctl_elem_info *uinfo)
339 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
340 uinfo->count = 1;
341 uinfo->value.integer.min = 0;
342 uinfo->value.integer.max = 192000;
262 axg_spdifin_iec958_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
336 axg_spdifin_rate_lock_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
/linux-master/drivers/usb/gadget/function/
H A Du_audio.c867 struct snd_ctl_elem_info *uinfo)
878 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
879 uinfo->count = 1;
880 uinfo->value.integer.min = pitch_min;
881 uinfo->value.integer.max = pitch_max;
882 uinfo->value.integer.step = 1;
926 struct snd_ctl_elem_info *uinfo)
928 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN;
929 uinfo->count = 1;
930 uinfo
866 u_audio_pitch_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
925 u_audio_mute_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
996 u_audio_volume_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
1080 u_audio_rate_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
[all...]
/linux-master/sound/soc/codecs/aw88395/
H A Daw88395.c174 struct snd_ctl_elem_info *uinfo)
181 uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED;
182 uinfo->count = 1;
186 uinfo->value.enumerated.items = 0;
190 uinfo->value.enumerated.items = count;
192 if (uinfo->value.enumerated.item >= count)
193 uinfo->value.enumerated.item = count - 1;
195 name = uinfo->value.enumerated.name;
196 count = uinfo->value.enumerated.item;
200 strscpy(uinfo
173 aw88395_profile_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
[all...]
/linux-master/sound/pci/ice1712/
H A Dpontis.c100 static int wm_dac_vol_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
102 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
103 uinfo->count = 2;
104 uinfo->value.integer.min = 0; /* mute */
105 uinfo->value.integer.max = DAC_RES; /* 0dB, 0.5dB step */
155 static int wm_adc_vol_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
157 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
158 uinfo->count = 2;
159 uinfo->value.integer.min = 0; /* mute (-64dB) */
160 uinfo
399 cs_source_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
440 pontis_gpio_mask_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
[all...]
H A Dwm8766.c182 struct snd_ctl_elem_info *uinfo)
187 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
188 uinfo->count = (wm->ctl[n].flags & WM8766_FLAG_STEREO) ? 2 : 1;
189 uinfo->value.integer.min = wm->ctl[n].min;
190 uinfo->value.integer.max = wm->ctl[n].max;
196 struct snd_ctl_elem_info *uinfo)
201 return snd_ctl_enum_info(uinfo, 1, wm->ctl[n].max,
181 snd_wm8766_volume_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
195 snd_wm8766_enum_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
H A Dmaya44.c158 struct snd_ctl_elem_info *uinfo)
163 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
164 uinfo->count = 2;
165 uinfo->value.integer.min = 0;
166 uinfo->value.integer.max = vol->maxval;
344 struct snd_ctl_elem_info *uinfo)
348 return snd_ctl_enum_info(uinfo, 1, ARRAY_SIZE(texts), texts);
385 struct snd_ctl_elem_info *uinfo)
392 return snd_ctl_enum_info(uinfo, 1, ARRAY_SIZE(texts), texts);
157 maya_vol_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
343 maya_rec_src_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
384 maya_pb_route_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
/linux-master/sound/drivers/
H A Dmts64.c482 struct snd_ctl_elem_info *uinfo)
484 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
485 uinfo->count = 1;
486 uinfo->value.integer.min = 0;
487 uinfo->value.integer.max = 23;
492 struct snd_ctl_elem_info *uinfo)
494 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
495 uinfo->count = 1;
496 uinfo->value.integer.min = 0;
497 uinfo
481 snd_mts64_ctl_smpte_time_h_info(struct snd_kcontrol *kctl, struct snd_ctl_elem_info *uinfo) argument
491 snd_mts64_ctl_smpte_time_f_info(struct snd_kcontrol *kctl, struct snd_ctl_elem_info *uinfo) argument
501 snd_mts64_ctl_smpte_time_info(struct snd_kcontrol *kctl, struct snd_ctl_elem_info *uinfo) argument
587 snd_mts64_ctl_smpte_fps_info(struct snd_kcontrol *kctl, struct snd_ctl_elem_info *uinfo) argument
[all...]
H A Daloop.c1377 struct snd_ctl_elem_info *uinfo)
1379 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
1380 uinfo->count = 1;
1381 uinfo->value.integer.min = 80000;
1382 uinfo->value.integer.max = 120000;
1383 uinfo->value.integer.step = 1;
1476 struct snd_ctl_elem_info *uinfo)
1478 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
1479 uinfo->count = 1;
1480 uinfo
1376 loopback_rate_shift_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
1475 loopback_format_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
1497 loopback_rate_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
1521 loopback_channels_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
1545 loopback_access_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
[all...]
/linux-master/drivers/scsi/cxgbi/cxgb3i/
H A Dcxgb3i.c1228 struct ulp_iscsi_info uinfo; local
1231 err = tdev->ctl(tdev, ULP_ISCSI_GET_PARAMS, &uinfo);
1237 if (uinfo.llimit >= uinfo.ulimit) {
1239 ndev->name, uinfo.llimit, uinfo.ulimit);
1243 ppmax = (uinfo.ulimit - uinfo.llimit + 1) >> PPOD_SIZE_SHIFT;
1247 ndev->name, uinfo.llimit, uinfo
[all...]
/linux-master/sound/ppc/
H A Dtumbler.c243 struct snd_ctl_elem_info *uinfo)
245 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
246 uinfo->count = 2;
247 uinfo->value.integer.min = 0;
248 uinfo->value.integer.max = ARRAY_SIZE(master_volume_table) - 1;
389 struct snd_ctl_elem_info *uinfo)
392 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
393 uinfo->count = 1;
394 uinfo->value.integer.min = 0;
395 uinfo
242 tumbler_info_master_volume(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
388 tumbler_info_drc_value(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
513 tumbler_info_mono(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
662 snapper_info_mix(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
791 snapper_info_capture_source(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
[all...]
/linux-master/tools/testing/selftests/ptrace/
H A Dpeeksiginfo.c15 static int sys_rt_sigqueueinfo(pid_t tgid, int sig, siginfo_t *uinfo) argument
17 return syscall(SYS_rt_sigqueueinfo, tgid, sig, uinfo);
21 int sig, siginfo_t *uinfo)
23 return syscall(SYS_rt_tgsigqueueinfo, tgid, tid, sig, uinfo);
20 sys_rt_tgsigqueueinfo(pid_t tgid, pid_t tid, int sig, siginfo_t *uinfo) argument
/linux-master/sound/pci/pcxhr/
H A Dpcxhr_mix22.c699 struct snd_ctl_elem_info *uinfo)
701 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
702 uinfo->count = 1;
703 uinfo->value.integer.min = HR222_MICRO_CAPTURE_LEVEL_MIN; /* -98 dB */
705 uinfo->value.integer.max = HR222_MICRO_CAPTURE_LEVEL_MAX; /* +7 dB */
750 struct snd_ctl_elem_info *uinfo)
752 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
753 uinfo->count = 1;
754 uinfo->value.integer.min = 0; /* 0 dB */
755 uinfo
698 hr222_mic_vol_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
749 hr222_mic_boost_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
[all...]
/linux-master/drivers/infiniband/hw/qib/
H A Dqib_file_ops.c1216 const struct qib_user_info *uinfo)
1226 if (uinfo->spu_subctxt_cnt <= 0)
1228 num_subctxts = uinfo->spu_subctxt_cnt;
1231 if (!qib_compatible_subctxts(uinfo->spu_userversion >> 16,
1232 uinfo->spu_userversion & 0xffff)) {
1235 (int) (uinfo->spu_userversion >> 16),
1236 (int) (uinfo->spu_userversion & 0xffff),
1267 rcd->subctxt_cnt = uinfo->spu_subctxt_cnt;
1268 rcd->subctxt_id = uinfo->spu_subctxt_id;
1284 struct file *fp, const struct qib_user_info *uinfo)
1214 init_subctxts(struct qib_devdata *dd, struct qib_ctxtdata *rcd, const struct qib_user_info *uinfo) argument
1283 setup_ctxt(struct qib_pportdata *ppd, int ctxt, struct file *fp, const struct qib_user_info *uinfo) argument
1353 choose_port_ctxt(struct file *fp, struct qib_devdata *dd, u32 port, const struct qib_user_info *uinfo) argument
1390 find_free_ctxt(int unit, struct file *fp, const struct qib_user_info *uinfo) argument
1404 get_a_ctxt(struct file *fp, const struct qib_user_info *uinfo, unsigned alg) argument
1474 find_shared_ctxt(struct file *fp, const struct qib_user_info *uinfo) argument
1583 qib_assign_ctxt(struct file *fp, const struct qib_user_info *uinfo) argument
1648 qib_do_user_init(struct file *fp, const struct qib_user_info *uinfo) argument
1877 qib_ctxt_info(struct file *fp, struct qib_ctxt_info __user *uinfo) argument
[all...]
/linux-master/sound/soc/tegra/
H A Dtegra210_peq.c192 struct snd_ctl_elem_info *uinfo)
196 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
197 uinfo->value.integer.min = INT_MIN;
198 uinfo->value.integer.max = INT_MAX;
199 uinfo->count = params->num_regs;
191 tegra210_peq_param_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
/linux-master/drivers/infiniband/hw/hfi1/
H A Dfile_ops.c43 const struct hfi1_user_info *uinfo);
60 const struct hfi1_user_info *uinfo);
62 struct hfi1_user_info *uinfo,
780 struct hfi1_user_info uinfo; local
785 if (sizeof(uinfo) != len)
788 if (copy_from_user(&uinfo, (void __user *)arg, sizeof(uinfo)))
791 swmajor = uinfo.userversion >> 16;
795 if (uinfo.subctxt_cnt > HFI1_MAX_SHARED_CTXTS)
807 ret = find_sub_ctxt(fd, &uinfo);
844 match_ctxt(struct hfi1_filedata *fd, const struct hfi1_user_info *uinfo, struct hfi1_ctxtdata *uctxt) argument
906 find_sub_ctxt(struct hfi1_filedata *fd, const struct hfi1_user_info *uinfo) argument
931 allocate_ctxt(struct hfi1_filedata *fd, struct hfi1_devdata *dd, struct hfi1_user_info *uinfo, struct hfi1_ctxtdata **rcd) argument
1030 init_subctxts(struct hfi1_ctxtdata *uctxt, const struct hfi1_user_info *uinfo) argument
[all...]
/linux-master/sound/aoa/codecs/
H A Donyx.c110 struct snd_ctl_elem_info *uinfo)
112 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
113 uinfo->count = 2;
114 uinfo->value.integer.min = -128 + VOLUME_RANGE_SHIFT;
115 uinfo->value.integer.max = -1 + VOLUME_RANGE_SHIFT;
186 struct snd_ctl_elem_info *uinfo)
188 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
189 uinfo->count = 1;
190 uinfo->value.integer.min = 3 + INPUTGAIN_RANGE_SHIFT;
191 uinfo
109 onyx_snd_vol_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
185 onyx_snd_inputgain_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
241 onyx_snd_capture_source_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
458 onyx_spdif_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
[all...]
/linux-master/sound/pci/hda/
H A Dtas2781_hda_i2c.c169 struct snd_ctl_elem_info *uinfo)
173 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
174 uinfo->count = 1;
175 uinfo->value.integer.min = 0;
176 uinfo->value.integer.max = tas_priv->rcabin.ncfgs - 1;
225 struct snd_ctl_elem_info *uinfo)
230 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
231 uinfo->count = 1;
232 uinfo->value.integer.min = 0;
233 uinfo
168 tasdevice_info_profile(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
224 tasdevice_info_programs(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
238 tasdevice_info_config(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
[all...]
/linux-master/sound/usb/
H A Dmixer_us16x08.c175 struct snd_ctl_elem_info *uinfo)
177 return snd_ctl_enum_info(uinfo, 1, 10, route_names);
239 struct snd_ctl_elem_info *uinfo)
241 uinfo->count = 1;
242 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
243 uinfo->value.integer.max = SND_US16X08_KCMAX(kcontrol);
244 uinfo->value.integer.min = SND_US16X08_KCMIN(kcontrol);
245 uinfo->value.integer.step = SND_US16X08_KCSTEP(kcontrol);
407 struct snd_ctl_elem_info *uinfo)
409 uinfo
174 snd_us16x08_route_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
238 snd_us16x08_master_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
406 snd_us16x08_mix_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
607 snd_us16x08_meter_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
[all...]
/linux-master/sound/isa/opti9xx/
H A Dmiro.c295 struct snd_ctl_elem_info *uinfo)
297 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
298 uinfo->count = 1;
299 uinfo->value.integer.min = 0;
300 uinfo->value.integer.max = 3;
398 struct snd_ctl_elem_info *uinfo)
402 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
403 uinfo->count = 2;
409 uinfo->value.integer.min = - 0x7f;
410 uinfo
294 snd_miro_info_preamp(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
397 snd_miro_info_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
422 snd_miro_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *uinfo) argument
[all...]
/linux-master/sound/pci/emu10k1/
H A Dp16v.c602 struct snd_ctl_elem_info *uinfo)
604 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
605 uinfo->count = 2;
606 uinfo->value.integer.min = 0;
607 uinfo->value.integer.max = 255;
656 struct snd_ctl_elem_info *uinfo)
663 return snd_ctl_enum_info(uinfo, 1, 8, texts);
698 struct snd_ctl_elem_info *uinfo)
702 return snd_ctl_enum_info(uinfo, 1, 4, texts);
601 snd_p16v_volume_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
655 snd_p16v_capture_source_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
697 snd_p16v_capture_channel_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
/linux-master/sound/i2c/other/
H A Dak4xxx-adda.c353 struct snd_ctl_elem_info *uinfo)
357 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
358 uinfo->count = 1;
359 uinfo->value.integer.min = 0;
360 uinfo->value.integer.max = mask;
411 struct snd_ctl_elem_info *uinfo)
415 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
416 uinfo->count = 2;
417 uinfo->value.integer.min = 0;
418 uinfo
352 snd_akm4xxx_volume_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
410 snd_akm4xxx_stereo_volume_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
451 snd_akm4xxx_deemphasis_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
547 ak4xxx_capture_source_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
[all...]
/linux-master/sound/usb/line6/
H A Dpodhd.c316 struct snd_ctl_elem_info *uinfo)
318 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
319 uinfo->count = 1;
320 uinfo->value.integer.min = 0;
321 uinfo->value.integer.max = 100;
322 uinfo->value.integer.step = 1;
315 snd_podhd_control_monitor_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument

Completed in 384 milliseconds

12345678910