Searched refs:arg (Results 26 - 50 of 1533) sorted by relevance

1234567891011>>

/drivers/media/dvb-frontends/
H A Dstv6110x_priv.h32 #define dprintk(__y, __z, format, arg...) do { \
35 printk(KERN_ERR "%s: " format "\n", __func__ , ##arg); \
37 printk(KERN_NOTICE "%s: " format "\n", __func__ , ##arg); \
39 printk(KERN_INFO "%s: " format "\n", __func__ , ##arg); \
41 printk(KERN_DEBUG "%s: " format "\n", __func__ , ##arg); \
44 printk(format, ##arg); \
/drivers/media/firewire/
H A Dfiredtv-ci.c48 static int fdtv_ca_get_caps(void *arg) argument
50 struct ca_caps *cap = arg;
59 static int fdtv_ca_get_slot_info(struct firedtv *fdtv, void *arg) argument
62 struct ca_slot_info *slot = arg;
77 static int fdtv_ca_app_info(struct firedtv *fdtv, void *arg) argument
79 struct ca_msg *reply = arg;
84 static int fdtv_ca_info(struct firedtv *fdtv, void *arg) argument
86 struct ca_msg *reply = arg;
91 static int fdtv_ca_get_mmi(struct firedtv *fdtv, void *arg) argument
93 struct ca_msg *reply = arg;
98 fdtv_ca_get_msg(struct firedtv *fdtv, void *arg) argument
126 fdtv_ca_pmt(struct firedtv *fdtv, void *arg) argument
145 fdtv_ca_send_msg(struct firedtv *fdtv, void *arg) argument
176 fdtv_ca_ioctl(struct file *file, unsigned int cmd, void *arg) argument
[all...]
/drivers/thunderbolt/
H A Dtb.h188 #define tb_err(tb, fmt, arg...) dev_err(&(tb)->nhi->pdev->dev, fmt, ## arg)
189 #define tb_WARN(tb, fmt, arg...) dev_WARN(&(tb)->nhi->pdev->dev, fmt, ## arg)
190 #define tb_warn(tb, fmt, arg...) dev_warn(&(tb)->nhi->pdev->dev, fmt, ## arg)
191 #define tb_info(tb, fmt, arg...) dev_info(&(tb)->nhi->pdev->dev, fmt, ## arg)
194 #define __TB_SW_PRINT(level, sw, fmt, arg...) \
198 tb_route(__sw), ## arg); \
[all...]
/drivers/xen/
H A Dfallback.c8 int xen_event_channel_op_compat(int cmd, void *arg) argument
14 memcpy(&op.u, arg, sizeof(op.u));
27 memcpy(arg, &op.u.eop, sizeof(op.u.eop)); \
47 int xen_physdev_op_compat(int cmd, void *arg) argument
53 memcpy(&op.u, arg, sizeof(op.u));
66 memcpy(arg, &op.u.fld, sizeof(op.u.fld)); \
/drivers/net/wireless/cw1200/
H A Dwsm.c86 void *arg, u16 cmd, long tmo);
95 void *arg,
108 int wsm_configuration(struct cw1200_common *priv, struct wsm_configuration *arg) argument
115 WSM_PUT32(buf, arg->dot11MaxTransmitMsduLifeTime);
116 WSM_PUT32(buf, arg->dot11MaxReceiveLifeTime);
117 WSM_PUT32(buf, arg->dot11RtsThreshold);
120 WSM_PUT16(buf, arg->dpdData_size + 12);
122 WSM_PUT(buf, arg->dot11StationId, ETH_ALEN);
124 WSM_PUT(buf, arg->dpdData, arg
94 wsm_generic_confirm(struct cw1200_common *priv, void *arg, struct wsm_buf *buf) argument
137 wsm_configuration_confirm(struct cw1200_common *priv, struct wsm_configuration *arg, struct wsm_buf *buf) argument
166 wsm_reset(struct cw1200_common *priv, const struct wsm_reset *arg) argument
217 wsm_read_mib_confirm(struct cw1200_common *priv, struct wsm_mib *arg, struct wsm_buf *buf) argument
270 wsm_write_mib_confirm(struct cw1200_common *priv, struct wsm_mib *arg, struct wsm_buf *buf) argument
290 wsm_scan(struct cw1200_common *priv, const struct wsm_scan *arg) argument
412 wsm_join_confirm(struct cw1200_common *priv, struct wsm_join_cnf *arg, struct wsm_buf *buf) argument
430 wsm_join(struct cw1200_common *priv, struct wsm_join *arg) argument
468 wsm_set_bss_params(struct cw1200_common *priv, const struct wsm_set_bss_params *arg) argument
494 wsm_add_key(struct cw1200_common *priv, const struct wsm_add_key *arg) argument
516 wsm_remove_key(struct cw1200_common *priv, const struct wsm_remove_key *arg) argument
540 wsm_set_tx_queue_params(struct cw1200_common *priv, const struct wsm_set_tx_queue_params *arg, u8 id) argument
569 wsm_set_edca_params(struct cw1200_common *priv, const struct wsm_edca_params *arg) argument
616 wsm_switch_channel(struct cw1200_common *priv, const struct wsm_switch_channel *arg) argument
645 wsm_set_pm(struct cw1200_common *priv, const struct wsm_set_pm *arg) argument
671 wsm_start(struct cw1200_common *priv, const struct wsm_start *arg) argument
704 wsm_beacon_transmit(struct cw1200_common *priv, const struct wsm_beacon_transmit *arg) argument
753 wsm_map_link(struct cw1200_common *priv, const struct wsm_map_link *arg) argument
776 wsm_update_ie(struct cw1200_common *priv, const struct wsm_update_ie *arg) argument
982 wsm_scan_started(struct cw1200_common *priv, void *arg, struct wsm_buf *buf) argument
1000 struct wsm_scan_complete arg; local
1015 struct wsm_join_complete arg; local
1059 struct wsm_suspend_resume arg; local
1079 wsm_cmd_send(struct cw1200_common *priv, struct wsm_buf *buf, void *arg, u16 cmd, long tmo) argument
[all...]
H A Dwsm.h655 struct wsm_configuration *arg);
665 int wsm_reset(struct cw1200_common *priv, const struct wsm_reset *arg);
740 int wsm_scan(struct cw1200_common *priv, const struct wsm_scan *arg);
792 struct wsm_tx_confirm *arg);
868 typedef void (*wsm_rx_cb) (struct cw1200_common *priv, struct wsm_rx *arg,
892 struct wsm_event *arg);
955 int wsm_join(struct cw1200_common *priv, struct wsm_join *arg);
980 int wsm_set_pm(struct cw1200_common *priv, const struct wsm_set_pm *arg);
1007 const struct wsm_set_bss_params *arg);
1070 int wsm_add_key(struct cw1200_common *priv, const struct wsm_add_key *arg);
1323 wsm_set_rcpi_rssi_threshold(struct cw1200_common *priv, struct wsm_rcpi_rssi_threshold *arg) argument
1355 wsm_get_counters_table(struct cw1200_common *priv, struct wsm_mib_counters_table *arg) argument
1374 wsm_set_rx_filter(struct cw1200_common *priv, const struct wsm_rx_filter *arg) argument
1425 wsm_beacon_filter_control(struct cw1200_common *priv, struct wsm_beacon_filter_control *arg) argument
1450 wsm_set_operational_mode(struct cw1200_common *priv, const struct wsm_operational_mode *arg) argument
1468 wsm_set_template_frame(struct cw1200_common *priv, struct wsm_template_frame *arg) argument
1488 wsm_set_protected_mgmt_policy(struct cw1200_common *priv, struct wsm_protected_mgmt_policy *arg) argument
1531 wsm_set_association_mode(struct cw1200_common *priv, struct wsm_mib_association_mode *arg) argument
1562 wsm_set_tx_rate_retry_policy(struct cw1200_common *priv, struct wsm_set_tx_rate_retry_policy *arg) argument
1582 wsm_set_ether_type_filter(struct cw1200_common *priv, struct wsm_ether_type_filter_hdr *arg) argument
1603 wsm_set_udp_port_filter(struct cw1200_common *priv, struct wsm_udp_port_filter_hdr *arg) argument
1686 struct wsm_keep_alive_period arg = { local
1702 struct wsm_set_bssid_filtering arg = { local
1766 __le32 arg = enabled ? __cpu_to_le32(1) : 0; local
1781 wsm_set_uapsd_info(struct cw1200_common *priv, struct wsm_uapsd_info *arg) argument
1795 wsm_set_override_internal_txrate(struct cw1200_common *priv, struct wsm_override_internal_txrate *arg) argument
1837 void *arg; member in struct:wsm_cmd
[all...]
/drivers/ide/
H A Dide-ioctls.c20 unsigned int cmd, unsigned long arg,
39 return err >= 0 ? put_user(err, (long __user *)arg) : err;
49 err = ide_devset_execute(drive, ds, arg);
58 unsigned long arg)
79 if (copy_to_user((void __user *)arg, id, size))
87 static int ide_get_nice_ioctl(ide_drive_t *drive, unsigned long arg) argument
92 << IDE_NICE_1), (long __user *)arg);
95 static int ide_set_nice_ioctl(ide_drive_t *drive, unsigned long arg) argument
97 if (arg != (arg
19 ide_setting_ioctl(ide_drive_t *drive, struct block_device *bdev, unsigned int cmd, unsigned long arg, const struct ide_ioctl_devset *s) argument
57 ide_get_identity_ioctl(ide_drive_t *drive, unsigned int cmd, unsigned long arg) argument
117 ide_cmd_ioctl(ide_drive_t *drive, unsigned long arg) argument
192 ide_task_ioctl(ide_drive_t *drive, unsigned long arg) argument
234 generic_ide_ioctl(ide_drive_t *drive, struct block_device *bdev, unsigned int cmd, unsigned long arg) argument
[all...]
H A Dide-disk_ioctl.c19 unsigned int cmd, unsigned long arg)
24 err = ide_setting_ioctl(drive, bdev, cmd, arg, ide_disk_ioctl_settings);
28 err = generic_ide_ioctl(drive, bdev, cmd, arg);
18 ide_disk_ioctl(ide_drive_t *drive, struct block_device *bdev, fmode_t mode, unsigned int cmd, unsigned long arg) argument
H A Dide-floppy_ioctl.c38 int __user *arg)
45 if (get_user(u_array_size, arg))
62 argp = arg + 1;
91 if (put_user(u_index, arg))
139 int __user *arg)
168 if (get_user(blocks, arg) ||
169 get_user(length, arg+1) ||
170 get_user(flags, arg+2)) {
199 int __user *arg)
229 if (put_user(progress_indication, arg))
36 ide_floppy_get_format_capacities(ide_drive_t *drive, struct ide_atapi_pc *pc, int __user *arg) argument
138 ide_floppy_format_unit(ide_drive_t *drive, struct ide_atapi_pc *pc, int __user *arg) argument
197 ide_floppy_get_format_progress(ide_drive_t *drive, struct ide_atapi_pc *pc, int __user *arg) argument
235 ide_floppy_lockdoor(ide_drive_t *drive, struct ide_atapi_pc *pc, unsigned long arg, unsigned int cmd) argument
273 ide_floppy_ioctl(ide_drive_t *drive, struct block_device *bdev, fmode_t mode, unsigned int cmd, unsigned long arg) argument
[all...]
/drivers/isdn/sc/
H A Dcommand.c30 static int setl2(int card, unsigned long arg);
31 static int setl3(int card, unsigned long arg);
112 return dial(card, cmd->arg, cmd->parm.setup);
114 return hangup(card, cmd->arg);
116 return answer(card, cmd->arg);
118 return acceptb(card, cmd->arg);
120 return clreaz(card, cmd->arg);
122 return seteaz(card, cmd->arg, cmd->parm.num);
124 return setl2(card, cmd->arg);
126 return setl3(card, cmd->arg);
235 setl2(int card, unsigned long arg) argument
299 clreaz(int card, unsigned long arg) argument
313 seteaz(int card, unsigned long arg, char *num) argument
[all...]
/drivers/net/wireless/ath/wcn36xx/
H A Ddebug.c111 u32 arg[WCN36xx_MAX_DUMP_ARGS]; local
115 memset(arg, 0, sizeof(arg));
129 if (kstrtou32(begin, 0, &arg[i]) != 0)
133 wcn36xx_info("DUMP args is %d %d %d %d %d\n", arg[0], arg[1], arg[2],
134 arg[3], arg[4]);
135 wcn36xx_smd_dump_cmd_req(wcn, arg[
[all...]
/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_overlay.c98 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...]
/drivers/char/agp/
H A Dcompat_ioctl.c38 static int compat_agpioc_info_wrap(struct agp_file_private *priv, void __user *arg) argument
55 if (copy_to_user(arg, &userinfo, sizeof(userinfo)))
61 static int compat_agpioc_reserve_wrap(struct agp_file_private *priv, void __user *arg) argument
69 if (copy_from_user(&ureserve, arg, sizeof(ureserve)))
148 static int compat_agpioc_allocate_wrap(struct agp_file_private *priv, void __user *arg) argument
154 if (copy_from_user(&alloc, arg, sizeof(alloc)))
165 if (copy_to_user(arg, &alloc, sizeof(alloc))) {
172 static int compat_agpioc_bind_wrap(struct agp_file_private *priv, void __user *arg) argument
178 if (copy_from_user(&bind_info, arg, sizeof(bind_info)))
189 static int compat_agpioc_unbind_wrap(struct agp_file_private *priv, void __user *arg) argument
206 compat_agp_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
[all...]
/drivers/atm/
H A DuPD98402.c40 static int fetch_stats(struct atm_dev *dev,struct sonet_stats __user *arg,int zero) argument
47 if (arg) error = copy_to_user(arg,&tmp,sizeof(tmp));
86 static int get_sense(struct atm_dev *dev,u8 __user *arg) argument
96 return (put_user(s[0], arg) || put_user(s[1], arg+1) ||
97 put_user(s[2], arg+2) || put_user(0xff, arg+3) ||
98 put_user(0xff, arg+4) || put_user(0xff, arg
135 uPD98402_ioctl(struct atm_dev *dev,unsigned int cmd,void __user *arg) argument
[all...]
/drivers/isdn/hisax/
H A Disdnl1.h28 void l1_msg(struct IsdnCardState *cs, int pr, void *arg);
29 void l1_msg_b(struct PStack *st, int pr, void *arg);
H A Dlmgr.c29 hisax_manager(struct PStack *st, int pr, void *arg) argument
35 Code = (long) arg;
/drivers/media/tuners/
H A Dtda18271-priv.h145 #define tda_printk(st, lvl, fmt, arg...) \
146 _tda_printk(st, lvl, __func__, fmt, ##arg)
148 #define tda_dprintk(st, lvl, fmt, arg...) \
151 tda_printk(st, KERN_DEBUG, fmt, ##arg); \
154 #define tda_info(fmt, arg...) pr_info(fmt, ##arg)
155 #define tda_warn(fmt, arg...) tda_printk(priv, KERN_WARNING, fmt, ##arg)
156 #define tda_err(fmt, arg...) tda_printk(priv, KERN_ERR, fmt, ##arg)
[all...]
/drivers/media/usb/pvrusb2/
H A Dpvrusb2-debug.h24 #define pvr2_trace(msk, fmt, arg...) do {if(msk & pvrusb2_debug) printk(KERN_INFO "pvrusb2: " fmt "\n", ##arg); } while (0)
/drivers/misc/
H A Dkgdbts.c214 static unsigned long lookup_addr(char *arg) argument
218 if (!strcmp(arg, "kgdbts_break_test"))
220 else if (!strcmp(arg, "sys_open"))
222 else if (!strcmp(arg, "do_fork"))
224 else if (!strcmp(arg, "hw_break_val"))
230 static void break_helper(char *bp_type, char *arg, unsigned long vaddr) argument
234 if (arg)
235 addr = lookup_addr(arg);
244 static void sw_break(char *arg) argument
246 break_helper(force_hwbrks ? "Z1" : "Z0", arg,
249 sw_rem_break(char *arg) argument
254 hw_break(char *arg) argument
259 hw_rem_break(char *arg) argument
264 hw_write_break(char *arg) argument
269 hw_rem_write_break(char *arg) argument
274 hw_access_break(char *arg) argument
279 hw_rem_access_break(char *arg) argument
294 get_thread_id_continue(char *put_str, char *arg) argument
304 check_and_rewind_pc(char *put_str, char *arg) argument
341 check_single_step(char *put_str, char *arg) argument
387 write_regs(char *arg) argument
396 skip_back_repeat_test(char *arg) argument
408 got_break(char *put_str, char *arg) argument
419 get_cont_catch(char *arg) argument
425 put_cont_catch(char *put_str, char *arg) argument
433 emul_reset(char *put_str, char *arg) argument
444 emul_sstep_get(char *arg) argument
479 emul_sstep_put(char *put_str, char *arg) argument
531 final_ack_set(char *put_str, char *arg) argument
[all...]
/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sriov_pf.c42 cmd.req.arg[1] = (vport_id << 16) | 0x1;
43 cmd.req.arg[2] = npar_info->bit_offsets;
44 cmd.req.arg[2] |= npar_info->min_tx_bw << 16;
45 cmd.req.arg[3] = npar_info->max_tx_bw | (npar_info->max_tx_ques << 16);
46 cmd.req.arg[4] = npar_info->max_tx_mac_filters;
47 cmd.req.arg[4] |= npar_info->max_rx_mcast_mac_filters << 16;
48 cmd.req.arg[5] = npar_info->max_rx_ucast_mac_filters |
50 cmd.req.arg[6] = npar_info->max_rx_lro_flow |
52 cmd.req.arg[7] = npar_info->max_rx_buf_rings |
54 cmd.req.arg[
[all...]
/drivers/edac/
H A Dmv64x60_edac.h18 #define mv64x60_printk(level, fmt, arg...) \
19 edac_printk(level, "MV64x60", fmt, ##arg)
21 #define mv64x60_mc_printk(mci, level, fmt, arg...) \
22 edac_mc_chipset_printk(mci, level, "MV64x60", fmt, ##arg)
/drivers/media/pci/ivtv/
H A Divtv-vbi.h31 void ivtv_set_vbi(unsigned long arg);
/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_cmd.h21 unsigned int arg[MAX_H2R_ARG]; member in struct:s5p_mfc_cmd_args
/drivers/pci/hotplug/
H A Dpciehp.h47 #define dbg(format, arg...) \
50 printk(KERN_DEBUG "%s: " format, MY_NAME , ## arg); \
52 #define err(format, arg...) \
53 printk(KERN_ERR "%s: " format, MY_NAME , ## arg)
54 #define info(format, arg...) \
55 printk(KERN_INFO "%s: " format, MY_NAME , ## arg)
56 #define warn(format, arg...) \
57 printk(KERN_WARNING "%s: " format, MY_NAME , ## arg)
59 #define ctrl_dbg(ctrl, format, arg...) \
63 format, ## arg); \
[all...]
/drivers/scsi/lpfc/
H A Dlpfc_logmsg.h43 #define lpfc_printf_vlog(vport, level, mask, fmt, arg...) \
47 fmt, (vport)->phba->brd_no, vport->vpi, ##arg); } \
50 #define lpfc_printf_log(phba, level, mask, fmt, arg...) \
57 fmt, phba->brd_no, ##arg); \

Completed in 1305 milliseconds

1234567891011>>