Lines Matching refs:bytecount
108 size_t bytecount = 0; in spartan2_sp_load() local
170 while (bytecount < bsize) { in spartan2_sp_load()
174 (*fn->wdata) (data[bytecount++], true, cookie); /* write the data */ in spartan2_sp_load()
200 if (bytecount % (bsize / 40) == 0) in spartan2_sp_load()
258 size_t bytecount = 0; in spartan2_sp_dump() local
267 while (bytecount < bsize) { in spartan2_sp_dump()
272 (*fn->rdata) (&(data[bytecount++]), cookie); /* read the data */ in spartan2_sp_dump()
274 if (bytecount % (bsize / 40) == 0) in spartan2_sp_dump()
310 size_t bytecount = 0; in spartan2_ss_load() local
364 while (bytecount < bsize) { in spartan2_ss_load()
372 val = data [bytecount ++]; in spartan2_ss_load()
389 if (bytecount % (bsize / 40) == 0) in spartan2_ss_load()