Lines Matching refs:v32
2942 struct comedi32_cmd_struct v32; in get_compat_cmd() local
2944 if (copy_from_user(&v32, cmd32, sizeof(v32))) in get_compat_cmd()
2947 cmd->subdev = v32.subdev; in get_compat_cmd()
2948 cmd->flags = v32.flags; in get_compat_cmd()
2949 cmd->start_src = v32.start_src; in get_compat_cmd()
2950 cmd->start_arg = v32.start_arg; in get_compat_cmd()
2951 cmd->scan_begin_src = v32.scan_begin_src; in get_compat_cmd()
2952 cmd->scan_begin_arg = v32.scan_begin_arg; in get_compat_cmd()
2953 cmd->convert_src = v32.convert_src; in get_compat_cmd()
2954 cmd->convert_arg = v32.convert_arg; in get_compat_cmd()
2955 cmd->scan_end_src = v32.scan_end_src; in get_compat_cmd()
2956 cmd->scan_end_arg = v32.scan_end_arg; in get_compat_cmd()
2957 cmd->stop_src = v32.stop_src; in get_compat_cmd()
2958 cmd->stop_arg = v32.stop_arg; in get_compat_cmd()
2959 cmd->chanlist = (unsigned int __force *)compat_ptr(v32.chanlist); in get_compat_cmd()
2960 cmd->chanlist_len = v32.chanlist_len; in get_compat_cmd()
2961 cmd->data = compat_ptr(v32.data); in get_compat_cmd()
2962 cmd->data_len = v32.data_len; in get_compat_cmd()
2970 struct comedi32_cmd_struct v32; in put_compat_cmd() local
2972 memset(&v32, 0, sizeof(v32)); in put_compat_cmd()
2973 v32.subdev = cmd->subdev; in put_compat_cmd()
2974 v32.flags = cmd->flags; in put_compat_cmd()
2975 v32.start_src = cmd->start_src; in put_compat_cmd()
2976 v32.start_arg = cmd->start_arg; in put_compat_cmd()
2977 v32.scan_begin_src = cmd->scan_begin_src; in put_compat_cmd()
2978 v32.scan_begin_arg = cmd->scan_begin_arg; in put_compat_cmd()
2979 v32.convert_src = cmd->convert_src; in put_compat_cmd()
2980 v32.convert_arg = cmd->convert_arg; in put_compat_cmd()
2981 v32.scan_end_src = cmd->scan_end_src; in put_compat_cmd()
2982 v32.scan_end_arg = cmd->scan_end_arg; in put_compat_cmd()
2983 v32.stop_src = cmd->stop_src; in put_compat_cmd()
2984 v32.stop_arg = cmd->stop_arg; in put_compat_cmd()
2986 v32.chanlist = ptr_to_compat((unsigned int __user *)cmd->chanlist); in put_compat_cmd()
2987 v32.chanlist_len = cmd->chanlist_len; in put_compat_cmd()
2988 v32.data = ptr_to_compat(cmd->data); in put_compat_cmd()
2989 v32.data_len = cmd->data_len; in put_compat_cmd()
2990 if (copy_to_user(cmd32, &v32, sizeof(v32))) in put_compat_cmd()
3048 struct comedi32_insn_struct v32; in get_compat_insn() local
3051 if (copy_from_user(&v32, insn32, sizeof(v32))) in get_compat_insn()
3054 insn->insn = v32.insn; in get_compat_insn()
3055 insn->n = v32.n; in get_compat_insn()
3056 insn->data = compat_ptr(v32.data); in get_compat_insn()
3057 insn->subdev = v32.subdev; in get_compat_insn()
3058 insn->chanspec = v32.chanspec; in get_compat_insn()