/linux-master/drivers/base/ |
H A D | platform-msi.c | 28 msi_alloc_info_t arg; member in struct:platform_msi_priv_data 48 static void platform_msi_set_desc(msi_alloc_info_t *arg, struct msi_desc *desc) argument 50 arg->desc = desc; 51 arg->hwirq = platform_msi_calc_hwirq(desc); 57 msi_alloc_info_t *arg) 63 static void platform_msi_set_proxy_dev(msi_alloc_info_t *arg) argument 65 arg->flags |= MSI_ALLOC_FLAGS_PROXY_DEVICE; 289 platform_msi_set_proxy_dev(&data->arg); 290 err = msi_domain_prepare_irqs(domain->parent, dev, nvec, &data->arg); 341 return msi_domain_populate_irqs(domain->parent, dev, virq, nr_irqs, &data->arg); 54 platform_msi_init(struct irq_domain *domain, struct msi_domain_info *info, unsigned int virq, irq_hw_number_t hwirq, msi_alloc_info_t *arg) argument 360 platform_msi_set_desc_byindex(msi_alloc_info_t *arg, struct msi_desc *desc) argument [all...] |
/linux-master/drivers/tee/optee/ |
H A D | call.c | 363 struct tee_ioctl_open_session_arg *arg, 377 msg_arg = optee_get_msg_arg(ctx, arg->num_params + 2, 383 msg_arg->cancel_id = arg->cancel_id; 393 memcpy(&msg_arg->params[0].u.value, arg->uuid, sizeof(arg->uuid)); 394 msg_arg->params[1].u.value.c = arg->clnt_login; 396 rc = tee_session_calc_client_uuid(&client_uuid, arg->clnt_login, 397 arg->clnt_uuid); 403 arg->num_params, param); 429 if (optee->ops->from_msg_param(optee, param, arg 362 optee_open_session(struct tee_context *ctx, struct tee_ioctl_open_session_arg *arg, struct tee_param *param) argument 512 optee_invoke_func(struct tee_context *ctx, struct tee_ioctl_invoke_arg *arg, struct tee_param *param) argument [all...] |
/linux-master/drivers/scsi/elx/libefc/ |
H A D | efc_domain.c | 14 efc_domain_cb(void *arg, int event, void *data) argument 16 struct efc *efc = arg; 104 _efc_domain_free(struct kref *arg) argument 106 struct efc_domain *domain = container_of(arg, struct efc_domain, ref); 160 void (*callback)(struct efc *efc, void *arg), 161 void *arg) 165 efc->domain_free_cb_arg = arg; 167 (*callback)(efc, arg); 172 enum efc_sm_event evt, void *arg) 194 enum efc_sm_event evt, void *arg) 159 efc_register_domain_free_cb(struct efc *efc, void (*callback)(struct efc *efc, void *arg), void *arg) argument 171 __efc_domain_common(const char *funcname, struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 193 __efc_domain_common_shutdown(const char *funcname, struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 230 __efc_domain_init(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 357 __efc_domain_wait_alloc(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 459 __efc_domain_allocated(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 544 __efc_domain_wait_attach(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 625 __efc_domain_ready(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 695 __efc_domain_wait_nports_free(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 724 __efc_domain_wait_shutdown(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 774 __efc_domain_wait_domain_lost(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 840 efc_domain_post_event(struct efc_domain *domain, enum efc_sm_event event, void *arg) argument 938 efc_domain_dispatch_frame(void *arg, struct efc_hw_sequence *seq) argument 1023 efc_node_dispatch_frame(void *arg, struct efc_hw_sequence *seq) argument [all...] |
/linux-master/drivers/media/v4l2-core/ |
H A D | v4l2-compat-ioctl32.c | 401 struct v4l2_buffer32 __user *arg) 405 if (copy_from_user(&vb32, arg, sizeof(vb32))) 447 struct v4l2_buffer32_time32 __user *arg) 451 if (copy_from_user(&vb32, arg, sizeof(vb32))) 491 struct v4l2_buffer32 __user *arg) 528 if (copy_to_user(arg, &vb32, sizeof(vb32))) 536 struct v4l2_buffer32_time32 __user *arg) 572 if (copy_to_user(arg, &vb32, sizeof(vb32))) 933 int v4l2_compat_get_user(void __user *arg, void *parg, unsigned int cmd) argument 939 return get_v4l2_format32(parg, arg); 400 get_v4l2_buffer32(struct v4l2_buffer *vb, struct v4l2_buffer32 __user *arg) argument 446 get_v4l2_buffer32_time32(struct v4l2_buffer *vb, struct v4l2_buffer32_time32 __user *arg) argument 490 put_v4l2_buffer32(struct v4l2_buffer *vb, struct v4l2_buffer32 __user *arg) argument 535 put_v4l2_buffer32_time32(struct v4l2_buffer *vb, struct v4l2_buffer32_time32 __user *arg) argument 977 v4l2_compat_put_user(void __user *arg, void *parg, unsigned int cmd) argument 1029 v4l2_compat_get_array_args(struct file *file, void *mbuf, void __user *user_ptr, size_t array_size, unsigned int cmd, void *arg) argument 1101 v4l2_compat_put_array_args(struct file *file, void __user *user_ptr, void *mbuf, size_t array_size, unsigned int cmd, void *arg) argument 1188 v4l2_compat_ioctl32(struct file *file, unsigned int cmd, unsigned long arg) argument [all...] |
/linux-master/drivers/media/common/b2c2/ |
H A D | flexcop-common.h | 30 #define err(format, arg...) \ 31 printk(KERN_ERR FC_LOG_PREFIX ": " format "\n" , ## arg) 33 #define info(format, arg...) \ 34 printk(KERN_INFO FC_LOG_PREFIX ": " format "\n" , ## arg) 36 #define warn(format, arg...) \ 37 printk(KERN_WARNING FC_LOG_PREFIX ": " format "\n" , ## arg)
|
/linux-master/net/nfc/ |
H A D | digital.h | 96 void digital_tg_recv_sens_req(struct nfc_digital_dev *ddev, void *arg, 99 void digital_tg_recv_sensf_req(struct nfc_digital_dev *ddev, void *arg, 103 nfc_digital_cmd_complete_t cb, void *arg) 106 timeout, cb, arg); 109 void digital_tg_recv_atr_req(struct nfc_digital_dev *ddev, void *arg, 116 void digital_tg_recv_md_req(struct nfc_digital_dev *ddev, void *arg, 102 digital_tg_listen(struct nfc_digital_dev *ddev, u16 timeout, nfc_digital_cmd_complete_t cb, void *arg) argument
|
/linux-master/sound/firewire/digi00x/ |
H A D | digi00x-hwdep.c | 80 static int hwdep_get_info(struct snd_dg00x *dg00x, void __user *arg) argument 93 if (copy_to_user(arg, &info, sizeof(info))) 148 unsigned int cmd, unsigned long arg) 154 return hwdep_get_info(dg00x, (void __user *)arg); 166 unsigned int cmd, unsigned long arg) 169 (unsigned long)compat_ptr(arg)); 147 hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, unsigned int cmd, unsigned long arg) argument 165 hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, unsigned int cmd, unsigned long arg) argument
|
/linux-master/sound/firewire/oxfw/ |
H A D | oxfw-hwdep.c | 70 static int hwdep_get_info(struct snd_oxfw *oxfw, void __user *arg) argument 83 if (copy_to_user(arg, &info, sizeof(info))) 138 unsigned int cmd, unsigned long arg) 144 return hwdep_get_info(oxfw, (void __user *)arg); 156 unsigned int cmd, unsigned long arg) 159 (unsigned long)compat_ptr(arg)); 137 hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, unsigned int cmd, unsigned long arg) argument 155 hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, unsigned int cmd, unsigned long arg) argument
|
/linux-master/sound/firewire/dice/ |
H A D | dice-hwdep.c | 72 static int hwdep_get_info(struct snd_dice *dice, void __user *arg) argument 85 if (copy_to_user(arg, &info, sizeof(info))) 140 unsigned int cmd, unsigned long arg) 146 return hwdep_get_info(dice, (void __user *)arg); 158 unsigned int cmd, unsigned long arg) 161 (unsigned long)compat_ptr(arg)); 139 hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, unsigned int cmd, unsigned long arg) argument 157 hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, unsigned int cmd, unsigned long arg) argument
|
/linux-master/sound/firewire/bebob/ |
H A D | bebob_hwdep.c | 71 hwdep_get_info(struct snd_bebob *bebob, void __user *arg) argument 84 if (copy_to_user(arg, &info, sizeof(info))) 143 unsigned int cmd, unsigned long arg) 149 return hwdep_get_info(bebob, (void __user *)arg); 162 unsigned int cmd, unsigned long arg) 165 (unsigned long)compat_ptr(arg)); 142 hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, unsigned int cmd, unsigned long arg) argument 161 hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, unsigned int cmd, unsigned long arg) argument
|
/linux-master/include/net/nfc/ |
H A D | digital.h | 81 * @arg: user data 88 void *arg, struct sk_buff *resp); 151 void *arg); 157 void *arg); 159 nfc_digital_cmd_complete_t cb, void *arg); 163 void *arg); 165 nfc_digital_cmd_complete_t cb, void *arg);
|
/linux-master/drivers/remoteproc/ |
H A D | remoteproc_elf_helpers.h | 41 static inline __type elf_##__s##_get_##__field(u8 class, const void *arg) \ 44 return (__type) ((const struct elf32_##__s *) arg)->__field; \ 46 return (__type) ((const struct elf64_##__s *) arg)->__field; \ 48 static inline void elf_##__s##_set_##__field(u8 class, void *arg, \ 52 ((struct elf32_##__s *) arg)->__field = (__type) value; \ 54 ((struct elf64_##__s *) arg)->__field = (__type) value; \
|
/linux-master/arch/um/drivers/ |
H A D | port_user.c | 115 int fd, err, arg; local 121 arg = 1; 122 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &arg, sizeof(arg)) < 0) { 155 static void port_pre_exec(void *arg) argument 157 struct port_pre_exec_data *data = arg;
|
/linux-master/tools/bpf/runqslower/ |
H A D | runqslower.c | 43 static error_t parse_arg(int key, char *arg, struct argp_state *state) argument 55 pid = strtol(arg, NULL, 10); 57 fprintf(stderr, "Invalid PID: %s\n", arg); 65 "Unrecognized positional argument: %s\n", arg); 69 min_us = strtoll(arg, NULL, 10); 71 fprintf(stderr, "Invalid delay (in us): %s\n", arg);
|
/linux-master/drivers/pinctrl/ |
H A D | pinctrl-da850-pupd.c | 71 u16 arg; local 74 arg = !!(~val & BIT(selector)); 81 if (arg) { 83 arg = 0; 89 arg = !!(val & BIT(selector)); 95 *config = pinconf_to_config_packed(param, arg);
|
/linux-master/sound/firewire/fireface/ |
H A D | ff-hwdep.c | 89 static int hwdep_get_info(struct snd_ff *ff, void __user *arg) argument 102 if (copy_to_user(arg, &info, sizeof(info))) 157 unsigned int cmd, unsigned long arg) 163 return hwdep_get_info(ff, (void __user *)arg); 175 unsigned int cmd, unsigned long arg) 178 (unsigned long)compat_ptr(arg)); 156 hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, unsigned int cmd, unsigned long arg) argument 174 hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, unsigned int cmd, unsigned long arg) argument
|
/linux-master/drivers/s390/net/ |
H A D | ctcm_main.h | 41 #define ctcm_pr_debug(fmt, arg...) printk(KERN_DEBUG fmt, ##arg) 43 #define CTCM_PR_DEBUG(fmt, arg...) \ 46 printk(KERN_DEBUG fmt, ##arg); \ 49 #define CTCM_PR_DBGDATA(fmt, arg...) \ 52 printk(KERN_DEBUG fmt, ##arg); \
|
H A D | ctcm_fsms.c | 132 static void ctcm_action_nop(fsm_instance *fi, int event, void *arg); 138 static void chx_txdone(fsm_instance *fi, int event, void *arg); 139 static void chx_rx(fsm_instance *fi, int event, void *arg); 140 static void chx_rxidle(fsm_instance *fi, int event, void *arg); 141 static void chx_firstio(fsm_instance *fi, int event, void *arg); 142 static void ctcm_chx_setmode(fsm_instance *fi, int event, void *arg); 143 static void ctcm_chx_start(fsm_instance *fi, int event, void *arg); 144 static void ctcm_chx_haltio(fsm_instance *fi, int event, void *arg); 145 static void ctcm_chx_stopped(fsm_instance *fi, int event, void *arg); 146 static void ctcm_chx_stop(fsm_instance *fi, int event, void *arg); 229 ctcm_action_nop(fsm_instance *fi, int event, void *arg) argument 246 chx_txdone(fsm_instance *fi, int event, void *arg) argument 334 ctcm_chx_txidle(fsm_instance *fi, int event, void *arg) argument 355 chx_rx(fsm_instance *fi, int event, void *arg) argument 431 chx_firstio(fsm_instance *fi, int event, void *arg) argument 509 chx_rxidle(fsm_instance *fi, int event, void *arg) argument 548 ctcm_chx_setmode(fsm_instance *fi, int event, void *arg) argument 588 ctcm_chx_start(fsm_instance *fi, int event, void *arg) argument 651 ctcm_chx_haltio(fsm_instance *fi, int event, void *arg) argument 739 ctcm_chx_stopped(fsm_instance *fi, int event, void *arg) argument 752 ctcm_chx_stop(fsm_instance *fi, int event, void *arg) argument 766 ctcm_chx_fail(fsm_instance *fi, int event, void *arg) argument 778 ctcm_chx_setuperr(fsm_instance *fi, int event, void *arg) argument 827 ctcm_chx_restart(fsm_instance *fi, int event, void *arg) argument 869 ctcm_chx_rxiniterr(fsm_instance *fi, int event, void *arg) argument 904 ctcm_chx_rxinitfail(fsm_instance *fi, int event, void *arg) argument 924 ctcm_chx_rxdisc(fsm_instance *fi, int event, void *arg) argument 956 ctcm_chx_txiniterr(fsm_instance *fi, int event, void *arg) argument 988 ctcm_chx_txretry(fsm_instance *fi, int event, void *arg) argument 1060 ctcm_chx_iofatal(fsm_instance *fi, int event, void *arg) argument 1210 ctcmpc_chx_txdone(fsm_instance *fi, int event, void *arg) argument 1372 ctcmpc_chx_rx(fsm_instance *fi, int event, void *arg) argument 1474 ctcmpc_chx_firstio(fsm_instance *fi, int event, void *arg) argument 1528 ctcmpc_chx_rxidle(fsm_instance *fi, int event, void *arg) argument 1582 ctcmpc_chx_attn(fsm_instance *fsm, int event, void *arg) argument 1641 ctcmpc_chx_attnbusy(fsm_instance *fsm, int event, void *arg) argument 1727 ctcmpc_chx_resend(fsm_instance *fsm, int event, void *arg) argument 1743 ctcmpc_chx_send_sweep(fsm_instance *fsm, int event, void *arg) argument 2053 dev_action_start(fsm_instance *fi, int event, void *arg) argument 2078 dev_action_stop(fsm_instance *fi, int event, void *arg) argument 2098 dev_action_restart(fsm_instance *fi, int event, void *arg) argument 2133 dev_action_chup(fsm_instance *fi, int event, void *arg) argument 2194 dev_action_chdown(fsm_instance *fi, int event, void *arg) argument [all...] |
/linux-master/drivers/watchdog/ |
H A D | sbc_fitpc2_wdt.c | 119 unsigned long arg) 126 ret = copy_to_user((struct watchdog_info __user *)arg, &ident, 131 ret = put_user(0, (int __user *)arg); 135 ret = put_user(0, (int __user *)arg); 144 ret = get_user(time, (int __user *)arg); 158 ret = put_user(margin, (int __user *)arg); 118 fitpc2_wdt_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
|
H A D | m54xx_wdt.c | 120 unsigned long arg) 127 ret = copy_to_user((struct watchdog_info *)arg, &ident, 132 ret = put_user(0, (int *)arg); 136 ret = put_user(0, (int *)arg); 145 ret = get_user(time, (int *)arg); 159 ret = put_user(heartbeat, (int *)arg); 119 m54xx_wdt_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
|
/linux-master/fs/reiserfs/ |
H A D | ioctl.c | 71 * and prevent packing file (argument arg has t 76 long reiserfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument 86 if (arg) 96 err = put_user(inode->i_generation, (int __user *)arg); 106 if (get_user(inode->i_generation, (int __user *)arg)) { 126 unsigned long arg) 146 return reiserfs_ioctl(file, cmd, (unsigned long) compat_ptr(arg)); 125 reiserfs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
|
/linux-master/include/linux/ |
H A D | torture.h | 112 int _torture_create_kthread(int (*fn)(void *arg), void *arg, char *s, char *m, 116 #define torture_create_kthread(n, arg, tp) \ 117 _torture_create_kthread(n, (arg), #n, "Creating " #n " task", \ 119 #define torture_create_kthread_cb(n, arg, tp, cbf) \ 120 _torture_create_kthread(n, (arg), #n, "Creating " #n " task", \
|
/linux-master/drivers/net/wireless/ath/ath12k/ |
H A D | p2p.c | 122 struct ath12k_p2p_noa_arg *arg = data; local 124 if (arvif->ar != arg->ar || arvif->vdev_id != arg->vdev_id) 127 ath12k_p2p_noa_update(arvif, arg->noa); 133 struct ath12k_p2p_noa_arg arg = { local 142 &arg); local
|
/linux-master/arch/sparc/kernel/ |
H A D | kernel.h | 105 void sun4m_cpu_pre_starting(void *arg); 106 void sun4m_cpu_pre_online(void *arg); 126 void sun4d_cpu_pre_starting(void *arg); 127 void sun4d_cpu_pre_online(void *arg); 135 void leon_cpu_pre_starting(void *arg); 136 void leon_cpu_pre_online(void *arg);
|
/linux-master/drivers/pinctrl/qcom/ |
H A D | pinctrl-spmi-gpio.c | 389 unsigned arg; local 397 arg = 1; 402 arg = 1; 407 arg = 1; 412 arg = 1; 417 arg = 1; 422 arg = 1; 427 arg = 1; 430 arg = pad->power_source; 435 arg 481 unsigned param, arg; local [all...] |