taglinefilesource code
d24arch/alpha/lib/memcpy.c#define ALIGN_DEST_TO8(d,s,n) \
d25arch/alpha/lib/memcpy.cwhile (d & 7) { \
d28arch/alpha/lib/memcpy.c*(char *) d = *(char *) s; \
d29arch/alpha/lib/memcpy.cd++; s++; \
d36arch/alpha/lib/memcpy.c#define DO_REST(d,s,n) \
d39arch/alpha/lib/memcpy.c*(char *) d = *(char *) s; \
d40arch/alpha/lib/memcpy.cd++; s++; \
d47arch/alpha/lib/memcpy.c#define DO_REST_ALIGNED(d,s,n) DO_REST(d,s,n)
d56arch/alpha/lib/memcpy.cstatic inline void __memcpy_unaligned(unsigned long d, unsigned long s, long n)
d58arch/alpha/lib/memcpy.cALIGN_DEST_TO8(d,s,n);
d74arch/alpha/lib/memcpy.c*(unsigned long *) d = low_word | tmp;
d75arch/alpha/lib/memcpy.cd += 8;
d80arch/alpha/lib/memcpy.cDO_REST(d,s,n);
d91arch/alpha/lib/memcpy.cstatic inline void __memcpy_aligned(unsigned long d, unsigned long s, long n)
d93arch/alpha/lib/memcpy.cALIGN_DEST_TO8(d,s,n);
d100arch/alpha/lib/memcpy.c*(unsigned long *) d = tmp;
d101arch/alpha/lib/memcpy.cd += 8;
d104arch/alpha/lib/memcpy.cDO_REST_ALIGNED(d,s,n);
d216arch/i386/boot/compressed/misc.cchar *d = (char *)__dest, *s = (char *)__src;
d218arch/i386/boot/compressed/misc.cfor (i=0;i<__n;i++) d[i] = s[i];
d121arch/i386/math-emu/fpu_proto.hextern int reg_store_extended(long double *d, FPU_REG *st0_ptr);
d124arch/i386/math-emu/fpu_proto.hextern int reg_store_int64(long long *d, FPU_REG *st0_ptr);
d125arch/i386/math-emu/fpu_proto.hextern int reg_store_int32(long *d, FPU_REG *st0_ptr);
d126arch/i386/math-emu/fpu_proto.hextern int reg_store_int16(short *d, FPU_REG *st0_ptr);
d127arch/i386/math-emu/fpu_proto.hextern int reg_store_bcd(char *d, FPU_REG *st0_ptr);
d41arch/i386/math-emu/reg_ld_str.cstatic void write_to_extended(FPU_REG *rp, char *d);
d423arch/i386/math-emu/reg_ld_str.cint reg_store_extended(long double *d, FPU_REG *st0_ptr)
d434arch/i386/math-emu/reg_ld_str.cFPU_verify_area(VERIFY_WRITE, d, 10);
d436arch/i386/math-emu/reg_ld_str.cwrite_to_extended(st0_ptr, (char *) d);
d447arch/i386/math-emu/reg_ld_str.cFPU_verify_area(VERIFY_WRITE,d,10);
d448arch/i386/math-emu/reg_ld_str.cput_fs_long(0, (unsigned long *) d);
d449arch/i386/math-emu/reg_ld_str.cput_fs_long(0xc0000000, 1 + (unsigned long *) d);
d450arch/i386/math-emu/reg_ld_str.cput_fs_word(0xffff, 4 + (short *) d);
d845arch/i386/math-emu/reg_ld_str.cint reg_store_int64(long long *d, FPU_REG *st0_ptr)
d894arch/i386/math-emu/reg_ld_str.cFPU_verify_area(VERIFY_WRITE,(void *)d,8);
d895arch/i386/math-emu/reg_ld_str.cput_fs_long(((long *)&tll)[0],(unsigned long *) d);
d896arch/i386/math-emu/reg_ld_str.cput_fs_long(((long *)&tll)[1],1 + (unsigned long *) d);
d904arch/i386/math-emu/reg_ld_str.cint reg_store_int32(long *d, FPU_REG *st0_ptr)
d949arch/i386/math-emu/reg_ld_str.cFPU_verify_area(VERIFY_WRITE,d,4);
d950arch/i386/math-emu/reg_ld_str.cput_fs_long(t.sigl, (unsigned long *) d);
d958arch/i386/math-emu/reg_ld_str.cint reg_store_int16(short *d, FPU_REG *st0_ptr)
d1003arch/i386/math-emu/reg_ld_str.cFPU_verify_area(VERIFY_WRITE,d,2);
d1004arch/i386/math-emu/reg_ld_str.cput_fs_word((short)t.sigl,(short *) d);
d1012arch/i386/math-emu/reg_ld_str.cint reg_store_bcd(char *d, FPU_REG *st0_ptr)
d1043arch/i386/math-emu/reg_ld_str.cFPU_verify_area(VERIFY_WRITE,d,10);
d1045arch/i386/math-emu/reg_ld_str.cput_fs_byte(0, (unsigned char *) d+i); /* These bytes "undefined" */
d1046arch/i386/math-emu/reg_ld_str.cput_fs_byte(0xc0, (unsigned char *) d+7); /* This byte "undefined" */
d1047arch/i386/math-emu/reg_ld_str.cput_fs_byte(0xff, (unsigned char *) d+8);
d1048arch/i386/math-emu/reg_ld_str.cput_fs_byte(0xff, (unsigned char *) d+9);
d1062arch/i386/math-emu/reg_ld_str.cFPU_verify_area(VERIFY_WRITE,d,10);
d1069arch/i386/math-emu/reg_ld_str.cput_fs_byte(b,(unsigned char *) d+i);
d1073arch/i386/math-emu/reg_ld_str.cput_fs_byte(sign,(unsigned char *) d+9);
d1290arch/i386/math-emu/reg_ld_str.cchar *fstenv(fpu_addr_modes addr_modes, char *d)
d1297arch/i386/math-emu/reg_ld_str.cFPU_verify_area(VERIFY_WRITE,d,14);
d1299arch/i386/math-emu/reg_ld_str.cput_fs_long(control_word & ~0xe080, (unsigned short *) d);
d1301arch/i386/math-emu/reg_ld_str.cput_fs_word(control_word, (unsigned short *) d);
d1303arch/i386/math-emu/reg_ld_str.cput_fs_word(status_word(), (unsigned short *) (d+2));
d1304arch/i386/math-emu/reg_ld_str.cput_fs_word(tag_word(), (unsigned short *) (d+4));
d1305arch/i386/math-emu/reg_ld_str.cput_fs_word(instruction_address.offset, (unsigned short *) (d+6));
d1306arch/i386/math-emu/reg_ld_str.cput_fs_word(operand_address.offset, (unsigned short *) (d+0x0a));
d1310arch/i386/math-emu/reg_ld_str.c(unsigned short *) (d+8));
d1312arch/i386/math-emu/reg_ld_str.c(unsigned short *) (d+0x0c));
d1316arch/i386/math-emu/reg_ld_str.cput_fs_word(instruction_address.selector, (unsigned short *) (d+8));
d1317arch/i386/math-emu/reg_ld_str.cput_fs_word(operand_address.selector, (unsigned short *) (d+0x0c));
d1320arch/i386/math-emu/reg_ld_str.cd += 0x0e;
d1325arch/i386/math-emu/reg_ld_str.cFPU_verify_area(VERIFY_WRITE,d,28);
d1328arch/i386/math-emu/reg_ld_str.cput_fs_long(0xffff0040 | (control_word & ~0xe080), (unsigned long *) d);
d1329arch/i386/math-emu/reg_ld_str.cput_fs_long(0xffff0000 | status_word(), (unsigned long *) (d+4));
d1330arch/i386/math-emu/reg_ld_str.cput_fs_long(0xffff0000 | tag_word(), (unsigned long *) (d+8));
d1332arch/i386/math-emu/reg_ld_str.cput_fs_word(control_word, (unsigned short *) d);
d1333arch/i386/math-emu/reg_ld_str.cput_fs_word(status_word(), (unsigned short *) (d+4));
d1334arch/i386/math-emu/reg_ld_str.cput_fs_word(tag_word(), (unsigned short *) (d+8));
d1336arch/i386/math-emu/reg_ld_str.cput_fs_long(instruction_address.offset, (unsigned long *) (d+0x0c));
d1337arch/i386/math-emu/reg_ld_str.cput_fs_word(instruction_address.selector, (unsigned short *) (d+0x10));
d1338arch/i386/math-emu/reg_ld_str.cput_fs_word(instruction_address.opcode, (unsigned short *) (d+0x12));
d1339arch/i386/math-emu/reg_ld_str.cput_fs_long(operand_address.offset, (unsigned long *) (d+0x14));
d1342arch/i386/math-emu/reg_ld_str.cput_fs_word(operand_address.selector, (unsigned short *) (d+0x18));
d1343arch/i386/math-emu/reg_ld_str.cput_fs_word(0xffff, (unsigned short *) (d+0x1a));
d1345arch/i386/math-emu/reg_ld_str.cput_fs_long(operand_address.selector, (unsigned long *) (d+0x18));
d1348arch/i386/math-emu/reg_ld_str.cd += 0x1c;
d1354arch/i386/math-emu/reg_ld_str.creturn d;
d1360arch/i386/math-emu/reg_ld_str.cchar *d;
d1363arch/i386/math-emu/reg_ld_str.cd = fstenv(addr_modes, data_address);
d1365arch/i386/math-emu/reg_ld_str.cFPU_verify_area(VERIFY_WRITE,d,80);
d1368arch/i386/math-emu/reg_ld_str.cwrite_to_extended(&regs[(top + i) & 7], d + 10 * i);
d1380arch/i386/math-emu/reg_ld_str.cstatic void write_to_extended(FPU_REG *rp, char *d)
d1414arch/i386/math-emu/reg_ld_str.cput_fs_long(rp->sigl, (unsigned long *) d);
d1415arch/i386/math-emu/reg_ld_str.cput_fs_long(rp->sigh, (unsigned long *) (d + 4));
d1430arch/i386/math-emu/reg_ld_str.cput_fs_long(tmp.sigl, (unsigned long *) d);
d1431arch/i386/math-emu/reg_ld_str.cput_fs_long(tmp.sigh, (unsigned long *) (d + 4));
d1436arch/i386/math-emu/reg_ld_str.cput_fs_word(e, (unsigned short *) (d + 8));
d513arch/ppc/kernel/raw_printf.cstruct screen *d = &screen;
d517arch/ppc/kernel/raw_printf.cd->color = pccolor;
d518arch/ppc/kernel/raw_printf.cd->save_color = pccolor;
d519arch/ppc/kernel/raw_printf.cd->color_so = pccolor_so;
d520arch/ppc/kernel/raw_printf.cd->save_color_so = pccolor_so;
d524arch/ppc/kernel/raw_printf.c#define  wrtchar(c, d) { \
d525arch/ppc/kernel/raw_printf.c*(d->cp) = c; \
d526arch/ppc/kernel/raw_printf.cd->cp++; \
d527arch/ppc/kernel/raw_printf.cd->row++; \
d550arch/ppc/kernel/raw_printf.cstruct screen *d = &screen;
d557arch/ppc/kernel/raw_printf.cswitch (d->state) {
d564arch/ppc/kernel/raw_printf.cd->state = ESC;
d569arch/ppc/kernel/raw_printf.cwrtchar(d->color | ' ', d);
d570arch/ppc/kernel/raw_printf.c} while (d->row % 8);
d574arch/ppc/kernel/raw_printf.cif (d->cp > base) {
d575arch/ppc/kernel/raw_printf.cd->cp--;
d576arch/ppc/kernel/raw_printf.cd->row--;
d577arch/ppc/kernel/raw_printf.cif (d->row < 0)
d578arch/ppc/kernel/raw_printf.cd->row += COL;  /* prev column */
d583arch/ppc/kernel/raw_printf.cd->cp -= d->row;
d584arch/ppc/kernel/raw_printf.cd->row = 0;
d588arch/ppc/kernel/raw_printf.cd->cp += COL;
d595arch/ppc/kernel/raw_printf.cif (d->so) {
d596arch/ppc/kernel/raw_printf.cwrtchar(d->color_so|(c<<8), d); 
d598arch/ppc/kernel/raw_printf.cwrtchar(d->color | (c<<8), d); 
d600arch/ppc/kernel/raw_printf.cif (d->row >= COL)
d601arch/ppc/kernel/raw_printf.cd->row = 0;
d614arch/ppc/kernel/raw_printf.cd->so = d->cx;
d618arch/ppc/kernel/raw_printf.cif (d->cp >= base + COL)
d619arch/ppc/kernel/raw_printf.cd->cp -= COL;
d623arch/ppc/kernel/raw_printf.cd->cp += COL;
d627arch/ppc/kernel/raw_printf.cd->cp++;
d628arch/ppc/kernel/raw_printf.cd->row++;
d632arch/ppc/kernel/raw_printf.cif (d->cp > base) {
d633arch/ppc/kernel/raw_printf.cd->cp--;
d634arch/ppc/kernel/raw_printf.cd->row--;
d635arch/ppc/kernel/raw_printf.cif (d->row < 0)
d636arch/ppc/kernel/raw_printf.cd->row += COL;  /* prev column ??? */
d641arch/ppc/kernel/raw_printf.cfillw(d->color|(' '<<8), d->cp, base + COL * ROW - d->cp);
d645arch/ppc/kernel/raw_printf.cfillw(d->color|(' '<<8), d->cp, COL - (d->cp - base) % COL);
d649arch/ppc/kernel/raw_printf.cif (d->cx > ROW)
d650arch/ppc/kernel/raw_printf.cd->cx = ROW;
d651arch/ppc/kernel/raw_printf.cif (d->cy > COL)
d652arch/ppc/kernel/raw_printf.cd->cy = COL;
d653arch/ppc/kernel/raw_printf.cif (d->cx == 0 || d->cy == 0) {
d654arch/ppc/kernel/raw_printf.cd->cp = base;
d655arch/ppc/kernel/raw_printf.cd->row = 0;
d657arch/ppc/kernel/raw_printf.cd->cp = base + (d->cx - 1) * COL + d->cy - 1;
d658arch/ppc/kernel/raw_printf.cd->row = d->cy - 1;
d663arch/ppc/kernel/raw_printf.cif (d->cx)
d664arch/ppc/kernel/raw_printf.cd->cx = 1;    /* block */
d666arch/ppc/kernel/raw_printf.cd->cx = 12;  /* underline */
d668arch/ppc/kernel/raw_printf.coutb(addr_6845+1, d->cx);
d674arch/ppc/kernel/raw_printf.cd->accp = &d->cy;
d678arch/ppc/kernel/raw_printf.cd->state = EBRACEQ;
d682arch/ppc/kernel/raw_printf.ci = (d->cp - base) / COL;
d687arch/ppc/kernel/raw_printf.cfillw(d->color|(' '<<8), base + i * COL, COL);
d691arch/ppc/kernel/raw_printf.ci = (d->cp - base) / COL;
d694arch/ppc/kernel/raw_printf.cfillw(d->color|(' '<<8), base + COL * (ROW - 1), COL);
d699arch/ppc/kernel/raw_printf.c*(d->accp) *= 10;
d700arch/ppc/kernel/raw_printf.c*(d->accp) += c - '0';
d705arch/ppc/kernel/raw_printf.cd->state = NORMAL;
d724arch/ppc/kernel/raw_printf.ccolp = ATTR_ADDR(d->color);
d726arch/ppc/kernel/raw_printf.c*colp = (*colp & 0xf0) | (d->cx);
d730arch/ppc/kernel/raw_printf.ccolp = ATTR_ADDR(d->color);
d732arch/ppc/kernel/raw_printf.c*colp = (*colp & 0xf) | (d->cx << 4);
d736arch/ppc/kernel/raw_printf.ccolp = ATTR_ADDR(d->color_so);
d740arch/ppc/kernel/raw_printf.ccolp = ATTR_ADDR(d->color_so);
d744arch/ppc/kernel/raw_printf.cd->save_color = d->color;
d745arch/ppc/kernel/raw_printf.cd->save_color_so = d->color_so;
d749arch/ppc/kernel/raw_printf.cd->color = d->save_color;
d750arch/ppc/kernel/raw_printf.cd->color_so = d->save_color_so;
d755arch/ppc/kernel/raw_printf.cd->cx *= 10;
d756arch/ppc/kernel/raw_printf.cd->cx += c - '0';
d761arch/ppc/kernel/raw_printf.cd->state = NORMAL;
d768arch/ppc/kernel/raw_printf.cfillw(d->color|(' '<<8), base, COL * ROW);
d769arch/ppc/kernel/raw_printf.cd->cp = base;
d770arch/ppc/kernel/raw_printf.cd->row = 0;
d771arch/ppc/kernel/raw_printf.cd->state = NORMAL;
d774arch/ppc/kernel/raw_printf.cd->state = EBRAC;
d775arch/ppc/kernel/raw_printf.cd->cx = 0;
d776arch/ppc/kernel/raw_printf.cd->cy = 0;
d777arch/ppc/kernel/raw_printf.cd->accp = &d->cx;
d780arch/ppc/kernel/raw_printf.cd->state = NORMAL;
d785arch/ppc/kernel/raw_printf.cif (d->cp >= base + (COL * ROW)) { /* scroll check */
d787arch/ppc/kernel/raw_printf.cfillw(d->color|(' '<<8), base + COL * (ROW - 1), COL);
d788arch/ppc/kernel/raw_printf.cd->cp -= COL;
d802arch/ppc/kernel/raw_printf.cstruct screen *d = &screen;
d808arch/ppc/kernel/raw_printf.cd->cp = Crtat = (u_short *)&ISA_mem[0x0B8000];
d811arch/ppc/kernel/raw_printf.cfillw(pccolor|(' '<<8), d->cp, COL * ROW);
d553drivers/cdrom/mcd.cchar a, b, c, d;
d558drivers/cdrom/mcd.cgetValue(&d);
d611drivers/cdrom/sbpcd.cstatic int d=0; /* DriveStruct index: drive number */
d738drivers/cdrom/sbpcd.csprintf(buf, KERN_NOTICE "%s-%d [%02d]:  ", major_name, d, msgnum);
d913drivers/cdrom/sbpcd.cD_S[d].CD_changed=0xFF;
d1028drivers/cdrom/sbpcd.cD_S[d].status_bits=0;
d1029drivers/cdrom/sbpcd.cif (fam1_drive) D_S[d].status_bits=st|p_success;
d1032drivers/cdrom/sbpcd.cif (st&p_caddin_old) D_S[d].status_bits |= p_door_closed|p_caddy_in;
d1033drivers/cdrom/sbpcd.cif (st&p_spinning) D_S[d].status_bits |= p_spinning;
d1034drivers/cdrom/sbpcd.cif (st&p_check) D_S[d].status_bits |= p_check;
d1035drivers/cdrom/sbpcd.cif (st&p_success_old) D_S[d].status_bits |= p_success;
d1036drivers/cdrom/sbpcd.cif (st&p_busy_old) D_S[d].status_bits |= p_busy_new;
d1037drivers/cdrom/sbpcd.cif (st&p_disk_ok) D_S[d].status_bits |= p_disk_ok;
d1041drivers/cdrom/sbpcd.cD_S[d].status_bits |= p_success;
d1042drivers/cdrom/sbpcd.cif (st&p_caddin_old) D_S[d].status_bits |= p_disk_ok|p_caddy_in;
d1043drivers/cdrom/sbpcd.cif (st&p_spinning) D_S[d].status_bits |= p_spinning;
d1044drivers/cdrom/sbpcd.cif (st&p_check) D_S[d].status_bits |= p_check;
d1045drivers/cdrom/sbpcd.cif (st&p_busy_old) D_S[d].status_bits |= p_busy_new;
d1046drivers/cdrom/sbpcd.cif (st&p_lcs_door_closed) D_S[d].status_bits |= p_door_closed;
d1047drivers/cdrom/sbpcd.cif (st&p_lcs_door_locked) D_S[d].status_bits |= p_door_locked;
d1051drivers/cdrom/sbpcd.cD_S[d].status_bits |= p_success;
d1052drivers/cdrom/sbpcd.cif (st&p2_check) D_S[d].status_bits |= p1_check;
d1053drivers/cdrom/sbpcd.cif (st&p2_door_closed) D_S[d].status_bits |= p1_door_closed;
d1054drivers/cdrom/sbpcd.cif (st&p2_disk_in) D_S[d].status_bits |= p1_disk_in;
d1055drivers/cdrom/sbpcd.cif (st&p2_busy1) D_S[d].status_bits |= p1_busy;
d1056drivers/cdrom/sbpcd.cif (st&p2_busy2) D_S[d].status_bits |= p1_busy;
d1057drivers/cdrom/sbpcd.cif (st&p2_spinning) D_S[d].status_bits |= p1_spinning;
d1058drivers/cdrom/sbpcd.cif (st&p2_door_locked) D_S[d].status_bits |= p1_door_locked;
d1059drivers/cdrom/sbpcd.cif (st&p2_disk_ok) D_S[d].status_bits |= p1_disk_ok;
d1064drivers/cdrom/sbpcd.cD_S[d].status_bits |= p_success;
d1065drivers/cdrom/sbpcd.cif (st&p2_check) D_S[d].status_bits |= p1_check;
d1066drivers/cdrom/sbpcd.cif (st&p2_door_closed) D_S[d].status_bits |= p1_door_closed;
d1067drivers/cdrom/sbpcd.cif (st&p2_disk_in) D_S[d].status_bits |= p1_disk_in;
d1068drivers/cdrom/sbpcd.cif (st&p2_busy1) D_S[d].status_bits |= p1_busy;
d1069drivers/cdrom/sbpcd.cif (st&p2_busy2) D_S[d].status_bits |= p1_busy;
d1070drivers/cdrom/sbpcd.cif (st&p2_spinning) D_S[d].status_bits |= p1_spinning;
d1071drivers/cdrom/sbpcd.cif (st&p2_door_locked) D_S[d].status_bits |= p1_door_locked;
d1072drivers/cdrom/sbpcd.cif (st&p2_disk_ok) D_S[d].status_bits |= p1_disk_ok;
d1084drivers/cdrom/sbpcd.cD_S[d].n_bytes=1;
d1095drivers/cdrom/sbpcd.cD_S[d].status_bits=p1_door_closed|p1_disk_in|p1_spinning|p1_disk_ok;
d1096drivers/cdrom/sbpcd.celse if (D_S[d].error_state==6)
d1098drivers/cdrom/sbpcd.cD_S[d].status_bits=p1_door_closed|p1_disk_in;
d1099drivers/cdrom/sbpcd.celse if ((D_S[d].error_state!=2)||(D_S[d].b3!=0x3A)||(D_S[d].b4==0x00))
d1102drivers/cdrom/sbpcd.cD_S[d].status_bits=p1_door_closed;
d1103drivers/cdrom/sbpcd.cD_S[d].open_count=0;
d1105drivers/cdrom/sbpcd.celse if (D_S[d].b4==0x01)
d1108drivers/cdrom/sbpcd.cD_S[d].status_bits=0;
d1109drivers/cdrom/sbpcd.cD_S[d].open_count=0;
d1114drivers/cdrom/sbpcd.cD_S[d].status_bits=p1_door_closed;
d1115drivers/cdrom/sbpcd.cD_S[d].open_count=0;
d1117drivers/cdrom/sbpcd.creturn (D_S[d].status_bits);
d1147drivers/cdrom/sbpcd.cD_S[d].status_bits=0;
d1153drivers/cdrom/sbpcd.cmsg(DBG_STA,"status_bits=%02X, i=%02X\n",D_S[d].status_bits,i);
d1154drivers/cdrom/sbpcd.creturn (D_S[d].status_bits);
d1204drivers/cdrom/sbpcd.cD_S[d].error_byte=0;
d1209drivers/cdrom/sbpcd.cD_S[d].error_byte=infobuf[i];
d1210drivers/cdrom/sbpcd.cmsg(DBG_ERR,"cc_ReadError: infobuf[%d] is %d (%02X)\n",i,D_S[d].error_byte,D_S[d].error_byte);
d1225drivers/cdrom/sbpcd.cD_S[d].error_state=0;
d1226drivers/cdrom/sbpcd.cD_S[d].b3=0;
d1227drivers/cdrom/sbpcd.cD_S[d].b4=0;
d1228drivers/cdrom/sbpcd.cD_S[d].f_drv_error=0;
d1234drivers/cdrom/sbpcd.cOUT(CDo_enable,D_S[d].drv_sel);
d1339drivers/cdrom/sbpcd.cD_S[d].error_state=infobuf[2];
d1340drivers/cdrom/sbpcd.cD_S[d].b3=infobuf[3];
d1341drivers/cdrom/sbpcd.cD_S[d].b4=infobuf[4];
d1342drivers/cdrom/sbpcd.cif (D_S[d].f_drv_error)
d1344drivers/cdrom/sbpcd.cD_S[d].f_drv_error=0;
d1346drivers/cdrom/sbpcd.cD_S[d].error_state=2;
d1348drivers/cdrom/sbpcd.creturn (-D_S[d].error_state-400);
d1355drivers/cdrom/sbpcd.cD_S[d].f_drv_error=1;
d1357drivers/cdrom/sbpcd.cD_S[d].error_state=2;
d1389drivers/cdrom/sbpcd.cif (D_S[d].in_SpinUp) msg(DBG_SPI,"in_SpinUp: to CDi_stat_loop.\n");
d1398drivers/cdrom/sbpcd.cif (D_S[d].in_SpinUp) msg(DBG_SPI,"in_SpinUp: to cc_ReadStatus.\n");
d1404drivers/cdrom/sbpcd.cif (D_S[d].in_SpinUp) msg(DBG_SPI,"in_SpinUp: to ResponseStatus.\n");
d1420drivers/cdrom/sbpcd.cif (D_S[d].in_SpinUp) msg(DBG_SPI,"in_SpinUp: to cc_ReadError.\n");
d1422drivers/cdrom/sbpcd.cif (D_S[d].in_SpinUp) msg(DBG_SPI,"in_SpinUp: to cmd_out OK.\n");
d1476drivers/cdrom/sbpcd.cD_S[d].n_bytes=1;
d1488drivers/cdrom/sbpcd.cD_S[d].in_SpinUp = 1;
d1517drivers/cdrom/sbpcd.cD_S[d].in_SpinUp = 0;
d1578drivers/cdrom/sbpcd.cdrvcmd[1]=D_S[d].speed_byte;
d1579drivers/cdrom/sbpcd.cdrvcmd[2]=D_S[d].frmsiz>>8;
d1580drivers/cdrom/sbpcd.cdrvcmd[3]=D_S[d].frmsiz&0x0FF;
d1581drivers/cdrom/sbpcd.cdrvcmd[4]=D_S[d].f_XA; /* 1: XA */
d1582drivers/cdrom/sbpcd.cdrvcmd[5]=D_S[d].type_byte; /* 0, 1, 3 */
d1583drivers/cdrom/sbpcd.cdrvcmd[6]=D_S[d].mode_xb_6;
d1584drivers/cdrom/sbpcd.cdrvcmd[7]=D_S[d].mode_yb_7|D_S[d].volume_control;
d1585drivers/cdrom/sbpcd.cdrvcmd[8]=D_S[d].mode_xb_8;
d1586drivers/cdrom/sbpcd.cdrvcmd[9]=D_S[d].delay;
d1601drivers/cdrom/sbpcd.cD_S[d].speed_byte=0x02; /* 0x02: auto quad, 0x82: quad, 0x81: double, 0x80: single */
d1602drivers/cdrom/sbpcd.cD_S[d].frmsiz=make16(infobuf[2],infobuf[3]);
d1603drivers/cdrom/sbpcd.cD_S[d].f_XA=infobuf[4];
d1604drivers/cdrom/sbpcd.cif (D_S[d].f_XA==0) D_S[d].type_byte=0;
d1605drivers/cdrom/sbpcd.celse D_S[d].type_byte=1;
d1606drivers/cdrom/sbpcd.cD_S[d].mode_xb_6=infobuf[6];
d1607drivers/cdrom/sbpcd.cD_S[d].mode_yb_7=1;
d1608drivers/cdrom/sbpcd.cD_S[d].mode_xb_8=infobuf[8];
d1609drivers/cdrom/sbpcd.cD_S[d].delay=0; /* 0, 1, 2, 3 */
d1664drivers/cdrom/sbpcd.cD_S[d].diskstate_flags &= ~volume_bit;
d1666drivers/cdrom/sbpcd.cchannel0=D_S[d].vol_chan0;
d1667drivers/cdrom/sbpcd.cvolume0=D_S[d].vol_ctrl0;
d1668drivers/cdrom/sbpcd.cchannel1=control1=D_S[d].vol_chan1;
d1669drivers/cdrom/sbpcd.cvolume1=value1=D_S[d].vol_ctrl1;
d1674drivers/cdrom/sbpcd.cif (((D_S[d].drv_options&audio_mono)!=0)&&(D_S[d].drv_type>=drv_211))
d1743drivers/cdrom/sbpcd.cif (D_S[d].drv_type>=drv_300)
d1755drivers/cdrom/sbpcd.cif (D_S[d].drv_type<drv_211)
d1788drivers/cdrom/sbpcd.celse if (D_S[d].drv_type<drv_201) volume0=volume1=value0;
d1790drivers/cdrom/sbpcd.cif (D_S[d].drv_type>=drv_201)
d1795drivers/cdrom/sbpcd.cif (D_S[d].drv_type>=drv_211)
d1809drivers/cdrom/sbpcd.cD_S[d].volume_control=0;
d1810drivers/cdrom/sbpcd.cif (!volume0) D_S[d].volume_control|=0x10;
d1811drivers/cdrom/sbpcd.cif (!volume1) D_S[d].volume_control|=0x20;
d1821drivers/cdrom/sbpcd.cD_S[d].diskstate_flags |= volume_bit;
d1861drivers/cdrom/sbpcd.cOUT(CDo_enable,D_S[d].drv_sel);
d1878drivers/cdrom/sbpcd.cif (D_S[d].error_byte!=aud_12) return -501;
d1886drivers/cdrom/sbpcd.cif (!(D_S[d].drv_options&(speed_auto|speed_300|speed_150))) return (0);
d1888drivers/cdrom/sbpcd.cif (!(D_S[d].drv_options&speed_auto))
d1891drivers/cdrom/sbpcd.cif (!(D_S[d].drv_options&speed_300)) speed=0;
d1912drivers/cdrom/sbpcd.cD_S[d].CD_changed=1;
d1926drivers/cdrom/sbpcd.cif (D_S[d].audio_state==audio_playing) return (-EINVAL);
d2016drivers/cdrom/sbpcd.cif (pau_res==3)  return (cc_PlayAudio(D_S[d].pos_audio_start,D_S[d].pos_audio_end));
d2029drivers/cdrom/sbpcd.cmsg(DBG_LCK,"cc_LockDoor: %d (drive %d)\n", lock, d);
d2117drivers/cdrom/sbpcd.cmsg(DBG_LCK,"cc_CloseTray (drive %d)\n", d);
d2157drivers/cdrom/sbpcd.cD_S[d].diskstate_flags &= ~subq_bit;
d2206drivers/cdrom/sbpcd.cD_S[d].SubQ_ctl_adr=D_S[d].SubQ_trk=D_S[d].SubQ_pnt_idx=D_S[d].SubQ_whatisthis=0;
d2207drivers/cdrom/sbpcd.cD_S[d].SubQ_run_tot=D_S[d].SubQ_run_trk=0;
d2211drivers/cdrom/sbpcd.cif (famT_drive) D_S[d].SubQ_ctl_adr=infobuf[1];
d2212drivers/cdrom/sbpcd.celse D_S[d].SubQ_ctl_adr=swap_nibbles(infobuf[1]);
d2213drivers/cdrom/sbpcd.cD_S[d].SubQ_trk=byt2bcd(infobuf[2]);
d2214drivers/cdrom/sbpcd.cD_S[d].SubQ_pnt_idx=byt2bcd(infobuf[3]);
d2218drivers/cdrom/sbpcd.cD_S[d].SubQ_run_tot=make32(make16(0,infobuf[i]),make16(infobuf[i+1],infobuf[i+2])); /* msf-bin */
d2223drivers/cdrom/sbpcd.cD_S[d].SubQ_run_trk=make32(make16(0,infobuf[i]),make16(infobuf[i+1],infobuf[i+2])); /* msf-bin */
d2224drivers/cdrom/sbpcd.cD_S[d].SubQ_whatisthis=infobuf[i+3];
d2225drivers/cdrom/sbpcd.cD_S[d].diskstate_flags |= subq_bit;
d2235drivers/cdrom/sbpcd.cD_S[d].diskstate_flags &= ~frame_size_bit;
d2259drivers/cdrom/sbpcd.cD_S[d].sense_byte=0;
d2260drivers/cdrom/sbpcd.cif (fam1_drive) D_S[d].sense_byte=infobuf[i++];
d2263drivers/cdrom/sbpcd.cif (infobuf[4]==0x01) D_S[d].xa_byte=0x20;
d2264drivers/cdrom/sbpcd.celse D_S[d].xa_byte=0;
d2267drivers/cdrom/sbpcd.cD_S[d].frame_size=make16(infobuf[i],infobuf[i+1]);
d2273drivers/cdrom/sbpcd.cD_S[d].diskstate_flags |= frame_size_bit;
d2284drivers/cdrom/sbpcd.cD_S[d].diskstate_flags &= ~frame_size_bit;
d2286drivers/cdrom/sbpcd.cD_S[d].frame_size=framesize;
d2287drivers/cdrom/sbpcd.cif (framesize==CD_FRAMESIZE_RAW) D_S[d].sense_byte=0x82;
d2288drivers/cdrom/sbpcd.celse D_S[d].sense_byte=0x00;
d2291drivers/cdrom/sbpcd.cD_S[d].sense_byte, D_S[d].frame_size);
d2297drivers/cdrom/sbpcd.cdrvcmd[2]=D_S[d].sense_byte;
d2298drivers/cdrom/sbpcd.cdrvcmd[3]=(D_S[d].frame_size>>8)&0xFF;
d2299drivers/cdrom/sbpcd.cdrvcmd[4]=D_S[d].frame_size&0xFF;
d2306drivers/cdrom/sbpcd.cdrvcmd[2]=(D_S[d].frame_size>>8)&0xFF;
d2307drivers/cdrom/sbpcd.cdrvcmd[3]=D_S[d].frame_size&0xFF;
d2321drivers/cdrom/sbpcd.cD_S[d].diskstate_flags |= frame_size_bit;
d2335drivers/cdrom/sbpcd.cD_S[d].diskstate_flags &= ~volume_bit;
d2411drivers/cdrom/sbpcd.cif (D_S[d].drv_type>=drv_201)
d2413drivers/cdrom/sbpcd.cif (D_S[d].drv_type<drv_300)
d2418drivers/cdrom/sbpcd.cif (D_S[d].drv_type>=drv_211)
d2438drivers/cdrom/sbpcd.cD_S[d].volume_control=infobuf[7];
d2441drivers/cdrom/sbpcd.cif (D_S[d].volume_control&0x10) vol0=0;
d2443drivers/cdrom/sbpcd.cif (D_S[d].volume_control&0x20) vol1=0;
d2446drivers/cdrom/sbpcd.cD_S[d].vol_chan0=chan0;
d2447drivers/cdrom/sbpcd.cD_S[d].vol_ctrl0=vol0;
d2448drivers/cdrom/sbpcd.cD_S[d].vol_chan1=chan1;
d2449drivers/cdrom/sbpcd.cD_S[d].vol_ctrl1=vol1;
d2451drivers/cdrom/sbpcd.cD_S[d].vol_chan2=2;
d2452drivers/cdrom/sbpcd.cD_S[d].vol_ctrl2=0xFF;
d2453drivers/cdrom/sbpcd.cD_S[d].vol_chan3=3;
d2454drivers/cdrom/sbpcd.cD_S[d].vol_ctrl3=0xFF;
d2456drivers/cdrom/sbpcd.cD_S[d].diskstate_flags |= volume_bit;
d2467drivers/cdrom/sbpcd.cD_S[d].diskstate_flags &= ~cd_size_bit;
d2497drivers/cdrom/sbpcd.cif (fam1_drive) D_S[d].CDsize_frm=msf2blk(make32(make16(0,infobuf[0]),make16(infobuf[1],infobuf[2])))+CD_MSF_OFFSET;
d2498drivers/cdrom/sbpcd.celse if (fam0_drive) D_S[d].CDsize_frm=make32(make16(0,infobuf[0]),make16(infobuf[1],infobuf[2]));
d2500drivers/cdrom/sbpcd.celse if (fam2_drive) D_S[d].CDsize_frm=make32(make16(infobuf[0],infobuf[1]),make16(infobuf[2],infobuf[3]));
d2502drivers/cdrom/sbpcd.cD_S[d].diskstate_flags |= cd_size_bit;
d2503drivers/cdrom/sbpcd.cmsg(DBG_000,"cc_ReadCapacity: %d frames.\n", D_S[d].CDsize_frm);
d2511drivers/cdrom/sbpcd.cD_S[d].diskstate_flags &= ~toc_bit;
d2531drivers/cdrom/sbpcd.cD_S[d].f_multisession=0;
d2541drivers/cdrom/sbpcd.cD_S[d].f_multisession=0;
d2553drivers/cdrom/sbpcd.cD_S[d].xa_byte=infobuf[0];
d2556drivers/cdrom/sbpcd.cD_S[d].first_session=infobuf[1];
d2557drivers/cdrom/sbpcd.cD_S[d].last_session=infobuf[2];
d2558drivers/cdrom/sbpcd.cD_S[d].n_first_track=infobuf[3];
d2559drivers/cdrom/sbpcd.cD_S[d].n_last_track=infobuf[4];
d2560drivers/cdrom/sbpcd.cif (D_S[d].first_session!=D_S[d].last_session)
d2562drivers/cdrom/sbpcd.cD_S[d].f_multisession=1;
d2563drivers/cdrom/sbpcd.cD_S[d].lba_multi=msf2blk(make32(make16(0,infobuf[5]),make16(infobuf[6],infobuf[7])));
d2566drivers/cdrom/sbpcd.cif (D_S[d].first_session!=D_S[d].last_session)
d2568drivers/cdrom/sbpcd.cif (D_S[d].last_session<=20)
d2569drivers/cdrom/sbpcd.czwanzig=D_S[d].last_session+1;
d2571drivers/cdrom/sbpcd.cfor (count=D_S[d].first_session;count<zwanzig;count++)
d2581drivers/cdrom/sbpcd.cD_S[d].msf_multi_n[count]=make32(make16(0,infobuf[5]),make16(infobuf[6],infobuf[7]));
d2583drivers/cdrom/sbpcd.cD_S[d].diskstate_flags |= multisession_bit;
d2594drivers/cdrom/sbpcd.cD_S[d].size_msf=make32(make16(0,infobuf[2]),make16(infobuf[3],infobuf[4]));
d2595drivers/cdrom/sbpcd.cD_S[d].size_blk=msf2blk(D_S[d].size_msf);
d2596drivers/cdrom/sbpcd.cD_S[d].CDsize_frm=D_S[d].size_blk+1;
d2600drivers/cdrom/sbpcd.cD_S[d].size_msf=make32(make16(infobuf[8],infobuf[9]),make16(infobuf[10],infobuf[11]));
d2601drivers/cdrom/sbpcd.cD_S[d].size_blk=msf2blk(D_S[d].size_msf);
d2602drivers/cdrom/sbpcd.cD_S[d].CDsize_frm=D_S[d].size_blk+1;
d2603drivers/cdrom/sbpcd.cD_S[d].n_first_track=infobuf[2];
d2604drivers/cdrom/sbpcd.cD_S[d].n_last_track=infobuf[3];
d2608drivers/cdrom/sbpcd.cD_S[d].n_first_track=infobuf[1];
d2609drivers/cdrom/sbpcd.cD_S[d].n_last_track=infobuf[2];
d2610drivers/cdrom/sbpcd.cD_S[d].size_msf=make32(make16(0,infobuf[3]),make16(infobuf[4],infobuf[5]));
d2611drivers/cdrom/sbpcd.cD_S[d].size_blk=msf2blk(D_S[d].size_msf);
d2612drivers/cdrom/sbpcd.cif (famLV_drive) D_S[d].CDsize_frm=D_S[d].size_blk+1;
d2614drivers/cdrom/sbpcd.cD_S[d].diskstate_flags |= toc_bit;
d2616drivers/cdrom/sbpcd.cD_S[d].xa_byte,
d2617drivers/cdrom/sbpcd.cD_S[d].n_first_track,
d2618drivers/cdrom/sbpcd.cD_S[d].n_last_track,
d2619drivers/cdrom/sbpcd.cD_S[d].size_msf);
d2669drivers/cdrom/sbpcd.cD_S[d].TocEnt_nixbyte=infobuf[0];
d2674drivers/cdrom/sbpcd.cD_S[d].TocEnt_ctl_adr=swap_nibbles(infobuf[i++]);
d2677drivers/cdrom/sbpcd.cD_S[d].TocEnt_number=infobuf[i++];
d2678drivers/cdrom/sbpcd.cD_S[d].TocEnt_format=infobuf[i];
d2682drivers/cdrom/sbpcd.cD_S[d].TocEnt_number=num;
d2683drivers/cdrom/sbpcd.cD_S[d].TocEnt_format=0;
d2689drivers/cdrom/sbpcd.cD_S[d].TocEnt_address=make32(make16(0,infobuf[i]),
d2696drivers/cdrom/sbpcd.cD_S[d].TocEnt_nixbyte, D_S[d].TocEnt_ctl_adr,
d2697drivers/cdrom/sbpcd.cD_S[d].TocEnt_number, D_S[d].TocEnt_format,
d2698drivers/cdrom/sbpcd.cD_S[d].TocEnt_address);
d2729drivers/cdrom/sbpcd.cif (fam1_drive) D_S[d].UPC_buf[i]=swap_nibbles(*p++);
d2732drivers/cdrom/sbpcd.cD_S[d].UPC_buf[i]=((*p++)<<4)&0xFF;
d2733drivers/cdrom/sbpcd.cD_S[d].UPC_buf[i] |= *p++;
d2744drivers/cdrom/sbpcd.cD_S[d].UPC_buf[6] &= 0xF0;
d2762drivers/cdrom/sbpcd.cD_S[d].diskstate_flags &= ~upc_bit;
d2831drivers/cdrom/sbpcd.cD_S[d].UPC_ctl_adr=0;
d2837drivers/cdrom/sbpcd.cD_S[d].UPC_ctl_adr = (D_S[d].TocEnt_ctl_adr & 0xF0) | 0x02;
d2840drivers/cdrom/sbpcd.csprintf(&msgbuf[i*3], " %02X", D_S[d].UPC_buf[i]);
d2841drivers/cdrom/sbpcd.csprintf(&msgbuf[i*3], " (%02X)", D_S[d].UPC_ctl_adr);
d2844drivers/cdrom/sbpcd.cD_S[d].diskstate_flags |= upc_bit;
d2853drivers/cdrom/sbpcd.cD_S[d].f_multisession=0;
d2854drivers/cdrom/sbpcd.cD_S[d].lba_multi=0;
d2866drivers/cdrom/sbpcd.cD_S[d].f_multisession=1;
d2867drivers/cdrom/sbpcd.cD_S[d].lba_multi=msf2blk(make32(make16(0,infobuf[1]),
d2880drivers/cdrom/sbpcd.cD_S[d].lba_multi=msf2blk(make32(make16(0,infobuf[5]),
d2894drivers/cdrom/sbpcd.cD_S[d].first_session=infobuf[2];
d2895drivers/cdrom/sbpcd.cD_S[d].last_session=infobuf[3];
d2896drivers/cdrom/sbpcd.cD_S[d].track_of_last_session=infobuf[6];
d2897drivers/cdrom/sbpcd.cif (D_S[d].first_session!=D_S[d].last_session)
d2899drivers/cdrom/sbpcd.cD_S[d].f_multisession=1;
d2900drivers/cdrom/sbpcd.cD_S[d].lba_multi=msf2blk(make32(make16(0,infobuf[9]),make16(infobuf[10],infobuf[11])));
d2906drivers/cdrom/sbpcd.cmsg(DBG_MUL,"MultiSession Info:%s (%d)\n", msgbuf, D_S[d].lba_multi);
d2907drivers/cdrom/sbpcd.cif (D_S[d].lba_multi>200)
d2909drivers/cdrom/sbpcd.cD_S[d].f_multisession=1;
d2910drivers/cdrom/sbpcd.cmsg(DBG_MUL,"MultiSession base: %06X\n", D_S[d].lba_multi);
d2927drivers/cdrom/sbpcd.cif (D_S[d].audio_state!=audio_playing) return (-ENODATA);
d2938drivers/cdrom/sbpcd.cD_S[d].frame_size=CD_FRAMESIZE_SUB;
d3022drivers/cdrom/sbpcd.cCDo_command, type, D_S[d].drive_model, D_S[d].drv_id);
d3038drivers/cdrom/sbpcd.cmsg(DBG_INI,"check_version: id=%d, d=%d.\n", D_S[d].drv_id, d);
d3039drivers/cdrom/sbpcd.cD_S[d].drv_type=0;
d3074drivers/cdrom/sbpcd.cD_S[d].drive_model[0]='C';
d3075drivers/cdrom/sbpcd.cD_S[d].drive_model[1]='R';
d3076drivers/cdrom/sbpcd.cD_S[d].drive_model[2]='-';
d3077drivers/cdrom/sbpcd.cD_S[d].drive_model[3]='5';
d3078drivers/cdrom/sbpcd.cD_S[d].drive_model[4]=infobuf[i++];
d3079drivers/cdrom/sbpcd.cD_S[d].drive_model[5]=infobuf[i++];
d3080drivers/cdrom/sbpcd.cD_S[d].drive_model[6]=0;
d3081drivers/cdrom/sbpcd.cD_S[d].drv_type=drv_fam1;
d3083drivers/cdrom/sbpcd.cif (!D_S[d].drv_type)
d3088drivers/cdrom/sbpcd.cD_S[d].drive_model[0]='C';
d3089drivers/cdrom/sbpcd.cD_S[d].drive_model[1]='R';
d3090drivers/cdrom/sbpcd.cD_S[d].drive_model[2]='-';
d3091drivers/cdrom/sbpcd.cD_S[d].drive_model[3]='5';
d3092drivers/cdrom/sbpcd.cD_S[d].drive_model[4]='2';
d3093drivers/cdrom/sbpcd.cD_S[d].drive_model[5]='x';
d3094drivers/cdrom/sbpcd.cD_S[d].drive_model[6]=0;
d3095drivers/cdrom/sbpcd.cD_S[d].drv_type=drv_fam0;
d3098drivers/cdrom/sbpcd.cif (!D_S[d].drv_type)
d3104drivers/cdrom/sbpcd.cD_S[d].drive_model[j]=infobuf[j];
d3105drivers/cdrom/sbpcd.cD_S[d].drive_model[8]=0;
d3106drivers/cdrom/sbpcd.cD_S[d].drv_type=drv_famL;
d3109drivers/cdrom/sbpcd.cif (!D_S[d].drv_type)
d3115drivers/cdrom/sbpcd.cD_S[d].drive_model[j]=infobuf[j];
d3116drivers/cdrom/sbpcd.cD_S[d].drive_model[6]=0;
d3117drivers/cdrom/sbpcd.cD_S[d].drv_type=drv_famV;
d3121drivers/cdrom/sbpcd.cif (!D_S[d].drv_type)
d3138drivers/cdrom/sbpcd.cOUT(CDo_enable,D_S[d].drv_sel);
d3164drivers/cdrom/sbpcd.cD_S[d].drive_model[0]='C';
d3165drivers/cdrom/sbpcd.cD_S[d].drive_model[1]='D';
d3166drivers/cdrom/sbpcd.cD_S[d].drive_model[2]='2';
d3167drivers/cdrom/sbpcd.cD_S[d].drive_model[3]='0';
d3168drivers/cdrom/sbpcd.cD_S[d].drive_model[4]='0';
d3169drivers/cdrom/sbpcd.cD_S[d].drive_model[5]=infobuf[i++];
d3170drivers/cdrom/sbpcd.cD_S[d].drive_model[6]=infobuf[i++];
d3171drivers/cdrom/sbpcd.cD_S[d].drive_model[7]=0;
d3172drivers/cdrom/sbpcd.cD_S[d].drv_type=drv_fam2;
d3176drivers/cdrom/sbpcd.cif (!D_S[d].drv_type)
d3180drivers/cdrom/sbpcd.cfor (j=1;j<=((D_S[d].drv_id==0)?3:1);j++)
d3182drivers/cdrom/sbpcd.cfor (l=1;l<=((D_S[d].drv_id==0)?10:1);l++)
d3188drivers/cdrom/sbpcd.cOUT(CDo_enable,D_S[d].drv_sel);
d3194drivers/cdrom/sbpcd.cOUT(CDo_enable,D_S[d].drv_sel);
d3221drivers/cdrom/sbpcd.cD_S[d].drive_model[0]='C';
d3222drivers/cdrom/sbpcd.cD_S[d].drive_model[1]='D';
d3223drivers/cdrom/sbpcd.cD_S[d].drive_model[2]='-';
d3224drivers/cdrom/sbpcd.cD_S[d].drive_model[3]='5';
d3225drivers/cdrom/sbpcd.cD_S[d].drive_model[4]='5';
d3226drivers/cdrom/sbpcd.cD_S[d].drive_model[5]=0;
d3227drivers/cdrom/sbpcd.cD_S[d].drv_type=drv_famT;
d3231drivers/cdrom/sbpcd.cif (!D_S[d].drv_type)
d3233drivers/cdrom/sbpcd.cmsg(DBG_TEA,"no drive found at address %03X under ID %d.\n",CDo_command,D_S[d].drv_id);
d3236drivers/cdrom/sbpcd.cfor (j=0;j<4;j++) D_S[d].firmware_version[j]=infobuf[i+j];
d3243drivers/cdrom/sbpcd.cif (D_S[d].firmware_version[j]!=lcs_firm_e1[j]) break;
d3244drivers/cdrom/sbpcd.cif (j==4) D_S[d].drv_type=drv_e1;
d3247drivers/cdrom/sbpcd.cif (D_S[d].firmware_version[j]!=lcs_firm_f4[j]) break;
d3248drivers/cdrom/sbpcd.cif (j==4) D_S[d].drv_type=drv_f4;
d3250drivers/cdrom/sbpcd.cif (D_S[d].drv_type==drv_famL) ask_mail();
d3257drivers/cdrom/sbpcd.cD_S[d].firmware_version[0]=infobuf[7];
d3258drivers/cdrom/sbpcd.cD_S[d].firmware_version[1]=infobuf[8];
d3259drivers/cdrom/sbpcd.cD_S[d].firmware_version[2]=infobuf[10];
d3260drivers/cdrom/sbpcd.cD_S[d].firmware_version[3]=infobuf[11];
d3265drivers/cdrom/sbpcd.cD_S[d].firmware_version[0]='0';
d3266drivers/cdrom/sbpcd.cD_S[d].firmware_version[1]='.';
d3267drivers/cdrom/sbpcd.cD_S[d].firmware_version[2]='0'+(j>>4);
d3268drivers/cdrom/sbpcd.cD_S[d].firmware_version[3]='0'+(j&0x0f);
d3273drivers/cdrom/sbpcd.cj = (D_S[d].firmware_version[0] & 0x0F) * 100 +
d3274drivers/cdrom/sbpcd.c(D_S[d].firmware_version[2] & 0x0F) *10 +
d3275drivers/cdrom/sbpcd.c(D_S[d].firmware_version[3] & 0x0F);
d3278drivers/cdrom/sbpcd.cif (j<200) D_S[d].drv_type=drv_199;
d3279drivers/cdrom/sbpcd.celse if (j<201) D_S[d].drv_type=drv_200;
d3280drivers/cdrom/sbpcd.celse if (j<210) D_S[d].drv_type=drv_201;
d3281drivers/cdrom/sbpcd.celse if (j<211) D_S[d].drv_type=drv_210;
d3282drivers/cdrom/sbpcd.celse if (j<300) D_S[d].drv_type=drv_211;
d3283drivers/cdrom/sbpcd.celse if (j>=300) D_S[d].drv_type=drv_300;
d3287drivers/cdrom/sbpcd.cif (j<100) D_S[d].drv_type=drv_099;
d3290drivers/cdrom/sbpcd.cD_S[d].drv_type=drv_100;
d3296drivers/cdrom/sbpcd.cif (D_S[d].drive_model[5]=='F')
d3310drivers/cdrom/sbpcd.cif (j==100) D_S[d].drv_type=drv_at;
d3314drivers/cdrom/sbpcd.cmsg(DBG_LCS,"drive type %02X\n",D_S[d].drv_type);
d3321drivers/cdrom/sbpcd.cd=i;
d3322drivers/cdrom/sbpcd.cOUT(CDo_enable,D_S[d].drv_sel);
d3323drivers/cdrom/sbpcd.cmsg(DBG_DID,"drive %d (ID=%d) activated.\n", i, D_S[d].drv_id);
d3453drivers/cdrom/sbpcd.cD_S[d].drv_options=drv_pattern[j];
d3454drivers/cdrom/sbpcd.cif (fam0L_drive) D_S[d].drv_options&=~(speed_auto|speed_300|speed_150);
d3456drivers/cdrom/sbpcd.cd,
d3457drivers/cdrom/sbpcd.cD_S[d].drv_id,
d3458drivers/cdrom/sbpcd.cD_S[d].drive_model,
d3459drivers/cdrom/sbpcd.cD_S[d].firmware_version,
d3595drivers/cdrom/sbpcd.ci=msf2blk(D_S[d].pos_audio_end)-1;
d3605drivers/cdrom/sbpcd.cD_S[d].diskstate_flags &= ~toc_bit;
d3606drivers/cdrom/sbpcd.cD_S[d].ored_ctl_adr=0;
d3607drivers/cdrom/sbpcd.cfor (j=D_S[d].n_first_track;j<=D_S[d].n_last_track;j++)
d3615drivers/cdrom/sbpcd.cD_S[d].TocBuffer[j].nixbyte=D_S[d].TocEnt_nixbyte;
d3616drivers/cdrom/sbpcd.cD_S[d].TocBuffer[j].ctl_adr=D_S[d].TocEnt_ctl_adr;
d3617drivers/cdrom/sbpcd.cD_S[d].TocBuffer[j].number=D_S[d].TocEnt_number;
d3618drivers/cdrom/sbpcd.cD_S[d].TocBuffer[j].format=D_S[d].TocEnt_format;
d3619drivers/cdrom/sbpcd.cD_S[d].TocBuffer[j].address=D_S[d].TocEnt_address;
d3620drivers/cdrom/sbpcd.cD_S[d].ored_ctl_adr |= D_S[d].TocEnt_ctl_adr;
d3623drivers/cdrom/sbpcd.cD_S[d].TocBuffer[j].nixbyte=0;
d3624drivers/cdrom/sbpcd.cD_S[d].TocBuffer[j].ctl_adr=0;
d3625drivers/cdrom/sbpcd.cD_S[d].TocBuffer[j].number=CDROM_LEADOUT;
d3626drivers/cdrom/sbpcd.cD_S[d].TocBuffer[j].format=0;
d3627drivers/cdrom/sbpcd.cD_S[d].TocBuffer[j].address=D_S[d].size_msf;
d3629drivers/cdrom/sbpcd.cD_S[d].diskstate_flags |= toc_bit;
d3637drivers/cdrom/sbpcd.cD_S[d].mode=READ_M1;
d3682drivers/cdrom/sbpcd.cif (D_S[d].f_multisession) D_S[d].sbp_bufsiz=1;  /* possibly a weird PhotoCD */
d3683drivers/cdrom/sbpcd.celse D_S[d].sbp_bufsiz=SBP_BUFFER_FRAMES;
d3684drivers/cdrom/sbpcd.ci=cc_ReadTocEntry(D_S[d].n_first_track);
d3692drivers/cdrom/sbpcd.cif ((fam0L_drive) && (D_S[d].xa_byte==0x20))
d3720drivers/cdrom/sbpcd.cif (D_S[d].CD_changed==0xFF)
d3722drivers/cdrom/sbpcd.cD_S[d].diskstate_flags=0;
d3723drivers/cdrom/sbpcd.cD_S[d].audio_state=0;
d3734drivers/cdrom/sbpcd.cD_S[d].CD_changed=1;
d3743drivers/cdrom/sbpcd.cD_S[d].diskstate_flags=0;
d3744drivers/cdrom/sbpcd.cD_S[d].audio_state=0;
d3752drivers/cdrom/sbpcd.cif (D_S[d].audio_state!=audio_pausing)
d3760drivers/cdrom/sbpcd.cif (D_S[d].audio_state==audio_playing) seek_pos_audio_end();
d3761drivers/cdrom/sbpcd.cD_S[d].audio_state=0;
d3768drivers/cdrom/sbpcd.cD_S[d].diskstate_flags=0;
d3769drivers/cdrom/sbpcd.cD_S[d].audio_state=0;
d3845drivers/cdrom/sbpcd.cif (d!=i) switch_drive(i);
d3872drivers/cdrom/sbpcd.cswitch (D_S[d].audio_state)
d3881drivers/cdrom/sbpcd.cD_S[d].pos_audio_start=D_S[d].SubQ_run_tot;
d3882drivers/cdrom/sbpcd.cD_S[d].audio_state=audio_pausing;
d3885drivers/cdrom/sbpcd.ci=cc_Seek(D_S[d].pos_audio_start,1);
d3897drivers/cdrom/sbpcd.cif (D_S[d].audio_state!=audio_pausing) return -EINVAL;
d3899drivers/cdrom/sbpcd.ci=cc_PlayAudio(D_S[d].pos_audio_start,
d3900drivers/cdrom/sbpcd.cD_S[d].pos_audio_end);
d3903drivers/cdrom/sbpcd.cD_S[d].audio_state=audio_playing;
d3908drivers/cdrom/sbpcd.cif (D_S[d].audio_state==audio_playing)
d3914drivers/cdrom/sbpcd.cD_S[d].pos_audio_start=D_S[d].SubQ_run_tot;
d3915drivers/cdrom/sbpcd.ci=cc_Seek(D_S[d].pos_audio_start,1);
d3921drivers/cdrom/sbpcd.cD_S[d].pos_audio_start = (msf.cdmsf_min0<<16) |
d3924drivers/cdrom/sbpcd.cD_S[d].pos_audio_end = (msf.cdmsf_min1<<16) |
d3928drivers/cdrom/sbpcd.cD_S[d].pos_audio_start,D_S[d].pos_audio_end);
d3929drivers/cdrom/sbpcd.ci=cc_PlayAudio(D_S[d].pos_audio_start,D_S[d].pos_audio_end);
d3934drivers/cdrom/sbpcd.cD_S[d].audio_state=audio_playing;
d3939drivers/cdrom/sbpcd.cif (D_S[d].audio_state==audio_playing)
d3954drivers/cdrom/sbpcd.cif (ti.cdti_trk0<D_S[d].n_first_track) return (-EINVAL);
d3955drivers/cdrom/sbpcd.cif (ti.cdti_trk0>D_S[d].n_last_track) return (-EINVAL);
d3957drivers/cdrom/sbpcd.cif (ti.cdti_trk1>D_S[d].n_last_track) ti.cdti_trk1=D_S[d].n_last_track;
d3958drivers/cdrom/sbpcd.cD_S[d].pos_audio_start=D_S[d].TocBuffer[ti.cdti_trk0].address;
d3959drivers/cdrom/sbpcd.cD_S[d].pos_audio_end=D_S[d].TocBuffer[ti.cdti_trk1+1].address;
d3960drivers/cdrom/sbpcd.ci=cc_PlayAudio(D_S[d].pos_audio_start,D_S[d].pos_audio_end);
d3964drivers/cdrom/sbpcd.cD_S[d].audio_state=audio_playing;
d3969drivers/cdrom/sbpcd.ctochdr.cdth_trk0=D_S[d].n_first_track;
d3970drivers/cdrom/sbpcd.ctochdr.cdth_trk1=D_S[d].n_last_track;
d3982drivers/cdrom/sbpcd.cif (i==CDROM_LEADOUT) i=D_S[d].n_last_track+1;
d3983drivers/cdrom/sbpcd.celse if (i<D_S[d].n_first_track||i>D_S[d].n_last_track) return (-EINVAL);
d3984drivers/cdrom/sbpcd.ctocentry.cdte_adr=D_S[d].TocBuffer[i].ctl_adr&0x0F;
d3985drivers/cdrom/sbpcd.ctocentry.cdte_ctrl=(D_S[d].TocBuffer[i].ctl_adr>>4)&0x0F;
d3986drivers/cdrom/sbpcd.ctocentry.cdte_datamode=D_S[d].TocBuffer[i].format;
d3989drivers/cdrom/sbpcd.ctocentry.cdte_addr.msf.minute=(D_S[d].TocBuffer[i].address>>16)&0x00FF;
d3990drivers/cdrom/sbpcd.ctocentry.cdte_addr.msf.second=(D_S[d].TocBuffer[i].address>>8)&0x00FF;
d3991drivers/cdrom/sbpcd.ctocentry.cdte_addr.msf.frame=D_S[d].TocBuffer[i].address&0x00FF;
d3994drivers/cdrom/sbpcd.ctocentry.cdte_addr.lba=msf2blk(D_S[d].TocBuffer[i].address);
d4004drivers/cdrom/sbpcd.cD_S[d].audio_state=0;
d4010drivers/cdrom/sbpcd.cD_S[d].audio_state=0;
d4016drivers/cdrom/sbpcd.cD_S[d].audio_state=0;
d4022drivers/cdrom/sbpcd.cif (D_S[d].open_count>1) return (-EBUSY);
d4024drivers/cdrom/sbpcd.cD_S[d].open_count=-9; /* to get it locked next time again */
d4029drivers/cdrom/sbpcd.cD_S[d].CD_changed=0xFF;
d4030drivers/cdrom/sbpcd.cD_S[d].diskstate_flags=0;
d4031drivers/cdrom/sbpcd.cD_S[d].audio_state=0;
d4037drivers/cdrom/sbpcd.cD_S[d].f_eject=arg;
d4045drivers/cdrom/sbpcd.cD_S[d].vol_chan0=0;
d4046drivers/cdrom/sbpcd.cD_S[d].vol_ctrl0=volctrl.channel0;
d4047drivers/cdrom/sbpcd.cD_S[d].vol_chan1=1;
d4048drivers/cdrom/sbpcd.cD_S[d].vol_ctrl1=volctrl.channel1;
d4058drivers/cdrom/sbpcd.cvolctrl.channel0=D_S[d].vol_ctrl0;
d4059drivers/cdrom/sbpcd.cvolctrl.channel1=D_S[d].vol_ctrl1;
d4075drivers/cdrom/sbpcd.cswitch (D_S[d].audio_state)
d4087drivers/cdrom/sbpcd.cSC.cdsc_adr=D_S[d].SubQ_ctl_adr;
d4088drivers/cdrom/sbpcd.cSC.cdsc_ctrl=D_S[d].SubQ_ctl_adr>>4;
d4089drivers/cdrom/sbpcd.cSC.cdsc_trk=bcd2bin(D_S[d].SubQ_trk);
d4090drivers/cdrom/sbpcd.cSC.cdsc_ind=bcd2bin(D_S[d].SubQ_pnt_idx);
d4093drivers/cdrom/sbpcd.cSC.cdsc_absaddr.lba=msf2blk(D_S[d].SubQ_run_tot);
d4094drivers/cdrom/sbpcd.cSC.cdsc_reladdr.lba=msf2blk(D_S[d].SubQ_run_trk);
d4098drivers/cdrom/sbpcd.cSC.cdsc_absaddr.msf.minute=(D_S[d].SubQ_run_tot>>16)&0x00FF;
d4099drivers/cdrom/sbpcd.cSC.cdsc_absaddr.msf.second=(D_S[d].SubQ_run_tot>>8)&0x00FF;
d4100drivers/cdrom/sbpcd.cSC.cdsc_absaddr.msf.frame=D_S[d].SubQ_run_tot&0x00FF;
d4101drivers/cdrom/sbpcd.cSC.cdsc_reladdr.msf.minute=(D_S[d].SubQ_run_trk>>16)&0x00FF;
d4102drivers/cdrom/sbpcd.cSC.cdsc_reladdr.msf.second=(D_S[d].SubQ_run_trk>>8)&0x00FF;
d4103drivers/cdrom/sbpcd.cSC.cdsc_reladdr.msf.frame=D_S[d].SubQ_run_trk&0x00FF;
d4117drivers/cdrom/sbpcd.cD_S[d].mode=READ_M1;
d4124drivers/cdrom/sbpcd.cD_S[d].mode=READ_M2;
d4129drivers/cdrom/sbpcd.cif (D_S[d].sbp_audsiz>0) vfree(D_S[d].aud_buf);
d4130drivers/cdrom/sbpcd.cD_S[d].aud_buf=NULL;
d4131drivers/cdrom/sbpcd.cD_S[d].sbp_audsiz=arg;
d4132drivers/cdrom/sbpcd.cif (D_S[d].sbp_audsiz>0)
d4134drivers/cdrom/sbpcd.cD_S[d].aud_buf=(u_char *) vmalloc(D_S[d].sbp_audsiz*CD_FRAMESIZE_RAW);
d4135drivers/cdrom/sbpcd.cif (D_S[d].aud_buf==NULL)
d4137drivers/cdrom/sbpcd.cmsg(DBG_INF,"audio buffer (%d frames) not available.\n",D_S[d].sbp_audsiz);
d4138drivers/cdrom/sbpcd.cD_S[d].sbp_audsiz=0;
d4140drivers/cdrom/sbpcd.celse msg(DBG_INF,"audio buffer size: %d frames.\n",D_S[d].sbp_audsiz);
d4142drivers/cdrom/sbpcd.creturn (D_S[d].sbp_audsiz);
d4161drivers/cdrom/sbpcd.cif (D_S[d].aud_buf==NULL) return (-EINVAL);
d4165drivers/cdrom/sbpcd.cif (read_audio.nframes>D_S[d].sbp_audsiz) return (-EINVAL);
d4188drivers/cdrom/sbpcd.cD_S[d].mode=READ_AU;
d4278drivers/cdrom/sbpcd.cp = D_S[d].aud_buf;
d4326drivers/cdrom/sbpcd.cD_S[d].status_bits);
d4338drivers/cdrom/sbpcd.c(u_char *) D_S[d].aud_buf,
d4345drivers/cdrom/sbpcd.cD_S[d].mode=READ_M1;
d4362drivers/cdrom/sbpcd.clba2msf(D_S[d].lba_multi,&ms_info.addr.msf.minute);
d4364drivers/cdrom/sbpcd.cms_info.addr.lba=D_S[d].lba_multi;
d4366drivers/cdrom/sbpcd.cif (D_S[d].f_multisession) ms_info.xa_flag=1; /* valid redirection address */
d4396drivers/cdrom/sbpcd.c(CURRENT->sector/4 >= D_S[d].sbp_first_frame) &&
d4397drivers/cdrom/sbpcd.c(CURRENT->sector/4 <= D_S[d].sbp_last_frame) )
d4399drivers/cdrom/sbpcd.coffs = (CURRENT->sector - D_S[d].sbp_first_frame * 4) * 512;
d4400drivers/cdrom/sbpcd.cmemcpy(CURRENT->buffer, D_S[d].sbp_buf + offs, 512);
d4440drivers/cdrom/sbpcd.cif (d!=i) switch_drive(i);
d4508drivers/cdrom/sbpcd.cD_S[d].sbp_first_frame=D_S[d].sbp_last_frame=-1;      /* purge buffer */
d4509drivers/cdrom/sbpcd.cD_S[d].sbp_current = 0;
d4511drivers/cdrom/sbpcd.cif (block+D_S[d].sbp_bufsiz <= D_S[d].CDsize_frm)
d4512drivers/cdrom/sbpcd.cD_S[d].sbp_read_frames = D_S[d].sbp_bufsiz;
d4515drivers/cdrom/sbpcd.cD_S[d].sbp_read_frames=D_S[d].CDsize_frm-block;
d4517drivers/cdrom/sbpcd.cif (D_S[d].sbp_read_frames < 1)
d4520drivers/cdrom/sbpcd.cblock, D_S[d].CDsize_frm);
d4521drivers/cdrom/sbpcd.cD_S[d].sbp_read_frames=1;
d4534drivers/cdrom/sbpcd.cdrvcmd[4]=D_S[d].sbp_read_frames>>8;
d4535drivers/cdrom/sbpcd.cdrvcmd[5]=D_S[d].sbp_read_frames&0xff;
d4541drivers/cdrom/sbpcd.cif (D_S[d].xa_byte==0x20)
d4548drivers/cdrom/sbpcd.cdrvcmd[4]=(D_S[d].sbp_read_frames>>8)&0x0ff;
d4549drivers/cdrom/sbpcd.cdrvcmd[5]=D_S[d].sbp_read_frames&0x0ff;
d4554drivers/cdrom/sbpcd.cif (D_S[d].drv_type>=drv_201)
d4567drivers/cdrom/sbpcd.cdrvcmd[4]=(D_S[d].sbp_read_frames>>8)&0x0ff;
d4568drivers/cdrom/sbpcd.cdrvcmd[5]=D_S[d].sbp_read_frames&0x0ff;
d4569drivers/cdrom/sbpcd.cdrvcmd[6]=(D_S[d].drv_type<drv_201)?0:2; /* flag "lba or msf-bcd format" */
d4576drivers/cdrom/sbpcd.cdrvcmd[5]=(D_S[d].sbp_read_frames>>8)&0x0ff;
d4577drivers/cdrom/sbpcd.cdrvcmd[6]=D_S[d].sbp_read_frames&0x0ff;
d4583drivers/cdrom/sbpcd.cdrvcmd[4]=(D_S[d].sbp_read_frames>>8)&0x0ff;
d4584drivers/cdrom/sbpcd.cdrvcmd[5]=D_S[d].sbp_read_frames&0x0ff;
d4594drivers/cdrom/sbpcd.cdrvcmd[7]=(D_S[d].sbp_read_frames>>8)&0x0ff;
d4595drivers/cdrom/sbpcd.cdrvcmd[8]=D_S[d].sbp_read_frames&0x0ff;
d4629drivers/cdrom/sbpcd.cif (D_S[d].f_multisession) max_latency=9*HZ;
d4633drivers/cdrom/sbpcd.cfor (frame=0;frame<D_S[d].sbp_read_frames&&!error_flag; frame++)
d4643drivers/cdrom/sbpcd.cif (D_S[d].f_multisession) try=maxtim_data*4;
d4688drivers/cdrom/sbpcd.cif ((D_S[d].ored_ctl_adr&0x40)==0)
d4697drivers/cdrom/sbpcd.cp = D_S[d].sbp_buf + frame *  CD_FRAMESIZE;
d4707drivers/cdrom/sbpcd.cD_S[d].sbp_current++;
d4779drivers/cdrom/sbpcd.cD_S[d].error_state=infobuf[2];
d4780drivers/cdrom/sbpcd.cD_S[d].b3=infobuf[3];
d4781drivers/cdrom/sbpcd.cD_S[d].b4=infobuf[4];
d4851drivers/cdrom/sbpcd.cmsg(DBG_INF,"bad cc_ReadStatus after read: %02X\n", D_S[d].status_bits);
d4865drivers/cdrom/sbpcd.cD_S[d].sbp_first_frame=D_S[d].sbp_last_frame=-1;      /* purge buffer */
d4866drivers/cdrom/sbpcd.cD_S[d].sbp_current = 0;
d4871drivers/cdrom/sbpcd.cD_S[d].sbp_first_frame = CURRENT -> sector / 4;
d4872drivers/cdrom/sbpcd.cD_S[d].sbp_last_frame = D_S[d].sbp_first_frame + D_S[d].sbp_read_frames - 1;
d4929drivers/cdrom/sbpcd.cif (famT_drive)  msg(DBG_TEA,"sbpcd_open: status %02X\n", D_S[d].status_bits);
d4933drivers/cdrom/sbpcd.cD_S[d].open_count=0;
d4948drivers/cdrom/sbpcd.cD_S[d].open_count,D_S[d].open_count+1);
d4949drivers/cdrom/sbpcd.cif (++D_S[d].open_count<=1)
d4952drivers/cdrom/sbpcd.cD_S[d].open_count=1;
d4956drivers/cdrom/sbpcd.cif ((D_S[d].ored_ctl_adr&0x40)==0)
d4978drivers/cdrom/sbpcd.cD_S[d].sbp_first_frame=D_S[d].sbp_last_frame=-1;
d4987drivers/cdrom/sbpcd.cD_S[d].open_count,D_S[d].open_count-1);
d4988drivers/cdrom/sbpcd.cif (D_S[d].open_count>-2) /* CDROMEJECT may have been done */
d4990drivers/cdrom/sbpcd.cif (--D_S[d].open_count<=0) 
d4993drivers/cdrom/sbpcd.cif (D_S[d].audio_state!=audio_playing)
d4994drivers/cdrom/sbpcd.cif (D_S[d].f_eject) cc_SpinDown();
d4995drivers/cdrom/sbpcd.cD_S[d].diskstate_flags &= ~cd_size_bit;
d4996drivers/cdrom/sbpcd.cD_S[d].open_count=0; 
d5252drivers/cdrom/sbpcd.cD_S[d].sbp_first_frame = -1;  /* First frame in buffer */
d5253drivers/cdrom/sbpcd.cD_S[d].sbp_last_frame = -1;   /* Last frame in buffer  */
d5254drivers/cdrom/sbpcd.cD_S[d].sbp_read_frames = 0;   /* Number of frames being read to buffer */
d5255drivers/cdrom/sbpcd.cD_S[d].sbp_current = 0;       /* Frame being currently read */
d5256drivers/cdrom/sbpcd.cD_S[d].CD_changed=1;
d5257drivers/cdrom/sbpcd.cD_S[d].frame_size=CD_FRAMESIZE;
d5258drivers/cdrom/sbpcd.cD_S[d].f_eject=0;
d5260drivers/cdrom/sbpcd.cif (!fam0_drive) D_S[d].f_eject=1;
d5278drivers/cdrom/sbpcd.cD_S[d].error_byte);
d5279drivers/cdrom/sbpcd.cif (D_S[d].error_byte==aud_12)
d5288drivers/cdrom/sbpcd.cD_S[d].error_byte);
d5295drivers/cdrom/sbpcd.cif (i>=0) D_S[d].CD_changed=1;
d5417drivers/cdrom/sbpcd.cmsg(DBG_CHK,"media_check: %02X\n",D_S[d].status_bits);
d5423drivers/cdrom/sbpcd.cif (D_S[d].CD_changed==0xFF) msg(DBG_CHK,"media_check: \"changed\" assumed.\n");
d5428drivers/cdrom/sbpcd.cD_S[d].CD_changed=0xFF;
d5433drivers/cdrom/sbpcd.cD_S[d].open_count=0;
d5434drivers/cdrom/sbpcd.cD_S[d].CD_changed=0xFF;
d5439drivers/cdrom/sbpcd.cif (D_S[d].CD_changed==0xFF)
d5441drivers/cdrom/sbpcd.cD_S[d].CD_changed=1;
d222drivers/cdrom/sjcd.cunsigned char b, unsigned char c, unsigned char d ){
d230drivers/cdrom/sjcd.coutb( d, SJCDPORT( 0 ) );
d308drivers/char/console.creturn (i < MAX_NR_CONSOLES && vc_cons[i].d);
d315drivers/char/console.cif (!vc_cons[i].d) {
d334drivers/char/console.cvc_cons[i].d = (struct vc_data *) p;
d338drivers/char/console.cvc_cons[i].d->vc_kmalloced = 1;
d339drivers/char/console.cvc_cons[i].d->vc_screenbuf_size = video_screen_size;
d451drivers/char/console.ckfree_s(vc_cons[currcons].d, structsize);
d452drivers/char/console.cvc_cons[currcons].d = 0;
d539drivers/char/console.cunsigned short * d = (unsigned short *) video_mem_base;
d548drivers/char/console.cscr_writew(scr_readw(d++),s++);
d604drivers/char/console.cunsigned short * d = (unsigned short *) video_mem_start;
d611drivers/char/console.cscr_writew(scr_readw(s++),d++);
d616drivers/char/console.cscr_writew(video_erase_char, d++);
d625drivers/char/console.cunsigned short * d;
d628drivers/char/console.cd = (unsigned short *) (scr_end - video_size_row);
d632drivers/char/console.cscr_writew(video_erase_char, d++);
d639drivers/char/console.cunsigned short * d = (unsigned short *) (origin+video_size_row*t);
d645drivers/char/console.cscr_writew(scr_readw(s++), d++);
d650drivers/char/console.cscr_writew(video_erase_char, d++);
d658drivers/char/console.cunsigned short *d, *s;
d663drivers/char/console.cd = (unsigned short *) (origin+video_size_row*b);
d668drivers/char/console.cscr_writew(scr_readw(--s), --d);
d673drivers/char/console.cscr_writew(video_erase_char, --d);
d1933drivers/char/console.cvc_cons[currcons].d->vc_palette[k++] = default_red[j] ;
d1934drivers/char/console.cvc_cons[currcons].d->vc_palette[k++] = default_grn[j] ;
d1935drivers/char/console.cvc_cons[currcons].d->vc_palette[k++] = default_blu[j] ;
d2043drivers/char/console.cvc_cons[currcons].d = (struct vc_data *) kmem_start;
d2053drivers/char/console.cvc_cons[currcons].d->vc_palette[k++] = default_red[j] ;
d2054drivers/char/console.cvc_cons[currcons].d->vc_palette[k++] = default_grn[j] ;
d2055drivers/char/console.cvc_cons[currcons].d->vc_palette[k++] = default_blu[j] ;
d71drivers/char/console_struct.hstruct vc_data *d;
d80drivers/char/console_struct.h#define screenbuf_size  (vc_cons[currcons].d->vc_screenbuf_size)
d81drivers/char/console_struct.h#define origin    (vc_cons[currcons].d->vc_origin)
d82drivers/char/console_struct.h#define scr_end  (vc_cons[currcons].d->vc_scr_end)
d83drivers/char/console_struct.h#define pos    (vc_cons[currcons].d->vc_pos)
d84drivers/char/console_struct.h#define top    (vc_cons[currcons].d->vc_top)
d85drivers/char/console_struct.h#define bottom    (vc_cons[currcons].d->vc_bottom)
d86drivers/char/console_struct.h#define x    (vc_cons[currcons].d->vc_x)
d87drivers/char/console_struct.h#define y    (vc_cons[currcons].d->vc_y)
d88drivers/char/console_struct.h#define vc_state  (vc_cons[currcons].d->vc_state)
d89drivers/char/console_struct.h#define npar    (vc_cons[currcons].d->vc_npar)
d90drivers/char/console_struct.h#define par    (vc_cons[currcons].d->vc_par)
d91drivers/char/console_struct.h#define ques    (vc_cons[currcons].d->vc_ques)
d92drivers/char/console_struct.h#define attr    (vc_cons[currcons].d->vc_attr)
d93drivers/char/console_struct.h#define saved_x  (vc_cons[currcons].d->vc_saved_x)
d94drivers/char/console_struct.h#define saved_y  (vc_cons[currcons].d->vc_saved_y)
d95drivers/char/console_struct.h#define translate  (vc_cons[currcons].d->vc_translate)
d96drivers/char/console_struct.h#define G0_charset  (vc_cons[currcons].d->vc_G0_charset)
d97drivers/char/console_struct.h#define G1_charset  (vc_cons[currcons].d->vc_G1_charset)
d98drivers/char/console_struct.h#define saved_G0  (vc_cons[currcons].d->vc_saved_G0)
d99drivers/char/console_struct.h#define saved_G1  (vc_cons[currcons].d->vc_saved_G1)
d100drivers/char/console_struct.h#define utf    (vc_cons[currcons].d->vc_utf)
d101drivers/char/console_struct.h#define utf_count  (vc_cons[currcons].d->vc_utf_count)
d102drivers/char/console_struct.h#define utf_char  (vc_cons[currcons].d->vc_utf_char)
d103drivers/char/console_struct.h#define video_mem_start (vc_cons[currcons].d->vc_video_mem_start)
d104drivers/char/console_struct.h#define video_mem_end  (vc_cons[currcons].d->vc_video_mem_end)
d105drivers/char/console_struct.h#define video_erase_char (vc_cons[currcons].d->vc_video_erase_char)
d106drivers/char/console_struct.h#define disp_ctrl  (vc_cons[currcons].d->vc_disp_ctrl)
d107drivers/char/console_struct.h#define toggle_meta  (vc_cons[currcons].d->vc_toggle_meta)
d108drivers/char/console_struct.h#define decscnm  (vc_cons[currcons].d->vc_decscnm)
d109drivers/char/console_struct.h#define decom    (vc_cons[currcons].d->vc_decom)
d110drivers/char/console_struct.h#define decawm    (vc_cons[currcons].d->vc_decawm)
d111drivers/char/console_struct.h#define deccm    (vc_cons[currcons].d->vc_deccm)
d112drivers/char/console_struct.h#define decim    (vc_cons[currcons].d->vc_decim)
d113drivers/char/console_struct.h#define deccolm  (vc_cons[currcons].d->vc_deccolm)
d114drivers/char/console_struct.h#define need_wrap  (vc_cons[currcons].d->vc_need_wrap)
d115drivers/char/console_struct.h#define has_scrolled  (vc_cons[currcons].d->vc_has_scrolled)
d116drivers/char/console_struct.h#define kmalloced  (vc_cons[currcons].d->vc_kmalloced)
d117drivers/char/console_struct.h#define report_mouse  (vc_cons[currcons].d->vc_report_mouse)
d118drivers/char/console_struct.h#define color    (vc_cons[currcons].d->vc_color)
d119drivers/char/console_struct.h#define s_color  (vc_cons[currcons].d->vc_s_color)
d120drivers/char/console_struct.h#define def_color  (vc_cons[currcons].d->vc_def_color)
d123drivers/char/console_struct.h#define charset  (vc_cons[currcons].d->vc_charset)
d124drivers/char/console_struct.h#define s_charset  (vc_cons[currcons].d->vc_s_charset)
d125drivers/char/console_struct.h#define  intensity  (vc_cons[currcons].d->vc_intensity)
d126drivers/char/console_struct.h#define  underline  (vc_cons[currcons].d->vc_underline)
d127drivers/char/console_struct.h#define  blink    (vc_cons[currcons].d->vc_blink)
d128drivers/char/console_struct.h#define  reverse    (vc_cons[currcons].d->vc_reverse)
d129drivers/char/console_struct.h#define  s_intensity  (vc_cons[currcons].d->vc_s_intensity)
d130drivers/char/console_struct.h#define  s_underline  (vc_cons[currcons].d->vc_s_underline)
d131drivers/char/console_struct.h#define  s_blink    (vc_cons[currcons].d->vc_s_blink)
d132drivers/char/console_struct.h#define  s_reverse  (vc_cons[currcons].d->vc_s_reverse)
d133drivers/char/console_struct.h#define  ulcolor    (vc_cons[currcons].d->vc_ulcolor)
d134drivers/char/console_struct.h#define  halfcolor  (vc_cons[currcons].d->vc_halfcolor)
d135drivers/char/console_struct.h#define tab_stop  (vc_cons[currcons].d->vc_tab_stop)
d136drivers/char/console_struct.h#define palette    (vc_cons[currcons].d->vc_palette)
d137drivers/char/console_struct.h#define bell_pitch  (vc_cons[currcons].d->vc_bell_pitch)
d138drivers/char/console_struct.h#define bell_duration  (vc_cons[currcons].d->vc_bell_duration)
d831drivers/char/keyboard.cint d = diacr;
d836drivers/char/keyboard.creturn d;
d839drivers/char/keyboard.cif (accent_table[i].diacr == d && accent_table[i].base == ch)
d843drivers/char/keyboard.cput_queue(d);
d481drivers/char/random.c__u32 a, b, c, d;
d486drivers/char/random.cd = buf[3];
d488drivers/char/random.cMD5STEP(F1, a, b, c, d, in[ 0]+0xd76aa478,  7);
d489drivers/char/random.cMD5STEP(F1, d, a, b, c, in[ 1]+0xe8c7b756, 12);
d490drivers/char/random.cMD5STEP(F1, c, d, a, b, in[ 2]+0x242070db, 17);
d491drivers/char/random.cMD5STEP(F1, b, c, d, a, in[ 3]+0xc1bdceee, 22);
d492drivers/char/random.cMD5STEP(F1, a, b, c, d, in[ 4]+0xf57c0faf,  7);
d493drivers/char/random.cMD5STEP(F1, d, a, b, c, in[ 5]+0x4787c62a, 12);
d494drivers/char/random.cMD5STEP(F1, c, d, a, b, in[ 6]+0xa8304613, 17);
d495drivers/char/random.cMD5STEP(F1, b, c, d, a, in[ 7]+0xfd469501, 22);
d496drivers/char/random.cMD5STEP(F1, a, b, c, d, in[ 8]+0x698098d8,  7);
d497drivers/char/random.cMD5STEP(F1, d, a, b, c, in[ 9]+0x8b44f7af, 12);
d498drivers/char/random.cMD5STEP(F1, c, d, a, b, in[10]+0xffff5bb1, 17);
d499drivers/char/random.cMD5STEP(F1, b, c, d, a, in[11]+0x895cd7be, 22);
d500drivers/char/random.cMD5STEP(F1, a, b, c, d, in[12]+0x6b901122,  7);
d501drivers/char/random.cMD5STEP(F1, d, a, b, c, in[13]+0xfd987193, 12);
d502drivers/char/random.cMD5STEP(F1, c, d, a, b, in[14]+0xa679438e, 17);
d503drivers/char/random.cMD5STEP(F1, b, c, d, a, in[15]+0x49b40821, 22);
d505drivers/char/random.cMD5STEP(F2, a, b, c, d, in[ 1]+0xf61e2562,  5);
d506drivers/char/random.cMD5STEP(F2, d, a, b, c, in[ 6]+0xc040b340,  9);
d507drivers/char/random.cMD5STEP(F2, c, d, a, b, in[11]+0x265e5a51, 14);
d508drivers/char/random.cMD5STEP(F2, b, c, d, a, in[ 0]+0xe9b6c7aa, 20);
d509drivers/char/random.cMD5STEP(F2, a, b, c, d, in[ 5]+0xd62f105d,  5);
d510drivers/char/random.cMD5STEP(F2, d, a, b, c, in[10]+0x02441453,  9);
d511drivers/char/random.cMD5STEP(F2, c, d, a, b, in[15]+0xd8a1e681, 14);
d512drivers/char/random.cMD5STEP(F2, b, c, d, a, in[ 4]+0xe7d3fbc8, 20);
d513drivers/char/random.cMD5STEP(F2, a, b, c, d, in[ 9]+0x21e1cde6,  5);
d514drivers/char/random.cMD5STEP(F2, d, a, b, c, in[14]+0xc33707d6,  9);
d515drivers/char/random.cMD5STEP(F2, c, d, a, b, in[ 3]+0xf4d50d87, 14);
d516drivers/char/random.cMD5STEP(F2, b, c, d, a, in[ 8]+0x455a14ed, 20);
d517drivers/char/random.cMD5STEP(F2, a, b, c, d, in[13]+0xa9e3e905,  5);
d518drivers/char/random.cMD5STEP(F2, d, a, b, c, in[ 2]+0xfcefa3f8,  9);
d519drivers/char/random.cMD5STEP(F2, c, d, a, b, in[ 7]+0x676f02d9, 14);
d520drivers/char/random.cMD5STEP(F2, b, c, d, a, in[12]+0x8d2a4c8a, 20);
d522drivers/char/random.cMD5STEP(F3, a, b, c, d, in[ 5]+0xfffa3942,  4);
d523drivers/char/random.cMD5STEP(F3, d, a, b, c, in[ 8]+0x8771f681, 11);
d524drivers/char/random.cMD5STEP(F3, c, d, a, b, in[11]+0x6d9d6122, 16);
d525drivers/char/random.cMD5STEP(F3, b, c, d, a, in[14]+0xfde5380c, 23);
d526drivers/char/random.cMD5STEP(F3, a, b, c, d, in[ 1]+0xa4beea44,  4);
d527drivers/char/random.cMD5STEP(F3, d, a, b, c, in[ 4]+0x4bdecfa9, 11);
d528drivers/char/random.cMD5STEP(F3, c, d, a, b, in[ 7]+0xf6bb4b60, 16);
d529drivers/char/random.cMD5STEP(F3, b, c, d, a, in[10]+0xbebfbc70, 23);
d530drivers/char/random.cMD5STEP(F3, a, b, c, d, in[13]+0x289b7ec6,  4);
d531drivers/char/random.cMD5STEP(F3, d, a, b, c, in[ 0]+0xeaa127fa, 11);
d532drivers/char/random.cMD5STEP(F3, c, d, a, b, in[ 3]+0xd4ef3085, 16);
d533drivers/char/random.cMD5STEP(F3, b, c, d, a, in[ 6]+0x04881d05, 23);
d534drivers/char/random.cMD5STEP(F3, a, b, c, d, in[ 9]+0xd9d4d039,  4);
d535drivers/char/random.cMD5STEP(F3, d, a, b, c, in[12]+0xe6db99e5, 11);
d536drivers/char/random.cMD5STEP(F3, c, d, a, b, in[15]+0x1fa27cf8, 16);
d537drivers/char/random.cMD5STEP(F3, b, c, d, a, in[ 2]+0xc4ac5665, 23);
d539drivers/char/random.cMD5STEP(F4, a, b, c, d, in[ 0]+0xf4292244,  6);
d540drivers/char/random.cMD5STEP(F4, d, a, b, c, in[ 7]+0x432aff97, 10);
d541drivers/char/random.cMD5STEP(F4, c, d, a, b, in[14]+0xab9423a7, 15);
d542drivers/char/random.cMD5STEP(F4, b, c, d, a, in[ 5]+0xfc93a039, 21);
d543drivers/char/random.cMD5STEP(F4, a, b, c, d, in[12]+0x655b59c3,  6);
d544drivers/char/random.cMD5STEP(F4, d, a, b, c, in[ 3]+0x8f0ccc92, 10);
d545drivers/char/random.cMD5STEP(F4, c, d, a, b, in[10]+0xffeff47d, 15);
d546drivers/char/random.cMD5STEP(F4, b, c, d, a, in[ 1]+0x85845dd1, 21);
d547drivers/char/random.cMD5STEP(F4, a, b, c, d, in[ 8]+0x6fa87e4f,  6);
d548drivers/char/random.cMD5STEP(F4, d, a, b, c, in[15]+0xfe2ce6e0, 10);
d549drivers/char/random.cMD5STEP(F4, c, d, a, b, in[ 6]+0xa3014314, 15);
d550drivers/char/random.cMD5STEP(F4, b, c, d, a, in[13]+0x4e0811a1, 21);
d551drivers/char/random.cMD5STEP(F4, a, b, c, d, in[ 4]+0xf7537e82,  6);
d552drivers/char/random.cMD5STEP(F4, d, a, b, c, in[11]+0xbd3af235, 10);
d553drivers/char/random.cMD5STEP(F4, c, d, a, b, in[ 2]+0x2ad7d2bb, 15);
d554drivers/char/random.cMD5STEP(F4, b, c, d, a, in[ 9]+0xeb86d391, 21);
d559drivers/char/random.cbuf[3] += d;
d409drivers/char/tga.cvc_cons[i].d->vc_palette[k++] = default_red[j];
d410drivers/char/tga.cvc_cons[i].d->vc_palette[k++] = default_grn[j];
d411drivers/char/tga.cvc_cons[i].d->vc_palette[k++] = default_blu[j];
d1340drivers/char/tty_io.cchar *c, *d;
d1350drivers/char/tty_io.cd = (char *)(ts->tasks+n);
d1352drivers/char/tty_io.cput_user(*c++, d++);
d78drivers/char/vga.coutb_p (vc_cons[fg_console].d->vc_palette[j++]>>2, dac_val) ;
d79drivers/char/vga.coutb_p (vc_cons[fg_console].d->vc_palette[j++]>>2, dac_val) ;
d80drivers/char/vga.coutb_p (vc_cons[fg_console].d->vc_palette[j++]>>2, dac_val) ;
d559drivers/char/vga.cvc_cons[i].d->vc_palette[k++] = default_red[j];
d560drivers/char/vga.cvc_cons[i].d->vc_palette[k++] = default_grn[j];
d561drivers/char/vga.cvc_cons[i].d->vc_palette[k++] = default_blu[j];
d242drivers/net/net_init.cstruct device *d = dev_base;
d271drivers/net/net_init.cwhile (d->next)
d272drivers/net/net_init.cd = d->next;
d273drivers/net/net_init.cd->next = dev;
d285drivers/net/net_init.cstruct device *d = dev_base;
d312drivers/net/net_init.cwhile(d && (net_alias_nextdev(d) != dev)) /* skip aliases */
d313drivers/net/net_init.cd = net_alias_nextdev(d);
d315drivers/net/net_init.cif (d && (net_alias_nextdev(d) == dev))
d320drivers/net/net_init.cnet_alias_nextdev_set(d, net_alias_nextdev(dev)); 
d327drivers/net/net_init.cwhile (d && (d->next != dev))
d328drivers/net/net_init.cd = d->next;
d330drivers/net/net_init.cif (d && (d->next == dev)) 
d332drivers/net/net_init.cd->next = dev->next;
d2840drivers/net/ppp.c&temp.d);
d104drivers/net/slip.cstatic int slip_esc(unsigned char *p, unsigned char *d, int len);
d107drivers/net/slip.cstatic int slip_esc6(unsigned char *p, unsigned char *d, int len);
d851drivers/net/slip.cslip_esc(unsigned char *s, unsigned char *d, int len)
d853drivers/net/slip.cunsigned char *ptr = d;
d885drivers/net/slip.creturn (ptr - d);
d936drivers/net/slip.cslip_esc6(unsigned char *s, unsigned char *d, int len)
d938drivers/net/slip.cunsigned char *ptr = d;
d970drivers/net/slip.creturn ptr - d;
d1594drivers/scsi/NCR5380.cregister unsigned char *d = *data;
d1634drivers/scsi/NCR5380.cNCR5380_write(OUTPUT_DATA_REG, *d);
d1636drivers/scsi/NCR5380.c*d = NCR5380_read(CURRENT_SCSI_DATA_REG);
d1638drivers/scsi/NCR5380.c++d;
d1702drivers/scsi/NCR5380.c*data = d;
d1808drivers/scsi/NCR5380.cregister unsigned char *d = *data;
d1834drivers/scsi/NCR5380.c"writing", c, (p & SR_IO) ? "to" : "from", (unsigned) d);
d1837drivers/scsi/NCR5380.cNCR5380_dma_read_setup(instance, d, c) : 
d1838drivers/scsi/NCR5380.cNCR5380_dma_write_setup(instance, d, c);
d2010drivers/scsi/NCR5380.cif (!(foo = NCR5380_pread(instance, d, c - diff))) {
d2037drivers/scsi/NCR5380.cd[c - 1] = NCR5380_read(INPUT_DATA_REG);
d2045drivers/scsi/NCR5380.cif (!(foo = NCR5380_pwrite(instance, d, c))) {
d2117drivers/scsi/NCR5380.c*data = d + c;
d491drivers/scsi/pas16.cregister unsigned char  *d = dst;
d498drivers/scsi/pas16.cinsb( reg, d, i );
d325drivers/scsi/t128.cT_DATA_REG_OFFSET), *d = dst;
d336drivers/scsi/t128.c*d++ = *reg;
d113drivers/sound/ad1848.c#define io_Index_Addr(d)  ((d)->base)
d114drivers/sound/ad1848.c#define io_Indexed_Data(d)  ((d)->base+1)
d115drivers/sound/ad1848.c#define io_Status(d)    ((d)->base+2)
d116drivers/sound/ad1848.c#define io_Polled_IO(d)    ((d)->base+3)
d31fs/fat/msbuffer.h#define bread(d,b,s)      fat_bread(sb,b)
d32fs/fat/msbuffer.h#define getblk(d,b,s)      fat_getblk(sb,b)
d55fs/umsdos/dir.cstruct UMSDOS_DIR_ONCE *d = (struct UMSDOS_DIR_ONCE *)buf;
d56fs/umsdos/dir.cif (d->count == 0){
d63fs/umsdos/dir.cret = d->filldir (d->dirbuf,name,name_len,offset,ino);
d64fs/umsdos/dir.cd->stop = ret < 0;
d65fs/umsdos/dir.cd->count = 1;
d423fs/umsdos/dir.cstruct UMSDOS_DIRENT_K *d = (struct UMSDOS_DIRENT_K *)buf;
d424fs/umsdos/dir.cd->f_pos = offset;
d425fs/umsdos/dir.cd->ino = ino;
d443fs/umsdos/dir.cstruct UMSDOS_DIR_SEARCH *d = (struct UMSDOS_DIR_SEARCH *)buf;
d444fs/umsdos/dir.cif (d->search_ino == ino){
d445fs/umsdos/dir.cd->found = 1;
d446fs/umsdos/dir.cmemcpy (d->entry->name,name,name_len);
d447fs/umsdos/dir.cd->entry->name[name_len] = '\0';
d448fs/umsdos/dir.cd->entry->name_len = name_len;
d38fs/umsdos/ioctl.cstruct UMSDOS_DIR_ONCE *d = (struct UMSDOS_DIR_ONCE *)buf;
d39fs/umsdos/ioctl.cif (d->count == 0){
d40fs/umsdos/ioctl.cmemcpy_tofs (d->ent->d_name,name,name_len);
d41fs/umsdos/ioctl.cput_user ('\0',d->ent->d_name+name_len);
d42fs/umsdos/ioctl.cput_user (name_len,&d->ent->d_reclen);
d43fs/umsdos/ioctl.cput_user (ino,&d->ent->d_ino);
d44fs/umsdos/ioctl.cput_user (offset,&d->ent->d_off);
d45fs/umsdos/ioctl.cd->count = 1;
d41fs/umsdos/rdir.cstruct RDIR_FILLDIR *d = (struct RDIR_FILLDIR*) buf;
d42fs/umsdos/rdir.cif (d->real_root){
d53fs/umsdos/rdir.cret = d->filldir (d->dirbuf,name,name_len,offset,ino);
d57fs/umsdos/rdir.cret = d->filldir (d->dirbuf,name,name_len,offset,ino);
d84include/asm-i386/io.h#define eth_io_copy_and_sum(a,b,c,d)  eth_copy_and_sum((a),(void *)(b),(c),(d))
d70include/asm-m68k/unistd.h#define _syscall4(type,name,atype,a,btype,b,ctype,c,dtype,d) \
d71include/asm-m68k/unistd.htype name (atype a, btype b, ctype c, dtype d) \
d83include/asm-m68k/unistd.h"g" ((long)(d))  \
d91include/asm-m68k/unistd.h#define _syscall5(type,name,atype,a,btype,b,ctype,c,dtype,d,etype,e) \
d92include/asm-m68k/unistd.htype name (atype a,btype b,ctype c,dtype d,etype e) \
d105include/asm-m68k/unistd.h"g" ((long)(d)), \
d92include/asm-mips/io.h#define eth_io_copy_and_sum(a,b,c,d)  eth_copy_and_sum((a),(void *)(b),(c),(d))
d1232include/asm-mips/unistd.h#define _syscall4(type,name,atype,a,btype,b,ctype,c,dtype,d) \
d1233include/asm-mips/unistd.htype name (atype a, btype b, ctype c, dtype d) \
d1247include/asm-mips/unistd.h"r" ((long)(d)) \
d1255include/asm-mips/unistd.h#define _syscall5(type,name,atype,a,btype,b,ctype,c,dtype,d,etype,e) \
d1256include/asm-mips/unistd.htype name (atype a,btype b,ctype c,dtype d,etype e) \
d1271include/asm-mips/unistd.h"r" ((long)(d)), \
d133include/asm-sparc/checksum.h#define csum_partial_copy_fromuser(s, d, l, w)  \
d134include/asm-sparc/checksum.hcsum_partial_copy((char *) (s), (d), (l), (w))
d33include/asm-sparc/openprom.hint (*v2_inst2pkg)(int d);  /* Convert ihandle to phandle */
d42include/asm-sparc/openprom.hvoid (*v2_dev_close)(int d);
d43include/asm-sparc/openprom.hint (*v2_dev_read)(int d, char *buf, int nbytes);
d44include/asm-sparc/openprom.hint (*v2_dev_write)(int d, char *buf, int nbytes);
d45include/asm-sparc/openprom.hvoid (*v2_dev_seek)(int d, int hi, int lo);
d135include/asm-sparc/openprom.hunsigned int (*pv_enaddr)(int d, char *enaddr);
d155include/linux/ppp_defs.hstruct compstat  d;  /* packet decompression statistics */
d225include/linux/sbpcd.h#define upc_valid    (D_S[d].diskstate_flags&upc_bit)
d226include/linux/sbpcd.h#define volume_valid    (D_S[d].diskstate_flags&volume_bit)
d227include/linux/sbpcd.h#define toc_valid    (D_S[d].diskstate_flags&toc_bit)
d228include/linux/sbpcd.h#define cd_size_valid    (D_S[d].diskstate_flags&cd_size_bit)
d229include/linux/sbpcd.h#define subq_valid    (D_S[d].diskstate_flags&subq_bit)
d230include/linux/sbpcd.h#define frame_size_valid  (D_S[d].diskstate_flags&frame_size_bit)
d307include/linux/sbpcd.h#define st_door_closed  (D_S[d].status_bits&p_door_closed)
d308include/linux/sbpcd.h#define st_caddy_in  (D_S[d].status_bits&p_caddy_in)
d309include/linux/sbpcd.h#define st_spinning  (D_S[d].status_bits&p_spinning)
d310include/linux/sbpcd.h#define st_check  (D_S[d].status_bits&p_check)
d311include/linux/sbpcd.h#define st_busy    (D_S[d].status_bits&p_busy_new)
d312include/linux/sbpcd.h#define st_door_locked  (D_S[d].status_bits&p_door_locked)
d313include/linux/sbpcd.h#define st_diskok  (D_S[d].status_bits&p_disk_ok)
d355include/linux/sbpcd.h#define fam0_drive  (D_S[d].drv_type&drv_fam0)
d356include/linux/sbpcd.h#define famL_drive  (D_S[d].drv_type&drv_famL)
d357include/linux/sbpcd.h#define famV_drive  (D_S[d].drv_type&drv_famV)
d358include/linux/sbpcd.h#define fam1_drive  (D_S[d].drv_type&drv_fam1)
d359include/linux/sbpcd.h#define fam2_drive  (D_S[d].drv_type&drv_fam2)
d360include/linux/sbpcd.h#define famT_drive  (D_S[d].drv_type&drv_famT)
d361include/linux/sbpcd.h#define fam0L_drive  (D_S[d].drv_type&(drv_fam0|drv_famL))
d362include/linux/sbpcd.h#define fam0V_drive  (D_S[d].drv_type&(drv_fam0|drv_famV))
d363include/linux/sbpcd.h#define famLV_drive  (D_S[d].drv_type&(drv_famL|drv_famV))
d364include/linux/sbpcd.h#define fam0LV_drive  (D_S[d].drv_type&(drv_fam0|drv_famL|drv_famV))
d365include/linux/sbpcd.h#define fam1L_drive  (D_S[d].drv_type&(drv_fam1|drv_famL))
d366include/linux/sbpcd.h#define fam1V_drive  (D_S[d].drv_type&(drv_fam1|drv_famV))
d367include/linux/sbpcd.h#define fam1LV_drive  (D_S[d].drv_type&(drv_fam1|drv_famL|drv_famV))
d368include/linux/sbpcd.h#define fam01_drive  (D_S[d].drv_type&(drv_fam0|drv_fam1))
d369include/linux/sbpcd.h#define fam12_drive  (D_S[d].drv_type&(drv_fam1|drv_fam2))
d370include/linux/sbpcd.h#define fam2T_drive  (D_S[d].drv_type&(drv_fam2|drv_famT))
d50include/linux/smp.h#define smp_message_pass(t,m,d,w)  
d522include/linux/tpqic02.h#define  TP_REWCLOSE(d)  ((MINOR(d)&0x01) == 1)         /* rewind bit */
d24include/net/netlink.h#define ip_netlink_msg(a,b,c,d,e,f,g)
d268lib/inflate.cSTATIC int huft_build(b, n, s, d, e, t, m)
d272lib/inflate.cush *d;                 /* list of base values for non-simple codes */
d453lib/inflate.cr.v.n = d[*p++ - s];
d514lib/inflate.cunsigned n, d;        /* length and index for copy */
d575lib/inflate.cd = w - t->v.n - ((unsigned)b & mask_bits[e]);
d577lib/inflate.cTracevv((stderr,"\\[%d,%d]", w-d, n));
d581lib/inflate.cn -= (e = (e = WSIZE - ((d &= WSIZE-1) > w ? d : w)) > n ? n : e);
d583lib/inflate.cif (w - d >= e)         /* (this test assumes unsigned comparison) */
d585lib/inflate.cmemcpy(slide + w, slide + d, e);
d587lib/inflate.cd += e;
d592lib/inflate.cslide[w++] = slide[d++];
d335net/ax25/ax25_subr.cint d = 0;
d365net/ax25/ax25_subr.cif (d >= AX25_MAX_DIGIS)  return NULL;  /* Max of 6 digis */
d369net/ax25/ax25_subr.cmemcpy(&digi->calls[d], buf, AX25_ADDR_LEN);
d370net/ax25/ax25_subr.cdigi->ndigi = d + 1;
d372net/ax25/ax25_subr.cdigi->repeated[d] = 1;
d373net/ax25/ax25_subr.cdigi->lastrepeat  = d;
d375net/ax25/ax25_subr.cdigi->repeated[d] = 0;
d381net/ax25/ax25_subr.cd++;
d390net/ax25/ax25_subr.cint build_ax25_addr(unsigned char *buf, ax25_address *src, ax25_address *dest, ax25_digi *d, int flag, int modulus)
d419net/ax25/ax25_subr.cif (d == NULL || d->ndigi == 0) {
d427net/ax25/ax25_subr.cwhile (ct < d->ndigi) {
d428net/ax25/ax25_subr.cmemcpy(buf, &d->calls[ct], AX25_ADDR_LEN);
d429net/ax25/ax25_subr.cif (d->repeated[ct])
d59net/ethernet/eth.cstruct device *d = dev_base;
d63net/ethernet/eth.cwhile (d) 
d65net/ethernet/eth.cif (!strcmp(str,d->name)) 
d68net/ethernet/eth.cd->irq=ints[1];
d70net/ethernet/eth.cd->base_addr=ints[2];
d72net/ethernet/eth.cd->mem_start=ints[3];
d74net/ethernet/eth.cd->mem_end=ints[4];
d77net/ethernet/eth.cd=d->next;
d1870net/ipx/af_ipx.cvoid dump_data(char *str,unsigned char *d, int len) {
d1878net/ipx/af_ipx.c*(p++) = h2c[(d[i] >> 4) & 0x0f];
d1879net/ipx/af_ipx.c*(p++) = h2c[d[i] & 0x0f];
d1892net/ipx/af_ipx.c*(p++) = ' '<= d[i] && d[i]<'\177' ? d[i] : '.';
d1896net/ipx/af_ipx.cd += i;