Lines Matching refs:what
44 char *what = NULL; in usb_stor_show_command() local
47 case TEST_UNIT_READY: what = "TEST_UNIT_READY"; break; in usb_stor_show_command()
48 case REZERO_UNIT: what = "REZERO_UNIT"; break; in usb_stor_show_command()
49 case REQUEST_SENSE: what = "REQUEST_SENSE"; break; in usb_stor_show_command()
50 case FORMAT_UNIT: what = "FORMAT_UNIT"; break; in usb_stor_show_command()
51 case READ_BLOCK_LIMITS: what = "READ_BLOCK_LIMITS"; break; in usb_stor_show_command()
52 case REASSIGN_BLOCKS: what = "REASSIGN_BLOCKS"; break; in usb_stor_show_command()
53 case READ_6: what = "READ_6"; break; in usb_stor_show_command()
54 case WRITE_6: what = "WRITE_6"; break; in usb_stor_show_command()
55 case SEEK_6: what = "SEEK_6"; break; in usb_stor_show_command()
56 case READ_REVERSE: what = "READ_REVERSE"; break; in usb_stor_show_command()
57 case WRITE_FILEMARKS: what = "WRITE_FILEMARKS"; break; in usb_stor_show_command()
58 case SPACE: what = "SPACE"; break; in usb_stor_show_command()
59 case INQUIRY: what = "INQUIRY"; break; in usb_stor_show_command()
60 case RECOVER_BUFFERED_DATA: what = "RECOVER_BUFFERED_DATA"; break; in usb_stor_show_command()
61 case MODE_SELECT: what = "MODE_SELECT"; break; in usb_stor_show_command()
62 case RESERVE: what = "RESERVE"; break; in usb_stor_show_command()
63 case RELEASE: what = "RELEASE"; break; in usb_stor_show_command()
64 case COPY: what = "COPY"; break; in usb_stor_show_command()
65 case ERASE: what = "ERASE"; break; in usb_stor_show_command()
66 case MODE_SENSE: what = "MODE_SENSE"; break; in usb_stor_show_command()
67 case START_STOP: what = "START_STOP"; break; in usb_stor_show_command()
68 case RECEIVE_DIAGNOSTIC: what = "RECEIVE_DIAGNOSTIC"; break; in usb_stor_show_command()
69 case SEND_DIAGNOSTIC: what = "SEND_DIAGNOSTIC"; break; in usb_stor_show_command()
70 case ALLOW_MEDIUM_REMOVAL: what = "ALLOW_MEDIUM_REMOVAL"; break; in usb_stor_show_command()
71 case SET_WINDOW: what = "SET_WINDOW"; break; in usb_stor_show_command()
72 case READ_CAPACITY: what = "READ_CAPACITY"; break; in usb_stor_show_command()
73 case READ_10: what = "READ_10"; break; in usb_stor_show_command()
74 case WRITE_10: what = "WRITE_10"; break; in usb_stor_show_command()
75 case SEEK_10: what = "SEEK_10"; break; in usb_stor_show_command()
76 case WRITE_VERIFY: what = "WRITE_VERIFY"; break; in usb_stor_show_command()
77 case VERIFY: what = "VERIFY"; break; in usb_stor_show_command()
78 case SEARCH_HIGH: what = "SEARCH_HIGH"; break; in usb_stor_show_command()
79 case SEARCH_EQUAL: what = "SEARCH_EQUAL"; break; in usb_stor_show_command()
80 case SEARCH_LOW: what = "SEARCH_LOW"; break; in usb_stor_show_command()
81 case SET_LIMITS: what = "SET_LIMITS"; break; in usb_stor_show_command()
82 case READ_POSITION: what = "READ_POSITION"; break; in usb_stor_show_command()
83 case SYNCHRONIZE_CACHE: what = "SYNCHRONIZE_CACHE"; break; in usb_stor_show_command()
84 case LOCK_UNLOCK_CACHE: what = "LOCK_UNLOCK_CACHE"; break; in usb_stor_show_command()
85 case READ_DEFECT_DATA: what = "READ_DEFECT_DATA"; break; in usb_stor_show_command()
86 case MEDIUM_SCAN: what = "MEDIUM_SCAN"; break; in usb_stor_show_command()
87 case COMPARE: what = "COMPARE"; break; in usb_stor_show_command()
88 case COPY_VERIFY: what = "COPY_VERIFY"; break; in usb_stor_show_command()
89 case WRITE_BUFFER: what = "WRITE_BUFFER"; break; in usb_stor_show_command()
90 case READ_BUFFER: what = "READ_BUFFER"; break; in usb_stor_show_command()
91 case UPDATE_BLOCK: what = "UPDATE_BLOCK"; break; in usb_stor_show_command()
92 case READ_LONG: what = "READ_LONG"; break; in usb_stor_show_command()
93 case WRITE_LONG: what = "WRITE_LONG"; break; in usb_stor_show_command()
94 case CHANGE_DEFINITION: what = "CHANGE_DEFINITION"; break; in usb_stor_show_command()
95 case WRITE_SAME: what = "WRITE_SAME"; break; in usb_stor_show_command()
96 case GPCMD_READ_SUBCHANNEL: what = "READ SUBCHANNEL"; break; in usb_stor_show_command()
97 case READ_TOC: what = "READ_TOC"; break; in usb_stor_show_command()
98 case GPCMD_READ_HEADER: what = "READ HEADER"; break; in usb_stor_show_command()
99 case GPCMD_PLAY_AUDIO_10: what = "PLAY AUDIO (10)"; break; in usb_stor_show_command()
100 case GPCMD_PLAY_AUDIO_MSF: what = "PLAY AUDIO MSF"; break; in usb_stor_show_command()
102 what = "GET EVENT/STATUS NOTIFICATION"; break; in usb_stor_show_command()
103 case GPCMD_PAUSE_RESUME: what = "PAUSE/RESUME"; break; in usb_stor_show_command()
104 case LOG_SELECT: what = "LOG_SELECT"; break; in usb_stor_show_command()
105 case LOG_SENSE: what = "LOG_SENSE"; break; in usb_stor_show_command()
106 case GPCMD_STOP_PLAY_SCAN: what = "STOP PLAY/SCAN"; break; in usb_stor_show_command()
107 case GPCMD_READ_DISC_INFO: what = "READ DISC INFORMATION"; break; in usb_stor_show_command()
109 what = "READ TRACK INFORMATION"; break; in usb_stor_show_command()
110 case GPCMD_RESERVE_RZONE_TRACK: what = "RESERVE TRACK"; break; in usb_stor_show_command()
111 case GPCMD_SEND_OPC: what = "SEND OPC"; break; in usb_stor_show_command()
112 case MODE_SELECT_10: what = "MODE_SELECT_10"; break; in usb_stor_show_command()
113 case GPCMD_REPAIR_RZONE_TRACK: what = "REPAIR TRACK"; break; in usb_stor_show_command()
114 case 0x59: what = "READ MASTER CUE"; break; in usb_stor_show_command()
115 case MODE_SENSE_10: what = "MODE_SENSE_10"; break; in usb_stor_show_command()
116 case GPCMD_CLOSE_TRACK: what = "CLOSE TRACK/SESSION"; break; in usb_stor_show_command()
117 case 0x5C: what = "READ BUFFER CAPACITY"; break; in usb_stor_show_command()
118 case 0x5D: what = "SEND CUE SHEET"; break; in usb_stor_show_command()
119 case GPCMD_BLANK: what = "BLANK"; break; in usb_stor_show_command()
120 case REPORT_LUNS: what = "REPORT LUNS"; break; in usb_stor_show_command()
121 case MOVE_MEDIUM: what = "MOVE_MEDIUM or PLAY AUDIO (12)"; break; in usb_stor_show_command()
122 case READ_12: what = "READ_12"; break; in usb_stor_show_command()
123 case WRITE_12: what = "WRITE_12"; break; in usb_stor_show_command()
124 case WRITE_VERIFY_12: what = "WRITE_VERIFY_12"; break; in usb_stor_show_command()
125 case SEARCH_HIGH_12: what = "SEARCH_HIGH_12"; break; in usb_stor_show_command()
126 case SEARCH_EQUAL_12: what = "SEARCH_EQUAL_12"; break; in usb_stor_show_command()
127 case SEARCH_LOW_12: what = "SEARCH_LOW_12"; break; in usb_stor_show_command()
128 case SEND_VOLUME_TAG: what = "SEND_VOLUME_TAG"; break; in usb_stor_show_command()
129 case READ_ELEMENT_STATUS: what = "READ_ELEMENT_STATUS"; break; in usb_stor_show_command()
130 case GPCMD_READ_CD_MSF: what = "READ CD MSF"; break; in usb_stor_show_command()
131 case GPCMD_SCAN: what = "SCAN"; break; in usb_stor_show_command()
132 case GPCMD_SET_SPEED: what = "SET CD SPEED"; break; in usb_stor_show_command()
133 case GPCMD_MECHANISM_STATUS: what = "MECHANISM STATUS"; break; in usb_stor_show_command()
134 case GPCMD_READ_CD: what = "READ CD"; break; in usb_stor_show_command()
135 case 0xE1: what = "WRITE CONTINUE"; break; in usb_stor_show_command()
136 case WRITE_LONG_2: what = "WRITE_LONG_2"; break; in usb_stor_show_command()
137 default: what = "(unknown command)"; break; in usb_stor_show_command()
139 usb_stor_dbg(us, "Command %s (%d bytes)\n", what, srb->cmd_len); in usb_stor_show_command()
149 const char *what, *keystr, *fmt; in usb_stor_show_sense() local
152 what = scsi_extd_sense_format(asc, ascq, &fmt); in usb_stor_show_sense()
156 if (what == NULL) in usb_stor_show_sense()
157 what = "(unknown ASC/ASCQ)"; in usb_stor_show_sense()
160 usb_stor_dbg(us, "%s: %s (%s%x)\n", keystr, what, fmt, ascq); in usb_stor_show_sense()
162 usb_stor_dbg(us, "%s: %s\n", keystr, what); in usb_stor_show_sense()