/drivers/spi/ |
H A D | spi-dw-mid.c | 105 static void dw_spi_dma_done(void *arg) argument 107 struct dw_spi *dws = arg;
|
/drivers/staging/android/uapi/ |
H A D | ion.h | 120 * @arg: additional data to pass to the custom ioctl, typically a user 123 * This works just like the regular cmd and arg fields of an ioctl. 127 unsigned long arg; member in struct:ion_custom_data
|
/drivers/staging/bcm/ |
H A D | InterfaceDld.c | 3 int InterfaceFileDownload(PVOID arg, struct file *flp, unsigned int on_chip_loc) argument 9 struct bcm_interface_adapter *psIntfAdapter = arg; 43 int InterfaceFileReadbackFromChip(PVOID arg, struct file *flp, argument 53 struct bcm_interface_adapter *psIntfAdapter = arg;
|
/drivers/staging/lustre/lnet/selftest/ |
H A D | timer.c | 172 stt_timer_main(void *arg) argument
|
/drivers/staging/lustre/lustre/libcfs/ |
H A D | module.c | 221 void *arg, struct libcfs_ioctl_data *data) 278 err = libcfs_ioctl_popdata(arg, 291 static int libcfs_ioctl(struct cfs_psdev_file *pfile, unsigned long cmd, void *arg) argument 302 if (libcfs_ioctl_getdata(buf, buf + 800, (void *)arg)) { 309 err = libcfs_ioctl_int(pfile, cmd, arg, data); 220 libcfs_ioctl_int(struct cfs_psdev_file *pfile, unsigned long cmd, void *arg, struct libcfs_ioctl_data *data) argument
|
/drivers/staging/lustre/lustre/llite/ |
H A D | llite_close.c | 333 static int ll_close_thread(void *arg) argument 335 struct ll_close_queue *lcq = arg;
|
/drivers/uwb/ |
H A D | reset.c | 74 uwb_rc_cmd_cb_f cb, void *arg) 97 neh = uwb_rc_neh_add(rc, cmd, expected_type, expected_event, cb, arg); 124 static void uwb_rc_cmd_done(struct uwb_rc *rc, void *arg, argument 127 struct uwb_rc_cmd_done_params *p = (struct uwb_rc_cmd_done_params *)arg; 71 uwb_rc_cmd_async(struct uwb_rc *rc, const char *cmd_name, struct uwb_rccb *cmd, size_t cmd_size, u8 expected_type, u16 expected_event, uwb_rc_cmd_cb_f cb, void *arg) argument
|
/drivers/vfio/ |
H A D | vfio_iommu_spapr_tce.c | 117 static void *tce_iommu_open(unsigned long arg) argument 121 if (arg != VFIO_SPAPR_TCE_IOMMU) { 151 unsigned int cmd, unsigned long arg) 159 switch (arg) { 164 ret = vfio_spapr_iommu_eeh_ioctl(NULL, cmd, arg); 180 if (copy_from_user(&info, (void __user *)arg, minsz)) 190 if (copy_to_user((void __user *)arg, &info, minsz)) 207 if (copy_from_user(¶m, (void __user *)arg, minsz)) 258 if (copy_from_user(¶m, (void __user *)arg, minsz)) 300 cmd, arg); 150 tce_iommu_ioctl(void *iommu_data, unsigned int cmd, unsigned long arg) argument [all...] |
/drivers/watchdog/ |
H A D | at91rm9200_wdt.c | 137 unsigned int cmd, unsigned long arg) 139 void __user *argp = (void __user *)arg; 136 at91_wdt_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
|
H A D | indydog.c | 103 unsigned long arg) 114 if (copy_to_user((struct watchdog_info *)arg, 120 return put_user(0, (int *)arg); 123 if (get_user(options, (int *)arg)) 139 return put_user(WATCHDOG_TIMEOUT, (int *)arg); 102 indydog_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
|
H A D | iop_wdt.c | 136 unsigned int cmd, unsigned long arg) 140 int __user *argp = (int __user *)arg; 159 if (get_user(options, (int *)arg)) 135 iop_wdt_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
|
H A D | ixp4xx_wdt.c | 102 unsigned long arg) 109 ret = copy_to_user((struct watchdog_info *)arg, &ident, 114 ret = put_user(0, (int *)arg); 118 ret = put_user(boot_status, (int *)arg); 127 ret = get_user(time, (int *)arg); 141 ret = put_user(heartbeat, (int *)arg); 101 ixp4xx_wdt_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
|
H A D | m54xx_wdt.c | 121 unsigned long arg) 128 ret = copy_to_user((struct watchdog_info *)arg, &ident, 133 ret = put_user(0, (int *)arg); 137 ret = put_user(0, (int *)arg); 146 ret = get_user(time, (int *)arg); 160 ret = put_user(heartbeat, (int *)arg); 120 m54xx_wdt_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
|
H A D | mtx-1_wdt.c | 141 unsigned long arg) 143 void __user *argp = (void __user *)arg; 140 mtx1_wdt_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
|
H A D | riowd.c | 88 static long riowd_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument 95 void __user *argp = (void __user *)arg;
|
H A D | sbc_epx_c3.c | 106 unsigned long arg) 109 int __user *argp = (void __user *)arg; 105 epx_c3_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
|
H A D | sbc_fitpc2_wdt.c | 121 unsigned long arg) 128 ret = copy_to_user((struct watchdog_info *)arg, &ident, 133 ret = put_user(0, (int *)arg); 137 ret = put_user(0, (int *)arg); 146 ret = get_user(time, (int *)arg); 160 ret = put_user(margin, (int *)arg); 120 fitpc2_wdt_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
|
H A D | watchdog_dev.c | 255 * @arg: argument pointer 259 unsigned long arg) 273 err = wddev->ops->ioctl(wddev, cmd, arg); 326 * @arg: argument pointer 333 unsigned long arg) 336 void __user *argp = (void __user *)arg; 341 err = watchdog_ioctl_op(wdd, cmd, arg); 258 watchdog_ioctl_op(struct watchdog_device *wddev, unsigned int cmd, unsigned long arg) argument 332 watchdog_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
|
H A D | wdt285.c | 140 unsigned long arg) 142 int __user *int_arg = (int __user *)arg; 148 if (copy_to_user((void __user *)arg, &ident, sizeof(ident))) 139 watchdog_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
|
/drivers/acpi/ |
H A D | acpi_memhotplug.c | 183 static int acpi_bind_memblk(struct memory_block *mem, void *arg) argument 185 return acpi_bind_one(&mem->dev, arg); 196 static int acpi_unbind_memblk(struct memory_block *mem, void *arg) argument
|
/drivers/atm/ |
H A D | atmtcp.c | 156 static int atmtcp_v_ioctl(struct atm_dev *dev,unsigned int cmd,void __user *arg) argument 164 if (copy_from_user(&ci, arg,sizeof(ci))) return -EFAULT; 444 static int atmtcp_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 457 err = atmtcp_attach(vcc, (int) arg); 464 err = atmtcp_create_persistent((int) arg); 467 err = atmtcp_remove_persistent((int) arg);
|
H A D | suni.c | 95 static int fetch_stats(struct atm_dev *dev,struct sonet_stats __user *arg,int zero) argument 101 if (arg) error = copy_to_user(arg,&tmp,sizeof(tmp)); 115 static int change_diag(struct atm_dev *dev,void __user *arg,int set) argument 119 if (get_user(todo,(int __user *)arg)) return -EFAULT; 128 return put_user(todo,(int __user *)arg) ? -EFAULT : 0; 135 static int get_diag(struct atm_dev *dev,void __user *arg) argument 148 return put_user(set,(int __user *)arg) ? -EFAULT : 0; 224 static int get_framing(struct atm_dev *dev, void __user *arg) argument 236 return put_user(framing, (int __user *) arg) 239 set_framing(struct atm_dev *dev, void __user *arg) argument 255 suni_ioctl(struct atm_dev *dev,unsigned int cmd,void __user *arg) argument [all...] |
/drivers/block/aoe/ |
H A D | aoeblk.c | 313 aoeblk_ioctl(struct block_device *bdev, fmode_t mode, uint cmd, ulong arg) argument 317 if (!arg) 327 if (!copy_to_user((void __user *) arg, &d->ident,
|
/drivers/block/rsxx/ |
H A D | dev.c | 71 unsigned long arg) 77 return rsxx_reg_access(card, (void __user *)arg, 1); 79 return rsxx_reg_access(card, (void __user *)arg, 0); 68 rsxx_blkdev_ioctl(struct block_device *bdev, fmode_t mode, unsigned int cmd, unsigned long arg) argument
|
/drivers/bluetooth/ |
H A D | hci_ldisc.c | 508 * arg argument for IOCTL call (cmd dependent) 513 unsigned int cmd, unsigned long arg) 527 err = hci_uart_set_proto(hu, arg); 549 err = hci_uart_set_flags(hu, arg); 558 err = n_tty_ioctl_helper(tty, file, cmd, arg); 512 hci_uart_tty_ioctl(struct tty_struct *tty, struct file * file, unsigned int cmd, unsigned long arg) argument
|