Searched refs:arg (Results 201 - 225 of 1533) sorted by relevance

1234567891011>>

/drivers/gpu/drm/gma500/
H A Dpsb_irq.h35 irqreturn_t psb_irq_handler(int irq, void *arg);
/drivers/isdn/hisax/
H A Dhisax_isac.h37 void isac_d_l2l1(struct hisax_if *hisax_d_if, int pr, void *arg);
H A Dst5481.h220 #define ERR(format, arg...) \
221 printk(KERN_ERR "%s:%s: " format "\n" , __FILE__, __func__ , ## arg)
223 #define WARNING(format, arg...) \
224 printk(KERN_WARNING "%s:%s: " format "\n" , __FILE__, __func__ , ## arg)
226 #define INFO(format, arg...) \
227 printk(KERN_INFO "%s:%s: " format "\n" , __FILE__, __func__ , ## arg)
433 void st5481_d_l2l1(struct hisax_if *hisax_d_if, int pr, void *arg);
439 void st5481_b_l2l1(struct hisax_if *b_if, int pr, void *arg);
/drivers/isdn/sc/
H A Devent.c66 cmd.arg = Channel;
/drivers/net/ethernet/intel/e1000/
H A De1000_param.c205 } arg; member in struct:e1000_option
229 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) {
238 for (i = 0; i < opt->arg.l.nr; i++) {
239 ent = &opt->arg.l.p[i];
291 .arg = { .r = {
319 .arg = { .r = {
368 .arg = { .l = { .nr = ARRAY_SIZE(fc_list),
386 .arg = { .r = { .min = MIN_TXDELAY,
404 .arg
[all...]
/drivers/net/wireless/cw1200/
H A Dscan.h49 struct wsm_scan_complete *arg);
/drivers/pnp/
H A Dbase.h181 #define pnp_dbg(dev, format, arg...) \
182 ({ if (pnp_debug) dev_printk(KERN_DEBUG, dev, format, ## arg); 0; })
184 #define pnp_dbg(dev, format, arg...) \
185 ({ if (0) dev_printk(KERN_DEBUG, dev, format, ## arg); 0; })
/drivers/s390/net/
H A Dfsm.h136 * @param arg A generic argument, handed to the action function.
143 fsm_event(fsm_instance *fi, int event, void *arg) argument
168 r(fi, event, arg);
249 * @param arg Generic argument, provided to expiry function.
253 extern int fsm_addtimer(fsm_timer *timer, int millisec, int event, void *arg);
261 * @param arg Generic argument, provided to expiry function.
263 extern void fsm_modtimer(fsm_timer *timer, int millisec, int event, void *arg);
/drivers/staging/android/uapi/
H A Dion.h120 * @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 DInterfaceMisc.c113 int BcmRDM(void *arg, argument
118 return InterfaceRDM((struct bcm_interface_adapter *)arg, addr, buff,
122 int BcmWRM(void *arg, argument
127 return InterfaceWRM((struct bcm_interface_adapter *)arg, addr, buff,
H A Dvendorspecificextn.c62 * arg -input parameter sent by vendor
70 INT vendorextnIoctl(struct bcm_mini_adapter *Adapter, UINT cmd, ULONG arg) argument
H A Dvendorspecificextn.h10 INT vendorextnIoctl(struct bcm_mini_adapter *Adapter, UINT cmd, ULONG arg);
/drivers/staging/comedi/
H A Dcomedi_internal.h10 struct comedi_rangeinfo __user *arg);
/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_shader.c332 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/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_param.c159 } arg; member in struct:pch_gbe_option
247 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) {
257 for (i = 0; i < opt->arg.l.nr; i++) {
258 ent = &opt->arg.l.p[i];
293 .arg = { .l = { .nr = (int)ARRAY_SIZE(speed_list),
305 .arg = { .l = { .nr = (int)ARRAY_SIZE(dplx_list),
318 .arg = { .l = { .nr = (int)ARRAY_SIZE(an_list),
456 .arg = { .r = { .min = PCH_GBE_MIN_TXD,
472 .arg
[all...]
/drivers/staging/comedi/drivers/
H A Dcomedi_test.c163 static void waveform_ai_interrupt(unsigned long arg) argument
165 struct comedi_device *dev = (struct comedi_device *)arg;
227 unsigned int arg; local
279 arg = cmd->scan_begin_arg;
281 arg = nano_per_micro *
282 ((arg + (nano_per_micro / 2)) / nano_per_micro);
283 err |= cfc_check_trigger_arg_is(&cmd->scan_begin_arg, arg);
286 arg = cmd->convert_arg;
288 arg = nano_per_micro *
289 ((arg
[all...]
/drivers/atm/
H A Didt77105.c141 static int fetch_stats(struct atm_dev *dev,struct idt77105_stats __user *arg,int zero) argument
151 if (arg == NULL)
153 return copy_to_user(arg, &stats,
188 static int idt77105_ioctl(struct atm_dev *dev,unsigned int cmd,void __user *arg) argument
196 return fetch_stats(dev, arg, cmd == IDT77105_GETSTATZ);
198 return set_loopback(dev,(int)(unsigned long) arg);
200 return put_user(PRIV(dev)->loop_mode,(int __user *)arg) ?
204 (int __user *) arg) ? -EFAULT : 0;
/drivers/char/agp/
H A Dcompat_ioctl.h95 int agpioc_setup_wrap(struct agp_file_private *priv, void __user *arg);
96 int agpioc_deallocate_wrap(struct agp_file_private *priv, int arg);
/drivers/char/
H A Draw.c122 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
/drivers/gpu/drm/mga/
H A Dmga_irq.c50 irqreturn_t mga_driver_irq_handler(int irq, void *arg) argument
52 struct drm_device *dev = (struct drm_device *) arg;
/drivers/gpu/drm/nouveau/
H A Dnouveau_acpi.c74 static int nouveau_optimus_dsm(acpi_handle handle, int func, int arg, uint32_t *result) argument
87 args_buff[i] = (arg >> i * 8) & 0xFF;
131 static int nouveau_dsm(acpi_handle handle, int func, int arg) argument
137 .integer.value = arg,
163 int arg; local
165 arg = NOUVEAU_DSM_POWER_SPEED;
167 arg = NOUVEAU_DSM_POWER_STAMINA;
168 nouveau_dsm(handle, NOUVEAU_DSM_POWER, arg);
/drivers/gpu/drm/qxl/
H A Dqxl_irq.c28 irqreturn_t qxl_irq_handler(int irq, void *arg) argument
30 struct drm_device *dev = (struct drm_device *) arg;
/drivers/infiniband/ulp/iser/
H A Discsi_iser.h74 #define iser_dbg(fmt, arg...) \
78 __func__ , ## arg); \
81 #define iser_warn(fmt, arg...) \
85 __func__ , ## arg); \
88 #define iser_info(fmt, arg...) \
92 __func__ , ## arg); \
95 #define iser_err(fmt, arg...) \
98 __func__ , ## arg); \
/drivers/net/ethernet/ibm/emac/
H A Ddebug.h56 #define EMAC_DBG(d, name, fmt, arg...) \
57 printk(KERN_DEBUG #name "%s: " fmt, d->ofdev->dev.of_node->full_name, ## arg)
/drivers/platform/x86/
H A Dintel_scu_ipcutil.c74 * @arg: pointer to user passed structure
79 unsigned long arg)
83 void __user *argp = (void __user *)arg;
78 scu_ipc_ioctl(struct file *fp, unsigned int cmd, unsigned long arg) argument

Completed in 446 milliseconds

1234567891011>>