Lines Matching refs:wr_size
293 u16 wr_size; member
335 bus->wr_size = 0; in npcm_i2c_init_params()
384 return bus->wr_size == 0 && bus->rd_size == 0; in npcm_i2c_is_quick()
754 if (bus->wr_ind < bus->wr_size) in npcm_i2c_write_to_fifo_master()
1336 if (bus->wr_ind == bus->wr_size) { in npcm_i2c_irq_master_handler_write()
1378 if (!bus->fifo_use || bus->wr_size == 1) { in npcm_i2c_irq_master_handler_write()
1381 wcount = bus->wr_size - bus->wr_ind; in npcm_i2c_irq_master_handler_write()
1573 if (bus->wr_size == 0 && bus->rd_size == 1) in npcm_i2c_irq_handle_sda()
1599 if (bus->wr_size) in npcm_i2c_irq_handle_sda()
1600 npcm_i2c_set_fifo(bus, -1, bus->wr_size); in npcm_i2c_irq_handle_sda()
1606 if (npcm_i2c_is_quick(bus) || bus->wr_size) in npcm_i2c_irq_handle_sda()
2028 bus->wr_size = nwrite; in npcm_i2c_master_start_xmit()