Searched refs:arg (Results 276 - 300 of 1533) sorted by relevance

<<11121314151617181920>>

/drivers/scsi/fnic/
H A Dvnic_dev.h148 int vnic_dev_open(struct vnic_dev *vdev, int arg);
150 int vnic_dev_init(struct vnic_dev *vdev, int arg);
153 int vnic_dev_soft_reset(struct vnic_dev *vdev, int arg);
/drivers/staging/android/
H A Dsync.c560 static long sync_fence_ioctl_wait(struct sync_fence *fence, unsigned long arg) argument
564 if (copy_from_user(&value, (void __user *)arg, sizeof(value)))
570 static long sync_fence_ioctl_merge(struct sync_fence *fence, unsigned long arg) argument
580 if (copy_from_user(&data, (void __user *)arg, sizeof(data))) {
599 if (copy_to_user((void __user *)arg, &data, sizeof(data))) {
652 unsigned long arg)
659 if (copy_from_user(&size, (void __user *)arg, sizeof(size)))
692 if (copy_to_user((void __user *)arg, data, len))
704 unsigned long arg)
710 return sync_fence_ioctl_wait(fence, arg);
651 sync_fence_ioctl_fence_info(struct sync_fence *fence, unsigned long arg) argument
703 sync_fence_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
[all...]
H A Dbinder_trace.h31 TP_PROTO(unsigned int cmd, unsigned long arg),
32 TP_ARGS(cmd, arg),
36 __field(unsigned long, arg)
40 __entry->arg = arg;
42 TP_printk("cmd=0x%x arg=0x%lx", __entry->cmd, __entry->arg)
/drivers/staging/media/omap24xx/
H A Dv4l2-int-device.c151 static int no_such_ioctl_1(struct v4l2_int_device *d, void *arg) argument
156 int v4l2_int_ioctl_1(struct v4l2_int_device *d, int cmd, void *arg) argument
160 (v4l2_int_ioctl_func *)no_such_ioctl_1))(d, arg);
H A Dv4l2-int-device.h94 int v4l2_int_ioctl_1(struct v4l2_int_device *d, int cmd, void *arg);
258 arg_type asterisk arg) \
261 (void *)(unsigned long)arg); \
/drivers/watchdog/
H A Diop_wdt.c136 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 Dwdt285.c140 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/acpica/
H A Dpsloop.c89 union acpi_parse_object *arg = NULL; local
137 (walk_state->arg_types), &arg);
142 if (arg) {
143 arg->common.aml_offset = walk_state->aml_offset;
144 acpi_ps_append_arg(op, arg);
212 AML_CLASS_EXECUTE) && (!arg)) {
H A Dpsparse.c161 prev = op->common.parent->common.value.arg;
258 replacement_op->common.value.arg = NULL;
260 op->common.parent->common.value.arg =
264 op->common.parent->common.value.arg =
282 arg = NULL;
402 (op->common.value.arg)->common.node;
/drivers/char/
H A Defirtc.c53 unsigned long arg);
148 unsigned long arg)
189 return copy_to_user((void __user *)arg, &wtime,
196 if (copy_from_user(&wtime, (struct rtc_time __user *)arg,
214 ewp = (struct rtc_wkalrm __user *)arg;
245 ewp = (struct rtc_wkalrm __user *)arg;
147 efi_rtc_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
H A Dgenrtc.c102 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
/drivers/isdn/mISDN/
H A Dtimerdev.c224 mISDN_ioctl(struct file *filep, unsigned int cmd, unsigned long arg) argument
232 filep, cmd, arg);
236 if (get_user(tout, (int __user *)arg)) {
248 if (put_user(id, (int __user *)arg))
252 if (get_user(id, (int __user *)arg)) {
259 if (put_user(id, (int __user *)arg))
H A Dlayer2.h94 extern int tei_l2(struct layer2 *, u_int, u_long arg);
98 extern int l2_tei(struct layer2 *, u_int, u_long arg);
/drivers/media/dvb-frontends/
H A Dbcm3510_priv.h28 #define err(format, arg...) printk(KERN_ERR "bcm3510: " format "\n" , ## arg)
30 #define info(format, arg...) printk(KERN_INFO "bcm3510: " format "\n" , ## arg)
32 #define warn(format, arg...) printk(KERN_WARNING "bcm3510: " format "\n" , ## arg)
/drivers/media/usb/tm6000/
H A Dtm6000.h312 int tm6000_tuner_callback(void *ptr, int component, int command, int arg);
313 int tm6000_xc5000_callback(void *ptr, int component, int command, int arg);
395 #define dprintk(dev, level, fmt, arg...) do {\
398 dev->name, __func__ , ##arg); } while (0)
407 #define tm6000_err(fmt, arg...) do {\
409 __func__ , ##arg); } while (0)
/drivers/cdrom/
H A Dcdrom.c2330 unsigned long arg)
2340 if (arg)
2346 unsigned long arg)
2357 if (!CDROM_CAN(CDC_SELECT_DISC) || arg == CDSL_CURRENT)
2360 if ((unsigned int)arg >= cdi->capacity)
2369 ret = info->slots[arg].change;
2375 unsigned long arg)
2383 switch (arg) {
2395 if (!CDROM_CAN(arg))
2398 cdi->options |= (int) arg;
2329 cdrom_ioctl_eject_sw(struct cdrom_device_info *cdi, unsigned long arg) argument
2345 cdrom_ioctl_media_changed(struct cdrom_device_info *cdi, unsigned long arg) argument
2374 cdrom_ioctl_set_options(struct cdrom_device_info *cdi, unsigned long arg) argument
2402 cdrom_ioctl_clear_options(struct cdrom_device_info *cdi, unsigned long arg) argument
2411 cdrom_ioctl_select_speed(struct cdrom_device_info *cdi, unsigned long arg) argument
2421 cdrom_ioctl_select_disc(struct cdrom_device_info *cdi, unsigned long arg) argument
2459 cdrom_ioctl_lock_door(struct cdrom_device_info *cdi, unsigned long arg) argument
2478 cdrom_ioctl_debug(struct cdrom_device_info *cdi, unsigned long arg) argument
2521 cdrom_ioctl_drive_status(struct cdrom_device_info *cdi, unsigned long arg) argument
2927 mmc_ioctl_cdrom_read_data(struct cdrom_device_info *cdi, void __user *arg, struct packet_command *cgc, int cmd) argument
2986 mmc_ioctl_cdrom_read_audio(struct cdrom_device_info *cdi, void __user *arg) argument
3012 mmc_ioctl_cdrom_subchannel(struct cdrom_device_info *cdi, void __user *arg) argument
3037 mmc_ioctl_cdrom_play_msf(struct cdrom_device_info *cdi, void __user *arg, struct packet_command *cgc) argument
3057 mmc_ioctl_cdrom_play_blk(struct cdrom_device_info *cdi, void __user *arg, struct packet_command *cgc) argument
3077 mmc_ioctl_cdrom_volume(struct cdrom_device_info *cdi, void __user *arg, struct packet_command *cgc, unsigned int cmd) argument
3177 mmc_ioctl_dvd_read_struct(struct cdrom_device_info *cdi, void __user *arg, struct packet_command *cgc) argument
3209 mmc_ioctl_dvd_auth(struct cdrom_device_info *cdi, void __user *arg) argument
3227 mmc_ioctl_cdrom_next_writable(struct cdrom_device_info *cdi, void __user *arg) argument
3241 mmc_ioctl_cdrom_last_written(struct cdrom_device_info *cdi, void __user *arg) argument
3255 mmc_ioctl(struct cdrom_device_info *cdi, unsigned int cmd, unsigned long arg) argument
3305 cdrom_ioctl(struct cdrom_device_info *cdi, struct block_device *bdev, fmode_t mode, unsigned int cmd, unsigned long arg) argument
[all...]
/drivers/dma/
H A Dvirt-dma.c59 static void vchan_complete(unsigned long arg) argument
61 struct virt_dma_chan *vc = (struct virt_dma_chan *)arg;
/drivers/gpu/drm/nouveau/core/engine/mpeg/
H A Dnv40.c40 nv40_mpeg_mthd_dma(struct nouveau_object *object, u32 mthd, void *arg, u32 len) argument
44 u32 inst = *(u32 *)arg << 4;
/drivers/isdn/hisax/
H A Dhisax_isac.c243 static inline void D_L1L2(struct isac *isac, int pr, void *arg) argument
248 ifc->l1l2(ifc, pr, arg);
266 static void l1_di(struct FsmInst *fi, int event, void *arg) argument
274 static void l1_di_deact_ind(struct FsmInst *fi, int event, void *arg) argument
283 static void l1_go_f3pdown(struct FsmInst *fi, int event, void *arg) argument
288 static void l1_go_f3pend_deact_ind(struct FsmInst *fi, int event, void *arg) argument
297 static void l1_go_f3pend(struct FsmInst *fi, int event, void *arg) argument
305 static void l1_go_f4(struct FsmInst *fi, int event, void *arg) argument
310 static void l1_go_f5(struct FsmInst *fi, int event, void *arg) argument
315 static void l1_go_f6(struct FsmInst *fi, int event, void *arg) argument
320 l1_go_f6_deact_ind(struct FsmInst *fi, int event, void *arg) argument
328 l1_go_f7_act_ind(struct FsmInst *fi, int event, void *arg) argument
338 l1_go_f8(struct FsmInst *fi, int event, void *arg) argument
343 l1_go_f8_deact_ind(struct FsmInst *fi, int event, void *arg) argument
351 l1_ar8(struct FsmInst *fi, int event, void *arg) argument
359 l1_timer3(struct FsmInst *fi, int event, void *arg) argument
839 isac_d_l2l1(struct hisax_if *hisax_d_if, int pr, void *arg) argument
[all...]
/drivers/media/
H A Dmedia-device.c234 unsigned long arg)
243 (struct media_device_info __user *)arg);
248 (struct media_entity_desc __user *)arg);
254 (struct media_links_enum __user *)arg);
261 (struct media_link_desc __user *)arg);
303 unsigned long arg)
313 return media_device_ioctl(filp, cmd, arg);
318 (struct media_links_enum32 __user *)arg);
233 media_device_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument
302 media_device_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument
/drivers/media/platform/exynos4-is/
H A Dfimc-isp.h31 #define isp_dbg(level, dev, fmt, arg...) \
32 v4l2_dbg(level, fimc_isp_debug, dev, fmt, ## arg)
/drivers/media/rc/img-ir/
H A Dimg-ir-raw.c70 static void img_ir_echo_timer(unsigned long arg) argument
72 struct img_ir_priv *priv = (struct img_ir_priv *)arg;
/drivers/net/wireless/brcm80211/brcmsmac/
H A Daiutils.h149 void *arg; member in struct:gpioh_item
151 void (*handler) (u32 stat, void *arg);
166 * Many of the routines below take an 'sih' handle as their first arg.
/drivers/pci/hotplug/
H A Dpci_hotplug_core.c48 #define dbg(fmt, arg...) do { if (debug) printk(KERN_DEBUG "%s: %s: " fmt , MY_NAME , __func__ , ## arg); } while (0)
49 #define err(format, arg...) printk(KERN_ERR "%s: " format , MY_NAME , ## arg)
50 #define info(format, arg...) printk(KERN_INFO "%s: " format , MY_NAME , ## arg)
51 #define warn(format, arg...) printk(KERN_WARNING "%s: " format , MY_NAME , ## arg)
/drivers/pinctrl/
H A Dpinctrl-lantiq.h29 #define LTQ_PINCONF_PACK(param, arg) ((param) << 16 | (arg))

Completed in 833 milliseconds

<<11121314151617181920>>