Lines Matching refs:v32

2947 	struct comedi32_cmd_struct v32;  in get_compat_cmd()  local
2949 if (copy_from_user(&v32, cmd32, sizeof(v32))) in get_compat_cmd()
2952 cmd->subdev = v32.subdev; in get_compat_cmd()
2953 cmd->flags = v32.flags; in get_compat_cmd()
2954 cmd->start_src = v32.start_src; in get_compat_cmd()
2955 cmd->start_arg = v32.start_arg; in get_compat_cmd()
2956 cmd->scan_begin_src = v32.scan_begin_src; in get_compat_cmd()
2957 cmd->scan_begin_arg = v32.scan_begin_arg; in get_compat_cmd()
2958 cmd->convert_src = v32.convert_src; in get_compat_cmd()
2959 cmd->convert_arg = v32.convert_arg; in get_compat_cmd()
2960 cmd->scan_end_src = v32.scan_end_src; in get_compat_cmd()
2961 cmd->scan_end_arg = v32.scan_end_arg; in get_compat_cmd()
2962 cmd->stop_src = v32.stop_src; in get_compat_cmd()
2963 cmd->stop_arg = v32.stop_arg; in get_compat_cmd()
2964 cmd->chanlist = (unsigned int __force *)compat_ptr(v32.chanlist); in get_compat_cmd()
2965 cmd->chanlist_len = v32.chanlist_len; in get_compat_cmd()
2966 cmd->data = compat_ptr(v32.data); in get_compat_cmd()
2967 cmd->data_len = v32.data_len; in get_compat_cmd()
2975 struct comedi32_cmd_struct v32; in put_compat_cmd() local
2977 memset(&v32, 0, sizeof(v32)); in put_compat_cmd()
2978 v32.subdev = cmd->subdev; in put_compat_cmd()
2979 v32.flags = cmd->flags; in put_compat_cmd()
2980 v32.start_src = cmd->start_src; in put_compat_cmd()
2981 v32.start_arg = cmd->start_arg; in put_compat_cmd()
2982 v32.scan_begin_src = cmd->scan_begin_src; in put_compat_cmd()
2983 v32.scan_begin_arg = cmd->scan_begin_arg; in put_compat_cmd()
2984 v32.convert_src = cmd->convert_src; in put_compat_cmd()
2985 v32.convert_arg = cmd->convert_arg; in put_compat_cmd()
2986 v32.scan_end_src = cmd->scan_end_src; in put_compat_cmd()
2987 v32.scan_end_arg = cmd->scan_end_arg; in put_compat_cmd()
2988 v32.stop_src = cmd->stop_src; in put_compat_cmd()
2989 v32.stop_arg = cmd->stop_arg; in put_compat_cmd()
2991 v32.chanlist = ptr_to_compat((unsigned int __user *)cmd->chanlist); in put_compat_cmd()
2992 v32.chanlist_len = cmd->chanlist_len; in put_compat_cmd()
2993 v32.data = ptr_to_compat(cmd->data); in put_compat_cmd()
2994 v32.data_len = cmd->data_len; in put_compat_cmd()
2995 if (copy_to_user(cmd32, &v32, sizeof(v32))) in put_compat_cmd()
3053 struct comedi32_insn_struct v32; in get_compat_insn() local
3056 if (copy_from_user(&v32, insn32, sizeof(v32))) in get_compat_insn()
3059 insn->insn = v32.insn; in get_compat_insn()
3060 insn->n = v32.n; in get_compat_insn()
3061 insn->data = compat_ptr(v32.data); in get_compat_insn()
3062 insn->subdev = v32.subdev; in get_compat_insn()
3063 insn->chanspec = v32.chanspec; in get_compat_insn()