Lines Matching refs:v32
2959 struct comedi32_cmd_struct v32; in get_compat_cmd() local
2961 if (copy_from_user(&v32, cmd32, sizeof(v32))) in get_compat_cmd()
2964 cmd->subdev = v32.subdev; in get_compat_cmd()
2965 cmd->flags = v32.flags; in get_compat_cmd()
2966 cmd->start_src = v32.start_src; in get_compat_cmd()
2967 cmd->start_arg = v32.start_arg; in get_compat_cmd()
2968 cmd->scan_begin_src = v32.scan_begin_src; in get_compat_cmd()
2969 cmd->scan_begin_arg = v32.scan_begin_arg; in get_compat_cmd()
2970 cmd->convert_src = v32.convert_src; in get_compat_cmd()
2971 cmd->convert_arg = v32.convert_arg; in get_compat_cmd()
2972 cmd->scan_end_src = v32.scan_end_src; in get_compat_cmd()
2973 cmd->scan_end_arg = v32.scan_end_arg; in get_compat_cmd()
2974 cmd->stop_src = v32.stop_src; in get_compat_cmd()
2975 cmd->stop_arg = v32.stop_arg; in get_compat_cmd()
2976 cmd->chanlist = (unsigned int __force *)compat_ptr(v32.chanlist); in get_compat_cmd()
2977 cmd->chanlist_len = v32.chanlist_len; in get_compat_cmd()
2978 cmd->data = compat_ptr(v32.data); in get_compat_cmd()
2979 cmd->data_len = v32.data_len; in get_compat_cmd()
2987 struct comedi32_cmd_struct v32; in put_compat_cmd() local
2989 memset(&v32, 0, sizeof(v32)); in put_compat_cmd()
2990 v32.subdev = cmd->subdev; in put_compat_cmd()
2991 v32.flags = cmd->flags; in put_compat_cmd()
2992 v32.start_src = cmd->start_src; in put_compat_cmd()
2993 v32.start_arg = cmd->start_arg; in put_compat_cmd()
2994 v32.scan_begin_src = cmd->scan_begin_src; in put_compat_cmd()
2995 v32.scan_begin_arg = cmd->scan_begin_arg; in put_compat_cmd()
2996 v32.convert_src = cmd->convert_src; in put_compat_cmd()
2997 v32.convert_arg = cmd->convert_arg; in put_compat_cmd()
2998 v32.scan_end_src = cmd->scan_end_src; in put_compat_cmd()
2999 v32.scan_end_arg = cmd->scan_end_arg; in put_compat_cmd()
3000 v32.stop_src = cmd->stop_src; in put_compat_cmd()
3001 v32.stop_arg = cmd->stop_arg; in put_compat_cmd()
3003 v32.chanlist = ptr_to_compat((unsigned int __user *)cmd->chanlist); in put_compat_cmd()
3004 v32.chanlist_len = cmd->chanlist_len; in put_compat_cmd()
3005 v32.data = ptr_to_compat(cmd->data); in put_compat_cmd()
3006 v32.data_len = cmd->data_len; in put_compat_cmd()
3007 if (copy_to_user(cmd32, &v32, sizeof(v32))) in put_compat_cmd()
3065 struct comedi32_insn_struct v32; in get_compat_insn() local
3068 if (copy_from_user(&v32, insn32, sizeof(v32))) in get_compat_insn()
3071 insn->insn = v32.insn; in get_compat_insn()
3072 insn->n = v32.n; in get_compat_insn()
3073 insn->data = compat_ptr(v32.data); in get_compat_insn()
3074 insn->subdev = v32.subdev; in get_compat_insn()
3075 insn->chanspec = v32.chanspec; in get_compat_insn()