Lines Matching refs:wr_size
293 u16 wr_size; member
336 bus->wr_size = 0; in npcm_i2c_init_params()
385 return bus->wr_size == 0 && bus->rd_size == 0; in npcm_i2c_is_quick()
760 if (bus->wr_ind < bus->wr_size) in npcm_i2c_write_to_fifo_master()
1342 if (bus->wr_ind == bus->wr_size) { in npcm_i2c_irq_master_handler_write()
1384 if (!bus->fifo_use || bus->wr_size == 1) { in npcm_i2c_irq_master_handler_write()
1387 wcount = bus->wr_size - bus->wr_ind; in npcm_i2c_irq_master_handler_write()
1579 if (bus->wr_size == 0 && bus->rd_size == 1) in npcm_i2c_irq_handle_sda()
1605 if (bus->wr_size) in npcm_i2c_irq_handle_sda()
1606 npcm_i2c_set_fifo(bus, -1, bus->wr_size); in npcm_i2c_irq_handle_sda()
1612 if (npcm_i2c_is_quick(bus) || bus->wr_size) in npcm_i2c_irq_handle_sda()
2034 bus->wr_size = nwrite; in npcm_i2c_master_start_xmit()