Lines Matching refs:u_char
193 static int fsmc_bch8_correct_data(struct mtd_info *mtd, u_char *dat, in fsmc_bch8_correct_data()
194 u_char *read_ecc, u_char *calc_ecc) in fsmc_bch8_correct_data()
261 const u_char *data, u_char *ecc) in fsmc_read_hwecc()
280 ecc[0] = (u_char) (ecc_tmp >> 0); in fsmc_read_hwecc()
281 ecc[1] = (u_char) (ecc_tmp >> 8); in fsmc_read_hwecc()
282 ecc[2] = (u_char) (ecc_tmp >> 16); in fsmc_read_hwecc()
283 ecc[3] = (u_char) (ecc_tmp >> 24); in fsmc_read_hwecc()
286 ecc[4] = (u_char) (ecc_tmp >> 0); in fsmc_read_hwecc()
287 ecc[5] = (u_char) (ecc_tmp >> 8); in fsmc_read_hwecc()
288 ecc[6] = (u_char) (ecc_tmp >> 16); in fsmc_read_hwecc()
289 ecc[7] = (u_char) (ecc_tmp >> 24); in fsmc_read_hwecc()
292 ecc[8] = (u_char) (ecc_tmp >> 0); in fsmc_read_hwecc()
293 ecc[9] = (u_char) (ecc_tmp >> 8); in fsmc_read_hwecc()
294 ecc[10] = (u_char) (ecc_tmp >> 16); in fsmc_read_hwecc()
295 ecc[11] = (u_char) (ecc_tmp >> 24); in fsmc_read_hwecc()
298 ecc[12] = (u_char) (ecc_tmp >> 16); in fsmc_read_hwecc()
303 ecc[0] = (u_char) (ecc_tmp >> 0); in fsmc_read_hwecc()
304 ecc[1] = (u_char) (ecc_tmp >> 8); in fsmc_read_hwecc()
305 ecc[2] = (u_char) (ecc_tmp >> 16); in fsmc_read_hwecc()