Lines Matching defs:density
349 /* default density offsets in the table above */
1138 * For default devices set the density to the
1139 * preferred default density for this device.
1888 * all the density codes are the same..
1974 -1, 0, UINT8_MAX, "density code",
1975 -1, 0, 3, "default density",
2055 "%s density[%d] value too low: value ="
2060 "%s density[%d] value too high: value ="
2065 "%s density[%d] value = 0x%X\n",
2458 * entries by available density support length. If multiple
2467 "st_get_conf_from_tape_drive(): fail to report density.\n");
2483 "fail to report density.\n");
2512 * supports only the four highest densities. Since density code
2514 * last entry of density support data block descriptor.
3311 * Make sure the density can be selected correctly.
3322 "st_tape_init: EIO can't determine density\n");
3329 * density so that a later read at BOT comes along
3330 * does the right density determination.
3339 * will get/set the right density, etc..
4241 * determine/set the correct density. We also may have
4534 * density device has been opened
4636 * density device has been opened
4736 * it determines whether we know the density and if not will
4761 * If we don't yet know the density of the tape we have inserted,
4768 * the tape density yet, we have to do so now...
4774 "density\n");
5839 "determine density");
5877 "density/wfm failed");
5895 "density/wfm failed");
6016 "st_do_mtioctop : EIO:MTEOM check density/wfm "
7068 switch (un->un_mspl->density) {
7072 * default density, cannot determine any other
7231 * If we're past BOT, density is determined already.
7241 * XXX: change density past BOT.
7255 * If we're going to be writing, we set the density
7267 * If density is known already,
7283 * Try to determine density. We do this by attempting to read the
7284 * first record off the tape, cycling through the available density
7304 * only one density and there is no point in attempting
7307 * Since most modern drives auto detect the density
7337 * Start at the specified density
7345 * If we've done this density before,
7353 "trying density 0x%x\n", dens);
7389 "st_set_density(un = 0x%p): density = 0x%x\n", (void*)un,
7394 un->un_mspl->density = un->un_dp->densities[un->un_curdens];
7398 * If auto density override is not set, Use mode select
7399 * to set density and compression.
7406 * If auto density and mode select compression are set,
7407 * This is a drive with one density code but compression
7409 * Set compression but no need to set density.
7419 /* If sucessful set density and/or compression, mark density known */
7916 * special density codes. Return ENOTTY so caller
7928 * If this the compression density or
8055 * already set since need to set density code
8202 "st_modeselect(dev = 0x%lx): density = 0x%x\n",
8203 un->un_dev, un->un_mspl->density);
8228 * If configured to use a specific density code for a media type.
8243 * to exceed the density selected by the open.
8255 "found media 0x%X using density 0x%X\n",
8258 un->un_mspl->density = un->un_dp->densities[best];
8260 /* Otherwise set density based on minor node opened */
8261 un->un_mspl->density =
8265 un->un_mspl->density = un->un_dp->densities[un->un_curdens];
8288 /* need to set the density code */
11409 * the density codes set in the modesense
12370 const char density[] = { 'l', 'm', 'h', 'c' };
12383 name[nprt] = density[(minor & MT_DENSITY_MASK) >> 3];
13942 switch (un->un_mspl->density) {
13962 un->un_mspl->density);
15312 "st_mtfsf_ioctl: EIO : MTFSF density/wfm failed");
16017 "st_ioctl : EIO : MTBSR : can't set density or wfm");