Home
last modified time | relevance | path

Searched refs:ecc_code (Results 1 – 2 of 2) sorted by relevance

/arch/arm/plat-omap/include/plat/
Dgpmc.h159 int gpmc_calculate_ecc(int cs, const u_char *dat, u_char *ecc_code);
/arch/arm/mach-omap2/
Dgpmc.c905 int gpmc_calculate_ecc(int cs, const u_char *dat, u_char *ecc_code) in gpmc_calculate_ecc() argument
914 *ecc_code++ = val; /* P128e, ..., P1e */ in gpmc_calculate_ecc()
915 *ecc_code++ = val >> 16; /* P128o, ..., P1o */ in gpmc_calculate_ecc()
917 *ecc_code++ = ((val >> 8) & 0x0f) | ((val >> 20) & 0xf0); in gpmc_calculate_ecc()