Lines Matching refs:CFIDEV_BUSWIDTH
315 cmd_addr = adr & ~(CFIDEV_BUSWIDTH-1);
476 cmd_addr = adr & ~(CFIDEV_BUSWIDTH-1);
952 if (ofs & (CFIDEV_BUSWIDTH-1)) {
953 unsigned long bus_ofs = ofs & ~(CFIDEV_BUSWIDTH-1);
961 while (len && i < CFIDEV_BUSWIDTH)
963 while (i < CFIDEV_BUSWIDTH)
993 while(len >= CFIDEV_BUSWIDTH) {
1013 ofs += CFIDEV_BUSWIDTH;
1014 buf += CFIDEV_BUSWIDTH;
1015 (*retlen) += CFIDEV_BUSWIDTH;
1016 len -= CFIDEV_BUSWIDTH;
1026 if (len & (CFIDEV_BUSWIDTH-1)) {
1033 while (i < CFIDEV_BUSWIDTH)
1199 cfi_write(map, CMD(len/CFIDEV_BUSWIDTH-1), cmd_adr );
1202 for (z = 0; z < len; z += CFIDEV_BUSWIDTH) {
1322 if (ofs & (CFIDEV_BUSWIDTH-1)) {
1323 size_t local_len = (-ofs)&(CFIDEV_BUSWIDTH-1);
1343 while(len > CFIDEV_BUSWIDTH) {
1348 size = len & ~(CFIDEV_BUSWIDTH-1);