/drivers/staging/vc04_services/bcm2835-audio/ |
D | bcm2835-ctl.c | 31 struct snd_ctl_elem_info *uinfo) in snd_bcm2835_ctl_info() argument 34 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_bcm2835_ctl_info() 35 uinfo->count = 1; in snd_bcm2835_ctl_info() 36 uinfo->value.integer.min = CTRL_VOL_MIN; in snd_bcm2835_ctl_info() 37 uinfo->value.integer.max = CTRL_VOL_MAX; /* 2303 */ in snd_bcm2835_ctl_info() 39 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; in snd_bcm2835_ctl_info() 40 uinfo->count = 1; in snd_bcm2835_ctl_info() 41 uinfo->value.integer.min = 0; in snd_bcm2835_ctl_info() 42 uinfo->value.integer.max = 1; in snd_bcm2835_ctl_info() 44 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_bcm2835_ctl_info() [all …]
|
/drivers/infiniband/hw/hfi1/ |
D | file_ops.c | 43 const struct hfi1_user_info *uinfo); 60 const struct hfi1_user_info *uinfo); 62 struct hfi1_user_info *uinfo, 749 struct hfi1_user_info uinfo; in assign_ctxt() local 754 if (sizeof(uinfo) != len) in assign_ctxt() 757 if (copy_from_user(&uinfo, (void __user *)arg, sizeof(uinfo))) in assign_ctxt() 760 swmajor = uinfo.userversion >> 16; in assign_ctxt() 764 if (uinfo.subctxt_cnt > HFI1_MAX_SHARED_CTXTS) in assign_ctxt() 776 ret = find_sub_ctxt(fd, &uinfo); in assign_ctxt() 783 ret = allocate_ctxt(fd, fd->dd, &uinfo, &uctxt); in assign_ctxt() [all …]
|
/drivers/infiniband/hw/qib/ |
D | qib_file_ops.c | 1217 const struct qib_user_info *uinfo) in init_subctxts() argument 1227 if (uinfo->spu_subctxt_cnt <= 0) in init_subctxts() 1229 num_subctxts = uinfo->spu_subctxt_cnt; in init_subctxts() 1232 if (!qib_compatible_subctxts(uinfo->spu_userversion >> 16, in init_subctxts() 1233 uinfo->spu_userversion & 0xffff)) { in init_subctxts() 1236 (int) (uinfo->spu_userversion >> 16), in init_subctxts() 1237 (int) (uinfo->spu_userversion & 0xffff), in init_subctxts() 1268 rcd->subctxt_cnt = uinfo->spu_subctxt_cnt; in init_subctxts() 1269 rcd->subctxt_id = uinfo->spu_subctxt_id; in init_subctxts() 1285 struct file *fp, const struct qib_user_info *uinfo) in setup_ctxt() argument [all …]
|
/drivers/usb/gadget/function/ |
D | u_audio.c | 732 struct snd_ctl_elem_info *uinfo) in u_audio_pitch_info() argument 743 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in u_audio_pitch_info() 744 uinfo->count = 1; in u_audio_pitch_info() 745 uinfo->value.integer.min = pitch_min; in u_audio_pitch_info() 746 uinfo->value.integer.max = pitch_max; in u_audio_pitch_info() 747 uinfo->value.integer.step = 1; in u_audio_pitch_info() 791 struct snd_ctl_elem_info *uinfo) in u_audio_mute_info() argument 793 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; in u_audio_mute_info() 794 uinfo->count = 1; in u_audio_mute_info() 795 uinfo->value.integer.min = 0; in u_audio_mute_info() [all …]
|
/drivers/scsi/cxgbi/cxgb3i/ |
D | cxgb3i.c | 1227 struct ulp_iscsi_info uinfo; in cxgb3i_ddp_init() local 1230 err = tdev->ctl(tdev, ULP_ISCSI_GET_PARAMS, &uinfo); in cxgb3i_ddp_init() 1236 if (uinfo.llimit >= uinfo.ulimit) { in cxgb3i_ddp_init() 1238 ndev->name, uinfo.llimit, uinfo.ulimit); in cxgb3i_ddp_init() 1242 ppmax = (uinfo.ulimit - uinfo.llimit + 1) >> PPOD_SIZE_SHIFT; in cxgb3i_ddp_init() 1246 ndev->name, uinfo.llimit, uinfo.ulimit, ppmax, uinfo.tagmask, in cxgb3i_ddp_init() 1251 tformat.pgsz_order[i] = uinfo.pgsz_factor[i]; in cxgb3i_ddp_init() 1255 (uinfo.ulimit - uinfo.llimit + 1), in cxgb3i_ddp_init() 1256 uinfo.llimit, uinfo.llimit, 0, 0, 0); in cxgb3i_ddp_init() 1261 uinfo.tagmask = tagmask; in cxgb3i_ddp_init() [all …]
|
/drivers/staging/greybus/ |
D | audio_topology.c | 166 struct snd_ctl_elem_info *uinfo) in gbcodec_mixer_ctl_info() argument 181 dev_err(comp->dev, "NULL info for %s\n", uinfo->id.name); in gbcodec_mixer_ctl_info() 186 uinfo->access = data->access; in gbcodec_mixer_ctl_info() 187 uinfo->count = data->vcount; in gbcodec_mixer_ctl_info() 188 uinfo->type = (__force snd_ctl_elem_type_t)info->type; in gbcodec_mixer_ctl_info() 193 uinfo->value.integer.min = le32_to_cpu(info->value.integer.min); in gbcodec_mixer_ctl_info() 194 uinfo->value.integer.max = le32_to_cpu(info->value.integer.max); in gbcodec_mixer_ctl_info() 198 uinfo->value.enumerated.items = max; in gbcodec_mixer_ctl_info() 199 if (uinfo->value.enumerated.item > max - 1) in gbcodec_mixer_ctl_info() 200 uinfo->value.enumerated.item = max - 1; in gbcodec_mixer_ctl_info() [all …]
|
/drivers/media/pci/saa7134/ |
D | saa7134-alsa.c | 906 struct snd_ctl_elem_info * uinfo) in snd_saa7134_volume_info() argument 908 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_saa7134_volume_info() 909 uinfo->count = 2; in snd_saa7134_volume_info() 910 uinfo->value.integer.min = 0; in snd_saa7134_volume_info() 911 uinfo->value.integer.max = 20; in snd_saa7134_volume_info() 1003 struct snd_ctl_elem_info * uinfo) in snd_saa7134_capsrc_info() argument 1005 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; in snd_saa7134_capsrc_info() 1006 uinfo->count = 2; in snd_saa7134_capsrc_info() 1007 uinfo->value.integer.min = 0; in snd_saa7134_capsrc_info() 1008 uinfo->value.integer.max = 1; in snd_saa7134_capsrc_info()
|
/drivers/scsi/qedi/ |
D | qedi_main.c | 137 static int qedi_uio_open(struct uio_info *uinfo, struct inode *inode) in qedi_uio_open() argument 139 struct qedi_uio_dev *udev = uinfo->priv; in qedi_uio_open() 157 static int qedi_uio_close(struct uio_info *uinfo, struct inode *inode) in qedi_uio_close() argument 159 struct qedi_uio_dev *udev = uinfo->priv; in qedi_uio_close() 310 struct uio_info *uinfo; in qedi_init_uio() local 316 uinfo = &udev->qedi_uinfo; in qedi_init_uio() 318 uinfo->mem[0].addr = (unsigned long)udev->uctrl; in qedi_init_uio() 319 uinfo->mem[0].size = sizeof(struct qedi_uio_ctrl); in qedi_init_uio() 320 uinfo->mem[0].memtype = UIO_MEM_LOGICAL; in qedi_init_uio() 322 uinfo->mem[1].addr = (unsigned long)udev->ll2_ring; in qedi_init_uio() [all …]
|
/drivers/net/ethernet/broadcom/ |
D | cnic.c | 106 static int cnic_uio_open(struct uio_info *uinfo, struct inode *inode) in cnic_uio_open() argument 108 struct cnic_uio_dev *udev = uinfo->priv; in cnic_uio_open() 134 static int cnic_uio_close(struct uio_info *uinfo, struct inode *inode) in cnic_uio_close() argument 136 struct cnic_uio_dev *udev = uinfo->priv; in cnic_uio_close() 1095 struct uio_info *uinfo; in cnic_init_uio() local 1101 uinfo = &udev->cnic_uinfo; in cnic_init_uio() 1103 uinfo->mem[0].addr = pci_resource_start(dev->pcidev, 0); in cnic_init_uio() 1104 uinfo->mem[0].internal_addr = dev->regview; in cnic_init_uio() 1105 uinfo->mem[0].memtype = UIO_MEM_PHYS; in cnic_init_uio() 1108 uinfo->mem[0].size = MB_GET_CID_ADDR(TX_TSS_CID + in cnic_init_uio() [all …]
|
/drivers/pci/switch/ |
D | switchtec.c | 603 struct switchtec_ioctl_flash_info __user *uinfo) in ioctl_flash_info() argument 618 if (copy_to_user(uinfo, &info, sizeof(info))) in ioctl_flash_info() 806 struct switchtec_ioctl_flash_part_info __user *uinfo) in ioctl_flash_part_info() argument 811 if (copy_from_user(&info, uinfo, sizeof(info))) in ioctl_flash_part_info() 826 if (copy_to_user(uinfo, &info, sizeof(info))) in ioctl_flash_part_info()
|
/drivers/iommu/ |
D | iommu.c | 2112 void __user *uinfo) in iommu_uapi_cache_invalidate() argument 2128 if (copy_from_user(&inv_info, uinfo, minsz)) in iommu_uapi_cache_invalidate() 2150 if (copy_from_user((void *)&inv_info + minsz, uinfo + minsz, in iommu_uapi_cache_invalidate()
|
/drivers/platform/x86/ |
D | thinkpad_acpi.c | 7543 struct snd_ctl_elem_info *uinfo) in volume_alsa_vol_info() argument 7545 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in volume_alsa_vol_info() 7546 uinfo->count = 1; in volume_alsa_vol_info() 7547 uinfo->value.integer.min = 0; in volume_alsa_vol_info() 7548 uinfo->value.integer.max = TP_EC_VOLUME_MAX; in volume_alsa_vol_info()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ipsec.c | 942 xs->geniv = algo->uinfo.aead.geniv; in ixgbe_ipsec_vf_add_sa()
|