#include "usb.h"
#include "scsiglue.h"
#include "transport.h"
#include "smcommon.h"
#include "smil.h"
Go to the source code of this file.
|
void | calculate_ecc (BYTE *table, BYTE *data, BYTE *ecc1, BYTE *ecc2, BYTE *ecc3) |
|
BYTE | correct_data (BYTE *data, BYTE *eccdata, BYTE ecc1, BYTE ecc2, BYTE ecc3) |
|
int | _Correct_D_SwECC (BYTE *buf, BYTE *redundant_ecc, BYTE *calculate_ecc) |
|
void | _Calculate_D_SwECC (BYTE *buf, BYTE *ecc) |
|
#define BIT23 0x00800000L |
#define CORRECTABLE 0x00555554L |
int _Correct_D_SwECC |
( |
BYTE * |
buf, |
|
|
BYTE * |
redundant_ecc, |
|
|
BYTE * |
calculate_ecc |
|
) |
| |