Lines Matching refs:crc
870 unsigned short crc; /* on 68000 we got an alignment problem, member
1038 unsigned short crc,data_crc[2]; in dos_read() local
1059 crc = dos_hdr_crc(&hdr); in dos_read()
1063 hdr.sec, hdr.len_desc, hdr.crc); in dos_read()
1066 if (crc != hdr.crc) { in dos_read()
1068 hdr.crc, crc); in dos_read()
1113 crc = dos_data_crc(unit[drive].trackbuf + (hdr.sec - 1) * 512); in dos_read()
1115 if (crc != data_crc[0]) { in dos_read()
1118 hdr.sec, hdr.len_desc, scnt,data_crc[0], crc); in dos_read()
1159 static ushort crc[2]={0,0x4e4e}; in ms_putsec() local
1174 hdr.crc=dos_hdr_crc(&hdr); in ms_putsec()
1194 crc[0]=dos_data_crc(unit[drive].trackbuf+cnt*512); in ms_putsec()
1195 dos_encode_block((ushort *) raw,(unsigned char *)crc,4); in ms_putsec()