Lines Matching refs:u_char
139 static u_char bch16_vector[] = {0xf5, 0x24, 0x1c, 0xd0, 0x61, 0xb3, 0xf1, 0x55,
143 static u_char bch8_vector[] = {0xf3, 0xdb, 0x14, 0x16, 0x8b, 0xd2, 0xbe, 0xcc,
145 static u_char bch4_vector[] = {0x00, 0x6b, 0x31, 0xdd, 0x41, 0xbc, 0x10};
170 u_char *buf;
271 static void omap_read_buf8(struct mtd_info *mtd, u_char *buf, int len) in omap_read_buf8()
284 static void omap_write_buf8(struct mtd_info *mtd, const u_char *buf, int len) in omap_write_buf8()
288 u_char *p = (u_char *)buf; in omap_write_buf8()
307 static void omap_read_buf16(struct mtd_info *mtd, u_char *buf, int len) in omap_read_buf16()
320 static void omap_write_buf16(struct mtd_info *mtd, const u_char * buf, int len) in omap_write_buf16()
345 static void omap_read_buf_pref(struct mtd_info *mtd, u_char *buf, int len) in omap_read_buf_pref()
369 omap_read_buf16(mtd, (u_char *)p, len); in omap_read_buf_pref()
371 omap_read_buf8(mtd, (u_char *)p, len); in omap_read_buf_pref()
393 const u_char *buf, int len) in omap_write_buf_pref()
416 omap_write_buf16(mtd, (u_char *)p, len); in omap_write_buf_pref()
418 omap_write_buf8(mtd, (u_char *)p, len); in omap_write_buf_pref()
533 is_write == 0 ? omap_read_buf16(mtd, (u_char *) addr, len) in omap_nand_dma_transfer()
534 : omap_write_buf16(mtd, (u_char *) addr, len); in omap_nand_dma_transfer()
536 is_write == 0 ? omap_read_buf8(mtd, (u_char *) addr, len) in omap_nand_dma_transfer()
537 : omap_write_buf8(mtd, (u_char *) addr, len); in omap_nand_dma_transfer()
547 static void omap_read_buf_dma_pref(struct mtd_info *mtd, u_char *buf, int len) in omap_read_buf_dma_pref()
563 const u_char *buf, int len) in omap_write_buf_dma_pref()
569 omap_nand_dma_transfer(mtd, (u_char *) buf, len, 0x1); in omap_write_buf_dma_pref()
624 static void omap_read_buf_irq_pref(struct mtd_info *mtd, u_char *buf, int len) in omap_read_buf_irq_pref()
672 const u_char *buf, int len) in omap_write_buf_irq_pref()
686 info->buf = (u_char *) buf; in omap_write_buf_irq_pref()
886 static int omap_correct_data(struct mtd_info *mtd, u_char *dat, in omap_correct_data()
887 u_char *read_ecc, u_char *calc_ecc) in omap_correct_data()
928 static int omap_calculate_ecc(struct mtd_info *mtd, const u_char *dat, in omap_calculate_ecc()
929 u_char *ecc_code) in omap_calculate_ecc()
1163 const u_char *dat, u_char *ecc_calc) in omap_calculate_ecc_bch()
1294 static int erased_sector_bitflips(u_char *data, u_char *oob, in erased_sector_bitflips()
1334 static int omap_elm_correct_data(struct mtd_info *mtd, u_char *data, in omap_elm_correct_data()
1335 u_char *read_ecc, u_char *calc_ecc) in omap_elm_correct_data()
1344 u_char *ecc_vec = calc_ecc; in omap_elm_correct_data()
1345 u_char *spare_ecc = read_ecc; in omap_elm_correct_data()
1346 u_char *erased_ecc_vec; in omap_elm_correct_data()
1347 u_char *buf; in omap_elm_correct_data()