Lines Matching refs:v32
3051 struct comedi32_cmd_struct v32; in get_compat_cmd() local
3053 if (copy_from_user(&v32, cmd32, sizeof(v32))) in get_compat_cmd()
3056 cmd->subdev = v32.subdev; in get_compat_cmd()
3057 cmd->flags = v32.flags; in get_compat_cmd()
3058 cmd->start_src = v32.start_src; in get_compat_cmd()
3059 cmd->start_arg = v32.start_arg; in get_compat_cmd()
3060 cmd->scan_begin_src = v32.scan_begin_src; in get_compat_cmd()
3061 cmd->scan_begin_arg = v32.scan_begin_arg; in get_compat_cmd()
3062 cmd->convert_src = v32.convert_src; in get_compat_cmd()
3063 cmd->convert_arg = v32.convert_arg; in get_compat_cmd()
3064 cmd->scan_end_src = v32.scan_end_src; in get_compat_cmd()
3065 cmd->scan_end_arg = v32.scan_end_arg; in get_compat_cmd()
3066 cmd->stop_src = v32.stop_src; in get_compat_cmd()
3067 cmd->stop_arg = v32.stop_arg; in get_compat_cmd()
3068 cmd->chanlist = (unsigned int __force *)compat_ptr(v32.chanlist); in get_compat_cmd()
3069 cmd->chanlist_len = v32.chanlist_len; in get_compat_cmd()
3070 cmd->data = compat_ptr(v32.data); in get_compat_cmd()
3071 cmd->data_len = v32.data_len; in get_compat_cmd()
3079 struct comedi32_cmd_struct v32; in put_compat_cmd() local
3081 memset(&v32, 0, sizeof(v32)); in put_compat_cmd()
3082 v32.subdev = cmd->subdev; in put_compat_cmd()
3083 v32.flags = cmd->flags; in put_compat_cmd()
3084 v32.start_src = cmd->start_src; in put_compat_cmd()
3085 v32.start_arg = cmd->start_arg; in put_compat_cmd()
3086 v32.scan_begin_src = cmd->scan_begin_src; in put_compat_cmd()
3087 v32.scan_begin_arg = cmd->scan_begin_arg; in put_compat_cmd()
3088 v32.convert_src = cmd->convert_src; in put_compat_cmd()
3089 v32.convert_arg = cmd->convert_arg; in put_compat_cmd()
3090 v32.scan_end_src = cmd->scan_end_src; in put_compat_cmd()
3091 v32.scan_end_arg = cmd->scan_end_arg; in put_compat_cmd()
3092 v32.stop_src = cmd->stop_src; in put_compat_cmd()
3093 v32.stop_arg = cmd->stop_arg; in put_compat_cmd()
3095 v32.chanlist = ptr_to_compat((unsigned int __user *)cmd->chanlist); in put_compat_cmd()
3096 v32.chanlist_len = cmd->chanlist_len; in put_compat_cmd()
3097 v32.data = ptr_to_compat(cmd->data); in put_compat_cmd()
3098 v32.data_len = cmd->data_len; in put_compat_cmd()
3099 if (copy_to_user(cmd32, &v32, sizeof(v32))) in put_compat_cmd()
3157 struct comedi32_insn_struct v32; in get_compat_insn() local
3160 if (copy_from_user(&v32, insn32, sizeof(v32))) in get_compat_insn()
3163 insn->insn = v32.insn; in get_compat_insn()
3164 insn->n = v32.n; in get_compat_insn()
3165 insn->data = compat_ptr(v32.data); in get_compat_insn()
3166 insn->subdev = v32.subdev; in get_compat_insn()
3167 insn->chanspec = v32.chanspec; in get_compat_insn()