Searched refs:writecount (Results 1 – 4 of 4) 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()
473 static void pci1xxxx_i2c_set_write_count(struct pci1xxxx_i2c *i2c, u8 writecount) in pci1xxxx_i2c_set_write_count() argument475 writeb(writecount, i2c->i2c_base + SMB_CORE_CMD_REG_OFF2); in pci1xxxx_i2c_set_write_count()552 u8 writecount, u8 readcount) in pci1xxxx_i2c_set_count() argument555 pci1xxxx_i2c_set_write_count(i2c, writecount); in pci1xxxx_i2c_set_count()
3424 int writecount; in f2fs_release_compress_blocks() local3443 writecount = atomic_read(&inode->i_writecount); in f2fs_release_compress_blocks()3444 if ((filp->f_mode & FMODE_WRITE && writecount != 1) || in f2fs_release_compress_blocks()3445 (!(filp->f_mode & FMODE_WRITE) && writecount)) { in f2fs_release_compress_blocks()