Lines Matching +full:16 +full:mv

37 #define CH_DT_MAX       16
259 if (((buffer[16] << 8) | buffer[17]) != elem) { in ch_read_element_status()
261 elem,(buffer[16] << 8) | buffer[17]); in ch_read_element_status()
265 memcpy(data,buffer+16,16); in ch_read_element_status()
296 u_char cmd[10], data[16]; in ch_readconfig()
327 (buffer[buffer[3]+16] << 8) | buffer[buffer[3]+17]; in ch_readconfig()
543 u_char data[16]; in ch_gstatus()
662 strncpy(vparams.cvp_label1,vendor_labels[0],16); in ch_ioctl()
666 strncpy(vparams.cvp_label2,vendor_labels[1],16); in ch_ioctl()
670 strncpy(vparams.cvp_label3,vendor_labels[2],16); in ch_ioctl()
674 strncpy(vparams.cvp_label4,vendor_labels[3],16); in ch_ioctl()
702 struct changer_move mv; in ch_ioctl() local
704 if (copy_from_user(&mv, argp, sizeof (mv))) in ch_ioctl()
707 if (0 != ch_checkrange(ch, mv.cm_fromtype, mv.cm_fromunit) || in ch_ioctl()
708 0 != ch_checkrange(ch, mv.cm_totype, mv.cm_tounit )) { in ch_ioctl()
715 ch->firsts[mv.cm_fromtype] + mv.cm_fromunit, in ch_ioctl()
716 ch->firsts[mv.cm_totype] + mv.cm_tounit, in ch_ioctl()
717 mv.cm_flags & CM_INVERT); in ch_ioctl()
724 struct changer_exchange mv; in ch_ioctl() local
726 if (copy_from_user(&mv, argp, sizeof (mv))) in ch_ioctl()
729 if (0 != ch_checkrange(ch, mv.ce_srctype, mv.ce_srcunit ) || in ch_ioctl()
730 0 != ch_checkrange(ch, mv.ce_fdsttype, mv.ce_fdstunit) || in ch_ioctl()
731 0 != ch_checkrange(ch, mv.ce_sdsttype, mv.ce_sdstunit)) { in ch_ioctl()
739 ch->firsts[mv.ce_srctype] + mv.ce_srcunit, in ch_ioctl()
740 ch->firsts[mv.ce_fdsttype] + mv.ce_fdstunit, in ch_ioctl()
741 ch->firsts[mv.ce_sdsttype] + mv.ce_sdstunit, in ch_ioctl()
742 mv.ce_flags & CE_INVERT1, mv.ce_flags & CE_INVERT2); in ch_ioctl()