Lines Matching refs:mode

156 	SCMD_MODE_SELECT,	"mode select",
157 SCMD_MODE_SENSE, "mode sense",
165 * Strings for printing mode sense page control values
175 * Strings for printing the mode select options
348 * compliant. We handle mode sense/mode selects
359 * Reserve the scsi disk before performing mode select and
373 * no need to do anything. Otherwise, issue a mode
376 * parameter is not fixed, then issue a mode select to
521 * proceed to format using with mode selects.
537 * Format without any of the standard mode selects ignoring Grown defects list.
549 "mode selects and ignoring disk's Grown Defects list. The\n"
555 if (check("Retry format without mode selects and Grown Defects list")
634 * Issue a mode sense to determine the default parameters
696 * Check disk error recovery parameters via mode sense.
697 * Issue a mode select if we need to change something.
723 * If debugging, issue mode senses on the default and
736 * Issue a mode sense to determine the saved parameters
755 * us, we return to the drive in the mode select,
774 * We need to issue a mode select only if one or more
812 * If no changes required, do not issue a mode select
818 * We always want to set the Page Format bit for mode
820 * that it can save this page via the mode sense.
832 /* If failed, try not saving mode select params. */
843 * If debugging, issue mode senses on the current and
844 * saved values, so we can see the result of the mode
860 * Check disk disconnect/reconnect parameters via mode sense.
861 * Issue a mode select if we need to change something.
885 * If debugging, issue mode senses on the default and
898 * Issue a mode sense to determine the saved parameters
917 * us, we return to the drive in the mode select,
936 * We need to issue a mode select only if one or more
948 * If no changes required, do not issue a mode select
954 * We always want to set the Page Format bit for mode
956 * that it can save this page via the mode sense.
968 /* If failed, try not saving mode select params. */
978 * If debugging, issue mode senses on the current and
979 * saved values, so we can see the result of the mode
995 * Check disk format parameters via mode sense.
996 * Issue a mode select if we need to change something.
1023 * If debugging, issue mode senses on the default and
1036 * Issue a mode sense to determine the saved parameters
1055 * us, we return to the drive in the mode select,
1074 * We need to issue a mode select only if one or more
1141 * If no changes required, do not issue a mode select
1147 * Issue a mode select
1150 * We always want to set the Page Format bit for mode
1152 * that it can save this page via the mode sense.
1164 /* If failed, try not saving mode select params. */
1175 * If debugging, issue mode senses on the current and
1176 * saved values, so we can see the result of the mode
1192 * Check disk geometry parameters via mode sense.
1193 * Issue a mode select if we need to change something.
1218 * If debugging, issue mode senses on the default and
1231 * Issue a mode sense to determine the saved parameters
1250 * us, we return to the drive in the mode select,
1269 * We need to issue a mode select only if one or more
1295 * If no changes required, do not issue a mode select
1301 * Issue a mode select
1304 * We always want to set the Page Format bit for mode
1306 * that it can save this page via the mode sense.
1318 /* If failed, try not saving mode select params. */
1328 * If debugging, issue mode senses on the current and
1329 * saved values, so we can see the result of the mode
1345 * Check SCSI-2 disk cache parameters via mode sense.
1346 * Issue a mode select if we need to change something.
1377 * If debugging, issue mode senses on the default and
1390 * Issue a mode sense to determine the saved parameters
1409 * us, we return to the drive in the mode select,
1428 * We need to issue a mode select only if one or more
1440 * If no changes required, do not issue a mode select
1446 * Issue a mode select
1449 * We always want to set the Page Format bit for mode
1451 * that it can save this page via the mode sense.
1463 /* If failed, try not saving mode select params. */
1474 * If debugging, issue mode senses on the current and
1475 * saved values, so we can see the result of the mode
1491 * Check CCS disk cache parameters via mode sense.
1492 * Issue a mode select if we need to change something.
1528 * If debugging, issue mode senses on the default and
1541 * Issue a mode sense to determine the saved parameters
1560 * us, we return to the drive in the mode select,
1579 * We need to issue a mode select only if one or more
1583 tmp1 = page38->mode;
1590 (fixed->mode & cur_dtype->dtype_cache) ==
1592 flag |= (page38->mode != cur_dtype->dtype_cache);
1593 page38->mode = cur_dtype->dtype_cache;
1617 fmt_print("PAGE 38: cache mode= 0x%x (0x%x)\n",
1618 page38->mode, tmp1);
1637 * If no changes required, do not issue a mode select
1643 * Issue a mode select
1645 * We always want to set the Page Format bit for mode
1647 * that it can save this page via the mode sense.
1659 /* If failed, try not saving mode select params. */
1669 * If debugging, issue mode senses on the current and
1670 * saved values, so we can see the result of the mode
2156 * the mode select parameters, as defined in the SCSI-2
2197 * Execute a uscsi mode sense command.
2199 * Return the mode header/block descriptor and the actual
2202 * Whatever a device gives us in the mode header/block descriptor
2203 * will be returned to it upon subsequent mode selects.
2212 struct scsi_ms_header *header; /* mode header/block descriptor */
2229 * Allocate a buffer for the mode sense headers
2230 * and mode sense data itself.
2269 * return the same data to the drive when issuing a mode select.
2303 * Accept up to "page_size" bytes of mode sense data.
2340 * Execute a uscsi mode select command.
2345 int page_code; /* mode select page */
2349 struct scsi_ms_header *header; /* mode header/block descriptor */
2363 * Allocate a buffer for the mode select header and data
2373 * Build the mode select data out of the header and page data
2832 * Allocate memory for the mode sense buffer.
3113 * Return true if we support a particular mode page
3137 switch (chglist->mode) {
3153 * value, and note that a mode select