Lines Matching refs:bytecount
112 size_t bytecount = 0; in spartan3_sp_load() local
174 while (bytecount < bsize) { in spartan3_sp_load()
178 (*fn->wdata) (data[bytecount++], true, cookie); /* write the data */ in spartan3_sp_load()
204 if (bytecount % (bsize / 40) == 0) in spartan3_sp_load()
264 size_t bytecount = 0; in spartan3_sp_dump() local
273 while (bytecount < bsize) { in spartan3_sp_dump()
278 (*fn->rdata) (&(data[bytecount++]), cookie); /* read the data */ in spartan3_sp_dump()
280 if (bytecount % (bsize / 40) == 0) in spartan3_sp_dump()
316 size_t bytecount = 0; in spartan3_ss_load() local
377 while (bytecount < bsize) { in spartan3_ss_load()
387 val = data [bytecount ++]; in spartan3_ss_load()
404 if (bytecount % (bsize / 40) == 0) in spartan3_ss_load()