Lines Matching defs:RWErrorRecovery

6378   bit8                    RWErrorRecovery[MODE_SENSE6_READ_WRITE_ERROR_RECOVERY_PAGE_LEN];
6681 RWErrorRecovery[0] = MODE_SENSE6_READ_WRITE_ERROR_RECOVERY_PAGE_LEN - 1;
6682 RWErrorRecovery[1] = 0x00; /* default medium type (currently mounted medium type) */
6683 RWErrorRecovery[2] = 0x00; /* no write-protect, no support for DPO-FUA */
6684 RWErrorRecovery[3] = 0x08; /* block descriptor length */
6690 RWErrorRecovery[4] = 0x04; /* density-code : reserved for direct-access */
6692 RWErrorRecovery[5] = 0x00; /* unspecified */
6693 RWErrorRecovery[6] = 0x00; /* unspecified */
6694 RWErrorRecovery[7] = 0x00; /* unspecified */
6696 RWErrorRecovery[8] = 0x00; /* reserved */
6698 RWErrorRecovery[9] = 0x00;
6699 RWErrorRecovery[10] = 0x02; /* Block size is always 512 bytes */
6700 RWErrorRecovery[11] = 0x00;
6704 RWErrorRecovery[12] = 0x01; /* page code */
6705 RWErrorRecovery[13] = 0x0A; /* page length */
6706 RWErrorRecovery[14] = 0x40; /* ARRE is set */
6707 RWErrorRecovery[15] = 0x00;
6708 RWErrorRecovery[16] = 0x00;
6709 RWErrorRecovery[17] = 0x00;
6710 RWErrorRecovery[18] = 0x00;
6711 RWErrorRecovery[19] = 0x00;
6712 RWErrorRecovery[20] = 0x00;
6713 RWErrorRecovery[21] = 0x00;
6714 RWErrorRecovery[22] = 0x00;
6715 RWErrorRecovery[23] = 0x00;
6717 osti_memcpy(pModeSense, &RWErrorRecovery, lenRead);
6939 bit8 RWErrorRecovery[MODE_SENSE10_READ_WRITE_ERROR_RECOVERY_PAGE_LLBAA_LEN];
7392 RWErrorRecovery[0] = 0;
7393 RWErrorRecovery[1] = (bit8)(lenRead - 2);
7394 RWErrorRecovery[2] = 0x00; /* medium type: default medium type (currently mounted medium type) */
7395 RWErrorRecovery[3] = 0x00; /* device-specific param: no write-protect, no support for DPO-FUA */
7398 RWErrorRecovery[4] = 0x00; /* reserved and LONGLBA */
7399 RWErrorRecovery[4] = (bit8)(RWErrorRecovery[4] | 0x1); /* LONGLBA is set */
7403 RWErrorRecovery[4] = 0x00; /* reserved and LONGLBA: LONGLBA is not set */
7405 RWErrorRecovery[5] = 0x00; /* reserved */
7406 RWErrorRecovery[6] = 0x00; /* block descriptot length */
7409 RWErrorRecovery[7] = 0x10; /* block descriptor length: LONGLBA is set. So, length is 16 */
7413 RWErrorRecovery[7] = 0x08; /* block descriptor length: LONGLBA is NOT set. So, length is 8 */
7423 RWErrorRecovery[8] = 0x04; /* density-code : reserved for direct-access */
7425 RWErrorRecovery[9] = 0x00; /* unspecified */
7426 RWErrorRecovery[10] = 0x00; /* unspecified */
7427 RWErrorRecovery[11] = 0x00; /* unspecified */
7428 RWErrorRecovery[12] = 0x00; /* unspecified */
7429 RWErrorRecovery[13] = 0x00; /* unspecified */
7430 RWErrorRecovery[14] = 0x00; /* unspecified */
7431 RWErrorRecovery[15] = 0x00; /* unspecified */
7433 RWErrorRecovery[16] = 0x00; /* reserved */
7434 RWErrorRecovery[17] = 0x00; /* reserved */
7435 RWErrorRecovery[18] = 0x00; /* reserved */
7436 RWErrorRecovery[19] = 0x00; /* reserved */
7438 RWErrorRecovery[20] = 0x00;
7439 RWErrorRecovery[21] = 0x00;
7440 RWErrorRecovery[22] = 0x02; /* Block size is always 512 bytes */
7441 RWErrorRecovery[23] = 0x00;
7446 RWErrorRecovery[8] = 0x04; /* density-code : reserved for direct-access */
7448 RWErrorRecovery[9] = 0x00; /* unspecified */
7449 RWErrorRecovery[10] = 0x00; /* unspecified */
7450 RWErrorRecovery[11] = 0x00; /* unspecified */
7452 RWErrorRecovery[12] = 0x00; /* reserved */
7454 RWErrorRecovery[13] = 0x00;
7455 RWErrorRecovery[14] = 0x02; /* Block size is always 512 bytes */
7456 RWErrorRecovery[15] = 0x00;
7470 RWErrorRecovery[index+0] = 0x01; /* page code */
7471 RWErrorRecovery[index+1] = 0x0A; /* page length */
7472 RWErrorRecovery[index+2] = 0x40; /* ARRE is set */
7473 RWErrorRecovery[index+3] = 0x00;
7474 RWErrorRecovery[index+4] = 0x00;
7475 RWErrorRecovery[index+5] = 0x00;
7476 RWErrorRecovery[index+6] = 0x00;
7477 RWErrorRecovery[index+7] = 0x00;
7478 RWErrorRecovery[index+8] = 0x00;
7479 RWErrorRecovery[index+9] = 0x00;
7480 RWErrorRecovery[index+10] = 0x00;
7481 RWErrorRecovery[index+11] = 0x00;
7483 osti_memcpy(pModeSense, &RWErrorRecovery, lenRead);