Lines Matching +full:4 +full:mv
77 static int vendor_firsts[CH_TYPES-4];
78 static int vendor_counts[CH_TYPES-4];
82 static const char * vendor_labels[CH_TYPES-4] = {
314 cmd[4] = 255; in ch_readconfig()
346 VPRINTK(KERN_INFO, "type #4 (dt): 0x%x+%d [data transfer]\n", in ch_readconfig()
354 for (i = 0; i < 4; i++) { in ch_readconfig()
440 cmd[4] = (elem >> 8) & 0xff; in ch_position()
459 cmd[4] = (src >> 8) & 0xff; in ch_move()
482 cmd[4] = (src >> 8) & 0xff; in ch_exchange()
562 (int)data[4],(int)data[5]); in ch_gstatus()
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()
824 for (i = 0; i < 4; i++) { in ch_ioctl()