Searched refs:BUSWIDTH (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/mtd/devices/
H A Dlart.c56 #define FLASH_BLOCKSIZE_PARAM (4096 * BUSWIDTH)
64 #define FLASH_BLOCKSIZE_MAIN (32768 * BUSWIDTH)
73 #define BUSWIDTH 4 /* don't change this - a lot of the code _will_ break if you change this */ macro
444 if (from & (BUSWIDTH - 1)) flash_read()
446 int gap = BUSWIDTH - (from & (BUSWIDTH - 1)); flash_read()
452 while (len >= BUSWIDTH) flash_read()
456 buf += BUSWIDTH; flash_read()
457 from += BUSWIDTH; flash_read()
458 len -= BUSWIDTH; flash_read()
462 if (len & (BUSWIDTH - 1)) flash_read()
522 if (to & (BUSWIDTH - 1)) flash_write()
524 __u32 aligned = to & ~(BUSWIDTH - 1); flash_write()
530 while (len && i < BUSWIDTH) tmp[i++] = buf[n++], len--; flash_write()
531 while (i < BUSWIDTH) tmp[i++] = 0xFF; flash_write()
541 while (len >= BUSWIDTH) flash_write()
545 to += BUSWIDTH; flash_write()
546 buf += BUSWIDTH; flash_write()
547 *retlen += BUSWIDTH; flash_write()
548 len -= BUSWIDTH; flash_write()
552 if (len & (BUSWIDTH - 1)) flash_write()
557 while (i < BUSWIDTH) tmp[i++] = 0xFF; flash_write()
/linux-4.4.14/drivers/mtd/maps/
H A Dimpa7.c25 #define BUSWIDTH 4 macro
38 .bankwidth = BUSWIDTH,
43 .bankwidth = BUSWIDTH,
H A Dl440gx.c19 #define BUSWIDTH 1 macro
50 .bankwidth = BUSWIDTH,
/linux-4.4.14/drivers/usb/gadget/udc/
H A Dnet2272.h311 #define BUSWIDTH 1 macro
H A Dnet2272.c2381 (1 << BUSWIDTH) | net2272_rdk1_probe()

Completed in 413 milliseconds