Lines Matching refs:density
183 /* Internal ioctl to set both density (uppermost 8 bits) and blocksize (lower
895 STm->default_density != STp->density) {
899 arg = STp->density;
912 "and density %x.\n",
1102 STp->density = 0; /* Clear the erroneous "residue" */
1168 STp->density = (STp->buffer)->b_data[4];
1173 STp->density,
2906 case MTSETDENSITY: /* Set tape density */
2908 case SET_DENS_AND_BLK: /* Set density and block size */
2939 (STp->buffer)->b_data[4] = STp->density;
2959 "Setting density code to %x.\n",
2998 STp->density = arg >> MT_ST_DENSITY_SHIFT;
3002 STp->density = arg;
3770 ((STp->density << MT_ST_DENSITY_SHIFT) & MT_ST_DENSITY_MASK);
3798 if (STp->density == 1)
3800 else if (STp->density == 2)
3802 else if (STp->density == 3)
4313 tpnt->density = 0;
4341 STm->default_density = (-1); /* No forced density */