Searched refs:arg (Results 76 - 100 of 1533) sorted by relevance

1234567891011>>

/drivers/staging/bcm/
H A DInterfaceMisc.h26 int BcmRDM(PVOID arg,
31 int BcmWRM(PVOID arg,
/drivers/watchdog/
H A Dpnx833x_wdt.c143 unsigned long arg)
159 if (copy_to_user((struct watchdog_info *)arg,
166 return put_user(0, (int *)arg);
169 if (get_user(options, (int *)arg))
186 if (get_user(new_timeout, (int *)arg))
192 return put_user(new_timeout, (int *)arg);
198 return put_user(timeout, (int *)arg);
203 return put_user(timeout_left, (int *)arg);
142 pnx833x_wdt_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
H A Dindydog.c103 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
/drivers/scsi/lpfc/
H A Dlpfc_nportdisc.c792 void *arg, uint32_t evt)
795 LPFC_MBOXQ_t *pmb = (LPFC_MBOXQ_t *) arg;
818 void *arg, uint32_t evt)
839 void *arg, uint32_t evt)
843 cmdiocb = (struct lpfc_iocbq *) arg;
853 void *arg, uint32_t evt)
861 void *arg, uint32_t evt)
864 struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg;
876 void *arg, uint32_t evt)
883 void *arg, uint32_
791 lpfc_disc_illegal(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
817 lpfc_cmpl_plogi_illegal(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
838 lpfc_rcv_plogi_unused_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
852 lpfc_rcv_els_unused_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
860 lpfc_rcv_logo_unused_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
875 lpfc_cmpl_logo_unused_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
882 lpfc_device_rm_unused_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
889 lpfc_device_recov_unused_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
897 lpfc_rcv_plogi_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
948 lpfc_rcv_prli_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
962 lpfc_rcv_logo_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
975 lpfc_rcv_els_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1004 lpfc_cmpl_plogi_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1153 lpfc_cmpl_logo_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1160 lpfc_cmpl_reglogin_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1179 lpfc_device_rm_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1199 lpfc_device_recov_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1226 lpfc_rcv_plogi_adisc_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1256 lpfc_rcv_prli_adisc_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1266 lpfc_rcv_logo_adisc_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1282 lpfc_rcv_padisc_adisc_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1295 lpfc_rcv_prlo_adisc_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1308 lpfc_cmpl_adisc_adisc_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1365 lpfc_device_rm_adisc_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1385 lpfc_device_recov_adisc_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1412 lpfc_rcv_plogi_reglogin_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1424 lpfc_rcv_prli_reglogin_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1436 lpfc_rcv_logo_reglogin_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1481 lpfc_rcv_padisc_reglogin_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1493 lpfc_rcv_prlo_reglogin_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1506 lpfc_cmpl_reglogin_reglogin_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1567 lpfc_device_rm_reglogin_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1586 lpfc_device_recov_reglogin_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1610 lpfc_rcv_plogi_prli_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1622 lpfc_rcv_prli_prli_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1632 lpfc_rcv_logo_prli_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1645 lpfc_rcv_padisc_prli_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1660 lpfc_rcv_prlo_prli_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1670 lpfc_cmpl_prli_prli_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1751 lpfc_device_rm_prli_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1788 lpfc_device_recov_prli_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1815 lpfc_rcv_plogi_logo_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1829 lpfc_rcv_prli_logo_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1843 lpfc_rcv_logo_logo_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1857 lpfc_rcv_padisc_logo_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1871 lpfc_rcv_prlo_logo_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1885 lpfc_cmpl_logo_logo_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1900 lpfc_device_rm_logo_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1913 lpfc_device_recov_logo_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1926 lpfc_rcv_plogi_unmap_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1936 lpfc_rcv_prli_unmap_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1947 lpfc_rcv_logo_unmap_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1957 lpfc_rcv_padisc_unmap_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1967 lpfc_rcv_prlo_unmap_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1977 lpfc_device_recov_unmap_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
1995 lpfc_rcv_plogi_mapped_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
2005 lpfc_rcv_prli_mapped_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
2015 lpfc_rcv_logo_mapped_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
2025 lpfc_rcv_padisc_mapped_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
2036 lpfc_rcv_prlo_mapped_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
2052 lpfc_device_recov_mapped_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
2069 lpfc_rcv_plogi_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
2095 lpfc_rcv_prli_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
2125 lpfc_rcv_logo_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
2135 lpfc_rcv_padisc_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
2163 lpfc_rcv_prlo_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
2192 lpfc_cmpl_plogi_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
2213 lpfc_cmpl_prli_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
2231 lpfc_cmpl_logo_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
2247 lpfc_cmpl_adisc_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
2265 lpfc_cmpl_reglogin_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
2287 lpfc_device_rm_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
2303 lpfc_device_recov_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
2509 lpfc_disc_state_machine(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument
[all...]
/drivers/atm/
H A Dsuni.c95 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/isdn/mISDN/
H A Ddsp_hwec.c51 void dsp_hwec_enable(struct dsp *dsp, const char *arg) argument
63 if (!arg)
66 len = strlen(arg);
75 strcpy(_dup, arg);
H A Dlayer2.c164 l2up_create(struct layer2 *l2, u_int prim, int len, void *arg) argument
179 memcpy(skb_put(skb, len), arg, len); local
225 l2down_create(struct layer2 *l2, u_int prim, u_int id, int len, void *arg) argument
238 memcpy(skb_put(skb, len), arg, len); local
287 l2_timeout(struct FsmInst *fi, int event, void *arg) argument
312 l2mgr(struct layer2 *l2, u_int prim, void *arg) { argument
313 long c = (long)arg;
324 l2_tei(l2, prim, (u_long)arg);
723 l2_mdl_error_ua(struct FsmInst *fi, int event, void *arg) argument
725 struct sk_buff *skb = arg;
736 l2_mdl_error_dm(struct FsmInst *fi, int event, void *arg) argument
751 l2_st8_mdl_error_dm(struct FsmInst *fi, int event, void *arg) argument
765 l2_go_st3(struct FsmInst *fi, int event, void *arg) argument
772 l2_mdl_assign(struct FsmInst *fi, int event, void *arg) argument
782 l2_queue_ui_assign(struct FsmInst *fi, int event, void *arg) argument
793 l2_queue_ui(struct FsmInst *fi, int event, void *arg) argument
819 l2_send_ui(struct FsmInst *fi, int event, void *arg) argument
829 l2_got_ui(struct FsmInst *fi, int event, void *arg) argument
845 l2_establish(struct FsmInst *fi, int event, void *arg) argument
856 l2_discard_i_setl3(struct FsmInst *fi, int event, void *arg) argument
868 l2_l3_reestablish(struct FsmInst *fi, int event, void *arg) argument
880 l2_release(struct FsmInst *fi, int event, void *arg) argument
890 l2_pend_rel(struct FsmInst *fi, int event, void *arg) argument
900 l2_disconnect(struct FsmInst *fi, int event, void *arg) argument
917 l2_start_multi(struct FsmInst *fi, int event, void *arg) argument
937 l2_send_UA(struct FsmInst *fi, int event, void *arg) argument
946 l2_send_DM(struct FsmInst *fi, int event, void *arg) argument
955 l2_restart_multi(struct FsmInst *fi, int event, void *arg) argument
990 l2_stop_multi(struct FsmInst *fi, int event, void *arg) argument
1008 l2_connected(struct FsmInst *fi, int event, void *arg) argument
1045 l2_released(struct FsmInst *fi, int event, void *arg) argument
1063 l2_reestablish(struct FsmInst *fi, int event, void *arg) argument
1075 l2_st5_dm_release(struct FsmInst *fi, int event, void *arg) argument
1095 l2_st6_dm_release(struct FsmInst *fi, int event, void *arg) argument
1193 l2_st7_got_super(struct FsmInst *fi, int event, void *arg) argument
1254 l2_feed_i_if_reest(struct FsmInst *fi, int event, void *arg) argument
1266 l2_feed_i_pull(struct FsmInst *fi, int event, void *arg) argument
1276 l2_feed_iqueue(struct FsmInst *fi, int event, void *arg) argument
1285 l2_got_iframe(struct FsmInst *fi, int event, void *arg) argument
1354 l2_got_tei(struct FsmInst *fi, int event, void *arg) argument
1373 l2_st5_tout_200(struct FsmInst *fi, int event, void *arg) argument
1400 l2_st6_tout_200(struct FsmInst *fi, int event, void *arg) argument
1423 l2_st7_tout_200(struct FsmInst *fi, int event, void *arg) argument
1440 l2_st8_tout_200(struct FsmInst *fi, int event, void *arg) argument
1461 l2_st7_tout_203(struct FsmInst *fi, int event, void *arg) argument
1476 l2_pull_iqueue(struct FsmInst *fi, int event, void *arg) argument
1540 l2_st8_got_super(struct FsmInst *fi, int event, void *arg) argument
1594 l2_got_FRMR(struct FsmInst *fi, int event, void *arg) argument
1611 l2_st24_tei_remove(struct FsmInst *fi, int event, void *arg) argument
1621 l2_st3_tei_remove(struct FsmInst *fi, int event, void *arg) argument
1632 l2_st5_tei_remove(struct FsmInst *fi, int event, void *arg) argument
1646 l2_st6_tei_remove(struct FsmInst *fi, int event, void *arg) argument
1658 l2_tei_remove(struct FsmInst *fi, int event, void *arg) argument
1677 l2_st14_persistent_da(struct FsmInst *fi, int event, void *arg) argument
1691 l2_st5_persistent_da(struct FsmInst *fi, int event, void *arg) argument
1708 l2_st6_persistent_da(struct FsmInst *fi, int event, void *arg) argument
1722 l2_persistent_da(struct FsmInst *fi, int event, void *arg) argument
1739 l2_set_own_busy(struct FsmInst *fi, int event, void *arg) argument
1753 l2_clear_own_busy(struct FsmInst *fi, int event, void *arg) argument
1767 l2_frame_error(struct FsmInst *fi, int event, void *arg) argument
1775 l2_frame_error_reest(struct FsmInst *fi, int event, void *arg) argument
2060 tei_l2(struct layer2 *l2, u_int cmd, u_long arg) argument
2106 l2_ctrl(struct mISDNchannel *ch, u_int cmd, void *arg) argument
[all...]
/drivers/media/dvb-core/
H A Ddvbdev.h93 int (*kernel_ioctl)(struct file *file, unsigned int cmd, void *arg);
115 unsigned int cmd, unsigned long arg);
121 extern int dvb_usercopy(struct file *file, unsigned int cmd, unsigned long arg,
122 int (*func)(struct file *file, unsigned int cmd, void *arg));
/drivers/misc/mic/host/
H A Dmic_fops.h28 long mic_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
/drivers/net/ethernet/intel/e1000/
H A De1000.h338 #define e_dbg(format, arg...) \
339 netdev_dbg(e1000_get_hw_dev(hw), format, ## arg)
340 #define e_err(msglvl, format, arg...) \
341 netif_err(adapter, msglvl, adapter->netdev, format, ## arg)
342 #define e_info(msglvl, format, arg...) \
343 netif_info(adapter, msglvl, adapter->netdev, format, ## arg)
344 #define e_warn(msglvl, format, arg...) \
345 netif_warn(adapter, msglvl, adapter->netdev, format, ## arg)
346 #define e_notice(msglvl, format, arg...) \
347 netif_notice(adapter, msglvl, adapter->netdev, format, ## arg)
[all...]
/drivers/pci/hotplug/
H A Dshpchp.h50 #define dbg(format, arg...) \
53 printk(KERN_DEBUG "%s: " format, MY_NAME , ## arg); \
55 #define err(format, arg...) \
56 printk(KERN_ERR "%s: " format, MY_NAME , ## arg)
57 #define info(format, arg...) \
58 printk(KERN_INFO "%s: " format, MY_NAME , ## arg)
59 #define warn(format, arg...) \
60 printk(KERN_WARNING "%s: " format, MY_NAME , ## arg)
62 #define ctrl_dbg(ctrl, format, arg...) \
66 format, ## arg); \
[all...]
/drivers/video/adf/
H A Dadf_fops.h35 long adf_file_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
/drivers/gpu/drm/r128/
H A Dr128_ioc32.c63 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/isdn/hisax/
H A Dhisax_debug.h28 #define DBG(level, format, arg...) do { \
30 printk(KERN_DEBUG "%s: " format "\n" , __func__ , ## arg); \
74 #define DBG(level, format, arg...) do {} while (0)
/drivers/mmc/core/
H A Dsdio_ops.c30 cmd.arg = ocr;
82 cmd.arg = write ? 0x80000000 : 0x00000000;
83 cmd.arg |= fn << 28;
84 cmd.arg |= (write && out) ? 0x08000000 : 0x00000000;
85 cmd.arg |= addr << 9;
86 cmd.arg |= in;
144 cmd.arg = write ? 0x80000000 : 0x00000000;
145 cmd.arg |= fn << 28;
146 cmd.arg |= incr_addr ? 0x04000000 : 0x00000000;
147 cmd.arg |
[all...]
/drivers/tty/vt/
H A Dvt_ioctl.c160 * @arg: argument to ioctl
335 unsigned int cmd, unsigned long arg)
342 void __user *up = (void __user *)arg;
365 ret = tioclinux(tty, arg);
376 if (arg)
377 arg = PIT_TICK_RATE / arg;
378 kd_mksound(arg, 0);
391 ticks = HZ * ((arg >> 16) & 0xffff) / 1000;
392 count = ticks ? (arg
334 vt_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) argument
1196 vt_compat_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) argument
[all...]
/drivers/vfio/
H A Dvfio_spapr_eeh.c35 unsigned int cmd, unsigned long arg)
44 if (arg == VFIO_EEH)
55 if (copy_from_user(&op, (void __user *)arg, minsz))
34 vfio_spapr_iommu_eeh_ioctl(struct iommu_group *group, unsigned int cmd, unsigned long arg) argument
/drivers/gpu/drm/
H A Ddrm_ioc32.c86 unsigned long arg)
92 if (copy_from_user(&v32, (void __user *)arg, sizeof(v32)))
122 if (copy_to_user((void __user *)arg, &v32, sizeof(v32)))
133 unsigned long arg)
139 if (copy_from_user(&uq32, (void __user *)arg, sizeof(uq32)))
156 if (copy_to_user((void __user *)arg, &uq32, sizeof(uq32)))
162 unsigned long arg)
167 if (copy_from_user(&uq32, (void __user *)arg, sizeof(uq32)))
191 unsigned long arg)
193 drm_map32_t __user *argp = (void __user *)arg;
85 compat_drm_version(struct file *file, unsigned int cmd, unsigned long arg) argument
132 compat_drm_getunique(struct file *file, unsigned int cmd, unsigned long arg) argument
161 compat_drm_setunique(struct file *file, unsigned int cmd, unsigned long arg) argument
190 compat_drm_getmap(struct file *file, unsigned int cmd, unsigned long arg) argument
227 compat_drm_addmap(struct file *file, unsigned int cmd, unsigned long arg) argument
269 compat_drm_rmmap(struct file *file, unsigned int cmd, unsigned long arg) argument
297 compat_drm_getclient(struct file *file, unsigned int cmd, unsigned long arg) argument
339 compat_drm_getstats(struct file *file, unsigned int cmd, unsigned long arg) argument
376 compat_drm_addbufs(struct file *file, unsigned int cmd, unsigned long arg) argument
406 compat_drm_markbufs(struct file *file, unsigned int cmd, unsigned long arg) argument
433 compat_drm_infobufs(struct file *file, unsigned int cmd, unsigned long arg) argument
497 compat_drm_mapbufs(struct file *file, unsigned int cmd, unsigned long arg) argument
555 compat_drm_freebufs(struct file *file, unsigned int cmd, unsigned long arg) argument
581 compat_drm_setsareactx(struct file *file, unsigned int cmd, unsigned long arg) argument
602 compat_drm_getsareactx(struct file *file, unsigned int cmd, unsigned long arg) argument
637 compat_drm_resctx(struct file *file, unsigned int cmd, unsigned long arg) argument
680 compat_drm_dma(struct file *file, unsigned int cmd, unsigned long arg) argument
727 compat_drm_agp_enable(struct file *file, unsigned int cmd, unsigned long arg) argument
758 compat_drm_agp_info(struct file *file, unsigned int cmd, unsigned long arg) argument
798 compat_drm_agp_alloc(struct file *file, unsigned int cmd, unsigned long arg) argument
829 compat_drm_agp_free(struct file *file, unsigned int cmd, unsigned long arg) argument
850 compat_drm_agp_bind(struct file *file, unsigned int cmd, unsigned long arg) argument
869 compat_drm_agp_unbind(struct file *file, unsigned int cmd, unsigned long arg) argument
891 compat_drm_sg_alloc(struct file *file, unsigned int cmd, unsigned long arg) argument
918 compat_drm_sg_free(struct file *file, unsigned int cmd, unsigned long arg) argument
944 compat_drm_update_draw(struct file *file, unsigned int cmd, unsigned long arg) argument
985 compat_drm_wait_vblank(struct file *file, unsigned int cmd, unsigned long arg) argument
1062 drm_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument
[all...]
/drivers/char/
H A Duv_mmtimer.c42 unsigned long arg);
61 * @arg: optional argument to command
75 * specified by @arg
82 * in the address specified by @arg.
85 unsigned long arg)
106 if (copy_to_user((unsigned long __user *)arg,
112 if (copy_to_user((unsigned long __user *)arg,
127 if (copy_to_user((unsigned long __user *)arg,
84 uv_mmtimer_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
/drivers/media/dvb-frontends/
H A Dlnbp22.c44 #define dprintk(lvl, arg...) if (debug >= (lvl)) printk(arg)
82 static int lnbp22_enable_high_lnb_voltage(struct dvb_frontend *fe, long arg) argument
92 dprintk(1, "%s: %d\n", __func__, (int)arg);
93 if (arg)
/drivers/net/ppp/
H A Dppp_deflate.c61 * @arg: pointer to the private state for the compressor.
63 static void z_comp_free(void *arg) argument
65 struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg;
127 * @arg: pointer to the private state for the compressor
140 static int z_comp_init(void *arg, unsigned char *options, int opt_len, argument
143 struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg;
164 * @arg: pointer to private state for the compressor.
169 static void z_comp_reset(void *arg) argument
171 struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg;
179 * @arg
188 z_compress(void *arg, unsigned char *rptr, unsigned char *obuf, int isize, int osize) argument
269 z_comp_stats(void *arg, struct compstat *stats) argument
280 z_decomp_free(void *arg) argument
355 z_decomp_init(void *arg, unsigned char *options, int opt_len, int unit, int hdrlen, int mru, int debug) argument
385 z_decomp_reset(void *arg) argument
414 z_decompress(void *arg, unsigned char *ibuf, int isize, unsigned char *obuf, int osize) argument
520 z_incomp(void *arg, unsigned char *ibuf, int icnt) argument
[all...]
/drivers/gpu/drm/mga/
H A Dmga_ioc32.c61 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/staging/android/ion/
H A Dcompat_ion.c35 compat_ulong_t arg; member in struct:compat_ion_custom_data
113 compat_ulong_t arg; local
118 err |= get_user(arg, &data32->arg);
119 err |= put_user(arg, &data->arg);
124 long compat_ion_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument
138 data32 = compat_ptr(arg);
157 data32 = compat_ptr(arg);
174 data32 = compat_ptr(arg);
[all...]
/drivers/media/pci/mantis/
H A Dmantis_common.h38 #define dprintk(y, z, format, arg...) do { \
41 printk(KERN_ERR "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
43 printk(KERN_NOTICE "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
45 printk(KERN_INFO "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
47 printk(KERN_DEBUG "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
49 printk(KERN_DEBUG "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
52 printk(format , ##arg); \
/drivers/staging/comedi/
H A Dcomedi_compat32.c87 unsigned long arg)
90 return file->f_op->unlocked_ioctl(file, cmd, arg);
96 static int compat_chaninfo(struct file *file, unsigned long arg) argument
106 chaninfo32 = compat_ptr(arg);
130 static int compat_rangeinfo(struct file *file, unsigned long arg) argument
140 rangeinfo32 = compat_ptr(arg);
261 static int compat_cmd(struct file *file, unsigned long arg) argument
267 cmd32 = compat_ptr(arg);
278 static int compat_cmdtest(struct file *file, unsigned long arg) argument
284 cmd32 = compat_ptr(arg);
86 translated_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
332 compat_insnlist(struct file *file, unsigned long arg) argument
382 compat_insn(struct file *file, unsigned long arg) argument
400 raw_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
449 comedi_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
[all...]

Completed in 962 milliseconds

1234567891011>>