Lines Matching +full:2 +full:mv

258 	cmd[2] = (elem >> 8) & 0xff;  in ch_read_element_status()
313 cmd[2] = 0x1d; in ch_readconfig()
340 VPRINTK(KERN_INFO, "type #2 (st): 0x%x+%d [storage]\n", in ch_readconfig()
438 cmd[2] = (trans >> 8) & 0xff; in ch_position()
457 cmd[2] = (trans >> 8) & 0xff; in ch_move()
480 cmd[2] = (trans >> 8) & 0xff; in ch_exchange()
488 cmd[10] = (rotate1 ? 1 : 0) | (rotate2 ? 2 : 0); in ch_exchange()
529 cmd[2] = (elem >> 8) & 0xff; in ch_set_voltag()
558 put_user(data[2], dest+i); in ch_gstatus()
559 if (data[2] & CESTATUS_EXCEPT) in ch_gstatus()
677 strscpy(vparams.cvp_label3, vendor_labels[2], in ch_ioctl()
711 struct changer_move mv; in ch_ioctl() local
713 if (copy_from_user(&mv, argp, sizeof (mv))) in ch_ioctl()
716 if (0 != ch_checkrange(ch, mv.cm_fromtype, mv.cm_fromunit) || in ch_ioctl()
717 0 != ch_checkrange(ch, mv.cm_totype, mv.cm_tounit )) { in ch_ioctl()
724 ch->firsts[mv.cm_fromtype] + mv.cm_fromunit, in ch_ioctl()
725 ch->firsts[mv.cm_totype] + mv.cm_tounit, in ch_ioctl()
726 mv.cm_flags & CM_INVERT); in ch_ioctl()
733 struct changer_exchange mv; in ch_ioctl() local
735 if (copy_from_user(&mv, argp, sizeof (mv))) in ch_ioctl()
738 if (0 != ch_checkrange(ch, mv.ce_srctype, mv.ce_srcunit ) || in ch_ioctl()
739 0 != ch_checkrange(ch, mv.ce_fdsttype, mv.ce_fdstunit) || in ch_ioctl()
740 0 != ch_checkrange(ch, mv.ce_sdsttype, mv.ce_sdstunit)) { in ch_ioctl()
748 ch->firsts[mv.ce_srctype] + mv.ce_srcunit, in ch_ioctl()
749 ch->firsts[mv.ce_fdsttype] + mv.ce_fdstunit, in ch_ioctl()
750 ch->firsts[mv.ce_sdsttype] + mv.ce_sdstunit, in ch_ioctl()
751 mv.ce_flags & CE_INVERT1, mv.ce_flags & CE_INVERT2); in ch_ioctl()
807 ch_cmd[2] = (elem >> 8) & 0xff; in ch_ioctl()