Lines Matching refs:MODE_HEADER_LENGTH
2165 cmd[4] = NUMBER_RETRIES_PAGE_LENGTH + MODE_HEADER_LENGTH; in osst_set_retries()
2171 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 0] = NUMBER_RETRIES_PAGE | (1 << 7); in osst_set_retries()
2172 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 1] = 2; in osst_set_retries()
2173 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 2] = 4; in osst_set_retries()
2174 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 3] = retries; in osst_set_retries()
2717 cmd[4] = BLOCK_SIZE_PAGE_LENGTH + MODE_HEADER_LENGTH; in osst_configure_onstream()
2754 cmd[4] = BLOCK_SIZE_PAGE_LENGTH + MODE_HEADER_LENGTH; in osst_configure_onstream()
2780 cmd[4] = VENDOR_IDENT_PAGE_LENGTH + MODE_HEADER_LENGTH; in osst_configure_onstream()
2782 header->mode_data_length = VENDOR_IDENT_PAGE_LENGTH + MODE_HEADER_LENGTH - 1; in osst_configure_onstream()
2787 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 0] = VENDOR_IDENT_PAGE | (1 << 7); in osst_configure_onstream()
2788 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 1] = 6; in osst_configure_onstream()
2789 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 2] = 'L'; in osst_configure_onstream()
2790 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 3] = 'I'; in osst_configure_onstream()
2791 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 4] = 'N'; in osst_configure_onstream()
2792 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 5] = '4'; in osst_configure_onstream()
2793 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 6] = 0; in osst_configure_onstream()
2794 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 7] = 0; in osst_configure_onstream()
2801 (char *) ((STp->buffer)->b_data + MODE_HEADER_LENGTH + 2)); in osst_configure_onstream()
2809 cmd[4] = CAPABILITIES_PAGE_LENGTH + MODE_HEADER_LENGTH; in osst_configure_onstream()
2829 cmd[4] = TAPE_PARAMTR_PAGE_LENGTH + MODE_HEADER_LENGTH; in osst_configure_onstream()
4623 cmd[4] = VENDOR_IDENT_PAGE_LENGTH + MODE_HEADER_LENGTH; in __os_scsi_tape_open()
4628 STp->buffer->b_data[MODE_HEADER_LENGTH + 2] != 'L' || in __os_scsi_tape_open()
4629 STp->buffer->b_data[MODE_HEADER_LENGTH + 3] != 'I' || in __os_scsi_tape_open()
4630 STp->buffer->b_data[MODE_HEADER_LENGTH + 4] != 'N' || in __os_scsi_tape_open()
4631 STp->buffer->b_data[MODE_HEADER_LENGTH + 5] != '4' ) { in __os_scsi_tape_open()
4634 STp->buffer->b_data[MODE_HEADER_LENGTH + 2], in __os_scsi_tape_open()
4635 STp->buffer->b_data[MODE_HEADER_LENGTH + 3], in __os_scsi_tape_open()
4636 STp->buffer->b_data[MODE_HEADER_LENGTH + 4], in __os_scsi_tape_open()
4637 STp->buffer->b_data[MODE_HEADER_LENGTH + 5]); in __os_scsi_tape_open()
4674 cmd[4] = 4 + MODE_HEADER_LENGTH; in __os_scsi_tape_open()
4680 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 0] = 0x3f; in __os_scsi_tape_open()
4681 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 1] = 1; in __os_scsi_tape_open()
4682 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 2] = 2; in __os_scsi_tape_open()
4683 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 3] = 3; in __os_scsi_tape_open()