Searched refs:writecount (Results 1 – 2 of 2) sorted by relevance
748 ssize_t writecount = 0; in usblp_write() local757 while (writecount < count) { in usblp_write()761 if ((transfer_length = count - writecount) > USBLP_BUF_SIZE) in usblp_write()771 buffer + writecount, transfer_length)) { in usblp_write()798 writecount += transfer_length; in usblp_write()804 writecount += transfer_length; in usblp_write()818 writecount += usblp->wstatus; in usblp_write()822 return writecount; in usblp_write()833 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()