Searched refs:nwrite (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/misc/c2port/ |
D | core.c | 741 u8 status, nwrite = 128; in __c2port_write_flash_data() local 744 if (nwrite > count) in __c2port_write_flash_data() 745 nwrite = count; in __c2port_write_flash_data() 746 if (ops->block_size * ops->blocks_num - offset < nwrite) in __c2port_write_flash_data() 747 nwrite = ops->block_size * ops->blocks_num - offset; in __c2port_write_flash_data() 792 c2port_write_dr(dev, nwrite); in __c2port_write_flash_data() 812 for (i = 0; i < nwrite; i++) { in __c2port_write_flash_data() 828 return nwrite; in __c2port_write_flash_data()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | qsfp.c | 402 int nwrite; in qsfp_write() local 428 nwrite = len - count; in qsfp_write() 430 if (((addr % QSFP_RW_BOUNDARY) + nwrite) > QSFP_RW_BOUNDARY) in qsfp_write() 431 nwrite = QSFP_RW_BOUNDARY - (addr % QSFP_RW_BOUNDARY); in qsfp_write() 434 offset, bp + count, nwrite); in qsfp_write() 440 count += nwrite; in qsfp_write() 441 addr += nwrite; in qsfp_write()
|
/kernel/liteos_m/kal/posix/src/ |
D | pipe.c | 562 size_t nwrite = 0; in PipeWrite() local 577 while (nwrite < len) { in PipeWrite() 578 tmpLen = PipeRingbufferWrite(dev, (char *)buf + nwrite, len - nwrite); in PipeWrite() 592 nwrite += tmpLen; in PipeWrite() 598 return nwrite; in PipeWrite()
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-npcm7xx.c | 770 static void npcm_i2c_set_fifo(struct npcm_i2c *bus, int nread, int nwrite) in npcm_i2c_set_fifo() argument 803 if (nwrite > 0) { in npcm_i2c_set_fifo() 804 if (nwrite > I2C_HW_FIFO_SIZE) in npcm_i2c_set_fifo() 808 iowrite8(nwrite, bus->reg + NPCM_I2CTXF_CTL); in npcm_i2c_set_fifo() 965 static void npcm_i2c_slave_xmit(struct npcm_i2c *bus, u16 nwrite, in npcm_i2c_slave_xmit() argument 968 if (nwrite == 0) in npcm_i2c_slave_xmit() 975 npcm_i2c_write_fifo_slave(bus, nwrite); in npcm_i2c_slave_xmit() 2021 u8 slave_addr, u16 nwrite, u16 nread, in npcm_i2c_master_start_xmit() argument 2031 bus->wr_size = nwrite; in npcm_i2c_master_start_xmit() 2043 if (nread && !nwrite) in npcm_i2c_master_start_xmit() [all …]
|
/kernel/linux/linux-5.10/fs/vboxsf/ |
D | file.c | 277 u32 nwrite = PAGE_SIZE; in vboxsf_writepage() local 282 nwrite = size & ~PAGE_MASK; in vboxsf_writepage() 290 off, &nwrite, buf); in vboxsf_writepage()
|