Searched refs:writecount (Results 1 – 2 of 2) sorted by relevance
722 ssize_t writecount = 0; in usblp_write() local731 while (writecount < count) { in usblp_write()735 if ((transfer_length = count - writecount) > USBLP_BUF_SIZE) in usblp_write()745 buffer + writecount, transfer_length)) { in usblp_write()772 writecount += transfer_length; in usblp_write()778 writecount += transfer_length; in usblp_write()792 writecount += usblp->wstatus; in usblp_write()796 return writecount; in usblp_write()807 return writecount ? writecount : rv; in usblp_write()
684 int writecount; in broadsheet_write_spiflash() local701 writecount = min(bytecount, maxlen); in broadsheet_write_spiflash()704 cur_addr, writecount, wfm + offset); in broadsheet_write_spiflash()708 offset += writecount; in broadsheet_write_spiflash()709 bytecount -= writecount; in broadsheet_write_spiflash()