tag | line | file | source code |
reqbuf | 417 | drivers/block/ide-cd.c | struct atapi_request_sense *reqbuf, |
reqbuf | 425 | drivers/block/ide-cd.c | (reqbuf->sense_key == NOT_READY || reqbuf->sense_key == UNIT_ATTENTION)) |
reqbuf | 436 | drivers/block/ide-cd.c | printk (" Error code: 0x%02x\n", reqbuf->error_code); |
reqbuf | 438 | drivers/block/ide-cd.c | if (reqbuf->sense_key >= 0 && |
reqbuf | 439 | drivers/block/ide-cd.c | reqbuf->sense_key < ARY_LEN (sense_key_texts)) |
reqbuf | 440 | drivers/block/ide-cd.c | s = sense_key_texts[reqbuf->sense_key]; |
reqbuf | 444 | drivers/block/ide-cd.c | printk (" Sense key: 0x%02x - %s\n", reqbuf->sense_key, s); |
reqbuf | 446 | drivers/block/ide-cd.c | if (reqbuf->asc == 0x40) { |
reqbuf | 447 | drivers/block/ide-cd.c | sprintf (buf, "Diagnostic failure on component 0x%02x", reqbuf->ascq); |
reqbuf | 453 | drivers/block/ide-cd.c | int key = (reqbuf->asc << 8); |
reqbuf | 454 | drivers/block/ide-cd.c | if ( ! (reqbuf->ascq >= 0x80 && reqbuf->ascq <= 0xdd) ) |
reqbuf | 455 | drivers/block/ide-cd.c | key |= reqbuf->ascq; |
reqbuf | 475 | drivers/block/ide-cd.c | if (reqbuf->asc > 0x80) |
reqbuf | 482 | drivers/block/ide-cd.c | reqbuf->asc, reqbuf->ascq, s); |
reqbuf | 491 | drivers/block/ide-cd.c | if (reqbuf->sense_key == ILLEGAL_REQUEST && |
reqbuf | 492 | drivers/block/ide-cd.c | (reqbuf->sense_key_specific[0] & 0x80) != 0) |
reqbuf | 495 | drivers/block/ide-cd.c | (reqbuf->sense_key_specific[0] & 0x40) != 0 |
reqbuf | 498 | drivers/block/ide-cd.c | (reqbuf->sense_key_specific[1] << 8) + |
reqbuf | 499 | drivers/block/ide-cd.c | reqbuf->sense_key_specific[2]); |
reqbuf | 501 | drivers/block/ide-cd.c | if ((reqbuf->sense_key_specific[0] & 0x40) != 0) |
reqbuf | 503 | drivers/block/ide-cd.c | printk (" bit %d", reqbuf->sense_key_specific[0] & 0x07); |
reqbuf | 515 | drivers/block/ide-cd.c | if (reqbuf->sense_key == UNIT_ATTENTION || |
reqbuf | 516 | drivers/block/ide-cd.c | (reqbuf->sense_key == NOT_READY && (reqbuf->asc == 4 || |
reqbuf | 517 | drivers/block/ide-cd.c | reqbuf->asc == 0x3a))) |
reqbuf | 522 | drivers/block/ide-cd.c | reqbuf->error_code, reqbuf->sense_key, reqbuf->asc, reqbuf->ascq); |
reqbuf | 544 | drivers/block/ide-cd.c | struct atapi_request_sense *reqbuf, |
reqbuf | 553 | drivers/block/ide-cd.c | if (reqbuf == NULL) |
reqbuf | 554 | drivers/block/ide-cd.c | reqbuf = &drive->cdrom_info.sense_data; |
reqbuf | 565 | drivers/block/ide-cd.c | len = sizeof (*reqbuf) / 4; |
reqbuf | 570 | drivers/block/ide-cd.c | pc->buffer = (char *)reqbuf; |
reqbuf | 1223 | drivers/block/ide-cd.c | struct atapi_request_sense *reqbuf); |
reqbuf | 1401 | drivers/block/ide-cd.c | struct atapi_request_sense *reqbuf = pc->sense_data; |
reqbuf | 1403 | drivers/block/ide-cd.c | if (reqbuf->sense_key == UNIT_ATTENTION) |
reqbuf | 1409 | drivers/block/ide-cd.c | else if (reqbuf->sense_key == NOT_READY && reqbuf->asc == 4) |
reqbuf | 1523 | drivers/block/ide-cd.c | struct atapi_request_sense *reqbuf) |
reqbuf | 1529 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
reqbuf | 1539 | drivers/block/ide-cd.c | struct atapi_request_sense *reqbuf) |
reqbuf | 1545 | drivers/block/ide-cd.c | if (reqbuf == NULL) |
reqbuf | 1546 | drivers/block/ide-cd.c | reqbuf = &my_reqbuf; |
reqbuf | 1554 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
reqbuf | 1567 | drivers/block/ide-cd.c | if (reqbuf->sense_key == ILLEGAL_REQUEST && reqbuf->asc == 0x24) |
reqbuf | 1583 | drivers/block/ide-cd.c | struct atapi_request_sense *reqbuf) |
reqbuf | 1588 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
reqbuf | 1598 | drivers/block/ide-cd.c | struct atapi_request_sense *reqbuf) |
reqbuf | 1603 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
reqbuf | 1613 | drivers/block/ide-cd.c | struct atapi_request_sense *reqbuf) |
reqbuf | 1618 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
reqbuf | 1629 | drivers/block/ide-cd.c | struct atapi_request_sense *reqbuf) |
reqbuf | 1640 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
reqbuf | 1659 | drivers/block/ide-cd.c | struct atapi_request_sense *reqbuf) |
reqbuf | 1664 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
reqbuf | 1681 | drivers/block/ide-cd.c | struct atapi_request_sense *reqbuf) |
reqbuf | 1723 | drivers/block/ide-cd.c | reqbuf); |
reqbuf | 1743 | drivers/block/ide-cd.c | reqbuf); |
reqbuf | 1780 | drivers/block/ide-cd.c | reqbuf); |
reqbuf | 1794 | drivers/block/ide-cd.c | stat = cdrom_read_capacity (drive, &toc->capacity, reqbuf); |
reqbuf | 1811 | drivers/block/ide-cd.c | struct atapi_request_sense *reqbuf) |
reqbuf | 1816 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
reqbuf | 1833 | drivers/block/ide-cd.c | struct atapi_request_sense *reqbuf) |
reqbuf | 1838 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
reqbuf | 1852 | drivers/block/ide-cd.c | struct atapi_request_sense *reqbuf) |
reqbuf | 1857 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
reqbuf | 1872 | drivers/block/ide-cd.c | struct atapi_request_sense *reqbuf) |
reqbuf | 1877 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
reqbuf | 1895 | drivers/block/ide-cd.c | struct atapi_request_sense *reqbuf) |
reqbuf | 1900 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
reqbuf | 1923 | drivers/block/ide-cd.c | struct atapi_request_sense *reqbuf) |
reqbuf | 1938 | drivers/block/ide-cd.c | return cdrom_play_lba_range_msf (drive, lba_start, lba_end, reqbuf); |
reqbuf | 1945 | drivers/block/ide-cd.c | if (reqbuf == NULL) |
reqbuf | 1946 | drivers/block/ide-cd.c | reqbuf = &my_reqbuf; |
reqbuf | 1948 | drivers/block/ide-cd.c | stat = cdrom_play_lba_range_play12 (drive, lba_start, lba_end, reqbuf); |
reqbuf | 1953 | drivers/block/ide-cd.c | if (reqbuf->sense_key == ILLEGAL_REQUEST && reqbuf->asc == 0x20) |
reqbuf | 1961 | drivers/block/ide-cd.c | return cdrom_play_lba_range_msf (drive, lba_start, lba_end, reqbuf); |
reqbuf | 1975 | drivers/block/ide-cd.c | struct atapi_request_sense *reqbuf) |
reqbuf | 1980 | drivers/block/ide-cd.c | if (reqbuf == NULL) |
reqbuf | 1981 | drivers/block/ide-cd.c | reqbuf = &my_reqbuf; |
reqbuf | 1989 | drivers/block/ide-cd.c | stat = cdrom_play_lba_range_1 (drive, lba_start, lba_end, reqbuf); |
reqbuf | 1992 | drivers/block/ide-cd.c | !(reqbuf->sense_key == ILLEGAL_REQUEST && reqbuf->asc == 0x24)) |
reqbuf | 2006 | drivers/block/ide-cd.c | struct atapi_request_sense *reqbuf) |
reqbuf | 2012 | drivers/block/ide-cd.c | stat = cdrom_read_toc (drive, reqbuf); |
reqbuf | 2034 | drivers/block/ide-cd.c | struct atapi_request_sense *reqbuf) |
reqbuf | 2040 | drivers/block/ide-cd.c | if (reqbuf == NULL) |
reqbuf | 2041 | drivers/block/ide-cd.c | reqbuf = &my_reqbuf; |
reqbuf | 2044 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
reqbuf | 2070 | drivers/block/ide-cd.c | if (stat && reqbuf->sense_key == ILLEGAL_REQUEST && reqbuf->asc == 0x20 && |
reqbuf | 2076 | drivers/block/ide-cd.c | return cdrom_read_block (drive, format, lba, buf, buflen, reqbuf); |