Home
last modified time | relevance | path

Searched refs:karg (Results 1 – 4 of 4) sorted by relevance

/drivers/staging/meilhaus/
Dmemain.c139 (device, filep, karg.lock, karg.flags))
145 (device, filep, karg.subdevice, karg.lock,
146 karg.flags))
158 karg.subdevice,
159 karg.channel,
160 karg.irq_source,
161 karg.irq_edge, karg.irq_arg, karg.flags))
169 karg.subdevice,
170 karg.channel,
171 &karg.irq_count, &karg.value, karg.time_out, karg.flags))
[all …]
Dmemain.h234 TYPE karg; \
238 err = copy_from_user(&karg, arg, sizeof(TYPE)); \
247 if(k == karg.device){ \
256 karg.errno = ME_ERRNO_INVALID_DEVICE; \
263 if(karg.lock == ME_LOCK_SET) \
264 karg.errno = ME_ERRNO_LOCKED; \
265 else if(karg.lock == ME_LOCK_RELEASE) \
266 karg.errno = ME_ERRNO_SUCCESS; \
269 karg.errno = ME_ERRNO_INVALID_LOCK; \
276 karg.errno = device->DEV_CALL ARGS; \
[all …]
/drivers/message/fusion/
Dmptctl.c124 static int mptctl_do_mpt_command(struct mpt_ioctl_command karg, void __user *mfPtr);
1169 struct mpt_ioctl_iocinfo *karg; in mptctl_getiocinfo() local
1194 karg = kmalloc(data_size, GFP_KERNEL); in mptctl_getiocinfo()
1195 if (karg == NULL) { in mptctl_getiocinfo()
1201 if (copy_from_user(karg, uarg, data_size)) { in mptctl_getiocinfo()
1205 kfree(karg); in mptctl_getiocinfo()
1209 if (((iocnum = mpt_verify_adapter(karg->hdr.iocnum, &ioc)) < 0) || in mptctl_getiocinfo()
1213 kfree(karg); in mptctl_getiocinfo()
1218 if (karg->hdr.maxDataSize != data_size) { in mptctl_getiocinfo()
1222 kfree(karg); in mptctl_getiocinfo()
[all …]
/drivers/media/video/
Dv4l2-compat-ioctl32.c726 } karg; in do_video_ioctl() local
773 err = get_video_tuner32(&karg.vt, up); in do_video_ioctl()
778 err = get_video_buffer32(&karg.vb, up); in do_video_ioctl()
783 err = get_video_window32(&karg.vw, up); in do_video_ioctl()
794 err = get_microcode32(&karg.vc, up); in do_video_ioctl()
799 err = get_user(karg.vx, (u32 __user *)up); in do_video_ioctl()
812 err = get_user(karg.vi, (s32 __user *)up); in do_video_ioctl()
824 err = get_v4l2_format32(&karg.v2f, up); in do_video_ioctl()
831 err = get_v4l2_buffer32(&karg.v2b, up); in do_video_ioctl()
836 err = get_v4l2_framebuffer32(&karg.v2fb, up); in do_video_ioctl()
[all …]