• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/dev/pms/RefTisa/tisa/sassata/sata/host/

Lines Matching refs:page

6372   bit8                    page;
6438 page = (bit8)((scsiCmnd->cdb[2]) & SCSI_MODE_SENSE6_PAGE_CODE_MASK);
6441 TI_DBG5(("satModeSense6: page=0x%x, tiDeviceHandle=%p tiIORequest=%p\n",
6442 page, tiDeviceHandle, tiIORequest));
6447 Based on page code value, returns a corresponding mode page
6451 switch(page)
6469 TI_DBG1(("satModeSense6 *** ERROR *** not supported page 0x%x tiDeviceHandle=%p tiIORequest=%p\n",
6470 page, tiDeviceHandle, tiIORequest));
6487 switch(page)
6505 TI_DBG1(("satModeSense6: default error page %d\n", page));
6509 if (page == MODESENSE_RETURN_ALL_PAGES)
6535 AllPages[12] = 0x01; /* page code */
6536 AllPages[13] = 0x0A; /* page length */
6548 AllPages[24] = 0x08; /* page code */
6549 AllPages[25] = 0x12; /* page length */
6587 AllPages[44] = 0x0A; /* page code */
6588 AllPages[45] = 0x0A; /* page length */
6607 AllPages[56] = 0x1C; /* page code */
6608 AllPages[57] = 0x0A; /* page length */
6629 else if (page == MODESENSE_CONTROL_PAGE)
6653 * Fill-up control mode page, SAT, Table 65
6655 Control[12] = 0x0A; /* page code */
6656 Control[13] = 0x0A; /* page length */
6678 else if (page == MODESENSE_READ_WRITE_ERROR_RECOVERY_PAGE)
6702 * Fill-up Read-Write Error Recovery mode page, SAT, Table 66
6704 RWErrorRecovery[12] = 0x01; /* page code */
6705 RWErrorRecovery[13] = 0x0A; /* page length */
6720 else if (page == MODESENSE_CACHING)
6724 if (requestLen == 4 && page == MODESENSE_CACHING)
6761 * Fill-up Caching mode page, SAT, Table 67
6764 Caching[12] = 0x08; /* page code */
6765 Caching[13] = 0x12; /* page length */
6806 else if (page == MODESENSE_INFORMATION_EXCEPTION_CONTROL_PAGE)
6830 * Fill-up informational-exceptions control mode page, SAT, Table 68
6832 InfoExceptionCtrl[12] = 0x1C; /* page code */
6833 InfoExceptionCtrl[13] = 0x0A; /* page length */
6857 TI_DBG1(("satModeSense6: Error page %d\n", page));
6931 bit8 page;
6934 bit8 PC; /* page control */
6998 page = (bit8)((scsiCmnd->cdb[2]) & SCSI_MODE_SENSE10_PAGE_CODE_MASK);
7000 TI_DBG5(("satModeSense10: page=0x%x, tiDeviceHandle=%p tiIORequest=%p\n",
7001 page, tiDeviceHandle, tiIORequest));
7005 Based on page code value, returns a corresponding mode page
7008 switch(page)
7026 TI_DBG1(("satModeSense10 *** ERROR *** not supported page 0x%x tiDeviceHandle=%p tiIORequest=%p\n",
7027 page, tiDeviceHandle, tiIORequest));
7044 switch(page)
7097 TI_DBG1(("satModeSense10: default error page %d\n", page));
7101 if (page == MODESENSE_RETURN_ALL_PAGES)
7180 AllPages[index+0] = 0x01; /* page code */
7181 AllPages[index+1] = 0x0A; /* page length */
7195 * Fill-up Caching mode page, SAT, Table 67
7198 AllPages[index+12] = 0x08; /* page code */
7199 AllPages[index+13] = 0x12; /* page length */
7238 * Fill-up control mode page, SAT, Table 65
7240 AllPages[index+32] = 0x0A; /* page code */
7241 AllPages[index+33] = 0x0A; /* page length */
7262 * Fill-up informational-exceptions control mode page, SAT, Table 68
7264 AllPages[index+44] = 0x1C; /* page code */
7265 AllPages[index+45] = 0x0A; /* page length */
7286 else if (page == MODESENSE_CONTROL_PAGE)
7365 * Fill-up control mode page, SAT, Table 65
7367 Control[index+0] = 0x0A; /* page code */
7368 Control[index+1] = 0x0A; /* page length */
7389 else if (page == MODESENSE_READ_WRITE_ERROR_RECOVERY_PAGE)
7468 * Fill-up Read-Write Error Recovery mode page, SAT, Table 66
7470 RWErrorRecovery[index+0] = 0x01; /* page code */
7471 RWErrorRecovery[index+1] = 0x0A; /* page length */
7485 else if (page == MODESENSE_CACHING)
7564 * Fill-up Caching mode page, SAT, Table 67
7567 Caching[index+0] = 0x08; /* page code */
7568 Caching[index+1] = 0x12; /* page length */
7607 else if (page == MODESENSE_INFORMATION_EXCEPTION_CONTROL_PAGE)
7686 * Fill-up informational-exceptions control mode page, SAT, Table 68
7688 InfoExceptionCtrl[index+0] = 0x1C; /* page code */
7689 InfoExceptionCtrl[index+1] = 0x0A; /* page length */
7713 TI_DBG1(("satModeSense10: Error page %d\n", page));
11666 /* add Self-Test results log page */
11672 /* only supported, no informational exception log, no Self-Test results log page */
11676 AllLogPages[0] = LOGSENSE_SUPPORTED_LOG_PAGES; /* page code */
11682 AllLogPages[2] = 0; /* page length */
11683 AllLogPages[3] = 1; /* page length */
11687 AllLogPages[2] = 0; /* page length */
11688 AllLogPages[3] = 2; /* page length */
11692 AllLogPages[2] = 0; /* page length */
11693 AllLogPages[3] = 3; /* page length */
11704 AllLogPages[0] = LOGSENSE_SELFTEST_RESULTS_PAGE; /* page code */
11706 /* page length = SELFTEST_RESULTS_LOG_PAGE_LENGTH - 1 - 3 = 400 = 0x190 */
11708 AllLogPages[3] = 0x90; /* page length */
11715 AllLogPages[0] = LOGSENSE_INFORMATION_EXCEPTIONS_PAGE; /* page code */
11717 AllLogPages[2] = 0; /* page length */
11718 AllLogPages[3] = INFORMATION_EXCEPTIONS_LOG_PAGE_LENGTH - 1 - 3; /* page length */
11762 /* add Self-Test results log page */
11768 /* only supported, no informational exception log, no Self-Test results log page */
11771 AllLogPages[0] = 0; /* page code */
11777 AllLogPages[2] = 0; /* page length */
11778 AllLogPages[3] = 1; /* page length */
11779 AllLogPages[4] = 0x00; /* supported page list */
11784 AllLogPages[2] = 0; /* page length */
11785 AllLogPages[3] = 2; /* page length */
11786 AllLogPages[4] = 0x00; /* supported page list */
11787 AllLogPages[5] = 0x10; /* supported page list */
11792 AllLogPages[2] = 0; /* page length */
11793 AllLogPages[3] = 3; /* page length */
11794 AllLogPages[4] = 0x00; /* supported page list */
11795 AllLogPages[5] = 0x10; /* supported page list */
11796 AllLogPages[6] = 0x2F; /* supported page list */
12093 PageCode = (bit8)(pLogPage[12] & 0x3F); /* page code and index is 4 + 8 */
12099 PageCode = (bit8)(pLogPage[4] & 0x3F); /* page code and index is 4 + 0 */
12130 switch (PageCode) /* page code */
12133 TI_DBG1(("satModeSelect6: Control mode page\n"));
12188 TI_DBG1(("satModeSelect6: Read-Write Error Recovery mode page\n"));
12231 TI_DBG5(("satModeSelect6: Caching mode page\n"));
12355 TI_DBG5(("satModeSelect6: Informational Exception Control mode page\n"));
12465 TI_DBG1(("satModeSelect6: Error unknown page code 0x%x\n", pLogPage[12]));
12712 PageCode = (bit8)(pLogPage[16] & 0x3F); /* page code and index is 8 + 8 */
12718 PageCode = (bit8)(pLogPage[24] & 0x3F); /* page code and index is 8 + 16 */
12726 PageCode = (bit8)(pLogPage[8] & 0x3F); /* page code and index is 8 + 0 */
12783 switch (PageCode) /* page code */
12786 TI_DBG5(("satModeSelect10: Control mode page\n"));
12841 TI_DBG5(("satModeSelect10: Read-Write Error Recovery mode page\n"));
12883 TI_DBG5(("satModeSelect10: Caching mode page\n"));
13007 TI_DBG5(("satModeSelect10: Informational Exception Control mode page\n"));
13118 TI_DBG1(("satModeSelect10: Error unknown page code 0x%x\n", pLogPage[12]));
17949 * For NCQ we need to issue READ LOG EXT command with log page 10h
17965 * 3. Prepare READ LOG EXT page 10h command. Set flag to indicate that
17968 * 4. When the device receives READ LOG EXT page 10h request all other
18009 * Allocate resource for READ LOG EXT page 10h
18048 /* Send READ LOG EXIT page 10h command */
18319 /*! \brief SAT implementation for SCSI INQUIRY page 0.
18321 * SAT implementation for SCSI INQUIRY page 0.
18341 pInquiry[1] = 0x00; /* page code */
18343 pInquiry[3] = 7 - 3; /* last index(in this case, 6) - 3; page length */
18345 /* supported vpd page list */
18346 pInquiry[4] = 0x00; /* page 0x00 supported */
18347 pInquiry[5] = 0x80; /* page 0x80 supported */
18348 pInquiry[6] = 0x83; /* page 0x83 supported */
18349 pInquiry[7] = 0x89; /* page 0x89 supported */
18355 /*! \brief SAT implementation for SCSI INQUIRY page 83.
18357 * SAT implementation for SCSI INQUIRY page 83.
18383 pInquiry[1] = 0x83; /* page code */
18398 pInquiry[3] = 12; /* 15-3; page length, no addition ID descriptor assumed*/
18426 pInquiry[3] = 72; /* 75 - 3; page length */
18509 /*! \brief SAT implementation for SCSI INQUIRY page 89.
18511 * SAT implementation for SCSI INQUIRY page 89.
18540 pInquiry[1] = 0x89; /* page code */
18632 /*! \brief SAT implementation for SCSI INQUIRY page 0.
18634 * SAT implementation for SCSI INQUIRY page 0.
18654 pInquiry[1] = 0x80; /* page code */
18656 pInquiry[3] = 0x14; /* page length */
18658 /* supported vpd page list */
18946 * one page size.