Lines Matching refs:blocksize
99 ccsflash.blocksize = 64 * 1024;
114 ccsflash.blocksize = 4 * 1024;
144 ccsflash.blocksize = 4 * 1024;
218 ccsflash.blocksize = 256;
223 ccsflash.blocksize = 256;
228 ccsflash.blocksize = 256;
233 ccsflash.blocksize = 256;
238 ccsflash.blocksize = 512;
243 ccsflash.blocksize = 512;
248 ccsflash.blocksize = 1024;
255 ccsflash.size = ccsflash.blocksize * ccsflash.numblocks;
260 name, ccsflash.numblocks, ccsflash.blocksize / 1024,
501 mask = sfl->blocksize - 1;
505 if (byte || (len < sfl->blocksize)) {
513 for (ret = 0; (ret < (int)len) && (byte < sfl->blocksize); ret++) {
553 (sfl->blocksize < (64 * 1024)) ? SFLASH_ST_SSE : SFLASH_ST_SE);
554 return sfl->blocksize;
558 return sfl->blocksize;
573 uint blocksize = 0, mask, cur_offset, cur_length, cur_retlen, remainder;
589 blocksize = sfl->blocksize;
590 mask = blocksize - 1;
593 if (!(block = MALLOC(osh, blocksize)))
599 cur_length = blocksize;
602 remainder = blocksize - (offset & mask);
611 if ((offset & mask) || (len < blocksize)) {
664 MFREE(osh, block, blocksize);