tag | line | file | source code |
infobuf | 546 | drivers/cdrom/sbpcd.c | static u_char infobuf[20]; |
infobuf | 979 | drivers/cdrom/sbpcd.c | infobuf[i]=inb(CDi_info); |
infobuf | 984 | drivers/cdrom/sbpcd.c | infobuf[i++]=inb(CDi_info); |
infobuf | 990 | drivers/cdrom/sbpcd.c | sprintf(&msgbuf[j*3]," %02X",infobuf[j]); |
infobuf | 1060 | drivers/cdrom/sbpcd.c | if (i>=0) i=infobuf[0]; |
infobuf | 1183 | drivers/cdrom/sbpcd.c | D_S[d].error_byte=infobuf[i]; |
infobuf | 1185 | drivers/cdrom/sbpcd.c | i=sta2err(infobuf[i]); |
infobuf | 1236 | drivers/cdrom/sbpcd.c | infobuf[l++]=inb(CDi_data); |
infobuf | 1240 | drivers/cdrom/sbpcd.c | for (j=0;j<l;j++) sprintf(&msgbuf[j*3]," %02X",infobuf[j]); |
infobuf | 1266 | drivers/cdrom/sbpcd.c | infobuf[l++]=inb(CDi_info); |
infobuf | 1270 | drivers/cdrom/sbpcd.c | for (j=0;j<l;j++) sprintf(&msgbuf[j*3]," %02X",infobuf[j]); |
infobuf | 1273 | drivers/cdrom/sbpcd.c | if (infobuf[0]!=0x02) return (l); /* info length */ |
infobuf | 1285 | drivers/cdrom/sbpcd.c | D_S[d].error_state=infobuf[2]; |
infobuf | 1286 | drivers/cdrom/sbpcd.c | D_S[d].b3=infobuf[3]; |
infobuf | 1287 | drivers/cdrom/sbpcd.c | D_S[d].b4=infobuf[4]; |
infobuf | 1533 | drivers/cdrom/sbpcd.c | sprintf(&msgbuf[i*3], " %02X", infobuf[i]); |
infobuf | 1537 | drivers/cdrom/sbpcd.c | D_S[d].frmsiz=make16(infobuf[2],infobuf[3]); |
infobuf | 1538 | drivers/cdrom/sbpcd.c | D_S[d].f_XA=infobuf[4]; |
infobuf | 1541 | drivers/cdrom/sbpcd.c | D_S[d].mode_xb_6=infobuf[6]; |
infobuf | 1543 | drivers/cdrom/sbpcd.c | D_S[d].mode_xb_8=infobuf[8]; |
infobuf | 1548 | drivers/cdrom/sbpcd.c | sprintf(&msgbuf[i*3], " %02X", infobuf[i]); |
infobuf | 2120 | drivers/cdrom/sbpcd.c | sprintf(&msgbuf[i*3], " %02X", infobuf[i]); |
infobuf | 2125 | drivers/cdrom/sbpcd.c | if (infobuf[0]!=0) break; |
infobuf | 2133 | drivers/cdrom/sbpcd.c | if (famT_drive) D_S[d].SubQ_ctl_adr=infobuf[1]; |
infobuf | 2134 | drivers/cdrom/sbpcd.c | else D_S[d].SubQ_ctl_adr=swap_nibbles(infobuf[1]); |
infobuf | 2135 | drivers/cdrom/sbpcd.c | D_S[d].SubQ_trk=byt2bcd(infobuf[2]); |
infobuf | 2136 | drivers/cdrom/sbpcd.c | D_S[d].SubQ_pnt_idx=byt2bcd(infobuf[3]); |
infobuf | 2140 | drivers/cdrom/sbpcd.c | D_S[d].SubQ_run_tot=make32(make16(0,infobuf[i]),make16(infobuf[i+1],infobuf[i+2])); /* msf-bin */ |
infobuf | 2145 | drivers/cdrom/sbpcd.c | D_S[d].SubQ_run_trk=make32(make16(0,infobuf[i]),make16(infobuf[i+1],infobuf[i+2])); /* msf-bin */ |
infobuf | 2146 | drivers/cdrom/sbpcd.c | D_S[d].SubQ_whatisthis=infobuf[i+3]; |
infobuf | 2181 | drivers/cdrom/sbpcd.c | if (fam1_drive) D_S[d].sense_byte=infobuf[i++]; |
infobuf | 2184 | drivers/cdrom/sbpcd.c | if (infobuf[4]==0x01) D_S[d].xa_byte=0x20; |
infobuf | 2188 | drivers/cdrom/sbpcd.c | D_S[d].frame_size=make16(infobuf[i],infobuf[i+1]); |
infobuf | 2190 | drivers/cdrom/sbpcd.c | sprintf(&msgbuf[i*3], " %02X", infobuf[i]); |
infobuf | 2292 | drivers/cdrom/sbpcd.c | chan0=infobuf[1]&0x0F; |
infobuf | 2293 | drivers/cdrom/sbpcd.c | vol0=infobuf[2]; |
infobuf | 2294 | drivers/cdrom/sbpcd.c | chan1=infobuf[3]&0x0F; |
infobuf | 2295 | drivers/cdrom/sbpcd.c | vol1=infobuf[4]; |
infobuf | 2311 | drivers/cdrom/sbpcd.c | chan0=infobuf[1]; |
infobuf | 2312 | drivers/cdrom/sbpcd.c | vol0=infobuf[2]; |
infobuf | 2313 | drivers/cdrom/sbpcd.c | chan1=infobuf[3]; |
infobuf | 2314 | drivers/cdrom/sbpcd.c | vol1=infobuf[4]; |
infobuf | 2320 | drivers/cdrom/sbpcd.c | vol0=vol1=infobuf[1]; |
infobuf | 2321 | drivers/cdrom/sbpcd.c | switches=infobuf[0]; |
infobuf | 2329 | drivers/cdrom/sbpcd.c | vol0=vol1=infobuf[1]; |
infobuf | 2334 | drivers/cdrom/sbpcd.c | switches=infobuf[0]; |
infobuf | 2345 | drivers/cdrom/sbpcd.c | vol0=infobuf[0]; |
infobuf | 2357 | drivers/cdrom/sbpcd.c | D_S[d].volume_control=infobuf[7]; |
infobuf | 2416 | drivers/cdrom/sbpcd.c | if (fam1_drive) D_S[d].CDsize_frm=msf2blk(make32(make16(0,infobuf[0]),make16(infobuf[1],infobuf[2])))+CD_MSF_OFFSET; |
infobuf | 2417 | drivers/cdrom/sbpcd.c | else if (fam0_drive) D_S[d].CDsize_frm=make32(make16(0,infobuf[0]),make16(infobuf[1],infobuf[2])); |
infobuf | 2419 | drivers/cdrom/sbpcd.c | else if (fam2_drive) D_S[d].CDsize_frm=make32(make16(infobuf[0],infobuf[1]),make16(infobuf[2],infobuf[3])); |
infobuf | 2471 | drivers/cdrom/sbpcd.c | D_S[d].xa_byte=infobuf[0]; |
infobuf | 2474 | drivers/cdrom/sbpcd.c | D_S[d].first_session=infobuf[1]; |
infobuf | 2475 | drivers/cdrom/sbpcd.c | D_S[d].last_session=infobuf[2]; |
infobuf | 2476 | drivers/cdrom/sbpcd.c | D_S[d].n_first_track=infobuf[3]; |
infobuf | 2477 | drivers/cdrom/sbpcd.c | D_S[d].n_last_track=infobuf[4]; |
infobuf | 2481 | drivers/cdrom/sbpcd.c | D_S[d].lba_multi=msf2blk(make32(make16(0,infobuf[5]),make16(infobuf[6],infobuf[7]))); |
infobuf | 2499 | drivers/cdrom/sbpcd.c | D_S[d].msf_multi_n[count]=make32(make16(0,infobuf[5]),make16(infobuf[6],infobuf[7])); |
infobuf | 2512 | drivers/cdrom/sbpcd.c | D_S[d].size_msf=make32(make16(0,infobuf[2]),make16(infobuf[3],infobuf[4])); |
infobuf | 2518 | drivers/cdrom/sbpcd.c | D_S[d].size_msf=make32(make16(infobuf[8],infobuf[9]),make16(infobuf[10],infobuf[11])); |
infobuf | 2521 | drivers/cdrom/sbpcd.c | D_S[d].n_first_track=infobuf[2]; |
infobuf | 2522 | drivers/cdrom/sbpcd.c | D_S[d].n_last_track=infobuf[3]; |
infobuf | 2526 | drivers/cdrom/sbpcd.c | D_S[d].n_first_track=infobuf[1]; |
infobuf | 2527 | drivers/cdrom/sbpcd.c | D_S[d].n_last_track=infobuf[2]; |
infobuf | 2528 | drivers/cdrom/sbpcd.c | D_S[d].size_msf=make32(make16(0,infobuf[3]),make16(infobuf[4],infobuf[5])); |
infobuf | 2586 | drivers/cdrom/sbpcd.c | D_S[d].TocEnt_nixbyte=infobuf[0]; |
infobuf | 2594 | drivers/cdrom/sbpcd.c | D_S[d].TocEnt_ctl_adr=swap_nibbles(infobuf[i++]); |
infobuf | 2597 | drivers/cdrom/sbpcd.c | D_S[d].TocEnt_number=infobuf[i++]; |
infobuf | 2598 | drivers/cdrom/sbpcd.c | D_S[d].TocEnt_format=infobuf[i]; |
infobuf | 2605 | drivers/cdrom/sbpcd.c | D_S[d].TocEnt_address=make32(make16(0,infobuf[i]), |
infobuf | 2606 | drivers/cdrom/sbpcd.c | make16(infobuf[i+1],infobuf[i+2])); |
infobuf | 2732 | drivers/cdrom/sbpcd.c | checksum |= infobuf[i]; |
infobuf | 2734 | drivers/cdrom/sbpcd.c | sprintf(&msgbuf[i*3], " %02X", infobuf[i]); |
infobuf | 2745 | drivers/cdrom/sbpcd.c | if ((infobuf[i]&0x80)!=0) |
infobuf | 2747 | drivers/cdrom/sbpcd.c | convert_UPC(&infobuf[i]); |
infobuf | 2775 | drivers/cdrom/sbpcd.c | if ((infobuf[0]&0x80)!=0) |
infobuf | 2778 | drivers/cdrom/sbpcd.c | D_S[d].lba_multi=msf2blk(make32(make16(0,infobuf[1]), |
infobuf | 2779 | drivers/cdrom/sbpcd.c | make16(infobuf[2],infobuf[3]))); |
infobuf | 2791 | drivers/cdrom/sbpcd.c | D_S[d].lba_multi=msf2blk(make32(make16(0,infobuf[5]), |
infobuf | 2792 | drivers/cdrom/sbpcd.c | make16(infobuf[6],infobuf[7]))); |
infobuf | 2804 | drivers/cdrom/sbpcd.c | D_S[d].first_session=infobuf[2]; |
infobuf | 2805 | drivers/cdrom/sbpcd.c | D_S[d].last_session=infobuf[3]; |
infobuf | 2806 | drivers/cdrom/sbpcd.c | D_S[d].track_of_last_session=infobuf[6]; |
infobuf | 2810 | drivers/cdrom/sbpcd.c | D_S[d].lba_multi=msf2blk(make32(make16(0,infobuf[9]),make16(infobuf[10],infobuf[11]))); |
infobuf | 2814 | drivers/cdrom/sbpcd.c | sprintf(&msgbuf[i*3], " %02X", infobuf[i]); |
infobuf | 2933 | drivers/cdrom/sbpcd.c | sprintf(&msgbuf[i*3], " %02X", infobuf[i]); |
infobuf | 2937 | drivers/cdrom/sbpcd.c | sprintf(&msgbuf[i*3], " %c ", infobuf[i]); |
infobuf | 2961 | drivers/cdrom/sbpcd.c | for (i=0;i<12;i++) infobuf[i]=0; |
infobuf | 2969 | drivers/cdrom/sbpcd.c | for (i=0;i<12;i++) j+=infobuf[i]; |
infobuf | 2973 | drivers/cdrom/sbpcd.c | sprintf(&msgbuf[i*3], " %02X", infobuf[i]); |
infobuf | 2978 | drivers/cdrom/sbpcd.c | sprintf(&msgbuf[i*3], " %c ", infobuf[i]); |
infobuf | 2983 | drivers/cdrom/sbpcd.c | for (i=0;i<4;i++) if (infobuf[i]!=family1[i]) break; |
infobuf | 2990 | drivers/cdrom/sbpcd.c | D_S[d].drive_model[4]=infobuf[i++]; |
infobuf | 2991 | drivers/cdrom/sbpcd.c | D_S[d].drive_model[5]=infobuf[i++]; |
infobuf | 2997 | drivers/cdrom/sbpcd.c | for (i=0;i<8;i++) if (infobuf[i]!=family0[i]) break; |
infobuf | 3012 | drivers/cdrom/sbpcd.c | for (i=0;i<8;i++) if (infobuf[i]!=familyL[i]) break; |
infobuf | 3016 | drivers/cdrom/sbpcd.c | D_S[d].drive_model[j]=infobuf[j]; |
infobuf | 3033 | drivers/cdrom/sbpcd.c | for (i=0;i<12;i++) infobuf[i]=0; |
infobuf | 3047 | drivers/cdrom/sbpcd.c | for (i=0;i<12;i++) j+=infobuf[i]; |
infobuf | 3051 | drivers/cdrom/sbpcd.c | sprintf(&msgbuf[i*3], " %02X", infobuf[i]); |
infobuf | 3055 | drivers/cdrom/sbpcd.c | sprintf(&msgbuf[i*3], " %c ", infobuf[i]); |
infobuf | 3061 | drivers/cdrom/sbpcd.c | for (i=0;i<5;i++) if (infobuf[i]!=family2[i]) break; |
infobuf | 3069 | drivers/cdrom/sbpcd.c | D_S[d].drive_model[5]=infobuf[i++]; |
infobuf | 3070 | drivers/cdrom/sbpcd.c | D_S[d].drive_model[6]=infobuf[i++]; |
infobuf | 3115 | drivers/cdrom/sbpcd.c | for (i=0;i<12;i++) infobuf[i]=0; |
infobuf | 3118 | drivers/cdrom/sbpcd.c | for (i=1;i<6;i++) if (infobuf[i]!=familyT[i-1]) break; |
infobuf | 3136 | drivers/cdrom/sbpcd.c | for (j=0;j<4;j++) D_S[d].firmware_version[j]=infobuf[i+j]; |
infobuf | 3154 | drivers/cdrom/sbpcd.c | j=infobuf[4]; /* one-byte version??? - here: 0x15 */ |
infobuf | 3157 | drivers/cdrom/sbpcd.c | D_S[d].firmware_version[0]=infobuf[7]; |
infobuf | 3158 | drivers/cdrom/sbpcd.c | D_S[d].firmware_version[1]=infobuf[8]; |
infobuf | 3159 | drivers/cdrom/sbpcd.c | D_S[d].firmware_version[2]=infobuf[10]; |
infobuf | 3160 | drivers/cdrom/sbpcd.c | D_S[d].firmware_version[3]=infobuf[11]; |
infobuf | 4630 | drivers/cdrom/sbpcd.c | infobuf[l++]=inb(CDi_info); |
infobuf | 4634 | drivers/cdrom/sbpcd.c | if (infobuf[0]==0x00) success=1; |
infobuf | 4636 | drivers/cdrom/sbpcd.c | for (j=0;j<l;j++) sprintf(&msgbuf[j*3], " %02X", infobuf[j]); |
infobuf | 4640 | drivers/cdrom/sbpcd.c | if (infobuf[0]==0x02) |
infobuf | 4655 | drivers/cdrom/sbpcd.c | D_S[d].error_state=infobuf[2]; |
infobuf | 4656 | drivers/cdrom/sbpcd.c | D_S[d].b3=infobuf[3]; |
infobuf | 4657 | drivers/cdrom/sbpcd.c | D_S[d].b4=infobuf[4]; |