tag | line | file | source code |
d | 24 | arch/alpha/lib/memcpy.c | #define ALIGN_DEST_TO8(d,s,n) \ |
d | 25 | arch/alpha/lib/memcpy.c | while (d & 7) { \ |
d | 28 | arch/alpha/lib/memcpy.c | *(char *) d = *(char *) s; \ |
d | 29 | arch/alpha/lib/memcpy.c | d++; s++; \ |
d | 36 | arch/alpha/lib/memcpy.c | #define DO_REST(d,s,n) \ |
d | 39 | arch/alpha/lib/memcpy.c | *(char *) d = *(char *) s; \ |
d | 40 | arch/alpha/lib/memcpy.c | d++; s++; \ |
d | 47 | arch/alpha/lib/memcpy.c | #define DO_REST_ALIGNED(d,s,n) DO_REST(d,s,n) |
d | 56 | arch/alpha/lib/memcpy.c | static inline void __memcpy_unaligned(unsigned long d, unsigned long s, long n) |
d | 58 | arch/alpha/lib/memcpy.c | ALIGN_DEST_TO8(d,s,n); |
d | 74 | arch/alpha/lib/memcpy.c | *(unsigned long *) d = low_word | tmp; |
d | 75 | arch/alpha/lib/memcpy.c | d += 8; |
d | 80 | arch/alpha/lib/memcpy.c | DO_REST(d,s,n); |
d | 91 | arch/alpha/lib/memcpy.c | static inline void __memcpy_aligned(unsigned long d, unsigned long s, long n) |
d | 93 | arch/alpha/lib/memcpy.c | ALIGN_DEST_TO8(d,s,n); |
d | 100 | arch/alpha/lib/memcpy.c | *(unsigned long *) d = tmp; |
d | 101 | arch/alpha/lib/memcpy.c | d += 8; |
d | 104 | arch/alpha/lib/memcpy.c | DO_REST_ALIGNED(d,s,n); |
d | 27 | arch/i386/boot/compressed/gzip.h | # define memcpy(d, s, n) bcopy((s), (d), (n)) |
d | 99 | arch/i386/boot/compressed/inflate.c | int huft_build(b, n, s, d, e, t, m) |
d | 103 | arch/i386/boot/compressed/inflate.c | ush *d; /* list of base values for non-simple codes */ |
d | 274 | arch/i386/boot/compressed/inflate.c | r.v.n = d[*p++ - s]; |
d | 335 | arch/i386/boot/compressed/inflate.c | unsigned n, d; /* length and index for copy */ |
d | 395 | arch/i386/boot/compressed/inflate.c | d = w - t->v.n - ((unsigned)b & mask_bits[e]); |
d | 400 | arch/i386/boot/compressed/inflate.c | n -= (e = (e = WSIZE - ((d &= WSIZE-1) > w ? d : w)) > n ? n : e); |
d | 402 | arch/i386/boot/compressed/inflate.c | if (w - d >= e) /* (this test assumes unsigned comparison) */ |
d | 404 | arch/i386/boot/compressed/inflate.c | memcpy(slide + w, slide + d, e); |
d | 406 | arch/i386/boot/compressed/inflate.c | d += e; |
d | 411 | arch/i386/boot/compressed/inflate.c | slide[w++] = slide[d++]; |
d | 172 | arch/i386/boot/compressed/misc.c | char *d = (char *)__dest, *s = (char *)__src; |
d | 174 | arch/i386/boot/compressed/misc.c | for (i=0;i<__n;i++) d[i] = s[i]; |
d | 121 | arch/i386/math-emu/fpu_proto.h | extern int reg_store_extended(long double *d, FPU_REG *st0_ptr); |
d | 124 | arch/i386/math-emu/fpu_proto.h | extern int reg_store_int64(long long *d, FPU_REG *st0_ptr); |
d | 125 | arch/i386/math-emu/fpu_proto.h | extern int reg_store_int32(long *d, FPU_REG *st0_ptr); |
d | 126 | arch/i386/math-emu/fpu_proto.h | extern int reg_store_int16(short *d, FPU_REG *st0_ptr); |
d | 127 | arch/i386/math-emu/fpu_proto.h | extern int reg_store_bcd(char *d, FPU_REG *st0_ptr); |
d | 41 | arch/i386/math-emu/reg_ld_str.c | static void write_to_extended(FPU_REG *rp, char *d); |
d | 423 | arch/i386/math-emu/reg_ld_str.c | int reg_store_extended(long double *d, FPU_REG *st0_ptr) |
d | 434 | arch/i386/math-emu/reg_ld_str.c | FPU_verify_area(VERIFY_WRITE, d, 10); |
d | 436 | arch/i386/math-emu/reg_ld_str.c | write_to_extended(st0_ptr, (char *) d); |
d | 447 | arch/i386/math-emu/reg_ld_str.c | FPU_verify_area(VERIFY_WRITE,d,10); |
d | 448 | arch/i386/math-emu/reg_ld_str.c | put_fs_long(0, (unsigned long *) d); |
d | 449 | arch/i386/math-emu/reg_ld_str.c | put_fs_long(0xc0000000, 1 + (unsigned long *) d); |
d | 450 | arch/i386/math-emu/reg_ld_str.c | put_fs_word(0xffff, 4 + (short *) d); |
d | 845 | arch/i386/math-emu/reg_ld_str.c | int reg_store_int64(long long *d, FPU_REG *st0_ptr) |
d | 894 | arch/i386/math-emu/reg_ld_str.c | FPU_verify_area(VERIFY_WRITE,(void *)d,8); |
d | 895 | arch/i386/math-emu/reg_ld_str.c | put_fs_long(((long *)&tll)[0],(unsigned long *) d); |
d | 896 | arch/i386/math-emu/reg_ld_str.c | put_fs_long(((long *)&tll)[1],1 + (unsigned long *) d); |
d | 904 | arch/i386/math-emu/reg_ld_str.c | int reg_store_int32(long *d, FPU_REG *st0_ptr) |
d | 949 | arch/i386/math-emu/reg_ld_str.c | FPU_verify_area(VERIFY_WRITE,d,4); |
d | 950 | arch/i386/math-emu/reg_ld_str.c | put_fs_long(t.sigl, (unsigned long *) d); |
d | 958 | arch/i386/math-emu/reg_ld_str.c | int reg_store_int16(short *d, FPU_REG *st0_ptr) |
d | 1003 | arch/i386/math-emu/reg_ld_str.c | FPU_verify_area(VERIFY_WRITE,d,2); |
d | 1004 | arch/i386/math-emu/reg_ld_str.c | put_fs_word((short)t.sigl,(short *) d); |
d | 1012 | arch/i386/math-emu/reg_ld_str.c | int reg_store_bcd(char *d, FPU_REG *st0_ptr) |
d | 1043 | arch/i386/math-emu/reg_ld_str.c | FPU_verify_area(VERIFY_WRITE,d,10); |
d | 1045 | arch/i386/math-emu/reg_ld_str.c | put_fs_byte(0, (unsigned char *) d+i); /* These bytes "undefined" */ |
d | 1046 | arch/i386/math-emu/reg_ld_str.c | put_fs_byte(0xc0, (unsigned char *) d+7); /* This byte "undefined" */ |
d | 1047 | arch/i386/math-emu/reg_ld_str.c | put_fs_byte(0xff, (unsigned char *) d+8); |
d | 1048 | arch/i386/math-emu/reg_ld_str.c | put_fs_byte(0xff, (unsigned char *) d+9); |
d | 1062 | arch/i386/math-emu/reg_ld_str.c | FPU_verify_area(VERIFY_WRITE,d,10); |
d | 1069 | arch/i386/math-emu/reg_ld_str.c | put_fs_byte(b,(unsigned char *) d+i); |
d | 1073 | arch/i386/math-emu/reg_ld_str.c | put_fs_byte(sign,(unsigned char *) d+9); |
d | 1290 | arch/i386/math-emu/reg_ld_str.c | char *fstenv(fpu_addr_modes addr_modes, char *d) |
d | 1297 | arch/i386/math-emu/reg_ld_str.c | FPU_verify_area(VERIFY_WRITE,d,14); |
d | 1299 | arch/i386/math-emu/reg_ld_str.c | put_fs_long(control_word & ~0xe080, (unsigned short *) d); |
d | 1301 | arch/i386/math-emu/reg_ld_str.c | put_fs_word(control_word, (unsigned short *) d); |
d | 1303 | arch/i386/math-emu/reg_ld_str.c | put_fs_word(status_word(), (unsigned short *) (d+2)); |
d | 1304 | arch/i386/math-emu/reg_ld_str.c | put_fs_word(tag_word(), (unsigned short *) (d+4)); |
d | 1305 | arch/i386/math-emu/reg_ld_str.c | put_fs_word(instruction_address.offset, (unsigned short *) (d+6)); |
d | 1306 | arch/i386/math-emu/reg_ld_str.c | put_fs_word(operand_address.offset, (unsigned short *) (d+0x0a)); |
d | 1310 | arch/i386/math-emu/reg_ld_str.c | (unsigned short *) (d+8)); |
d | 1312 | arch/i386/math-emu/reg_ld_str.c | (unsigned short *) (d+0x0c)); |
d | 1316 | arch/i386/math-emu/reg_ld_str.c | put_fs_word(instruction_address.selector, (unsigned short *) (d+8)); |
d | 1317 | arch/i386/math-emu/reg_ld_str.c | put_fs_word(operand_address.selector, (unsigned short *) (d+0x0c)); |
d | 1320 | arch/i386/math-emu/reg_ld_str.c | d += 0x0e; |
d | 1325 | arch/i386/math-emu/reg_ld_str.c | FPU_verify_area(VERIFY_WRITE,d,28); |
d | 1328 | arch/i386/math-emu/reg_ld_str.c | put_fs_long(0xffff0040 | (control_word & ~0xe080), (unsigned long *) d); |
d | 1329 | arch/i386/math-emu/reg_ld_str.c | put_fs_long(0xffff0000 | status_word(), (unsigned long *) (d+4)); |
d | 1330 | arch/i386/math-emu/reg_ld_str.c | put_fs_long(0xffff0000 | tag_word(), (unsigned long *) (d+8)); |
d | 1332 | arch/i386/math-emu/reg_ld_str.c | put_fs_word(control_word, (unsigned short *) d); |
d | 1333 | arch/i386/math-emu/reg_ld_str.c | put_fs_word(status_word(), (unsigned short *) (d+4)); |
d | 1334 | arch/i386/math-emu/reg_ld_str.c | put_fs_word(tag_word(), (unsigned short *) (d+8)); |
d | 1336 | arch/i386/math-emu/reg_ld_str.c | put_fs_long(instruction_address.offset, (unsigned long *) (d+0x0c)); |
d | 1337 | arch/i386/math-emu/reg_ld_str.c | put_fs_word(instruction_address.selector, (unsigned short *) (d+0x10)); |
d | 1338 | arch/i386/math-emu/reg_ld_str.c | put_fs_word(instruction_address.opcode, (unsigned short *) (d+0x12)); |
d | 1339 | arch/i386/math-emu/reg_ld_str.c | put_fs_long(operand_address.offset, (unsigned long *) (d+0x14)); |
d | 1342 | arch/i386/math-emu/reg_ld_str.c | put_fs_word(operand_address.selector, (unsigned short *) (d+0x18)); |
d | 1343 | arch/i386/math-emu/reg_ld_str.c | put_fs_word(0xffff, (unsigned short *) (d+0x1a)); |
d | 1345 | arch/i386/math-emu/reg_ld_str.c | put_fs_long(operand_address.selector, (unsigned long *) (d+0x18)); |
d | 1348 | arch/i386/math-emu/reg_ld_str.c | d += 0x1c; |
d | 1354 | arch/i386/math-emu/reg_ld_str.c | return d; |
d | 1360 | arch/i386/math-emu/reg_ld_str.c | char *d; |
d | 1363 | arch/i386/math-emu/reg_ld_str.c | d = fstenv(addr_modes, data_address); |
d | 1365 | arch/i386/math-emu/reg_ld_str.c | FPU_verify_area(VERIFY_WRITE,d,80); |
d | 1368 | arch/i386/math-emu/reg_ld_str.c | write_to_extended(®s[(top + i) & 7], d + 10 * i); |
d | 1380 | arch/i386/math-emu/reg_ld_str.c | static void write_to_extended(FPU_REG *rp, char *d) |
d | 1414 | arch/i386/math-emu/reg_ld_str.c | put_fs_long(rp->sigl, (unsigned long *) d); |
d | 1415 | arch/i386/math-emu/reg_ld_str.c | put_fs_long(rp->sigh, (unsigned long *) (d + 4)); |
d | 1430 | arch/i386/math-emu/reg_ld_str.c | put_fs_long(tmp.sigl, (unsigned long *) d); |
d | 1431 | arch/i386/math-emu/reg_ld_str.c | put_fs_long(tmp.sigh, (unsigned long *) (d + 4)); |
d | 1436 | arch/i386/math-emu/reg_ld_str.c | put_fs_word(e, (unsigned short *) (d + 8)); |
d | 1390 | drivers/block/ide-cd.c | char d = c[0]; |
d | 1392 | drivers/block/ide-cd.c | c[1] = d; |
d | 1400 | drivers/block/ide-cd.c | char d = c[0]; |
d | 1402 | drivers/block/ide-cd.c | c[3] = d; |
d | 1403 | drivers/block/ide-cd.c | d = c[1]; |
d | 1405 | drivers/block/ide-cd.c | c[2] = d; |
d | 563 | drivers/block/mcd.c | char a, b, c, d; |
d | 568 | drivers/block/mcd.c | getValue(&d); |
d | 576 | drivers/block/sbpcd.c | static int d=0; /* DriveStruct index: drive number */ |
d | 704 | drivers/block/sbpcd.c | sprintf(buf, "%s-%d [%02d]: ", major_name, d, msgnum); |
d | 884 | drivers/block/sbpcd.c | D_S[d].CD_changed=0xFF; |
d | 1055 | drivers/block/sbpcd.c | D_S[d].status_bits=0; |
d | 1056 | drivers/block/sbpcd.c | if (fam1_drive) D_S[d].status_bits=st|p_success; |
d | 1059 | drivers/block/sbpcd.c | if (st&p_caddin_old) D_S[d].status_bits |= p_door_closed|p_caddy_in; |
d | 1060 | drivers/block/sbpcd.c | if (st&p_spinning) D_S[d].status_bits |= p_spinning; |
d | 1061 | drivers/block/sbpcd.c | if (st&p_check) D_S[d].status_bits |= p_check; |
d | 1062 | drivers/block/sbpcd.c | if (st&p_success_old) D_S[d].status_bits |= p_success; |
d | 1063 | drivers/block/sbpcd.c | if (st&p_busy_old) D_S[d].status_bits |= p_busy_new; |
d | 1064 | drivers/block/sbpcd.c | if (st&p_disk_ok) D_S[d].status_bits |= p_disk_ok; |
d | 1068 | drivers/block/sbpcd.c | D_S[d].status_bits |= p_success; |
d | 1069 | drivers/block/sbpcd.c | if (st&p_caddin_old) D_S[d].status_bits |= p_disk_ok|p_caddy_in; |
d | 1070 | drivers/block/sbpcd.c | if (st&p_spinning) D_S[d].status_bits |= p_spinning; |
d | 1071 | drivers/block/sbpcd.c | if (st&p_check) D_S[d].status_bits |= p_check; |
d | 1072 | drivers/block/sbpcd.c | if (st&p_busy_old) D_S[d].status_bits |= p_busy_new; |
d | 1073 | drivers/block/sbpcd.c | if (st&p_lcs_door_closed) D_S[d].status_bits |= p_door_closed; |
d | 1074 | drivers/block/sbpcd.c | if (st&p_lcs_door_locked) D_S[d].status_bits |= p_door_locked; |
d | 1078 | drivers/block/sbpcd.c | D_S[d].status_bits |= p_success; |
d | 1079 | drivers/block/sbpcd.c | if (st&p2_check) D_S[d].status_bits |= p1_check; |
d | 1080 | drivers/block/sbpcd.c | if (st&p2_door_closed) D_S[d].status_bits |= p1_door_closed; |
d | 1081 | drivers/block/sbpcd.c | if (st&p2_disk_in) D_S[d].status_bits |= p1_disk_in; |
d | 1082 | drivers/block/sbpcd.c | if (st&p2_busy1) D_S[d].status_bits |= p1_busy; |
d | 1083 | drivers/block/sbpcd.c | if (st&p2_busy2) D_S[d].status_bits |= p1_busy; |
d | 1084 | drivers/block/sbpcd.c | if (st&p2_spinning) D_S[d].status_bits |= p1_spinning; |
d | 1085 | drivers/block/sbpcd.c | if (st&p2_door_locked) D_S[d].status_bits |= p1_door_locked; |
d | 1086 | drivers/block/sbpcd.c | if (st&p2_disk_ok) D_S[d].status_bits |= p1_disk_ok; |
d | 1091 | drivers/block/sbpcd.c | D_S[d].status_bits |= p_success; |
d | 1092 | drivers/block/sbpcd.c | if (st&p2_check) D_S[d].status_bits |= p1_check; |
d | 1093 | drivers/block/sbpcd.c | if (st&p2_door_closed) D_S[d].status_bits |= p1_door_closed; |
d | 1094 | drivers/block/sbpcd.c | if (st&p2_disk_in) D_S[d].status_bits |= p1_disk_in; |
d | 1095 | drivers/block/sbpcd.c | if (st&p2_busy1) D_S[d].status_bits |= p1_busy; |
d | 1096 | drivers/block/sbpcd.c | if (st&p2_busy2) D_S[d].status_bits |= p1_busy; |
d | 1097 | drivers/block/sbpcd.c | if (st&p2_spinning) D_S[d].status_bits |= p1_spinning; |
d | 1098 | drivers/block/sbpcd.c | if (st&p2_door_locked) D_S[d].status_bits |= p1_door_locked; |
d | 1099 | drivers/block/sbpcd.c | if (st&p2_disk_ok) D_S[d].status_bits |= p1_disk_ok; |
d | 1112 | drivers/block/sbpcd.c | D_S[d].n_bytes=1; |
d | 1123 | drivers/block/sbpcd.c | D_S[d].status_bits=p1_door_closed|p1_disk_in|p1_spinning|p1_disk_ok; |
d | 1124 | drivers/block/sbpcd.c | else if (D_S[d].error_state==6) |
d | 1126 | drivers/block/sbpcd.c | D_S[d].status_bits=p1_door_closed|p1_disk_in; |
d | 1127 | drivers/block/sbpcd.c | else if ((D_S[d].error_state!=2)||(D_S[d].b3!=0x3A)||(D_S[d].b4==0x00)) |
d | 1130 | drivers/block/sbpcd.c | D_S[d].status_bits=p1_door_closed; |
d | 1131 | drivers/block/sbpcd.c | D_S[d].open_count=0; |
d | 1133 | drivers/block/sbpcd.c | else if (D_S[d].b4==0x01) |
d | 1136 | drivers/block/sbpcd.c | D_S[d].status_bits=0; |
d | 1137 | drivers/block/sbpcd.c | D_S[d].open_count=0; |
d | 1142 | drivers/block/sbpcd.c | D_S[d].status_bits=p1_door_closed; |
d | 1143 | drivers/block/sbpcd.c | D_S[d].open_count=0; |
d | 1145 | drivers/block/sbpcd.c | msg(DBG_TE2,"get_state_T done (%02X)...\n", D_S[d].status_bits); |
d | 1146 | drivers/block/sbpcd.c | return (D_S[d].status_bits); |
d | 1194 | drivers/block/sbpcd.c | D_S[d].status_bits=0; |
d | 1203 | drivers/block/sbpcd.c | msg(DBG_STA,"status_bits=%02X, i=%02X\n",D_S[d].status_bits,i); |
d | 1205 | drivers/block/sbpcd.c | return (D_S[d].status_bits); |
d | 1258 | drivers/block/sbpcd.c | D_S[d].error_byte=0; |
d | 1263 | drivers/block/sbpcd.c | D_S[d].error_byte=infobuf[i]; |
d | 1264 | drivers/block/sbpcd.c | msg(DBG_ERR,"cc_ReadError: infobuf[%d] is %d (%02X)\n",i,D_S[d].error_byte,D_S[d].error_byte); |
d | 1277 | drivers/block/sbpcd.c | D_S[d].error_state=0; |
d | 1278 | drivers/block/sbpcd.c | D_S[d].b3=0; |
d | 1279 | drivers/block/sbpcd.c | D_S[d].b4=0; |
d | 1280 | drivers/block/sbpcd.c | D_S[d].f_drv_error=0; |
d | 1286 | drivers/block/sbpcd.c | OUT(CDo_enable,D_S[d].drv_sel); |
d | 1365 | drivers/block/sbpcd.c | D_S[d].error_state=infobuf[2]; |
d | 1366 | drivers/block/sbpcd.c | D_S[d].b3=infobuf[3]; |
d | 1367 | drivers/block/sbpcd.c | D_S[d].b4=infobuf[4]; |
d | 1368 | drivers/block/sbpcd.c | if (D_S[d].f_drv_error) |
d | 1370 | drivers/block/sbpcd.c | D_S[d].f_drv_error=0; |
d | 1372 | drivers/block/sbpcd.c | D_S[d].error_state=2; |
d | 1374 | drivers/block/sbpcd.c | return (-D_S[d].error_state-400); |
d | 1381 | drivers/block/sbpcd.c | D_S[d].f_drv_error=1; |
d | 1383 | drivers/block/sbpcd.c | D_S[d].error_state=2; |
d | 1415 | drivers/block/sbpcd.c | if (D_S[d].in_SpinUp) msg(DBG_SPI,"in_SpinUp: to CDi_stat_loop.\n"); |
d | 1424 | drivers/block/sbpcd.c | if (D_S[d].in_SpinUp) msg(DBG_SPI,"in_SpinUp: to cc_ReadStatus.\n"); |
d | 1430 | drivers/block/sbpcd.c | if (D_S[d].in_SpinUp) msg(DBG_SPI,"in_SpinUp: to ResponseStatus.\n"); |
d | 1446 | drivers/block/sbpcd.c | if (D_S[d].in_SpinUp) msg(DBG_SPI,"in_SpinUp: to cc_ReadError.\n"); |
d | 1448 | drivers/block/sbpcd.c | if (D_S[d].in_SpinUp) msg(DBG_SPI,"in_SpinUp: to cmd_out OK.\n"); |
d | 1499 | drivers/block/sbpcd.c | D_S[d].n_bytes=1; |
d | 1511 | drivers/block/sbpcd.c | D_S[d].in_SpinUp = 1; |
d | 1537 | drivers/block/sbpcd.c | D_S[d].in_SpinUp = 0; |
d | 1593 | drivers/block/sbpcd.c | drvcmd[1]=D_S[d].speed_byte; |
d | 1594 | drivers/block/sbpcd.c | drvcmd[2]=D_S[d].frmsiz>>8; |
d | 1595 | drivers/block/sbpcd.c | drvcmd[3]=D_S[d].frmsiz&0x0FF; |
d | 1596 | drivers/block/sbpcd.c | drvcmd[4]=D_S[d].f_XA; /* 1: XA */ |
d | 1597 | drivers/block/sbpcd.c | drvcmd[5]=D_S[d].type_byte; /* 0, 1, 3 */ |
d | 1598 | drivers/block/sbpcd.c | drvcmd[6]=D_S[d].mode_xb_6; |
d | 1599 | drivers/block/sbpcd.c | drvcmd[7]=D_S[d].mode_yb_7|D_S[d].volume_control; |
d | 1600 | drivers/block/sbpcd.c | drvcmd[8]=D_S[d].mode_xb_8; |
d | 1601 | drivers/block/sbpcd.c | drvcmd[9]=D_S[d].delay; |
d | 1616 | drivers/block/sbpcd.c | D_S[d].speed_byte=0x02; /* 0x02: auto quad, 0x82: quad, 0x81: double, 0x80: single */ |
d | 1617 | drivers/block/sbpcd.c | D_S[d].frmsiz=make16(infobuf[2],infobuf[3]); |
d | 1618 | drivers/block/sbpcd.c | D_S[d].f_XA=infobuf[4]; |
d | 1619 | drivers/block/sbpcd.c | if (D_S[d].f_XA==0) D_S[d].type_byte=0; |
d | 1620 | drivers/block/sbpcd.c | else D_S[d].type_byte=1; |
d | 1621 | drivers/block/sbpcd.c | D_S[d].mode_xb_6=infobuf[6]; |
d | 1622 | drivers/block/sbpcd.c | D_S[d].mode_yb_7=1; |
d | 1623 | drivers/block/sbpcd.c | D_S[d].mode_xb_8=infobuf[8]; |
d | 1624 | drivers/block/sbpcd.c | D_S[d].delay=0; /* 0, 1, 2, 3 */ |
d | 1679 | drivers/block/sbpcd.c | D_S[d].diskstate_flags &= ~volume_bit; |
d | 1681 | drivers/block/sbpcd.c | channel0=D_S[d].vol_chan0; |
d | 1682 | drivers/block/sbpcd.c | volume0=D_S[d].vol_ctrl0; |
d | 1683 | drivers/block/sbpcd.c | channel1=control1=D_S[d].vol_chan1; |
d | 1684 | drivers/block/sbpcd.c | volume1=value1=D_S[d].vol_ctrl1; |
d | 1687 | drivers/block/sbpcd.c | if (((D_S[d].drv_options&audio_mono)!=0)&&(D_S[d].drv_type>=drv_211)) |
d | 1756 | drivers/block/sbpcd.c | if (D_S[d].drv_type>=drv_300) |
d | 1768 | drivers/block/sbpcd.c | if (D_S[d].drv_type<drv_211) |
d | 1801 | drivers/block/sbpcd.c | else if (D_S[d].drv_type<drv_201) volume0=volume1=value0; |
d | 1803 | drivers/block/sbpcd.c | if (D_S[d].drv_type>=drv_201) |
d | 1808 | drivers/block/sbpcd.c | if (D_S[d].drv_type>=drv_211) |
d | 1822 | drivers/block/sbpcd.c | D_S[d].volume_control=0; |
d | 1823 | drivers/block/sbpcd.c | if (!volume0) D_S[d].volume_control|=0x10; |
d | 1824 | drivers/block/sbpcd.c | if (!volume1) D_S[d].volume_control|=0x20; |
d | 1834 | drivers/block/sbpcd.c | D_S[d].diskstate_flags |= volume_bit; |
d | 1874 | drivers/block/sbpcd.c | OUT(CDo_enable,D_S[d].drv_sel); |
d | 1891 | drivers/block/sbpcd.c | if (D_S[d].error_byte!=aud_12) return -501; |
d | 1899 | drivers/block/sbpcd.c | if (!(D_S[d].drv_options&(speed_auto|speed_300|speed_150))) return (0); |
d | 1901 | drivers/block/sbpcd.c | if (!(D_S[d].drv_options&speed_auto)) |
d | 1904 | drivers/block/sbpcd.c | if (!(D_S[d].drv_options&speed_300)) speed=0; |
d | 1925 | drivers/block/sbpcd.c | D_S[d].CD_changed=1; |
d | 1939 | drivers/block/sbpcd.c | if (D_S[d].audio_state==audio_playing) return (-EINVAL); |
d | 2024 | drivers/block/sbpcd.c | if (pau_res==3) return (cc_PlayAudio(D_S[d].pos_audio_start,D_S[d].pos_audio_end)); |
d | 2037 | drivers/block/sbpcd.c | msg(DBG_LCK,"cc_LockDoor: %d (drive %d)\n", lock, d); |
d | 2122 | drivers/block/sbpcd.c | msg(DBG_LCK,"cc_CloseTray (drive %d)\n", d); |
d | 2159 | drivers/block/sbpcd.c | D_S[d].diskstate_flags &= ~subq_bit; |
d | 2208 | drivers/block/sbpcd.c | D_S[d].SubQ_ctl_adr=D_S[d].SubQ_trk=D_S[d].SubQ_pnt_idx=D_S[d].SubQ_whatisthis=0; |
d | 2209 | drivers/block/sbpcd.c | D_S[d].SubQ_run_tot=D_S[d].SubQ_run_trk=0; |
d | 2213 | drivers/block/sbpcd.c | if (famT_drive) D_S[d].SubQ_ctl_adr=infobuf[1]; |
d | 2214 | drivers/block/sbpcd.c | else D_S[d].SubQ_ctl_adr=swap_nibbles(infobuf[1]); |
d | 2215 | drivers/block/sbpcd.c | D_S[d].SubQ_trk=byt2bcd(infobuf[2]); |
d | 2216 | drivers/block/sbpcd.c | D_S[d].SubQ_pnt_idx=byt2bcd(infobuf[3]); |
d | 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 */ |
d | 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 */ |
d | 2226 | drivers/block/sbpcd.c | D_S[d].SubQ_whatisthis=infobuf[i+3]; |
d | 2227 | drivers/block/sbpcd.c | D_S[d].diskstate_flags |= subq_bit; |
d | 2236 | drivers/block/sbpcd.c | D_S[d].diskstate_flags &= ~frame_size_bit; |
d | 2260 | drivers/block/sbpcd.c | if (fam1_drive) D_S[d].sense_byte=infobuf[i++]; |
d | 2261 | drivers/block/sbpcd.c | else if (fam0L_drive) D_S[d].sense_byte=0; |
d | 2264 | drivers/block/sbpcd.c | D_S[d].sense_byte=0; |
d | 2265 | drivers/block/sbpcd.c | if (infobuf[4]==0x01) D_S[d].xa_byte=0x20; /* wrong!!!! */ |
d | 2268 | drivers/block/sbpcd.c | D_S[d].frame_size=make16(infobuf[i],infobuf[i+1]); |
d | 2274 | drivers/block/sbpcd.c | D_S[d].diskstate_flags |= frame_size_bit; |
d | 2284 | drivers/block/sbpcd.c | D_S[d].diskstate_flags &= ~frame_size_bit; |
d | 2286 | drivers/block/sbpcd.c | D_S[d].frame_size=framesize; |
d | 2287 | drivers/block/sbpcd.c | if (framesize==CD_FRAMESIZE_RAW) D_S[d].sense_byte=0x82; |
d | 2288 | drivers/block/sbpcd.c | else D_S[d].sense_byte=0x00; |
d | 2291 | drivers/block/sbpcd.c | D_S[d].sense_byte, D_S[d].frame_size); |
d | 2297 | drivers/block/sbpcd.c | drvcmd[2]=D_S[d].sense_byte; |
d | 2298 | drivers/block/sbpcd.c | drvcmd[3]=(D_S[d].frame_size>>8)&0xFF; |
d | 2299 | drivers/block/sbpcd.c | drvcmd[4]=D_S[d].frame_size&0xFF; |
d | 2306 | drivers/block/sbpcd.c | drvcmd[2]=(D_S[d].frame_size>>8)&0xFF; |
d | 2307 | drivers/block/sbpcd.c | drvcmd[3]=D_S[d].frame_size&0xFF; |
d | 2321 | drivers/block/sbpcd.c | D_S[d].diskstate_flags |= frame_size_bit; |
d | 2334 | drivers/block/sbpcd.c | D_S[d].diskstate_flags &= ~volume_bit; |
d | 2410 | drivers/block/sbpcd.c | if (D_S[d].drv_type>=drv_201) |
d | 2412 | drivers/block/sbpcd.c | if (D_S[d].drv_type<drv_300) |
d | 2417 | drivers/block/sbpcd.c | if (D_S[d].drv_type>=drv_211) |
d | 2437 | drivers/block/sbpcd.c | D_S[d].volume_control=infobuf[7]; |
d | 2440 | drivers/block/sbpcd.c | if (D_S[d].volume_control&0x10) vol0=0; |
d | 2442 | drivers/block/sbpcd.c | if (D_S[d].volume_control&0x20) vol1=0; |
d | 2445 | drivers/block/sbpcd.c | D_S[d].vol_chan0=chan0; |
d | 2446 | drivers/block/sbpcd.c | D_S[d].vol_ctrl0=vol0; |
d | 2447 | drivers/block/sbpcd.c | D_S[d].vol_chan1=chan1; |
d | 2448 | drivers/block/sbpcd.c | D_S[d].vol_ctrl1=vol1; |
d | 2450 | drivers/block/sbpcd.c | D_S[d].vol_chan2=2; |
d | 2451 | drivers/block/sbpcd.c | D_S[d].vol_ctrl2=0xFF; |
d | 2452 | drivers/block/sbpcd.c | D_S[d].vol_chan3=3; |
d | 2453 | drivers/block/sbpcd.c | D_S[d].vol_ctrl3=0xFF; |
d | 2455 | drivers/block/sbpcd.c | D_S[d].diskstate_flags |= volume_bit; |
d | 2464 | drivers/block/sbpcd.c | D_S[d].diskstate_flags &= ~cd_size_bit; |
d | 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; |
d | 2502 | drivers/block/sbpcd.c | else if (fam0_drive) D_S[d].CDsize_frm=make32(make16(0,infobuf[0]),make16(infobuf[1],infobuf[2])); |
d | 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])); |
d | 2506 | drivers/block/sbpcd.c | D_S[d].CDsize_frm=make32(make16(infobuf[8],infobuf[9]),make16(infobuf[10],infobuf[11])); |
d | 2507 | drivers/block/sbpcd.c | D_S[d].n_first_track=infobuf[2]; |
d | 2508 | drivers/block/sbpcd.c | D_S[d].n_last_track=infobuf[3]; |
d | 2511 | drivers/block/sbpcd.c | D_S[d].diskstate_flags |= cd_size_bit; |
d | 2512 | drivers/block/sbpcd.c | msg(DBG_000,"cc_ReadCapacity: %d frames.\n", D_S[d].CDsize_frm); |
d | 2520 | drivers/block/sbpcd.c | D_S[d].diskstate_flags &= ~toc_bit; |
d | 2540 | drivers/block/sbpcd.c | D_S[d].f_multisession=0; |
d | 2550 | drivers/block/sbpcd.c | D_S[d].f_multisession=0; |
d | 2561 | drivers/block/sbpcd.c | D_S[d].xa_byte=infobuf[0]; |
d | 2564 | drivers/block/sbpcd.c | D_S[d].first_session=infobuf[1]; |
d | 2565 | drivers/block/sbpcd.c | D_S[d].last_session=infobuf[2]; |
d | 2566 | drivers/block/sbpcd.c | D_S[d].n_first_track=infobuf[3]; |
d | 2567 | drivers/block/sbpcd.c | D_S[d].n_last_track=infobuf[4]; |
d | 2568 | drivers/block/sbpcd.c | if (D_S[d].first_session!=D_S[d].last_session) |
d | 2570 | drivers/block/sbpcd.c | D_S[d].f_multisession=1; |
d | 2571 | drivers/block/sbpcd.c | D_S[d].lba_multi=msf2blk(make32(make16(0,infobuf[5]),make16(infobuf[6],infobuf[7]))); |
d | 2574 | drivers/block/sbpcd.c | if (D_S[d].first_session!=D_S[d].last_session) |
d | 2576 | drivers/block/sbpcd.c | if (D_S[d].last_session<=20) |
d | 2577 | drivers/block/sbpcd.c | zwanzig=D_S[d].last_session+1; |
d | 2579 | drivers/block/sbpcd.c | for (count=D_S[d].first_session;count<zwanzig;count++) |
d | 2589 | drivers/block/sbpcd.c | D_S[d].msf_multi_n[count]=make32(make16(0,infobuf[5]),make16(infobuf[6],infobuf[7])); |
d | 2591 | drivers/block/sbpcd.c | D_S[d].diskstate_flags |= multisession_bit; |
d | 2602 | drivers/block/sbpcd.c | D_S[d].size_msf=make32(make16(0,infobuf[2]),make16(infobuf[3],infobuf[4])); |
d | 2603 | drivers/block/sbpcd.c | D_S[d].size_blk=msf2blk(D_S[d].size_msf); |
d | 2607 | drivers/block/sbpcd.c | D_S[d].size_msf=make32(make16(infobuf[8],infobuf[9]),make16(infobuf[10],infobuf[11])); |
d | 2608 | drivers/block/sbpcd.c | D_S[d].size_blk=msf2blk(D_S[d].size_msf); |
d | 2609 | drivers/block/sbpcd.c | D_S[d].n_first_track=infobuf[2]; |
d | 2610 | drivers/block/sbpcd.c | D_S[d].n_last_track=infobuf[3]; |
d | 2614 | drivers/block/sbpcd.c | D_S[d].n_first_track=infobuf[1]; |
d | 2615 | drivers/block/sbpcd.c | D_S[d].n_last_track=infobuf[2]; |
d | 2616 | drivers/block/sbpcd.c | D_S[d].size_msf=make32(make16(0,infobuf[3]),make16(infobuf[4],infobuf[5])); |
d | 2617 | drivers/block/sbpcd.c | D_S[d].size_blk=msf2blk(D_S[d].size_msf); |
d | 2618 | drivers/block/sbpcd.c | if (famL_drive) D_S[d].CDsize_frm=D_S[d].size_blk+1; |
d | 2620 | drivers/block/sbpcd.c | D_S[d].diskstate_flags |= toc_bit; |
d | 2622 | drivers/block/sbpcd.c | D_S[d].xa_byte, |
d | 2623 | drivers/block/sbpcd.c | D_S[d].n_first_track, |
d | 2624 | drivers/block/sbpcd.c | D_S[d].n_last_track, |
d | 2625 | drivers/block/sbpcd.c | D_S[d].size_msf); |
d | 2674 | drivers/block/sbpcd.c | D_S[d].TocEnt_nixbyte=infobuf[0]; |
d | 2682 | drivers/block/sbpcd.c | D_S[d].TocEnt_ctl_adr=swap_nibbles(infobuf[i++]); |
d | 2685 | drivers/block/sbpcd.c | D_S[d].TocEnt_number=infobuf[i++]; |
d | 2686 | drivers/block/sbpcd.c | D_S[d].TocEnt_format=infobuf[i]; |
d | 2688 | drivers/block/sbpcd.c | else D_S[d].TocEnt_number=num; |
d | 2693 | drivers/block/sbpcd.c | D_S[d].TocEnt_address=make32(make16(0,infobuf[i]), |
d | 2696 | drivers/block/sbpcd.c | D_S[d].TocEnt_nixbyte, D_S[d].TocEnt_ctl_adr, |
d | 2697 | drivers/block/sbpcd.c | D_S[d].TocEnt_number, D_S[d].TocEnt_format, |
d | 2698 | drivers/block/sbpcd.c | D_S[d].TocEnt_address); |
d | 2729 | drivers/block/sbpcd.c | if (fam1_drive) D_S[d].UPC_buf[i]=swap_nibbles(*p++); |
d | 2732 | drivers/block/sbpcd.c | D_S[d].UPC_buf[i]=((*p++)<<4)&0xFF; |
d | 2733 | drivers/block/sbpcd.c | D_S[d].UPC_buf[i] |= *p++; |
d | 2744 | drivers/block/sbpcd.c | D_S[d].UPC_buf[6] &= 0xF0; |
d | 2761 | drivers/block/sbpcd.c | D_S[d].diskstate_flags &= ~upc_bit; |
d | 2830 | drivers/block/sbpcd.c | D_S[d].UPC_ctl_adr=0; |
d | 2836 | drivers/block/sbpcd.c | D_S[d].UPC_ctl_adr = (D_S[d].TocEnt_ctl_adr & 0xF0) | 0x02; |
d | 2839 | drivers/block/sbpcd.c | sprintf(&msgbuf[i*3], " %02X", D_S[d].UPC_buf[i]); |
d | 2840 | drivers/block/sbpcd.c | sprintf(&msgbuf[i*3], " (%02X)", D_S[d].UPC_ctl_adr); |
d | 2843 | drivers/block/sbpcd.c | D_S[d].diskstate_flags |= upc_bit; |
d | 2852 | drivers/block/sbpcd.c | D_S[d].f_multisession=0; |
d | 2853 | drivers/block/sbpcd.c | D_S[d].lba_multi=0; |
d | 2865 | drivers/block/sbpcd.c | D_S[d].f_multisession=1; |
d | 2866 | drivers/block/sbpcd.c | D_S[d].lba_multi=msf2blk(make32(make16(0,infobuf[1]), |
d | 2879 | drivers/block/sbpcd.c | D_S[d].lba_multi=msf2blk(make32(make16(0,infobuf[5]), |
d | 2892 | drivers/block/sbpcd.c | D_S[d].lba_multi=msf2blk(make32(make16(0,infobuf[9]),make16(infobuf[10],infobuf[11]))); |
d | 2897 | drivers/block/sbpcd.c | msg(DBG_MUL,"MultiSession Info:%s (%d)\n", msgbuf, D_S[d].lba_multi); |
d | 2898 | drivers/block/sbpcd.c | if (D_S[d].lba_multi>200) |
d | 2900 | drivers/block/sbpcd.c | D_S[d].f_multisession=1; |
d | 2901 | drivers/block/sbpcd.c | msg(DBG_MUL,"MultiSession base: %06X\n", D_S[d].lba_multi); |
d | 2918 | drivers/block/sbpcd.c | if (D_S[d].audio_state!=audio_playing) return (-ENODATA); |
d | 2929 | drivers/block/sbpcd.c | D_S[d].frame_size=CD_FRAMESIZE_SUB; |
d | 3007 | drivers/block/sbpcd.c | CDo_command, type, D_S[d].drive_model, D_S[d].drv_id); |
d | 3024 | drivers/block/sbpcd.c | msg(DBG_TE2,"check_version: id=%d, d=%d.\n", D_S[d].drv_id, d); |
d | 3025 | drivers/block/sbpcd.c | D_S[d].drv_type=0; |
d | 3062 | drivers/block/sbpcd.c | D_S[d].drive_model[0]='C'; |
d | 3063 | drivers/block/sbpcd.c | D_S[d].drive_model[1]='R'; |
d | 3064 | drivers/block/sbpcd.c | D_S[d].drive_model[2]='-'; |
d | 3065 | drivers/block/sbpcd.c | D_S[d].drive_model[3]='5'; |
d | 3066 | drivers/block/sbpcd.c | D_S[d].drive_model[4]=infobuf[i++]; |
d | 3067 | drivers/block/sbpcd.c | D_S[d].drive_model[5]=infobuf[i++]; |
d | 3068 | drivers/block/sbpcd.c | D_S[d].drive_model[6]=0; |
d | 3069 | drivers/block/sbpcd.c | D_S[d].drv_type=drv_fam1; |
d | 3071 | drivers/block/sbpcd.c | if (!D_S[d].drv_type) |
d | 3076 | drivers/block/sbpcd.c | D_S[d].drive_model[0]='C'; |
d | 3077 | drivers/block/sbpcd.c | D_S[d].drive_model[1]='R'; |
d | 3078 | drivers/block/sbpcd.c | D_S[d].drive_model[2]='-'; |
d | 3079 | drivers/block/sbpcd.c | D_S[d].drive_model[3]='5'; |
d | 3080 | drivers/block/sbpcd.c | D_S[d].drive_model[4]='2'; |
d | 3081 | drivers/block/sbpcd.c | D_S[d].drive_model[5]='x'; |
d | 3082 | drivers/block/sbpcd.c | D_S[d].drive_model[6]=0; |
d | 3083 | drivers/block/sbpcd.c | D_S[d].drv_type=drv_fam0; |
d | 3086 | drivers/block/sbpcd.c | if (!D_S[d].drv_type) |
d | 3092 | drivers/block/sbpcd.c | D_S[d].drive_model[j]=infobuf[j]; |
d | 3093 | drivers/block/sbpcd.c | D_S[d].drive_model[8]=0; |
d | 3094 | drivers/block/sbpcd.c | D_S[d].drv_type=drv_famL; |
d | 3097 | drivers/block/sbpcd.c | if (!D_S[d].drv_type) |
d | 3114 | drivers/block/sbpcd.c | OUT(CDo_enable,D_S[d].drv_sel); |
d | 3140 | drivers/block/sbpcd.c | D_S[d].drive_model[0]='C'; |
d | 3141 | drivers/block/sbpcd.c | D_S[d].drive_model[1]='D'; |
d | 3142 | drivers/block/sbpcd.c | D_S[d].drive_model[2]='2'; |
d | 3143 | drivers/block/sbpcd.c | D_S[d].drive_model[3]='0'; |
d | 3144 | drivers/block/sbpcd.c | D_S[d].drive_model[4]='0'; |
d | 3145 | drivers/block/sbpcd.c | D_S[d].drive_model[5]=infobuf[i++]; |
d | 3146 | drivers/block/sbpcd.c | D_S[d].drive_model[6]=infobuf[i++]; |
d | 3147 | drivers/block/sbpcd.c | D_S[d].drive_model[7]=0; |
d | 3148 | drivers/block/sbpcd.c | D_S[d].drv_type=drv_fam2; |
d | 3152 | drivers/block/sbpcd.c | if (!D_S[d].drv_type) |
d | 3156 | drivers/block/sbpcd.c | for (j=1;j<=((D_S[d].drv_id==0)?3:1);j++) |
d | 3158 | drivers/block/sbpcd.c | for (l=1;l<=((D_S[d].drv_id==0)?10:1);l++) |
d | 3164 | drivers/block/sbpcd.c | OUT(CDo_enable,D_S[d].drv_sel); |
d | 3170 | drivers/block/sbpcd.c | OUT(CDo_enable,D_S[d].drv_sel); |
d | 3197 | drivers/block/sbpcd.c | D_S[d].drive_model[0]='C'; |
d | 3198 | drivers/block/sbpcd.c | D_S[d].drive_model[1]='D'; |
d | 3199 | drivers/block/sbpcd.c | D_S[d].drive_model[2]='-'; |
d | 3200 | drivers/block/sbpcd.c | D_S[d].drive_model[3]='5'; |
d | 3201 | drivers/block/sbpcd.c | D_S[d].drive_model[4]='5'; |
d | 3202 | drivers/block/sbpcd.c | D_S[d].drive_model[5]=0; |
d | 3203 | drivers/block/sbpcd.c | D_S[d].drv_type=drv_famT; |
d | 3207 | drivers/block/sbpcd.c | if (!D_S[d].drv_type) |
d | 3209 | drivers/block/sbpcd.c | msg(DBG_TEA,"no drive found at address %03X under ID %d.\n",CDo_command,D_S[d].drv_id); |
d | 3212 | drivers/block/sbpcd.c | for (j=0;j<4;j++) D_S[d].firmware_version[j]=infobuf[i+j]; |
d | 3219 | drivers/block/sbpcd.c | if (D_S[d].firmware_version[j]!=lcs_firm_e1[j]) break; |
d | 3220 | drivers/block/sbpcd.c | if (j==4) D_S[d].drv_type=drv_e1; |
d | 3223 | drivers/block/sbpcd.c | if (D_S[d].firmware_version[j]!=lcs_firm_f4[j]) break; |
d | 3224 | drivers/block/sbpcd.c | if (j==4) D_S[d].drv_type=drv_f4; |
d | 3226 | drivers/block/sbpcd.c | if (D_S[d].drv_type==drv_famL) ask_mail(); |
d | 3233 | drivers/block/sbpcd.c | D_S[d].firmware_version[0]=infobuf[7]; |
d | 3234 | drivers/block/sbpcd.c | D_S[d].firmware_version[1]=infobuf[8]; |
d | 3235 | drivers/block/sbpcd.c | D_S[d].firmware_version[2]=infobuf[10]; |
d | 3236 | drivers/block/sbpcd.c | D_S[d].firmware_version[3]=infobuf[11]; |
d | 3241 | drivers/block/sbpcd.c | D_S[d].firmware_version[0]='0'; |
d | 3242 | drivers/block/sbpcd.c | D_S[d].firmware_version[1]='.'; |
d | 3243 | drivers/block/sbpcd.c | D_S[d].firmware_version[2]='0'+(j>>4); |
d | 3244 | drivers/block/sbpcd.c | D_S[d].firmware_version[3]='0'+(j&0x0f); |
d | 3249 | drivers/block/sbpcd.c | j = (D_S[d].firmware_version[0] & 0x0F) * 100 + |
d | 3250 | drivers/block/sbpcd.c | (D_S[d].firmware_version[2] & 0x0F) *10 + |
d | 3251 | drivers/block/sbpcd.c | (D_S[d].firmware_version[3] & 0x0F); |
d | 3254 | drivers/block/sbpcd.c | if (j<200) D_S[d].drv_type=drv_199; |
d | 3255 | drivers/block/sbpcd.c | else if (j<201) D_S[d].drv_type=drv_200; |
d | 3256 | drivers/block/sbpcd.c | else if (j<210) D_S[d].drv_type=drv_201; |
d | 3257 | drivers/block/sbpcd.c | else if (j<211) D_S[d].drv_type=drv_210; |
d | 3258 | drivers/block/sbpcd.c | else if (j<300) D_S[d].drv_type=drv_211; |
d | 3259 | drivers/block/sbpcd.c | else if (j>=300) D_S[d].drv_type=drv_300; |
d | 3263 | drivers/block/sbpcd.c | if (j<100) D_S[d].drv_type=drv_099; |
d | 3266 | drivers/block/sbpcd.c | D_S[d].drv_type=drv_100; |
d | 3272 | drivers/block/sbpcd.c | msg(DBG_INF,"new drive CD200 (%s)detected.\n", D_S[d].firmware_version); |
d | 3277 | drivers/block/sbpcd.c | msg(DBG_LCS,"drive type %02X\n",D_S[d].drv_type); |
d | 3284 | drivers/block/sbpcd.c | d=i; |
d | 3285 | drivers/block/sbpcd.c | OUT(CDo_enable,D_S[d].drv_sel); |
d | 3286 | drivers/block/sbpcd.c | msg(DBG_DID,"drive %d (ID=%d) activated.\n", i, D_S[d].drv_id); |
d | 3416 | drivers/block/sbpcd.c | D_S[d].drv_options=drv_pattern[j]; |
d | 3417 | drivers/block/sbpcd.c | if (fam0L_drive) D_S[d].drv_options&=~(speed_auto|speed_300|speed_150); |
d | 3419 | drivers/block/sbpcd.c | d, |
d | 3420 | drivers/block/sbpcd.c | D_S[d].drv_id, |
d | 3421 | drivers/block/sbpcd.c | D_S[d].drive_model, |
d | 3422 | drivers/block/sbpcd.c | D_S[d].firmware_version, |
d | 3558 | drivers/block/sbpcd.c | i=msf2blk(D_S[d].pos_audio_end)-1; |
d | 3568 | drivers/block/sbpcd.c | D_S[d].diskstate_flags &= ~toc_bit; |
d | 3569 | drivers/block/sbpcd.c | D_S[d].ored_ctl_adr=0; |
d | 3570 | drivers/block/sbpcd.c | for (j=D_S[d].n_first_track;j<=D_S[d].n_last_track;j++) |
d | 3578 | drivers/block/sbpcd.c | D_S[d].TocBuffer[j].nixbyte=D_S[d].TocEnt_nixbyte; |
d | 3579 | drivers/block/sbpcd.c | D_S[d].TocBuffer[j].ctl_adr=D_S[d].TocEnt_ctl_adr; |
d | 3580 | drivers/block/sbpcd.c | D_S[d].TocBuffer[j].number=D_S[d].TocEnt_number; |
d | 3581 | drivers/block/sbpcd.c | D_S[d].TocBuffer[j].format=D_S[d].TocEnt_format; |
d | 3582 | drivers/block/sbpcd.c | D_S[d].TocBuffer[j].address=D_S[d].TocEnt_address; |
d | 3583 | drivers/block/sbpcd.c | D_S[d].ored_ctl_adr |= D_S[d].TocEnt_ctl_adr; |
d | 3586 | drivers/block/sbpcd.c | D_S[d].TocBuffer[j].nixbyte=0; |
d | 3587 | drivers/block/sbpcd.c | D_S[d].TocBuffer[j].ctl_adr=0; |
d | 3588 | drivers/block/sbpcd.c | D_S[d].TocBuffer[j].number=CDROM_LEADOUT; |
d | 3589 | drivers/block/sbpcd.c | D_S[d].TocBuffer[j].format=0; |
d | 3590 | drivers/block/sbpcd.c | D_S[d].TocBuffer[j].address=D_S[d].size_msf; |
d | 3592 | drivers/block/sbpcd.c | D_S[d].diskstate_flags |= toc_bit; |
d | 3600 | drivers/block/sbpcd.c | D_S[d].mode=READ_M1; |
d | 3645 | drivers/block/sbpcd.c | if (D_S[d].f_multisession) D_S[d].sbp_bufsiz=1; /* possibly a weird PhotoCD */ |
d | 3646 | drivers/block/sbpcd.c | else D_S[d].sbp_bufsiz=SBP_BUFFER_FRAMES; |
d | 3647 | drivers/block/sbpcd.c | i=cc_ReadTocEntry(D_S[d].n_first_track); |
d | 3655 | drivers/block/sbpcd.c | if ((fam0L_drive) && (D_S[d].xa_byte==0x20)) |
d | 3683 | drivers/block/sbpcd.c | if (D_S[d].CD_changed==0xFF) |
d | 3685 | drivers/block/sbpcd.c | D_S[d].diskstate_flags=0; |
d | 3686 | drivers/block/sbpcd.c | D_S[d].audio_state=0; |
d | 3697 | drivers/block/sbpcd.c | D_S[d].CD_changed=1; |
d | 3706 | drivers/block/sbpcd.c | D_S[d].diskstate_flags=0; |
d | 3707 | drivers/block/sbpcd.c | D_S[d].audio_state=0; |
d | 3715 | drivers/block/sbpcd.c | if (D_S[d].audio_state!=audio_pausing) |
d | 3723 | drivers/block/sbpcd.c | if (D_S[d].audio_state==audio_playing) seek_pos_audio_end(); |
d | 3724 | drivers/block/sbpcd.c | D_S[d].audio_state=0; |
d | 3731 | drivers/block/sbpcd.c | D_S[d].diskstate_flags=0; |
d | 3732 | drivers/block/sbpcd.c | D_S[d].audio_state=0; |
d | 3808 | drivers/block/sbpcd.c | if (d!=i) switch_drive(i); |
d | 3835 | drivers/block/sbpcd.c | switch (D_S[d].audio_state) |
d | 3844 | drivers/block/sbpcd.c | D_S[d].pos_audio_start=D_S[d].SubQ_run_tot; |
d | 3845 | drivers/block/sbpcd.c | D_S[d].audio_state=audio_pausing; |
d | 3848 | drivers/block/sbpcd.c | i=cc_Seek(D_S[d].pos_audio_start,1); |
d | 3860 | drivers/block/sbpcd.c | if (D_S[d].audio_state!=audio_pausing) return -EINVAL; |
d | 3862 | drivers/block/sbpcd.c | i=cc_PlayAudio(D_S[d].pos_audio_start, |
d | 3863 | drivers/block/sbpcd.c | D_S[d].pos_audio_end); |
d | 3866 | drivers/block/sbpcd.c | D_S[d].audio_state=audio_playing; |
d | 3871 | drivers/block/sbpcd.c | if (D_S[d].audio_state==audio_playing) |
d | 3877 | drivers/block/sbpcd.c | D_S[d].pos_audio_start=D_S[d].SubQ_run_tot; |
d | 3878 | drivers/block/sbpcd.c | i=cc_Seek(D_S[d].pos_audio_start,1); |
d | 3884 | drivers/block/sbpcd.c | D_S[d].pos_audio_start = (msf.cdmsf_min0<<16) | |
d | 3887 | drivers/block/sbpcd.c | D_S[d].pos_audio_end = (msf.cdmsf_min1<<16) | |
d | 3891 | drivers/block/sbpcd.c | D_S[d].pos_audio_start,D_S[d].pos_audio_end); |
d | 3892 | drivers/block/sbpcd.c | i=cc_PlayAudio(D_S[d].pos_audio_start,D_S[d].pos_audio_end); |
d | 3897 | drivers/block/sbpcd.c | D_S[d].audio_state=audio_playing; |
d | 3902 | drivers/block/sbpcd.c | if (D_S[d].audio_state==audio_playing) |
d | 3917 | drivers/block/sbpcd.c | if (ti.cdti_trk0<D_S[d].n_first_track) return (-EINVAL); |
d | 3918 | drivers/block/sbpcd.c | if (ti.cdti_trk0>D_S[d].n_last_track) return (-EINVAL); |
d | 3920 | drivers/block/sbpcd.c | if (ti.cdti_trk1>D_S[d].n_last_track) ti.cdti_trk1=D_S[d].n_last_track; |
d | 3921 | drivers/block/sbpcd.c | D_S[d].pos_audio_start=D_S[d].TocBuffer[ti.cdti_trk0].address; |
d | 3922 | drivers/block/sbpcd.c | D_S[d].pos_audio_end=D_S[d].TocBuffer[ti.cdti_trk1+1].address; |
d | 3923 | drivers/block/sbpcd.c | i=cc_PlayAudio(D_S[d].pos_audio_start,D_S[d].pos_audio_end); |
d | 3927 | drivers/block/sbpcd.c | D_S[d].audio_state=audio_playing; |
d | 3932 | drivers/block/sbpcd.c | tochdr.cdth_trk0=D_S[d].n_first_track; |
d | 3933 | drivers/block/sbpcd.c | tochdr.cdth_trk1=D_S[d].n_last_track; |
d | 3945 | drivers/block/sbpcd.c | if (i==CDROM_LEADOUT) i=D_S[d].n_last_track+1; |
d | 3946 | drivers/block/sbpcd.c | else if (i<D_S[d].n_first_track||i>D_S[d].n_last_track) return (-EINVAL); |
d | 3947 | drivers/block/sbpcd.c | tocentry.cdte_adr=D_S[d].TocBuffer[i].ctl_adr&0x0F; |
d | 3948 | drivers/block/sbpcd.c | tocentry.cdte_ctrl=(D_S[d].TocBuffer[i].ctl_adr>>4)&0x0F; |
d | 3949 | drivers/block/sbpcd.c | tocentry.cdte_datamode=D_S[d].TocBuffer[i].format; |
d | 3952 | drivers/block/sbpcd.c | tocentry.cdte_addr.msf.minute=(D_S[d].TocBuffer[i].address>>16)&0x00FF; |
d | 3953 | drivers/block/sbpcd.c | tocentry.cdte_addr.msf.second=(D_S[d].TocBuffer[i].address>>8)&0x00FF; |
d | 3954 | drivers/block/sbpcd.c | tocentry.cdte_addr.msf.frame=D_S[d].TocBuffer[i].address&0x00FF; |
d | 3957 | drivers/block/sbpcd.c | tocentry.cdte_addr.lba=msf2blk(D_S[d].TocBuffer[i].address); |
d | 3967 | drivers/block/sbpcd.c | D_S[d].audio_state=0; |
d | 3973 | drivers/block/sbpcd.c | D_S[d].audio_state=0; |
d | 3979 | drivers/block/sbpcd.c | D_S[d].audio_state=0; |
d | 3985 | drivers/block/sbpcd.c | if (D_S[d].open_count>1) return (-EBUSY); |
d | 3987 | drivers/block/sbpcd.c | D_S[d].open_count=-9; /* to get it locked next time again */ |
d | 3992 | drivers/block/sbpcd.c | D_S[d].CD_changed=0xFF; |
d | 3993 | drivers/block/sbpcd.c | D_S[d].diskstate_flags=0; |
d | 3994 | drivers/block/sbpcd.c | D_S[d].audio_state=0; |
d | 4000 | drivers/block/sbpcd.c | D_S[d].f_eject=arg; |
d | 4008 | drivers/block/sbpcd.c | D_S[d].vol_chan0=0; |
d | 4009 | drivers/block/sbpcd.c | D_S[d].vol_ctrl0=volctrl.channel0; |
d | 4010 | drivers/block/sbpcd.c | D_S[d].vol_chan1=1; |
d | 4011 | drivers/block/sbpcd.c | D_S[d].vol_ctrl1=volctrl.channel1; |
d | 4021 | drivers/block/sbpcd.c | volctrl.channel0=D_S[d].vol_ctrl0; |
d | 4022 | drivers/block/sbpcd.c | volctrl.channel1=D_S[d].vol_ctrl1; |
d | 4038 | drivers/block/sbpcd.c | switch (D_S[d].audio_state) |
d | 4050 | drivers/block/sbpcd.c | SC.cdsc_adr=D_S[d].SubQ_ctl_adr; |
d | 4051 | drivers/block/sbpcd.c | SC.cdsc_ctrl=D_S[d].SubQ_ctl_adr>>4; |
d | 4052 | drivers/block/sbpcd.c | SC.cdsc_trk=bcd2bin(D_S[d].SubQ_trk); |
d | 4053 | drivers/block/sbpcd.c | SC.cdsc_ind=bcd2bin(D_S[d].SubQ_pnt_idx); |
d | 4056 | drivers/block/sbpcd.c | SC.cdsc_absaddr.lba=msf2blk(D_S[d].SubQ_run_tot); |
d | 4057 | drivers/block/sbpcd.c | SC.cdsc_reladdr.lba=msf2blk(D_S[d].SubQ_run_trk); |
d | 4061 | drivers/block/sbpcd.c | SC.cdsc_absaddr.msf.minute=(D_S[d].SubQ_run_tot>>16)&0x00FF; |
d | 4062 | drivers/block/sbpcd.c | SC.cdsc_absaddr.msf.second=(D_S[d].SubQ_run_tot>>8)&0x00FF; |
d | 4063 | drivers/block/sbpcd.c | SC.cdsc_absaddr.msf.frame=D_S[d].SubQ_run_tot&0x00FF; |
d | 4064 | drivers/block/sbpcd.c | SC.cdsc_reladdr.msf.minute=(D_S[d].SubQ_run_trk>>16)&0x00FF; |
d | 4065 | drivers/block/sbpcd.c | SC.cdsc_reladdr.msf.second=(D_S[d].SubQ_run_trk>>8)&0x00FF; |
d | 4066 | drivers/block/sbpcd.c | SC.cdsc_reladdr.msf.frame=D_S[d].SubQ_run_trk&0x00FF; |
d | 4080 | drivers/block/sbpcd.c | D_S[d].mode=READ_M1; |
d | 4087 | drivers/block/sbpcd.c | D_S[d].mode=READ_M2; |
d | 4093 | drivers/block/sbpcd.c | if (D_S[d].sbp_audsiz>0) |
d | 4094 | drivers/block/sbpcd.c | vfree(D_S[d].aud_buf); |
d | 4096 | drivers/block/sbpcd.c | D_S[d].aud_buf=NULL; |
d | 4097 | drivers/block/sbpcd.c | D_S[d].sbp_audsiz=arg; |
d | 4098 | drivers/block/sbpcd.c | if (D_S[d].sbp_audsiz>0) |
d | 4100 | drivers/block/sbpcd.c | D_S[d].aud_buf=(u_char *) vmalloc(D_S[d].sbp_audsiz*CD_FRAMESIZE_RAW); |
d | 4101 | drivers/block/sbpcd.c | if (D_S[d].aud_buf==NULL) |
d | 4103 | drivers/block/sbpcd.c | msg(DBG_INF,"audio buffer (%d frames) not available.\n",D_S[d].sbp_audsiz); |
d | 4104 | drivers/block/sbpcd.c | D_S[d].sbp_audsiz=0; |
d | 4106 | drivers/block/sbpcd.c | else msg(DBG_INF,"audio buffer size: %d frames.\n",D_S[d].sbp_audsiz); |
d | 4108 | drivers/block/sbpcd.c | return (D_S[d].sbp_audsiz); |
d | 4127 | drivers/block/sbpcd.c | if (D_S[d].aud_buf==NULL) return (-EINVAL); |
d | 4131 | drivers/block/sbpcd.c | if (read_audio.nframes>D_S[d].sbp_audsiz) return (-EINVAL); |
d | 4152 | drivers/block/sbpcd.c | D_S[d].mode=READ_AU; |
d | 4233 | drivers/block/sbpcd.c | p = D_S[d].aud_buf; |
d | 4280 | drivers/block/sbpcd.c | D_S[d].status_bits); |
d | 4292 | drivers/block/sbpcd.c | (u_char *) D_S[d].aud_buf, |
d | 4299 | drivers/block/sbpcd.c | D_S[d].mode=READ_M1; |
d | 4316 | drivers/block/sbpcd.c | lba2msf(D_S[d].lba_multi,&ms_info.addr.msf.minute); |
d | 4318 | drivers/block/sbpcd.c | ms_info.addr.lba=D_S[d].lba_multi; |
d | 4320 | drivers/block/sbpcd.c | if (D_S[d].f_multisession) ms_info.xa_flag=1; /* valid redirection address */ |
d | 4350 | drivers/block/sbpcd.c | (CURRENT->sector/4 >= D_S[d].sbp_first_frame) && |
d | 4351 | drivers/block/sbpcd.c | (CURRENT->sector/4 <= D_S[d].sbp_last_frame) ) |
d | 4353 | drivers/block/sbpcd.c | offs = (CURRENT->sector - D_S[d].sbp_first_frame * 4) * 512; |
d | 4354 | drivers/block/sbpcd.c | memcpy(CURRENT->buffer, D_S[d].sbp_buf + offs, 512); |
d | 4391 | drivers/block/sbpcd.c | if (d!=i) switch_drive(i); |
d | 4459 | drivers/block/sbpcd.c | D_S[d].sbp_first_frame=D_S[d].sbp_last_frame=-1; /* purge buffer */ |
d | 4460 | drivers/block/sbpcd.c | D_S[d].sbp_current = 0; |
d | 4462 | drivers/block/sbpcd.c | if (block+D_S[d].sbp_bufsiz <= D_S[d].CDsize_frm) |
d | 4463 | drivers/block/sbpcd.c | D_S[d].sbp_read_frames = D_S[d].sbp_bufsiz; |
d | 4466 | drivers/block/sbpcd.c | D_S[d].sbp_read_frames=D_S[d].CDsize_frm-block; |
d | 4468 | drivers/block/sbpcd.c | if (D_S[d].sbp_read_frames < 1) |
d | 4471 | drivers/block/sbpcd.c | block, D_S[d].CDsize_frm); |
d | 4472 | drivers/block/sbpcd.c | D_S[d].sbp_read_frames=1; |
d | 4481 | drivers/block/sbpcd.c | if (D_S[d].xa_byte==0x20) |
d | 4488 | drivers/block/sbpcd.c | drvcmd[5]=D_S[d].sbp_read_frames; |
d | 4493 | drivers/block/sbpcd.c | if (D_S[d].drv_type>=drv_201) |
d | 4506 | drivers/block/sbpcd.c | drvcmd[5]=D_S[d].sbp_read_frames; |
d | 4507 | drivers/block/sbpcd.c | drvcmd[6]=(D_S[d].drv_type<drv_201)?0:2; /* flag "lba or msf-bcd format" */ |
d | 4514 | drivers/block/sbpcd.c | drvcmd[6]=D_S[d].sbp_read_frames; |
d | 4520 | drivers/block/sbpcd.c | drvcmd[5]=D_S[d].sbp_read_frames; |
d | 4530 | drivers/block/sbpcd.c | drvcmd[7]=(D_S[d].sbp_read_frames>>8)&0x0ff; |
d | 4531 | drivers/block/sbpcd.c | drvcmd[8]=D_S[d].sbp_read_frames&0x0ff; |
d | 4572 | drivers/block/sbpcd.c | if (D_S[d].f_multisession) max_latency=900; |
d | 4577 | drivers/block/sbpcd.c | for (frame=0;frame<D_S[d].sbp_read_frames&&!error_flag; frame++) |
d | 4587 | drivers/block/sbpcd.c | if (D_S[d].f_multisession) try=maxtim_data*4; |
d | 4632 | drivers/block/sbpcd.c | if ((D_S[d].ored_ctl_adr&0x40)==0) |
d | 4641 | drivers/block/sbpcd.c | p = D_S[d].sbp_buf + frame * CD_FRAMESIZE; |
d | 4647 | drivers/block/sbpcd.c | D_S[d].sbp_current++; |
d | 4718 | drivers/block/sbpcd.c | D_S[d].error_state=infobuf[2]; |
d | 4719 | drivers/block/sbpcd.c | D_S[d].b3=infobuf[3]; |
d | 4720 | drivers/block/sbpcd.c | D_S[d].b4=infobuf[4]; |
d | 4790 | drivers/block/sbpcd.c | msg(DBG_INF,"bad cc_ReadStatus after read: %02X\n", D_S[d].status_bits); |
d | 4804 | drivers/block/sbpcd.c | D_S[d].sbp_first_frame=D_S[d].sbp_last_frame=-1; /* purge buffer */ |
d | 4805 | drivers/block/sbpcd.c | D_S[d].sbp_current = 0; |
d | 4810 | drivers/block/sbpcd.c | D_S[d].sbp_first_frame = CURRENT -> sector / 4; |
d | 4811 | drivers/block/sbpcd.c | D_S[d].sbp_last_frame = D_S[d].sbp_first_frame + D_S[d].sbp_read_frames - 1; |
d | 4871 | drivers/block/sbpcd.c | if (famT_drive) msg(DBG_TE2,"sbpcd_open: status %02X\n", D_S[d].status_bits); |
d | 4875 | drivers/block/sbpcd.c | D_S[d].open_count=0; |
d | 4890 | drivers/block/sbpcd.c | D_S[d].open_count,D_S[d].open_count+1); |
d | 4891 | drivers/block/sbpcd.c | if (++D_S[d].open_count<=1) |
d | 4894 | drivers/block/sbpcd.c | D_S[d].open_count=1; |
d | 4898 | drivers/block/sbpcd.c | if ((D_S[d].ored_ctl_adr&0x40)==0) |
d | 4920 | drivers/block/sbpcd.c | D_S[d].sbp_first_frame=D_S[d].sbp_last_frame=-1; |
d | 4929 | drivers/block/sbpcd.c | D_S[d].open_count,D_S[d].open_count-1); |
d | 4930 | drivers/block/sbpcd.c | if (D_S[d].open_count>-2) /* CDROMEJECT may have been done */ |
d | 4932 | drivers/block/sbpcd.c | if (--D_S[d].open_count<=0) |
d | 4935 | drivers/block/sbpcd.c | if (D_S[d].audio_state!=audio_playing) |
d | 4936 | drivers/block/sbpcd.c | if (D_S[d].f_eject) cc_SpinDown(); |
d | 4937 | drivers/block/sbpcd.c | D_S[d].diskstate_flags &= ~cd_size_bit; |
d | 4938 | drivers/block/sbpcd.c | D_S[d].open_count=0; |
d | 5162 | drivers/block/sbpcd.c | D_S[d].sbp_first_frame = -1; /* First frame in buffer */ |
d | 5163 | drivers/block/sbpcd.c | D_S[d].sbp_last_frame = -1; /* Last frame in buffer */ |
d | 5164 | drivers/block/sbpcd.c | D_S[d].sbp_read_frames = 0; /* Number of frames being read to buffer */ |
d | 5165 | drivers/block/sbpcd.c | D_S[d].sbp_current = 0; /* Frame being currently read */ |
d | 5166 | drivers/block/sbpcd.c | D_S[d].CD_changed=1; |
d | 5167 | drivers/block/sbpcd.c | D_S[d].frame_size=CD_FRAMESIZE; |
d | 5169 | drivers/block/sbpcd.c | if (!fam0_drive) D_S[d].f_eject=1; |
d | 5170 | drivers/block/sbpcd.c | else D_S[d].f_eject=0; |
d | 5172 | drivers/block/sbpcd.c | D_S[d].f_eject=0; |
d | 5191 | drivers/block/sbpcd.c | D_S[d].error_byte); |
d | 5192 | drivers/block/sbpcd.c | if (D_S[d].error_byte==aud_12) |
d | 5201 | drivers/block/sbpcd.c | D_S[d].error_byte); |
d | 5208 | drivers/block/sbpcd.c | if (i>=0) D_S[d].CD_changed=1; |
d | 5353 | drivers/block/sbpcd.c | msg(DBG_CHK,"media_check: %02X\n",D_S[d].status_bits); |
d | 5359 | drivers/block/sbpcd.c | if (D_S[d].CD_changed==0xFF) msg(DBG_CHK,"media_check: \"changed\" assumed.\n"); |
d | 5364 | drivers/block/sbpcd.c | D_S[d].CD_changed=0xFF; |
d | 5369 | drivers/block/sbpcd.c | D_S[d].open_count=0; |
d | 5370 | drivers/block/sbpcd.c | D_S[d].CD_changed=0xFF; |
d | 5375 | drivers/block/sbpcd.c | if (D_S[d].CD_changed==0xFF) |
d | 5377 | drivers/block/sbpcd.c | D_S[d].CD_changed=1; |
d | 273 | drivers/block/sjcd.c | unsigned char b, unsigned char c, unsigned char d ){ |
d | 281 | drivers/block/sjcd.c | outb( d, SJCDPORT( 0 ) ); |
d | 249 | drivers/char/console.c | struct vc_data *d; |
d | 256 | drivers/char/console.c | #define screenbuf_size (vc_cons[currcons].d->vc_screenbuf_size) |
d | 257 | drivers/char/console.c | #define origin (vc_cons[currcons].d->vc_origin) |
d | 258 | drivers/char/console.c | #define scr_end (vc_cons[currcons].d->vc_scr_end) |
d | 259 | drivers/char/console.c | #define pos (vc_cons[currcons].d->vc_pos) |
d | 260 | drivers/char/console.c | #define top (vc_cons[currcons].d->vc_top) |
d | 261 | drivers/char/console.c | #define bottom (vc_cons[currcons].d->vc_bottom) |
d | 262 | drivers/char/console.c | #define x (vc_cons[currcons].d->vc_x) |
d | 263 | drivers/char/console.c | #define y (vc_cons[currcons].d->vc_y) |
d | 264 | drivers/char/console.c | #define vc_state (vc_cons[currcons].d->vc_state) |
d | 265 | drivers/char/console.c | #define npar (vc_cons[currcons].d->vc_npar) |
d | 266 | drivers/char/console.c | #define par (vc_cons[currcons].d->vc_par) |
d | 267 | drivers/char/console.c | #define ques (vc_cons[currcons].d->vc_ques) |
d | 268 | drivers/char/console.c | #define attr (vc_cons[currcons].d->vc_attr) |
d | 269 | drivers/char/console.c | #define saved_x (vc_cons[currcons].d->vc_saved_x) |
d | 270 | drivers/char/console.c | #define saved_y (vc_cons[currcons].d->vc_saved_y) |
d | 271 | drivers/char/console.c | #define translate (vc_cons[currcons].d->vc_translate) |
d | 272 | drivers/char/console.c | #define G0_charset (vc_cons[currcons].d->vc_G0_charset) |
d | 273 | drivers/char/console.c | #define G1_charset (vc_cons[currcons].d->vc_G1_charset) |
d | 274 | drivers/char/console.c | #define saved_G0 (vc_cons[currcons].d->vc_saved_G0) |
d | 275 | drivers/char/console.c | #define saved_G1 (vc_cons[currcons].d->vc_saved_G1) |
d | 276 | drivers/char/console.c | #define utf (vc_cons[currcons].d->vc_utf) |
d | 277 | drivers/char/console.c | #define utf_count (vc_cons[currcons].d->vc_utf_count) |
d | 278 | drivers/char/console.c | #define utf_char (vc_cons[currcons].d->vc_utf_char) |
d | 279 | drivers/char/console.c | #define video_mem_start (vc_cons[currcons].d->vc_video_mem_start) |
d | 280 | drivers/char/console.c | #define video_mem_end (vc_cons[currcons].d->vc_video_mem_end) |
d | 281 | drivers/char/console.c | #define video_erase_char (vc_cons[currcons].d->vc_video_erase_char) |
d | 282 | drivers/char/console.c | #define disp_ctrl (vc_cons[currcons].d->vc_disp_ctrl) |
d | 283 | drivers/char/console.c | #define toggle_meta (vc_cons[currcons].d->vc_toggle_meta) |
d | 284 | drivers/char/console.c | #define decscnm (vc_cons[currcons].d->vc_decscnm) |
d | 285 | drivers/char/console.c | #define decom (vc_cons[currcons].d->vc_decom) |
d | 286 | drivers/char/console.c | #define decawm (vc_cons[currcons].d->vc_decawm) |
d | 287 | drivers/char/console.c | #define deccm (vc_cons[currcons].d->vc_deccm) |
d | 288 | drivers/char/console.c | #define decim (vc_cons[currcons].d->vc_decim) |
d | 289 | drivers/char/console.c | #define deccolm (vc_cons[currcons].d->vc_deccolm) |
d | 290 | drivers/char/console.c | #define need_wrap (vc_cons[currcons].d->vc_need_wrap) |
d | 291 | drivers/char/console.c | #define has_scrolled (vc_cons[currcons].d->vc_has_scrolled) |
d | 292 | drivers/char/console.c | #define kmalloced (vc_cons[currcons].d->vc_kmalloced) |
d | 293 | drivers/char/console.c | #define report_mouse (vc_cons[currcons].d->vc_report_mouse) |
d | 294 | drivers/char/console.c | #define color (vc_cons[currcons].d->vc_color) |
d | 295 | drivers/char/console.c | #define s_color (vc_cons[currcons].d->vc_s_color) |
d | 296 | drivers/char/console.c | #define def_color (vc_cons[currcons].d->vc_def_color) |
d | 299 | drivers/char/console.c | #define charset (vc_cons[currcons].d->vc_charset) |
d | 300 | drivers/char/console.c | #define s_charset (vc_cons[currcons].d->vc_s_charset) |
d | 301 | drivers/char/console.c | #define intensity (vc_cons[currcons].d->vc_intensity) |
d | 302 | drivers/char/console.c | #define underline (vc_cons[currcons].d->vc_underline) |
d | 303 | drivers/char/console.c | #define blink (vc_cons[currcons].d->vc_blink) |
d | 304 | drivers/char/console.c | #define reverse (vc_cons[currcons].d->vc_reverse) |
d | 305 | drivers/char/console.c | #define s_intensity (vc_cons[currcons].d->vc_s_intensity) |
d | 306 | drivers/char/console.c | #define s_underline (vc_cons[currcons].d->vc_s_underline) |
d | 307 | drivers/char/console.c | #define s_blink (vc_cons[currcons].d->vc_s_blink) |
d | 308 | drivers/char/console.c | #define s_reverse (vc_cons[currcons].d->vc_s_reverse) |
d | 309 | drivers/char/console.c | #define ulcolor (vc_cons[currcons].d->vc_ulcolor) |
d | 310 | drivers/char/console.c | #define halfcolor (vc_cons[currcons].d->vc_halfcolor) |
d | 311 | drivers/char/console.c | #define tab_stop (vc_cons[currcons].d->vc_tab_stop) |
d | 312 | drivers/char/console.c | #define palette (vc_cons[currcons].d->vc_palette) |
d | 340 | drivers/char/console.c | return (i < MAX_NR_CONSOLES && vc_cons[i].d); |
d | 347 | drivers/char/console.c | if (!vc_cons[i].d) { |
d | 366 | drivers/char/console.c | vc_cons[i].d = (struct vc_data *) p; |
d | 370 | drivers/char/console.c | vc_cons[i].d->vc_kmalloced = 1; |
d | 371 | drivers/char/console.c | vc_cons[i].d->vc_screenbuf_size = video_screen_size; |
d | 483 | drivers/char/console.c | kfree_s(vc_cons[currcons].d, structsize); |
d | 484 | drivers/char/console.c | vc_cons[currcons].d = 0; |
d | 585 | drivers/char/console.c | unsigned short * d = (unsigned short *) video_mem_base; |
d | 594 | drivers/char/console.c | scr_writew(scr_readw(d++),s++); |
d | 683 | drivers/char/console.c | unsigned short * d = (unsigned short *) video_mem_start; |
d | 690 | drivers/char/console.c | scr_writew(scr_readw(s++),d++); |
d | 695 | drivers/char/console.c | scr_writew(video_erase_char, d++); |
d | 704 | drivers/char/console.c | unsigned short * d; |
d | 707 | drivers/char/console.c | d = (unsigned short *) (scr_end - video_size_row); |
d | 711 | drivers/char/console.c | scr_writew(video_erase_char, d++); |
d | 718 | drivers/char/console.c | unsigned short * d = (unsigned short *) (origin+video_size_row*t); |
d | 724 | drivers/char/console.c | scr_writew(scr_readw(s++), d++); |
d | 729 | drivers/char/console.c | scr_writew(video_erase_char, d++); |
d | 736 | drivers/char/console.c | unsigned short *d, *s; |
d | 741 | drivers/char/console.c | d = (unsigned short *) (origin+video_size_row*b); |
d | 746 | drivers/char/console.c | scr_writew(scr_readw(--s), --d); |
d | 751 | drivers/char/console.c | scr_writew(video_erase_char, --d); |
d | 1963 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_red[j] ; |
d | 1964 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_grn[j] ; |
d | 1965 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_blu[j] ; |
d | 2129 | drivers/char/console.c | vc_cons[currcons].d = (struct vc_data *) kmem_start; |
d | 2139 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_red[j] ; |
d | 2140 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_grn[j] ; |
d | 2141 | drivers/char/console.c | vc_cons[currcons].d->vc_palette[k++] = default_blu[j] ; |
d | 2535 | drivers/char/console.c | vc_cons[i].d->vc_palette[k++] = default_red[j]; |
d | 2536 | drivers/char/console.c | vc_cons[i].d->vc_palette[k++] = default_grn[j]; |
d | 2537 | drivers/char/console.c | vc_cons[i].d->vc_palette[k++] = default_blu[j]; |
d | 2585 | drivers/char/console.c | outb_p (vc_cons[fg_console].d->vc_palette[j++]>>2, dac_val) ; |
d | 2586 | drivers/char/console.c | outb_p (vc_cons[fg_console].d->vc_palette[j++]>>2, dac_val) ; |
d | 2587 | drivers/char/console.c | outb_p (vc_cons[fg_console].d->vc_palette[j++]>>2, dac_val) ; |
d | 823 | drivers/char/keyboard.c | int d = diacr; |
d | 828 | drivers/char/keyboard.c | return d; |
d | 831 | drivers/char/keyboard.c | if (accent_table[i].diacr == d && accent_table[i].base == ch) |
d | 835 | drivers/char/keyboard.c | put_queue(d); |
d | 1280 | drivers/char/tty_io.c | char *c, *d; |
d | 1290 | drivers/char/tty_io.c | d = (char *)(ts->tasks+n); |
d | 1292 | drivers/char/tty_io.c | put_user(*c++, d++); |
d | 267 | drivers/net/net_init.c | struct device *d = dev_base; |
d | 294 | drivers/net/net_init.c | while (d->next) |
d | 295 | drivers/net/net_init.c | d = d->next; |
d | 296 | drivers/net/net_init.c | d->next = dev; |
d | 308 | drivers/net/net_init.c | struct device *d = dev_base; |
d | 329 | drivers/net/net_init.c | while (d && (d->next != dev)) |
d | 330 | drivers/net/net_init.c | d = d->next; |
d | 332 | drivers/net/net_init.c | if (d && (d->next == dev)) { |
d | 333 | drivers/net/net_init.c | d->next = dev->next; |
d | 93 | drivers/net/slip.c | static int slip_esc(unsigned char *p, unsigned char *d, int len); |
d | 96 | drivers/net/slip.c | static int slip_esc6(unsigned char *p, unsigned char *d, int len); |
d | 777 | drivers/net/slip.c | slip_esc(unsigned char *s, unsigned char *d, int len) |
d | 779 | drivers/net/slip.c | unsigned char *ptr = d; |
d | 811 | drivers/net/slip.c | return (ptr - d); |
d | 858 | drivers/net/slip.c | slip_esc6(unsigned char *s, unsigned char *d, int len) |
d | 860 | drivers/net/slip.c | unsigned char *ptr = d; |
d | 892 | drivers/net/slip.c | return ptr - d; |
d | 1470 | drivers/scsi/NCR5380.c | register unsigned char *d = *data; |
d | 1503 | drivers/scsi/NCR5380.c | NCR5380_write(OUTPUT_DATA_REG, *d); |
d | 1505 | drivers/scsi/NCR5380.c | *d = NCR5380_read(CURRENT_SCSI_DATA_REG); |
d | 1507 | drivers/scsi/NCR5380.c | ++d; |
d | 1571 | drivers/scsi/NCR5380.c | *data = d; |
d | 1610 | drivers/scsi/NCR5380.c | register unsigned char *d = *data; |
d | 1636 | drivers/scsi/NCR5380.c | "writing", c, (p & SR_IO) ? "to" : "from", (unsigned) d); |
d | 1639 | drivers/scsi/NCR5380.c | NCR5380_dma_read_setup(instance, d, c) : |
d | 1640 | drivers/scsi/NCR5380.c | NCR5380_dma_write_setup(instance, d, c); |
d | 1801 | drivers/scsi/NCR5380.c | if (!(foo = NCR5380_pread(instance, d, c - 1))) { |
d | 1827 | drivers/scsi/NCR5380.c | d[c - 1] = NCR5380_read(INPUT_DATA_REG); |
d | 1831 | drivers/scsi/NCR5380.c | if (!(foo = NCR5380_pwrite(instance, d, c))) { |
d | 1882 | drivers/scsi/NCR5380.c | *data = d + c; |
d | 483 | drivers/scsi/pas16.c | register unsigned char *d = dst; |
d | 490 | drivers/scsi/pas16.c | insb( reg, d, i ); |
d | 317 | drivers/scsi/t128.c | T_DATA_REG_OFFSET), *d = dst; |
d | 328 | drivers/scsi/t128.c | *d++ = *reg; |
d | 99 | drivers/sound/ad1848.c | #define io_Index_Addr(d) ((d)->base) |
d | 100 | drivers/sound/ad1848.c | #define io_Indexed_Data(d) ((d)->base+1) |
d | 101 | drivers/sound/ad1848.c | #define io_Status(d) ((d)->base+2) |
d | 102 | drivers/sound/ad1848.c | #define io_Polled_IO(d) ((d)->base+3) |
d | 62 | drivers/sound/os.h | #define COPY_FROM_USER(d, s, o, c) memcpy_fromfs((d), &((s)[o]), (c)) |
d | 63 | drivers/sound/os.h | #define COPY_TO_USER(d, o, s, c) memcpy_tofs(&((d)[o]), (s), (c)) |
d | 64 | drivers/sound/os.h | #define IOCTL_FROM_USER(d, s, o, c) memcpy_fromfs((d), &((s)[o]), (c)) |
d | 65 | drivers/sound/os.h | #define IOCTL_TO_USER(d, o, s, c) memcpy_tofs(&((d)[o]), (s), (c)) |
d | 31 | fs/msdos/msbuffer.h | #define bread(d,b,s) msdos_bread(sb,b) |
d | 32 | fs/msdos/msbuffer.h | #define getblk(d,b,s) msdos_getblk(sb,b) |
d | 286 | fs/smbfs/dir.c | struct smb_dirent d; |
d | 289 | fs/smbfs/dir.c | while (smb_readdir1(inode,filp,&d,&ino) == 1) { |
d | 290 | fs/smbfs/dir.c | if (filldir(dirent,d.path,strlen(d.path)+1, |
d | 59 | fs/umsdos/dir.c | struct UMSDOS_DIR_ONCE *d = (struct UMSDOS_DIR_ONCE *)buf; |
d | 60 | fs/umsdos/dir.c | if (d->count == 0){ |
d | 67 | fs/umsdos/dir.c | ret = d->filldir (d->dirbuf,name,name_len,offset,ino); |
d | 68 | fs/umsdos/dir.c | d->stop = ret < 0; |
d | 69 | fs/umsdos/dir.c | d->count = 1; |
d | 427 | fs/umsdos/dir.c | struct UMSDOS_DIRENT_K *d = (struct UMSDOS_DIRENT_K *)buf; |
d | 428 | fs/umsdos/dir.c | d->f_pos = offset; |
d | 429 | fs/umsdos/dir.c | d->ino = ino; |
d | 447 | fs/umsdos/dir.c | struct UMSDOS_DIR_SEARCH *d = (struct UMSDOS_DIR_SEARCH *)buf; |
d | 448 | fs/umsdos/dir.c | if (d->search_ino == ino){ |
d | 449 | fs/umsdos/dir.c | d->found = 1; |
d | 450 | fs/umsdos/dir.c | memcpy (d->entry->name,name,name_len); |
d | 451 | fs/umsdos/dir.c | d->entry->name[name_len] = '\0'; |
d | 452 | fs/umsdos/dir.c | d->entry->name_len = name_len; |
d | 41 | fs/umsdos/ioctl.c | struct UMSDOS_DIR_ONCE *d = (struct UMSDOS_DIR_ONCE *)buf; |
d | 42 | fs/umsdos/ioctl.c | if (d->count == 0){ |
d | 43 | fs/umsdos/ioctl.c | memcpy_tofs (d->ent->d_name,name,name_len); |
d | 44 | fs/umsdos/ioctl.c | put_user ('\0',d->ent->d_name+name_len); |
d | 45 | fs/umsdos/ioctl.c | put_user (name_len,&d->ent->d_reclen); |
d | 46 | fs/umsdos/ioctl.c | put_user (ino,&d->ent->d_ino); |
d | 47 | fs/umsdos/ioctl.c | put_user (offset,&d->ent->d_off); |
d | 48 | fs/umsdos/ioctl.c | d->count = 1; |
d | 45 | fs/umsdos/rdir.c | struct RDIR_FILLDIR *d = (struct RDIR_FILLDIR*) buf; |
d | 46 | fs/umsdos/rdir.c | if (d->real_root){ |
d | 57 | fs/umsdos/rdir.c | ret = d->filldir (d->dirbuf,name,name_len,offset,ino); |
d | 61 | fs/umsdos/rdir.c | ret = d->filldir (d->dirbuf,name,name_len,offset,ino); |
d | 70 | include/asm-m68k/unistd.h | #define _syscall4(type,name,atype,a,btype,b,ctype,c,dtype,d) \ |
d | 71 | include/asm-m68k/unistd.h | type name (atype a, btype b, ctype c, dtype d) \ |
d | 83 | include/asm-m68k/unistd.h | "g" ((long)(d)) \ |
d | 91 | include/asm-m68k/unistd.h | #define _syscall5(type,name,atype,a,btype,b,ctype,c,dtype,d,etype,e) \ |
d | 92 | include/asm-m68k/unistd.h | type name (atype a,btype b,ctype c,dtype d,etype e) \ |
d | 105 | include/asm-m68k/unistd.h | "g" ((long)(d)), \ |
d | 81 | include/asm-mips/types.h | #define __FDELT(d) ((d) / __NFDBITS) |
d | 83 | include/asm-mips/types.h | #define __FDMASK(d) (1 << ((d) % __NFDBITS)) |
d | 85 | include/asm-mips/types.h | #define __FD_SET(d, set) ((set)->fds_bits[__FDELT(d)] |= __FDMASK(d)) |
d | 87 | include/asm-mips/types.h | #define __FD_CLR(d, set) ((set)->fds_bits[__FDELT(d)] &= ~__FDMASK(d)) |
d | 89 | include/asm-mips/types.h | #define __FD_ISSET(d, set) ((set)->fds_bits[__FDELT(d)] & __FDMASK(d)) |
d | 80 | include/asm-mips/unistd.h | #define _syscall4(type,name,atype,a,btype,b,ctype,c,dtype,d) \ |
d | 81 | include/asm-mips/unistd.h | type name (atype a, btype b, ctype c, dtype d) \ |
d | 94 | include/asm-mips/unistd.h | "r" ((long)(d)) \ |
d | 102 | include/asm-mips/unistd.h | #define _syscall5(type,name,atype,a,btype,b,ctype,c,dtype,d,etype,e) \ |
d | 103 | include/asm-mips/unistd.h | type name (atype a,btype b,ctype c,dtype d,etype e) \ |
d | 117 | include/asm-mips/unistd.h | "r" ((long)(d)), \ |
d | 65 | include/asm-sparc/openprom.h | int (*v2_inst2pkg)(int d); /* Convert ihandle to phandle */ |
d | 80 | include/asm-sparc/openprom.h | void (*v2_dev_close)(int d); |
d | 81 | include/asm-sparc/openprom.h | int (*v2_dev_read)(int d, char* buf, int nbytes); |
d | 82 | include/asm-sparc/openprom.h | int (*v2_dev_write)(int d, char* buf, int nbytes); |
d | 83 | include/asm-sparc/openprom.h | void (*v2_dev_seek)(int d, int hi, int lo); |
d | 204 | include/asm-sparc/openprom.h | unsigned int (*pv_enaddr)(int d, char *enaddr); |
d | 40 | include/linux/ioctl.h | #define _IO(c,d) (IOC_VOID | ((c)<<8) | (d)) /* param encoded */ |
d | 47 | include/linux/ioctl.h | #define _IOW(c,d,t) (IOC_IN | ((sizeof(t)<<16) & IOCSIZE_MASK) | \ |
d | 48 | include/linux/ioctl.h | ((c)<<8) | (d)) |
d | 49 | include/linux/ioctl.h | #define _IOR(c,d,t) (IOC_OUT | ((sizeof(t)<<16) & IOCSIZE_MASK) | \ |
d | 50 | include/linux/ioctl.h | ((c)<<8) | (d)) |
d | 52 | include/linux/ioctl.h | #define _IOWR(c,d,t) (IOC_INOUT | ((sizeof(t)<<16) & IOCSIZE_MASK) | \ |
d | 53 | include/linux/ioctl.h | ((c)<<8) | (d)) |
d | 211 | include/linux/sbpcd.h | #define upc_valid (D_S[d].diskstate_flags&upc_bit) |
d | 212 | include/linux/sbpcd.h | #define volume_valid (D_S[d].diskstate_flags&volume_bit) |
d | 213 | include/linux/sbpcd.h | #define toc_valid (D_S[d].diskstate_flags&toc_bit) |
d | 214 | include/linux/sbpcd.h | #define cd_size_valid (D_S[d].diskstate_flags&cd_size_bit) |
d | 215 | include/linux/sbpcd.h | #define subq_valid (D_S[d].diskstate_flags&subq_bit) |
d | 216 | include/linux/sbpcd.h | #define frame_size_valid (D_S[d].diskstate_flags&frame_size_bit) |
d | 285 | include/linux/sbpcd.h | #define st_door_closed (D_S[d].status_bits&p_door_closed) |
d | 286 | include/linux/sbpcd.h | #define st_caddy_in (D_S[d].status_bits&p_caddy_in) |
d | 287 | include/linux/sbpcd.h | #define st_spinning (D_S[d].status_bits&p_spinning) |
d | 288 | include/linux/sbpcd.h | #define st_check (D_S[d].status_bits&p_check) |
d | 289 | include/linux/sbpcd.h | #define st_busy (D_S[d].status_bits&p_busy_new) |
d | 290 | include/linux/sbpcd.h | #define st_door_locked (D_S[d].status_bits&p_door_locked) |
d | 291 | include/linux/sbpcd.h | #define st_diskok (D_S[d].status_bits&p_disk_ok) |
d | 329 | include/linux/sbpcd.h | #define fam0_drive (D_S[d].drv_type&drv_fam0) |
d | 330 | include/linux/sbpcd.h | #define famL_drive (D_S[d].drv_type&drv_famL) |
d | 331 | include/linux/sbpcd.h | #define fam1_drive (D_S[d].drv_type&drv_fam1) |
d | 332 | include/linux/sbpcd.h | #define fam2_drive (D_S[d].drv_type&drv_fam2) |
d | 333 | include/linux/sbpcd.h | #define famT_drive (D_S[d].drv_type&drv_famT) |
d | 334 | include/linux/sbpcd.h | #define fam0L_drive (D_S[d].drv_type&(drv_fam0|drv_famL)) |
d | 335 | include/linux/sbpcd.h | #define fam1L_drive (D_S[d].drv_type&(drv_fam1|drv_famL)) |
d | 336 | include/linux/sbpcd.h | #define fam01_drive (D_S[d].drv_type&(drv_fam0|drv_fam1)) |
d | 337 | include/linux/sbpcd.h | #define fam12_drive (D_S[d].drv_type&(drv_fam1|drv_fam2)) |
d | 338 | include/linux/sbpcd.h | #define fam2T_drive (D_S[d].drv_type&(drv_fam2|drv_famT)) |
d | 522 | include/linux/tpqic02.h | #define TP_REWCLOSE(d) ((MINOR(d)&0x01) == 1) /* rewind bit */ |
d | 255 | net/ax25/ax25_subr.c | int d = 0; |
d | 280 | net/ax25/ax25_subr.c | if (d >= 6) return NULL; /* Max of 6 digis */ |
d | 284 | net/ax25/ax25_subr.c | memcpy(&digi->calls[d], buf, AX25_ADDR_LEN); |
d | 285 | net/ax25/ax25_subr.c | digi->ndigi = d + 1; |
d | 287 | net/ax25/ax25_subr.c | digi->repeated[d] = 1; |
d | 288 | net/ax25/ax25_subr.c | digi->lastrepeat = d; |
d | 290 | net/ax25/ax25_subr.c | digi->repeated[d] = 0; |
d | 296 | net/ax25/ax25_subr.c | d++; |
d | 306 | net/ax25/ax25_subr.c | int build_ax25_addr(unsigned char *buf, ax25_address *src, ax25_address *dest, ax25_digi *d, int flag) |
d | 330 | net/ax25/ax25_subr.c | if (d == NULL || d->ndigi == 0) { |
d | 338 | net/ax25/ax25_subr.c | while (ct < d->ndigi) { |
d | 339 | net/ax25/ax25_subr.c | memcpy(buf, &d->calls[ct], AX25_ADDR_LEN); |
d | 340 | net/ax25/ax25_subr.c | if (d->repeated[ct]) |
d | 57 | net/ethernet/eth.c | struct device *d = dev_base; |
d | 61 | net/ethernet/eth.c | while (d) |
d | 63 | net/ethernet/eth.c | if (!strcmp(str,d->name)) |
d | 66 | net/ethernet/eth.c | d->irq=ints[1]; |
d | 68 | net/ethernet/eth.c | d->base_addr=ints[2]; |
d | 70 | net/ethernet/eth.c | d->mem_start=ints[3]; |
d | 72 | net/ethernet/eth.c | d->mem_end=ints[4]; |
d | 75 | net/ethernet/eth.c | d=d->next; |
d | 1591 | net/ipx/af_ipx.c | void dump_data(char *str,unsigned char *d) { |
d | 1598 | net/ipx/af_ipx.c | *(p++) = h2c[d[i] & 0x0f]; |
d | 1599 | net/ipx/af_ipx.c | *(p++) = h2c[(d[i] >> 4) & 0x0f]; |
d | 1604 | net/ipx/af_ipx.c | for (i=0; i < 8 ; i++) *(p++) = ' '<= d[i] && d[i]<'\177' ? d[i] : '.'; |
d | 1606 | net/ipx/af_ipx.c | d += i; |