Lines Matching +full:5 +full:mv

255 	cmd[1] = ((ch->device->lun & 0x7) << 5) |  in ch_read_element_status()
260 cmd[5] = 1; in ch_read_element_status()
292 cmd[1] = (ch->device->lun & 0x7) << 5; in ch_init_elem()
312 cmd[1] = (ch->device->lun & 0x7) << 5; in ch_readconfig()
362 i+5,i+1,vendor_firsts[i],vendor_counts[i], in ch_readconfig()
437 cmd[1] = (ch->device->lun & 0x7) << 5; in ch_position()
441 cmd[5] = elem & 0xff; in ch_position()
456 cmd[1] = (ch->device->lun & 0x7) << 5; in ch_move()
460 cmd[5] = src & 0xff; in ch_move()
479 cmd[1] = (ch->device->lun & 0x7) << 5; in ch_exchange()
483 cmd[5] = src & 0xff; in ch_exchange()
527 cmd[1] = ((ch->device->lun & 0x7) << 5) | in ch_set_voltag()
531 cmd[5] = clear in ch_set_voltag()
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()
804 ch_cmd[1] = ((ch->device->lun & 0x7) << 5) | in ch_ioctl()
809 ch_cmd[5] = 1; in ch_ioctl()