ECCBUF_SIZE 662 drivers/mtd/chips/cfi_cmdset_0020.c #define ECCBUF_DIV(x) ((x) & ~(ECCBUF_SIZE - 1)) ECCBUF_SIZE 663 drivers/mtd/chips/cfi_cmdset_0020.c #define ECCBUF_MOD(x) ((x) & (ECCBUF_SIZE - 1)) ECCBUF_SIZE 674 drivers/mtd/chips/cfi_cmdset_0020.c if (!ECCBUF_SIZE) { ECCBUF_SIZE 680 drivers/mtd/chips/cfi_cmdset_0020.c buffer = kmalloc(ECCBUF_SIZE, GFP_KERNEL); ECCBUF_SIZE 690 drivers/mtd/chips/cfi_cmdset_0020.c if (buflen + elem_len < ECCBUF_SIZE) { /* just accumulate */ ECCBUF_SIZE 695 drivers/mtd/chips/cfi_cmdset_0020.c memcpy(buffer+buflen, elem_base, ECCBUF_SIZE-buflen); ECCBUF_SIZE 696 drivers/mtd/chips/cfi_cmdset_0020.c ret = mtd_write(mtd, to, ECCBUF_SIZE, &thislen, ECCBUF_SIZE 699 drivers/mtd/chips/cfi_cmdset_0020.c if (ret || thislen != ECCBUF_SIZE) ECCBUF_SIZE 703 drivers/mtd/chips/cfi_cmdset_0020.c to += ECCBUF_SIZE; ECCBUF_SIZE 715 drivers/mtd/chips/cfi_cmdset_0020.c memset(buffer, 0xff, ECCBUF_SIZE); ECCBUF_SIZE 723 drivers/mtd/chips/cfi_cmdset_0020.c if (ret || thislen != ECCBUF_SIZE)