Lines Matching refs:wr_size
311 u16 wr_size; member
354 bus->wr_size = 0; in npcm_i2c_init_params()
403 return bus->wr_size == 0 && bus->rd_size == 0; in npcm_i2c_is_quick()
775 if (bus->wr_ind < bus->wr_size) in npcm_i2c_write_to_fifo_master()
1357 if (bus->wr_ind == bus->wr_size) { in npcm_i2c_irq_master_handler_write()
1399 if (!bus->fifo_use || bus->wr_size == 1) { in npcm_i2c_irq_master_handler_write()
1402 wcount = bus->wr_size - bus->wr_ind; in npcm_i2c_irq_master_handler_write()
1594 if (bus->wr_size == 0 && bus->rd_size == 1) in npcm_i2c_irq_handle_sda()
1620 if (bus->wr_size) in npcm_i2c_irq_handle_sda()
1621 npcm_i2c_set_fifo(bus, -1, bus->wr_size); in npcm_i2c_irq_handle_sda()
1627 if (npcm_i2c_is_quick(bus) || bus->wr_size) in npcm_i2c_irq_handle_sda()
2049 bus->wr_size = nwrite; in npcm_i2c_master_start_xmit()