/linux-master/sound/pci/ |
H A D | rme32.c | 1543 struct snd_ctl_elem_info *uinfo) 1563 return snd_ctl_enum_info(uinfo, 1, num_items, texts); 1625 struct snd_ctl_elem_info *uinfo) 1632 return snd_ctl_enum_info(uinfo, 1, 4, texts); 1682 struct snd_ctl_elem_info *uinfo) 1684 uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958; 1685 uinfo->count = 1; 1715 struct snd_ctl_elem_info *uinfo) 1717 uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958; 1718 uinfo 1542 snd_rme32_info_inputtype_control(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1624 snd_rme32_info_clockmode_control(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1681 snd_rme32_control_spdif_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1714 snd_rme32_control_spdif_stream_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1752 snd_rme32_control_spdif_mask_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument [all...] |
H A D | cmipci.c | 980 struct snd_ctl_elem_info *uinfo) 982 uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958; 983 uinfo->count = 1; 1027 struct snd_ctl_elem_info *uinfo) 1029 uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958; 1030 uinfo->count = 1; 1054 struct snd_ctl_elem_info *uinfo) 1056 uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958; 1057 uinfo->count = 1; 2007 struct snd_ctl_elem_info *uinfo) 979 snd_cmipci_spdif_default_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1026 snd_cmipci_spdif_mask_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1053 snd_cmipci_spdif_stream_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 2006 snd_cmipci_info_volume(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 2091 snd_cmipci_info_input_sw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 2177 snd_cmipci_info_native_mixer(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 2483 snd_cmipci_line_in_mode_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 2539 snd_cmipci_mic_in_mode_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument [all...] |
H A D | sonicvibes.c | 884 static int snd_sonicvibes_info_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 890 return snd_ctl_enum_info(uinfo, 2, 7, texts); 933 static int snd_sonicvibes_info_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 937 uinfo->type = mask == 1 ? SNDRV_CTL_ELEM_TYPE_BOOLEAN : SNDRV_CTL_ELEM_TYPE_INTEGER; 938 uinfo->count = 1; 939 uinfo->value.integer.min = 0; 940 uinfo->value.integer.max = mask; 989 static int snd_sonicvibes_info_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 993 uinfo->type = mask == 1 ? SNDRV_CTL_ELEM_TYPE_BOOLEAN : SNDRV_CTL_ELEM_TYPE_INTEGER; 994 uinfo [all...] |
/linux-master/sound/soc/sh/rcar/ |
H A D | core.c | 1705 struct snd_ctl_elem_info *uinfo) 1710 uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; 1711 uinfo->count = cfg->size; 1712 uinfo->value.enumerated.items = cfg->max; 1713 if (uinfo->value.enumerated.item >= cfg->max) 1714 uinfo->value.enumerated.item = cfg->max - 1; 1715 strscpy(uinfo->value.enumerated.name, 1716 cfg->texts[uinfo->value.enumerated.item], 1717 sizeof(uinfo->value.enumerated.name)); 1719 uinfo 1704 rsnd_kctrl_info(struct snd_kcontrol *kctrl, struct snd_ctl_elem_info *uinfo) argument [all...] |
/linux-master/sound/parisc/ |
H A D | harmony.c | 651 struct snd_ctl_elem_info *uinfo) 657 uinfo->type = mask == 1 ? SNDRV_CTL_ELEM_TYPE_BOOLEAN : 659 uinfo->count = left_shift == right_shift ? 1 : 2; 660 uinfo->value.integer.min = 0; 661 uinfo->value.integer.max = mask; 732 struct snd_ctl_elem_info *uinfo) 736 return snd_ctl_enum_info(uinfo, 1, 2, texts); 650 snd_harmony_mixercontrol_info(struct snd_kcontrol *kc, struct snd_ctl_elem_info *uinfo) argument 731 snd_harmony_captureroute_info(struct snd_kcontrol *kc, struct snd_ctl_elem_info *uinfo) argument
|
/linux-master/sound/mips/ |
H A D | sgio2audio.c | 144 struct snd_ctl_elem_info *uinfo) 148 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; 149 uinfo->count = 2; 150 uinfo->value.integer.min = 0; 151 uinfo->value.integer.max = ad1843_get_gain_max(&chip->ad1843, 187 struct snd_ctl_elem_info *uinfo) 192 return snd_ctl_enum_info(uinfo, 1, 3, texts); 143 sgio2audio_gain_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 186 sgio2audio_source_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
|
H A D | hal2.c | 170 struct snd_ctl_elem_info *uinfo) 172 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; 173 uinfo->count = 2; 174 uinfo->value.integer.min = 0; 177 uinfo->value.integer.max = 31; 180 uinfo->value.integer.max = 15; 169 hal2_gain_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
|
/linux-master/sound/pci/ice1712/ |
H A D | ice1712.c | 1288 static int snd_ice1712_pro_mixer_volume_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1290 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; 1291 uinfo->count = 2; 1292 uinfo->value.integer.min = 0; 1293 uinfo->value.integer.max = 96; 1566 struct snd_ctl_elem_info *uinfo) 1568 uinfo->type = SNDRV_CTL_ELEM_TYPE_BYTES; 1569 uinfo->count = sizeof(struct snd_ice1712_eeprom); 1593 struct snd_ctl_elem_info *uinfo) 1595 uinfo 1565 snd_ice1712_eeprom_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1592 snd_ice1712_spdif_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1753 snd_ice1712_pro_internal_clock_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1838 snd_ice1712_pro_internal_clock_default_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1968 snd_ice1712_pro_route_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 2135 snd_ice1712_pro_volume_rate_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 2175 snd_ice1712_pro_peak_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument [all...] |
/linux-master/sound/pci/hda/ |
H A D | patch_via.c | 214 struct snd_ctl_elem_info *uinfo) 216 return snd_hda_enum_bool_helper_info(kcontrol, uinfo); 873 struct snd_ctl_elem_info *uinfo) 875 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; 876 uinfo->count = 1; 877 uinfo->value.integer.min = 0; 878 uinfo->value.integer.max = 1; 213 via_pin_power_ctl_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 872 vt1716s_dmic_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
|
H A D | patch_cs8409.c | 459 int cs42l42_volume_info(struct snd_kcontrol *kctrl, struct snd_ctl_elem_info *uinfo) argument 464 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; 465 uinfo->value.integer.step = 1; 466 uinfo->count = chs == 3 ? 2 : 1; 470 uinfo->value.integer.min = CS42L42_HP_VOL_REAL_MIN; 471 uinfo->value.integer.max = CS42L42_HP_VOL_REAL_MAX; 474 uinfo->value.integer.min = CS42L42_AMIC_VOL_REAL_MIN; 475 uinfo->value.integer.max = CS42L42_AMIC_VOL_REAL_MAX;
|
H A D | hda_generic.c | 2226 struct snd_ctl_elem_info *uinfo) 2228 return snd_hda_enum_bool_helper_info(kcontrol, uinfo); 2330 struct snd_ctl_elem_info *uinfo) 2336 uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; 2337 uinfo->count = 1; 2338 uinfo->value.enumerated.items = spec->multi_ios + 1; 2339 if (uinfo->value.enumerated.item > spec->multi_ios) 2340 uinfo->value.enumerated.item = spec->multi_ios; 2341 chs = uinfo->value.enumerated.item * 2 + spec->min_channel_count; 2342 sprintf(uinfo 2225 indep_hp_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 2329 ch_mode_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 2668 out_jack_mode_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 2821 in_jack_mode_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 2914 hp_mic_jack_mode_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 3421 mux_enum_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 4633 automute_mode_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument [all...] |
H A D | hda_codec.c | 1444 * @uinfo: pointer to get/store the data 1450 struct snd_ctl_elem_info *uinfo) 1458 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; 1459 uinfo->count = chs == 3 ? 2 : 1; 1460 uinfo->value.integer.min = 0; 1461 uinfo->value.integer.max = get_amp_max_value(codec, nid, dir, ofs); 1462 if (!uinfo->value.integer.max) { 2086 * @uinfo: pointer to get/store the data 2092 struct snd_ctl_elem_info *uinfo) 2096 uinfo 1449 snd_hda_mixer_amp_volume_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 2091 snd_hda_mixer_amp_switch_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 2170 snd_hda_spdif_mask_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 3515 snd_hda_input_mux_info(const struct hda_input_mux *imux, struct snd_ctl_elem_info *uinfo) argument 3574 snd_hda_enum_helper_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo, int num_items, const char * const *texts) argument [all...] |
/linux-master/sound/soc/fsl/ |
H A D | fsl_xcvr.c | 131 struct snd_ctl_elem_info *uinfo) 133 uinfo->type = SNDRV_CTL_ELEM_TYPE_BYTES; 134 uinfo->count = FSL_XCVR_CAPDS_SIZE; 821 struct snd_ctl_elem_info *uinfo) 823 uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958; 824 uinfo->count = 1; 830 struct snd_ctl_elem_info *uinfo) 832 uinfo->type = SNDRV_CTL_ELEM_TYPE_BYTES; 833 uinfo->count = sizeof_field(struct snd_aes_iec958, status); 130 fsl_xcvr_type_capds_bytes_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 820 fsl_xcvr_type_iec958_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 829 fsl_xcvr_type_iec958_bytes_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
|
H A D | fsl_spdif.c | 777 struct snd_ctl_elem_info *uinfo) 779 uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958; 780 uinfo->count = 1; 873 struct snd_ctl_elem_info *uinfo) 875 uinfo->type = SNDRV_CTL_ELEM_TYPE_BYTES; 876 uinfo->count = SPDIF_QSUB_SIZE; 1046 struct snd_ctl_elem_info *uinfo) 1048 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; 1049 uinfo->count = 1; 1050 uinfo 776 fsl_spdif_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 872 fsl_spdif_qinfo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1045 fsl_spdif_rxrate_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument [all...] |
/linux-master/sound/pci/aw2/ |
H A D | aw2-alsa.c | 122 struct snd_ctl_elem_info *uinfo); 610 struct snd_ctl_elem_info *uinfo) 615 return snd_ctl_enum_info(uinfo, 1, 2, texts); 609 snd_aw2_control_switch_capture_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
|
/linux-master/sound/soc/img/ |
H A D | img-spdif-out.c | 112 struct snd_ctl_elem_info *uinfo) 114 uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958; 115 uinfo->count = 1; 111 img_spdif_out_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
|
/linux-master/sound/pci/korg1212/ |
H A D | korg1212.c | 1690 struct snd_ctl_elem_info *uinfo) 1692 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; 1693 uinfo->count = (kcontrol->private_value >= 8) ? 2 : 1; 1754 struct snd_ctl_elem_info *uinfo) 1756 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; 1757 uinfo->count = (kcontrol->private_value >= 8) ? 2 : 1; 1758 uinfo->value.integer.min = k1212MinVolume; 1759 uinfo->value.integer.max = k1212MaxVolume; 1822 struct snd_ctl_elem_info *uinfo) 1824 return snd_ctl_enum_info(uinfo, 1689 snd_korg1212_control_phase_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1753 snd_korg1212_control_volume_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1821 snd_korg1212_control_route_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1879 snd_korg1212_control_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1933 snd_korg1212_control_sync_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument [all...] |
/linux-master/net/dsa/ |
H A D | port.h | 36 struct netdev_lag_upper_info *uinfo,
|
/linux-master/sound/soc/codecs/ |
H A D | aw88399.c | 1448 struct snd_ctl_elem_info *uinfo) 1455 uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; 1456 uinfo->count = 1; 1460 uinfo->value.enumerated.items = 0; 1464 uinfo->value.enumerated.items = count; 1466 if (uinfo->value.enumerated.item >= count) 1467 uinfo->value.enumerated.item = count - 1; 1469 name = uinfo->value.enumerated.name; 1470 count = uinfo->value.enumerated.item; 1474 strscpy(uinfo 1447 aw88399_profile_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument [all...] |
H A D | rt715-sdca.c | 402 struct snd_ctl_elem_info *uinfo) 408 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; 410 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; 411 uinfo->count = p->count; 412 uinfo->value.integer.min = 0; 413 uinfo->value.integer.max = p->max; 401 rt715_sdca_fu_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
|
H A D | rt712-sdca-dmic.c | 382 struct snd_ctl_elem_info *uinfo) 388 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; 390 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; 391 uinfo->count = p->count; 392 uinfo->value.integer.min = 0; 393 uinfo->value.integer.max = p->max; 381 rt712_sdca_fu_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
|
H A D | pcm6240.c | 1145 struct snd_ctl_elem_info *uinfo) 1152 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; 1153 uinfo->count = 1; 1154 uinfo->value.integer.min = 0; 1155 uinfo->value.integer.max = max(0, pcm_dev->regbin.ncfgs - 1); 1197 struct snd_ctl_elem_info *uinfo) 1202 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; 1203 uinfo->count = 1; 1204 uinfo->value.integer.min = 0; 1205 uinfo 1143 pcmdevice_info_profile( struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1196 pcmdevice_info_volsw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument [all...] |
/linux-master/sound/x86/ |
H A D | intel_hdmi_audio.c | 537 struct snd_ctl_elem_info *uinfo) 539 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; 540 uinfo->count = HAD_MAX_CHANNEL; 541 uinfo->value.integer.min = 0; 542 uinfo->value.integer.max = SNDRV_CHMAP_LAST; 1386 struct snd_ctl_elem_info *uinfo) 1388 uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958; 1389 uinfo->count = 1; 1440 struct snd_ctl_elem_info *uinfo) 1442 uinfo 536 had_chmap_ctl_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1385 had_iec958_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1439 had_ctl_eld_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument [all...] |
/linux-master/sound/soc/stm/ |
H A D | stm32_spdifrx.c | 462 struct snd_ctl_elem_info *uinfo) 464 uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958; 465 uinfo->count = 1; 471 struct snd_ctl_elem_info *uinfo) 473 uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958; 474 uinfo->count = 1; 461 stm32_spdifrx_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 470 stm32_spdifrx_ub_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument
|
/linux-master/drivers/net/ethernet/broadcom/ |
H A D | cnic.c | 106 static int cnic_uio_open(struct uio_info *uinfo, struct inode *inode) argument 108 struct cnic_uio_dev *udev = uinfo->priv; 134 static int cnic_uio_close(struct uio_info *uinfo, struct inode *inode) argument 136 struct cnic_uio_dev *udev = uinfo->priv; 1093 struct uio_info *uinfo; local 1099 uinfo = &udev->cnic_uinfo; 1101 uinfo->mem[0].addr = pci_resource_start(dev->pcidev, 0); 1102 uinfo->mem[0].internal_addr = dev->regview; 1103 uinfo->mem[0].memtype = UIO_MEM_PHYS; 1106 uinfo [all...] |