tag | line | file | source code |
cmd_buff | 572 | drivers/cdrom/sonycd535.c | Byte cmd_buff[2]; |
cmd_buff | 575 | drivers/cdrom/sonycd535.c | cmd_buff[0] = SONY535_SET_DRIVE_MODE; |
cmd_buff | 576 | drivers/cdrom/sonycd535.c | cmd_buff[1] = mode; |
cmd_buff | 577 | drivers/cdrom/sonycd535.c | return do_sony_cmd(cmd_buff, 2, status, ret_buff, 1, 1); |
cmd_buff | 597 | drivers/cdrom/sonycd535.c | Byte cmd_buff[7]; |
cmd_buff | 610 | drivers/cdrom/sonycd535.c | cmd_buff[0] = SONY535_SEEK_AND_READ_N_BLOCKS_1; |
cmd_buff | 612 | drivers/cdrom/sonycd535.c | cmd_buff[i + 1] = params[i]; |
cmd_buff | 614 | drivers/cdrom/sonycd535.c | outb(cmd_buff[i], command_reg); |
cmd_buff | 1078 | drivers/cdrom/sonycd535.c | Byte cmd_buff[10], params[10]; |
cmd_buff | 1104 | drivers/cdrom/sonycd535.c | cmd_buff[0] = SONY535_HOLD; |
cmd_buff | 1105 | drivers/cdrom/sonycd535.c | do_sony_cmd(cmd_buff, 1, status, NULL, 0, 0); |
cmd_buff | 1112 | drivers/cdrom/sonycd535.c | cmd_buff[0] = SONY535_SPIN_DOWN; |
cmd_buff | 1113 | drivers/cdrom/sonycd535.c | dsc_status = do_sony_cmd(cmd_buff, 1, status, NULL, 0, 0); |
cmd_buff | 1124 | drivers/cdrom/sonycd535.c | cmd_buff[0] = SONY535_HOLD; /* CDU-31 driver uses AUDIO_STOP, not pause */ |
cmd_buff | 1125 | drivers/cdrom/sonycd535.c | if (do_sony_cmd(cmd_buff, 1, status, NULL, 0, 0) != 0) { |
cmd_buff | 1150 | drivers/cdrom/sonycd535.c | cmd_buff[0] = SONY535_PLAY_AUDIO; |
cmd_buff | 1151 | drivers/cdrom/sonycd535.c | cmd_buff[1] = 0; /* play back starting at this address */ |
cmd_buff | 1152 | drivers/cdrom/sonycd535.c | cmd_buff[2] = cur_pos_msf[0]; |
cmd_buff | 1153 | drivers/cdrom/sonycd535.c | cmd_buff[3] = cur_pos_msf[1]; |
cmd_buff | 1154 | drivers/cdrom/sonycd535.c | cmd_buff[4] = cur_pos_msf[2]; |
cmd_buff | 1155 | drivers/cdrom/sonycd535.c | cmd_buff[5] = SONY535_PLAY_AUDIO; |
cmd_buff | 1156 | drivers/cdrom/sonycd535.c | cmd_buff[6] = 2; /* set ending address */ |
cmd_buff | 1157 | drivers/cdrom/sonycd535.c | cmd_buff[7] = final_pos_msf[0]; |
cmd_buff | 1158 | drivers/cdrom/sonycd535.c | cmd_buff[8] = final_pos_msf[1]; |
cmd_buff | 1159 | drivers/cdrom/sonycd535.c | cmd_buff[9] = final_pos_msf[2]; |
cmd_buff | 1160 | drivers/cdrom/sonycd535.c | if ((do_sony_cmd(cmd_buff, 5, status, NULL, 0, 0) != 0) || |
cmd_buff | 1161 | drivers/cdrom/sonycd535.c | (do_sony_cmd(cmd_buff + 5, 5, status, NULL, 0, 0) != 0)) { |
cmd_buff | 1180 | drivers/cdrom/sonycd535.c | cmd_buff[2 + i] = int_to_bcd(params[i]); |
cmd_buff | 1181 | drivers/cdrom/sonycd535.c | cmd_buff[7 + i] = int_to_bcd(params[i + 3]); |
cmd_buff | 1183 | drivers/cdrom/sonycd535.c | cmd_buff[0] = SONY535_PLAY_AUDIO; |
cmd_buff | 1184 | drivers/cdrom/sonycd535.c | cmd_buff[1] = 0; /* play back starting at this address */ |
cmd_buff | 1186 | drivers/cdrom/sonycd535.c | cmd_buff[5] = SONY535_PLAY_AUDIO; |
cmd_buff | 1187 | drivers/cdrom/sonycd535.c | cmd_buff[6] = 2; /* set ending address */ |
cmd_buff | 1189 | drivers/cdrom/sonycd535.c | if ((do_sony_cmd(cmd_buff, 5, status, NULL, 0, 0) != 0) || |
cmd_buff | 1190 | drivers/cdrom/sonycd535.c | (do_sony_cmd(cmd_buff + 5, 5, status, NULL, 0, 0) != 0)) { |
cmd_buff | 1196 | drivers/cdrom/sonycd535.c | final_pos_msf[0] = cmd_buff[7]; |
cmd_buff | 1197 | drivers/cdrom/sonycd535.c | final_pos_msf[1] = cmd_buff[8]; |
cmd_buff | 1198 | drivers/cdrom/sonycd535.c | final_pos_msf[2] = cmd_buff[9]; |
cmd_buff | 1312 | drivers/cdrom/sonycd535.c | cmd_buff[0] = SONY535_PLAY_AUDIO; |
cmd_buff | 1313 | drivers/cdrom/sonycd535.c | cmd_buff[1] = 0; /* play back starting at this address */ |
cmd_buff | 1314 | drivers/cdrom/sonycd535.c | cmd_buff[2] = params[1]; |
cmd_buff | 1315 | drivers/cdrom/sonycd535.c | cmd_buff[3] = params[2]; |
cmd_buff | 1316 | drivers/cdrom/sonycd535.c | cmd_buff[4] = params[3]; |
cmd_buff | 1317 | drivers/cdrom/sonycd535.c | cmd_buff[5] = SONY535_PLAY_AUDIO; |
cmd_buff | 1318 | drivers/cdrom/sonycd535.c | cmd_buff[6] = 2; /* set ending address */ |
cmd_buff | 1319 | drivers/cdrom/sonycd535.c | cmd_buff[7] = params[4]; |
cmd_buff | 1320 | drivers/cdrom/sonycd535.c | cmd_buff[8] = params[5]; |
cmd_buff | 1321 | drivers/cdrom/sonycd535.c | cmd_buff[9] = params[6]; |
cmd_buff | 1322 | drivers/cdrom/sonycd535.c | if ((do_sony_cmd(cmd_buff, 5, status, NULL, 0, 0) != 0) || |
cmd_buff | 1323 | drivers/cdrom/sonycd535.c | (do_sony_cmd(cmd_buff + 5, 5, status, NULL, 0, 0) != 0)) { |
cmd_buff | 1351 | drivers/cdrom/sonycd535.c | cmd_buff[0] = SONY535_SET_VOLUME; |
cmd_buff | 1352 | drivers/cdrom/sonycd535.c | cmd_buff[1] = volctrl.channel0; |
cmd_buff | 1353 | drivers/cdrom/sonycd535.c | cmd_buff[2] = volctrl.channel1; |
cmd_buff | 1354 | drivers/cdrom/sonycd535.c | if (do_sony_cmd(cmd_buff, 3, status, NULL, 0, 0) != 0) { |
cmd_buff | 1363 | drivers/cdrom/sonycd535.c | cmd_buff[0] = SONY535_STOP; |
cmd_buff | 1364 | drivers/cdrom/sonycd535.c | do_sony_cmd(cmd_buff, 1, status, NULL, 0, 0); |
cmd_buff | 1365 | drivers/cdrom/sonycd535.c | cmd_buff[0] = SONY535_SPIN_DOWN; |
cmd_buff | 1366 | drivers/cdrom/sonycd535.c | do_sony_cmd(cmd_buff, 1, status, NULL, 0, 0); |
cmd_buff | 1369 | drivers/cdrom/sonycd535.c | cmd_buff[0] = SONY535_EJECT_CADDY; |
cmd_buff | 1370 | drivers/cdrom/sonycd535.c | if (do_sony_cmd(cmd_buff, 1, status, NULL, 0, 0) != 0) { |
cmd_buff | 1392 | drivers/cdrom/sonycd535.c | Byte status[2], cmd_buff[2]; |
cmd_buff | 1411 | drivers/cdrom/sonycd535.c | cmd_buff[0] = SONY535_SPIN_DOWN; |
cmd_buff | 1412 | drivers/cdrom/sonycd535.c | do_sony_cmd(cmd_buff, 1, status, NULL, 0, 0); |
cmd_buff | 1424 | drivers/cdrom/sonycd535.c | cmd_buff[0] = SONY535_DISABLE_EJECT_BUTTON; |
cmd_buff | 1425 | drivers/cdrom/sonycd535.c | do_sony_cmd(cmd_buff, 1, status, NULL, 0, 0); |
cmd_buff | 1489 | drivers/cdrom/sonycd535.c | Byte cmd_buff[3]; |
cmd_buff | 1540 | drivers/cdrom/sonycd535.c | cmd_buff[0] = SONY535_INQUIRY; |
cmd_buff | 1541 | drivers/cdrom/sonycd535.c | if (do_sony_cmd(cmd_buff, 1, status, |
cmd_buff | 1575 | drivers/cdrom/sonycd535.c | cmd_buff[0] = SONY535_SET_DRIVE_MODE; |
cmd_buff | 1576 | drivers/cdrom/sonycd535.c | cmd_buff[1] = 0x0; /* default audio */ |
cmd_buff | 1577 | drivers/cdrom/sonycd535.c | if (do_sony_cmd(cmd_buff, 2, status, ret_buff, 1, 1) == 0) { |