Searched refs:wr_ind (Results 1 – 1 of 1) sorted by relevance
294 u16 wr_ind; member337 bus->wr_ind = 0; in npcm_i2c_init_params()377 return bus->wr_ind; in npcm_i2c_get_index()754 if (bus->wr_ind < bus->wr_size) in npcm_i2c_write_to_fifo_master()755 npcm_i2c_wr_byte(bus, bus->wr_buf[bus->wr_ind++]); in npcm_i2c_write_to_fifo_master()1336 if (bus->wr_ind == bus->wr_size) { in npcm_i2c_irq_master_handler_write()1379 npcm_i2c_wr_byte(bus, bus->wr_buf[bus->wr_ind++]); in npcm_i2c_irq_master_handler_write()1381 wcount = bus->wr_size - bus->wr_ind; in npcm_i2c_irq_master_handler_write()1459 bus->wr_ind -= npcm_i2c_fifo_usage(bus); in npcm_i2c_irq_handle_nack()1493 npcm_i2c_callback(bus, bus->stop_ind, bus->wr_ind); in npcm_i2c_irq_handle_nack()[all …]