/drivers/char/ |
H A D | dsp56k.c | 307 unsigned long arg) 310 void __user *argp = (void __user *)arg; 344 if (arg > 4 || arg < 1) 347 dsp56k.tx_wsize = (int) arg; 351 if (arg > 4 || arg < 1) 354 dsp56k.rx_wsize = (int) arg; 386 if (arg > 31) 389 dsp56k_host_interface.cvr = (u_char)((arg 306 dsp56k_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument [all...] |
H A D | dtlk.c | 98 unsigned int cmd, unsigned long arg); 270 unsigned long arg) 272 char __user *argp = (char __user *)arg; 268 dtlk_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
|
H A D | genrtc.c | 102 static void gen_rtc_interrupt(unsigned long arg); 148 * arg is unused. 153 static void gen_rtc_interrupt(unsigned long arg) argument 267 unsigned int cmd, unsigned long arg) 271 void __user *argp = (void __user *)arg; 337 unsigned long arg) 342 ret = gen_rtc_ioctl(file, cmd, arg); 266 gen_rtc_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 336 gen_rtc_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
|
H A D | nwflash.c | 95 static long flash_ioctl(struct file *filep, unsigned int cmd, unsigned long arg) argument
|
H A D | raw.c | 122 raw_ioctl(struct file *filp, unsigned int command, unsigned long arg) argument 125 return blkdev_ioctl(bdev, 0, command, arg); 210 unsigned long arg) 218 if (copy_from_user(&rq, (void __user *) arg, sizeof(rq))) 224 if (copy_from_user(&rq, (void __user *) arg, sizeof(rq))) 234 if (copy_to_user((void __user *)arg, &rq, sizeof(rq))) 251 unsigned long arg) 253 struct raw32_config_request __user *user_req = compat_ptr(arg); 209 raw_ctl_ioctl(struct file *filp, unsigned int command, unsigned long arg) argument 250 raw_ctl_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
|
H A D | toshiba.c | 257 static long tosh_ioctl(struct file *fp, unsigned int cmd, unsigned long arg) argument 260 SMMRegisters __user *argp = (SMMRegisters __user *)arg;
|
/drivers/cpufreq/ |
H A D | powernv-cpufreq.c | 222 * ((struct powernv_smp_call_data *)arg)->freq; 224 static void powernv_read_cpu_freq(void *arg) argument 228 struct powernv_smp_call_data *freq_data = arg;
|
/drivers/crypto/qat/qat_common/ |
H A D | adf_ctl_drv.c | 65 static long adf_ctl_ioctl(struct file *fp, unsigned int cmd, unsigned long arg); 129 unsigned long arg) 140 if (copy_from_user(cfg_data, (void __user *)arg, sizeof(*cfg_data))) { 219 unsigned long arg) 225 ret = adf_ctl_alloc_resources(&ctl_data, arg); 291 unsigned long arg) 296 ret = adf_ctl_alloc_resources(&ctl_data, arg); 325 unsigned long arg) 331 ret = adf_ctl_alloc_resources(&ctl_data, arg); 360 unsigned long arg) 128 adf_ctl_alloc_resources(struct adf_user_cfg_ctl_data **ctl_data, unsigned long arg) argument 218 adf_ctl_ioctl_dev_config(struct file *fp, unsigned int cmd, unsigned long arg) argument 290 adf_ctl_ioctl_dev_stop(struct file *fp, unsigned int cmd, unsigned long arg) argument 324 adf_ctl_ioctl_dev_start(struct file *fp, unsigned int cmd, unsigned long arg) argument 359 adf_ctl_ioctl_get_num_devices(struct file *fp, unsigned int cmd, unsigned long arg) argument 371 adf_ctl_ioctl_get_status(struct file *fp, unsigned int cmd, unsigned long arg) argument 411 adf_ctl_ioctl(struct file *fp, unsigned int cmd, unsigned long arg) argument [all...] |
/drivers/edac/ |
H A D | ghes_edac.c | 89 static void ghes_edac_count_dimms(const struct dmi_header *dh, void *arg) argument 91 int *num_dimm = arg; 97 static void ghes_edac_dmidecode(const struct dmi_header *dh, void *arg) argument 99 struct ghes_edac_dimm_fill *dimm_fill = arg;
|
/drivers/gpu/drm/ |
H A D | drm_fb_cma_helper.c | 207 int drm_fb_cma_debugfs_show(struct seq_file *m, void *arg) argument
|
H A D | drm_ioctl.c | 51 * \param arg user argument, pointing to a drm_unique structure. 86 * \param arg user argument, pointing to a drm_unique structure. 160 * \param arg user argument, pointing to a drm_map structure. 221 * \param arg user argument, pointing to a drm_client structure. 264 * \param arg user argument, pointing to a drm_stats structure. 361 * \param arg user argument, pointing to a drm_lock structure. 447 * \param arg user argument, pointing to a drm_version structure. 450 * Fills in the version information in \p arg. 633 * \param arg user argument. 640 unsigned int cmd, unsigned long arg) 639 drm_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument [all...] |
/drivers/gpu/drm/gma500/ |
H A D | mdfld_dsi_output.c | 45 static int __init parse_LABC_control(char *arg) argument 50 if (!arg) 53 if (!strcasecmp(arg, "0")) 55 else if (!strcasecmp(arg, "1"))
|
H A D | psb_drv.c | 409 unsigned long arg) 421 return drm_ioctl(filp, cmd, arg); 408 psb_unlocked_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument
|
H A D | psb_irq.c | 255 irqreturn_t psb_irq_handler(int irq, void *arg) argument 257 struct drm_device *dev = arg;
|
/drivers/gpu/drm/i915/ |
H A D | i915_ioc32.c | 48 unsigned long arg) 54 (&batchbuffer32, (void __user *)arg, sizeof(batchbuffer32))) 83 unsigned long arg) 89 (&cmdbuffer32, (void __user *)arg, sizeof(cmdbuffer32))) 113 unsigned long arg) 118 if (copy_from_user(&req32, (void __user *)arg, sizeof(req32))) 136 unsigned long arg) 141 if (copy_from_user(&req32, (void __user *)arg, sizeof(req32))) 163 unsigned long arg) 168 if (copy_from_user(&req32, (void __user *)arg, sizeo 47 compat_i915_batchbuffer(struct file *file, unsigned int cmd, unsigned long arg) argument 82 compat_i915_cmdbuffer(struct file *file, unsigned int cmd, unsigned long arg) argument 112 compat_i915_irq_emit(struct file *file, unsigned int cmd, unsigned long arg) argument 135 compat_i915_getparam(struct file *file, unsigned int cmd, unsigned long arg) argument 162 compat_i915_alloc(struct file *file, unsigned int cmd, unsigned long arg) argument 202 i915_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument [all...] |
/drivers/gpu/drm/mga/ |
H A D | mga_ioc32.c | 61 unsigned long arg) 67 if (copy_from_user(&init32, (void __user *)arg, sizeof(init32))) 112 unsigned long arg) 117 if (copy_from_user(&getparam32, (void __user *)arg, sizeof(getparam32))) 141 unsigned long arg) 147 if (copy_from_user(&dma_bootstrap32, (void __user *)arg, 186 if (copy_to_user((void __user *)arg, &dma_bootstrap32, 205 * \param arg user argument. 208 long mga_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument 215 return drm_compat_ioctl(filp, cmd, arg); 60 compat_mga_init(struct file *file, unsigned int cmd, unsigned long arg) argument 111 compat_mga_getparam(struct file *file, unsigned int cmd, unsigned long arg) argument 140 compat_mga_dma_bootstrap(struct file *file, unsigned int cmd, unsigned long arg) argument [all...] |
/drivers/gpu/drm/nouveau/core/engine/mpeg/ |
H A D | nv31.c | 65 nv31_mpeg_mthd_dma(struct nouveau_object *object, u32 mthd, void *arg, u32 len) argument 69 u32 inst = *(u32 *)arg << 4;
|
/drivers/gpu/drm/omapdrm/ |
H A D | omap_plane.c | 37 void *arg; member in struct:callback 179 cb.fxn(cb.arg); 202 void (*fxn)(void *), void *arg) 225 omap_plane->apply_done_cb.arg = arg; 196 omap_plane_mode_set(struct drm_plane *plane, struct drm_crtc *crtc, struct drm_framebuffer *fb, int crtc_x, int crtc_y, unsigned int crtc_w, unsigned int crtc_h, uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h, void (*fxn)(void *), void *arg) argument
|
/drivers/gpu/drm/r128/ |
H A D | r128_ioc32.c | 63 unsigned long arg) 68 if (copy_from_user(&init32, (void __user *)arg, sizeof(init32))) 111 unsigned long arg) 116 if (copy_from_user(&depth32, (void __user *)arg, sizeof(depth32))) 140 unsigned long arg) 145 if (copy_from_user(&stipple32, (void __user *)arg, sizeof(stipple32))) 163 unsigned long arg) 168 if (copy_from_user(&getparam32, (void __user *)arg, sizeof(getparam32))) 194 * \param arg user argument. 197 long r128_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument 62 compat_r128_init(struct file *file, unsigned int cmd, unsigned long arg) argument 110 compat_r128_depth(struct file *file, unsigned int cmd, unsigned long arg) argument 139 compat_r128_stipple(struct file *file, unsigned int cmd, unsigned long arg) argument 162 compat_r128_getparam(struct file *file, unsigned int cmd, unsigned long arg) argument [all...] |
/drivers/gpu/drm/via/ |
H A D | via_irq.c | 107 irqreturn_t via_driver_irq_handler(int irq, void *arg) argument 109 struct drm_device *dev = (struct drm_device *) arg;
|
/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_ioctl.c | 153 struct drm_vmw_get_3d_cap_arg *arg = local 158 void __user *buffer = (void __user *)((unsigned long)(arg->buffer)); 164 if (unlikely(arg->pad64 != 0)) { 177 if (arg->max_size < size) 178 size = arg->max_size; 226 struct drm_vmw_present_arg *arg = local 237 num_clips = arg->num_clips; 238 clips_ptr = (struct drm_vmw_rect *)(unsigned long)arg->clips_ptr; 265 fb = drm_framebuffer_lookup(dev, arg->fb_id); 277 ret = vmw_user_resource_lookup_handle(dev_priv, tfile, arg 308 struct drm_vmw_present_readback_arg *arg = local [all...] |
H A D | vmwgfx_overlay.c | 98 struct drm_vmw_control_stream_arg *arg, 139 cmds->header.streamId = arg->stream_id; 146 ptr.offset += arg->offset; 149 items[SVGA_VIDEO_FLAGS].value = arg->flags; 151 items[SVGA_VIDEO_FORMAT].value = arg->format; 152 items[SVGA_VIDEO_COLORKEY].value = arg->color_key; 153 items[SVGA_VIDEO_SIZE].value = arg->size; 154 items[SVGA_VIDEO_WIDTH].value = arg->width; 155 items[SVGA_VIDEO_HEIGHT].value = arg->height; 156 items[SVGA_VIDEO_SRC_X].value = arg 96 vmw_overlay_send_put(struct vmw_private *dev_priv, struct vmw_dma_buffer *buf, struct drm_vmw_control_stream_arg *arg, bool interruptible) argument 299 vmw_overlay_update_stream(struct vmw_private *dev_priv, struct vmw_dma_buffer *buf, struct drm_vmw_control_stream_arg *arg, bool interruptible) argument 467 struct drm_vmw_control_stream_arg *arg = local [all...] |
H A D | vmwgfx_shader.c | 332 struct drm_vmw_shader_arg *arg = (struct drm_vmw_shader_arg *)data; local 335 return ttm_ref_object_base_unref(tfile, arg->handle, 464 struct drm_vmw_shader_create_arg *arg = local 471 if (arg->buffer_handle != SVGA3D_INVALID_ID) { 472 ret = vmw_user_dmabuf_lookup(tfile, arg->buffer_handle, 481 (u64)arg->size + (u64)arg->offset) { 488 switch (arg->shader_type) { 508 ret = vmw_user_shader_alloc(dev_priv, buffer, arg->size, arg [all...] |
/drivers/hid/ |
H A D | hid-roccat.c | 379 static long roccat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 396 if (put_user(device->report_size, (int __user *)arg))
|
H A D | hidraw.c | 371 unsigned long arg) 377 void __user *user_arg = (void __user*) arg; 388 if (put_user(dev->hid->rsize, (int __user *)arg)) 396 if (get_user(len, (int __user *)arg)) 370 hidraw_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
|