Lines Matching refs:BUSWIDTH
53 #define FLASH_BLOCKSIZE_PARAM (4096 * BUSWIDTH)
61 #define FLASH_BLOCKSIZE_MAIN (32768 * BUSWIDTH)
70 #define BUSWIDTH 4 /* don't change this - a lot of the code _will_ break if you change this */
435 if (from & (BUSWIDTH - 1))
437 int gap = BUSWIDTH - (from & (BUSWIDTH - 1));
446 while (len >= BUSWIDTH)
450 buf += BUSWIDTH;
451 from += BUSWIDTH;
452 len -= BUSWIDTH;
456 if (len & (BUSWIDTH - 1))
516 if (to & (BUSWIDTH - 1))
518 __u32 aligned = to & ~(BUSWIDTH - 1);
524 while (len && i < BUSWIDTH) {
528 while (i < BUSWIDTH) tmp[i++] = 0xFF;
538 while (len >= BUSWIDTH)
542 to += BUSWIDTH;
543 buf += BUSWIDTH;
544 *retlen += BUSWIDTH;
545 len -= BUSWIDTH;
549 if (len & (BUSWIDTH - 1))
554 while (i < BUSWIDTH) tmp[i++] = 0xFF;