tag | line | file | source code |
infobuf | 539 | drivers/block/sbpcd.c | static u_char infobuf[20]; |
infobuf | 1015 | drivers/block/sbpcd.c | infobuf[i]=inb(CDi_info); |
infobuf | 1033 | drivers/block/sbpcd.c | infobuf[i]=inb(CDi_info); |
infobuf | 1039 | drivers/block/sbpcd.c | infobuf[i++]=inb(CDi_info); |
infobuf | 1045 | drivers/block/sbpcd.c | sprintf(&msgbuf[j*3]," %02X",infobuf[j]); |
infobuf | 1115 | drivers/block/sbpcd.c | if (i>=0) i=infobuf[0]; |
infobuf | 1263 | drivers/block/sbpcd.c | D_S[d].error_byte=infobuf[i]; |
infobuf | 1265 | drivers/block/sbpcd.c | i=sta2err(infobuf[i]); |
infobuf | 1316 | drivers/block/sbpcd.c | infobuf[l++]=inb(CDi_data); |
infobuf | 1320 | drivers/block/sbpcd.c | for (j=0;j<l;j++) sprintf(&msgbuf[j*3]," %02X",infobuf[j]); |
infobuf | 1346 | drivers/block/sbpcd.c | infobuf[l++]=inb(CDi_info); |
infobuf | 1350 | drivers/block/sbpcd.c | for (j=0;j<l;j++) sprintf(&msgbuf[j*3]," %02X",infobuf[j]); |
infobuf | 1353 | drivers/block/sbpcd.c | if (infobuf[0]!=0x02) return (l); /* info length */ |
infobuf | 1365 | drivers/block/sbpcd.c | D_S[d].error_state=infobuf[2]; |
infobuf | 1366 | drivers/block/sbpcd.c | D_S[d].b3=infobuf[3]; |
infobuf | 1367 | drivers/block/sbpcd.c | D_S[d].b4=infobuf[4]; |
infobuf | 1613 | drivers/block/sbpcd.c | sprintf(&msgbuf[i*3], " %02X", infobuf[i]); |
infobuf | 1617 | drivers/block/sbpcd.c | D_S[d].frmsiz=make16(infobuf[2],infobuf[3]); |
infobuf | 1618 | drivers/block/sbpcd.c | D_S[d].f_XA=infobuf[4]; |
infobuf | 1621 | drivers/block/sbpcd.c | D_S[d].mode_xb_6=infobuf[6]; |
infobuf | 1623 | drivers/block/sbpcd.c | D_S[d].mode_xb_8=infobuf[8]; |
infobuf | 1628 | drivers/block/sbpcd.c | sprintf(&msgbuf[i*3], " %02X", infobuf[i]); |
infobuf | 2200 | drivers/block/sbpcd.c | sprintf(&msgbuf[i*3], " %02X", infobuf[i]); |
infobuf | 2205 | drivers/block/sbpcd.c | if (infobuf[0]!=0) break; |
infobuf | 2213 | drivers/block/sbpcd.c | if (famT_drive) D_S[d].SubQ_ctl_adr=infobuf[1]; |
infobuf | 2214 | drivers/block/sbpcd.c | else D_S[d].SubQ_ctl_adr=swap_nibbles(infobuf[1]); |
infobuf | 2215 | drivers/block/sbpcd.c | D_S[d].SubQ_trk=byt2bcd(infobuf[2]); |
infobuf | 2216 | drivers/block/sbpcd.c | D_S[d].SubQ_pnt_idx=byt2bcd(infobuf[3]); |
infobuf | 2220 | drivers/block/sbpcd.c | D_S[d].SubQ_run_tot=make32(make16(0,infobuf[i]),make16(infobuf[i+1],infobuf[i+2])); /* msf-bin */ |
infobuf | 2225 | drivers/block/sbpcd.c | D_S[d].SubQ_run_trk=make32(make16(0,infobuf[i]),make16(infobuf[i+1],infobuf[i+2])); /* msf-bin */ |
infobuf | 2226 | drivers/block/sbpcd.c | D_S[d].SubQ_whatisthis=infobuf[i+3]; |
infobuf | 2260 | drivers/block/sbpcd.c | if (fam1_drive) D_S[d].sense_byte=infobuf[i++]; |
infobuf | 2265 | drivers/block/sbpcd.c | if (infobuf[4]==0x01) D_S[d].xa_byte=0x20; /* wrong!!!! */ |
infobuf | 2268 | drivers/block/sbpcd.c | D_S[d].frame_size=make16(infobuf[i],infobuf[i+1]); |
infobuf | 2270 | drivers/block/sbpcd.c | sprintf(&msgbuf[i*3], " %02X", infobuf[i]); |
infobuf | 2372 | drivers/block/sbpcd.c | chan0=infobuf[1]&0x0F; |
infobuf | 2373 | drivers/block/sbpcd.c | vol0=infobuf[2]; |
infobuf | 2374 | drivers/block/sbpcd.c | chan1=infobuf[3]&0x0F; |
infobuf | 2375 | drivers/block/sbpcd.c | vol1=infobuf[4]; |
infobuf | 2391 | drivers/block/sbpcd.c | chan0=infobuf[1]; |
infobuf | 2392 | drivers/block/sbpcd.c | vol0=infobuf[2]; |
infobuf | 2393 | drivers/block/sbpcd.c | chan1=infobuf[3]; |
infobuf | 2394 | drivers/block/sbpcd.c | vol1=infobuf[4]; |
infobuf | 2400 | drivers/block/sbpcd.c | vol0=vol1=infobuf[1]; |
infobuf | 2401 | drivers/block/sbpcd.c | switches=infobuf[0]; |
infobuf | 2409 | drivers/block/sbpcd.c | vol0=vol1=infobuf[1]; |
infobuf | 2414 | drivers/block/sbpcd.c | switches=infobuf[0]; |
infobuf | 2425 | drivers/block/sbpcd.c | vol0=infobuf[0]; |
infobuf | 2437 | drivers/block/sbpcd.c | D_S[d].volume_control=infobuf[7]; |
infobuf | 2501 | drivers/block/sbpcd.c | if (fam1_drive) D_S[d].CDsize_frm=msf2blk(make32(make16(0,infobuf[0]),make16(infobuf[1],infobuf[2])))+CD_BLOCK_OFFSET; |
infobuf | 2502 | drivers/block/sbpcd.c | else if (fam0_drive) D_S[d].CDsize_frm=make32(make16(0,infobuf[0]),make16(infobuf[1],infobuf[2])); |
infobuf | 2503 | drivers/block/sbpcd.c | else if (fam2_drive) D_S[d].CDsize_frm=make32(make16(infobuf[0],infobuf[1]),make16(infobuf[2],infobuf[3])); |
infobuf | 2506 | drivers/block/sbpcd.c | D_S[d].CDsize_frm=make32(make16(infobuf[8],infobuf[9]),make16(infobuf[10],infobuf[11])); |
infobuf | 2507 | drivers/block/sbpcd.c | D_S[d].n_first_track=infobuf[2]; |
infobuf | 2508 | drivers/block/sbpcd.c | D_S[d].n_last_track=infobuf[3]; |
infobuf | 2561 | drivers/block/sbpcd.c | D_S[d].xa_byte=infobuf[0]; |
infobuf | 2564 | drivers/block/sbpcd.c | D_S[d].first_session=infobuf[1]; |
infobuf | 2565 | drivers/block/sbpcd.c | D_S[d].last_session=infobuf[2]; |
infobuf | 2566 | drivers/block/sbpcd.c | D_S[d].n_first_track=infobuf[3]; |
infobuf | 2567 | drivers/block/sbpcd.c | D_S[d].n_last_track=infobuf[4]; |
infobuf | 2571 | drivers/block/sbpcd.c | D_S[d].lba_multi=msf2blk(make32(make16(0,infobuf[5]),make16(infobuf[6],infobuf[7]))); |
infobuf | 2589 | drivers/block/sbpcd.c | D_S[d].msf_multi_n[count]=make32(make16(0,infobuf[5]),make16(infobuf[6],infobuf[7])); |
infobuf | 2602 | drivers/block/sbpcd.c | D_S[d].size_msf=make32(make16(0,infobuf[2]),make16(infobuf[3],infobuf[4])); |
infobuf | 2607 | drivers/block/sbpcd.c | D_S[d].size_msf=make32(make16(infobuf[8],infobuf[9]),make16(infobuf[10],infobuf[11])); |
infobuf | 2609 | drivers/block/sbpcd.c | D_S[d].n_first_track=infobuf[2]; |
infobuf | 2610 | drivers/block/sbpcd.c | D_S[d].n_last_track=infobuf[3]; |
infobuf | 2614 | drivers/block/sbpcd.c | D_S[d].n_first_track=infobuf[1]; |
infobuf | 2615 | drivers/block/sbpcd.c | D_S[d].n_last_track=infobuf[2]; |
infobuf | 2616 | drivers/block/sbpcd.c | D_S[d].size_msf=make32(make16(0,infobuf[3]),make16(infobuf[4],infobuf[5])); |
infobuf | 2674 | drivers/block/sbpcd.c | D_S[d].TocEnt_nixbyte=infobuf[0]; |
infobuf | 2682 | drivers/block/sbpcd.c | D_S[d].TocEnt_ctl_adr=swap_nibbles(infobuf[i++]); |
infobuf | 2685 | drivers/block/sbpcd.c | D_S[d].TocEnt_number=infobuf[i++]; |
infobuf | 2686 | drivers/block/sbpcd.c | D_S[d].TocEnt_format=infobuf[i]; |
infobuf | 2693 | drivers/block/sbpcd.c | D_S[d].TocEnt_address=make32(make16(0,infobuf[i]), |
infobuf | 2694 | drivers/block/sbpcd.c | make16(infobuf[i+1],infobuf[i+2])); |
infobuf | 2820 | drivers/block/sbpcd.c | checksum |= infobuf[i]; |
infobuf | 2822 | drivers/block/sbpcd.c | sprintf(&msgbuf[i*3], " %02X", infobuf[i]); |
infobuf | 2833 | drivers/block/sbpcd.c | if ((infobuf[i]&0x80)!=0) |
infobuf | 2835 | drivers/block/sbpcd.c | convert_UPC(&infobuf[i]); |
infobuf | 2863 | drivers/block/sbpcd.c | if ((infobuf[0]&0x80)!=0) |
infobuf | 2866 | drivers/block/sbpcd.c | D_S[d].lba_multi=msf2blk(make32(make16(0,infobuf[1]), |
infobuf | 2867 | drivers/block/sbpcd.c | make16(infobuf[2],infobuf[3]))); |
infobuf | 2879 | drivers/block/sbpcd.c | D_S[d].lba_multi=msf2blk(make32(make16(0,infobuf[5]), |
infobuf | 2880 | drivers/block/sbpcd.c | make16(infobuf[6],infobuf[7]))); |
infobuf | 2892 | drivers/block/sbpcd.c | D_S[d].lba_multi=msf2blk(make32(make16(0,infobuf[9]),make16(infobuf[10],infobuf[11]))); |
infobuf | 2895 | drivers/block/sbpcd.c | sprintf(&msgbuf[i*3], " %02X", infobuf[i]); |
infobuf | 3009 | drivers/block/sbpcd.c | sprintf(&msgbuf[i*3], " %02X", infobuf[i]); |
infobuf | 3013 | drivers/block/sbpcd.c | sprintf(&msgbuf[i*3], " %c ", infobuf[i]); |
infobuf | 3037 | drivers/block/sbpcd.c | for (i=0;i<12;i++) infobuf[i]=0; |
infobuf | 3045 | drivers/block/sbpcd.c | for (i=0;i<12;i++) j+=infobuf[i]; |
infobuf | 3049 | drivers/block/sbpcd.c | sprintf(&msgbuf[i*3], " %02X", infobuf[i]); |
infobuf | 3054 | drivers/block/sbpcd.c | sprintf(&msgbuf[i*3], " %c ", infobuf[i]); |
infobuf | 3059 | drivers/block/sbpcd.c | for (i=0;i<4;i++) if (infobuf[i]!=family1[i]) break; |
infobuf | 3066 | drivers/block/sbpcd.c | D_S[d].drive_model[4]=infobuf[i++]; |
infobuf | 3067 | drivers/block/sbpcd.c | D_S[d].drive_model[5]=infobuf[i++]; |
infobuf | 3073 | drivers/block/sbpcd.c | for (i=0;i<8;i++) if (infobuf[i]!=family0[i]) break; |
infobuf | 3088 | drivers/block/sbpcd.c | for (i=0;i<8;i++) if (infobuf[i]!=familyL[i]) break; |
infobuf | 3092 | drivers/block/sbpcd.c | D_S[d].drive_model[j]=infobuf[j]; |
infobuf | 3109 | drivers/block/sbpcd.c | for (i=0;i<12;i++) infobuf[i]=0; |
infobuf | 3123 | drivers/block/sbpcd.c | for (i=0;i<12;i++) j+=infobuf[i]; |
infobuf | 3127 | drivers/block/sbpcd.c | sprintf(&msgbuf[i*3], " %02X", infobuf[i]); |
infobuf | 3131 | drivers/block/sbpcd.c | sprintf(&msgbuf[i*3], " %c ", infobuf[i]); |
infobuf | 3137 | drivers/block/sbpcd.c | for (i=0;i<5;i++) if (infobuf[i]!=family2[i]) break; |
infobuf | 3145 | drivers/block/sbpcd.c | D_S[d].drive_model[5]=infobuf[i++]; |
infobuf | 3146 | drivers/block/sbpcd.c | D_S[d].drive_model[6]=infobuf[i++]; |
infobuf | 3191 | drivers/block/sbpcd.c | for (i=0;i<12;i++) infobuf[i]=0; |
infobuf | 3194 | drivers/block/sbpcd.c | for (i=1;i<6;i++) if (infobuf[i]!=familyT[i-1]) break; |
infobuf | 3212 | drivers/block/sbpcd.c | for (j=0;j<4;j++) D_S[d].firmware_version[j]=infobuf[i+j]; |
infobuf | 3230 | drivers/block/sbpcd.c | j=infobuf[4]; /* one-byte version??? - here: 0x15 */ |
infobuf | 3233 | drivers/block/sbpcd.c | D_S[d].firmware_version[0]=infobuf[7]; |
infobuf | 3234 | drivers/block/sbpcd.c | D_S[d].firmware_version[1]=infobuf[8]; |
infobuf | 3235 | drivers/block/sbpcd.c | D_S[d].firmware_version[2]=infobuf[10]; |
infobuf | 3236 | drivers/block/sbpcd.c | D_S[d].firmware_version[3]=infobuf[11]; |
infobuf | 4693 | drivers/block/sbpcd.c | infobuf[l++]=inb(CDi_info); |
infobuf | 4697 | drivers/block/sbpcd.c | if (infobuf[0]==0x00) success=1; |
infobuf | 4699 | drivers/block/sbpcd.c | for (j=0;j<l;j++) sprintf(&msgbuf[j*3], " %02X", infobuf[j]); |
infobuf | 4703 | drivers/block/sbpcd.c | if (infobuf[0]==0x02) |
infobuf | 4718 | drivers/block/sbpcd.c | D_S[d].error_state=infobuf[2]; |
infobuf | 4719 | drivers/block/sbpcd.c | D_S[d].b3=infobuf[3]; |
infobuf | 4720 | drivers/block/sbpcd.c | D_S[d].b4=infobuf[4]; |