Searched refs:wr_ind (Results 1 – 1 of 1) sorted by relevance
312 u16 wr_ind; member356 bus->wr_ind = 0; in npcm_i2c_init_params()396 return bus->wr_ind; in npcm_i2c_get_index()775 if (bus->wr_ind < bus->wr_size) in npcm_i2c_write_to_fifo_master()776 npcm_i2c_wr_byte(bus, bus->wr_buf[bus->wr_ind++]); in npcm_i2c_write_to_fifo_master()1357 if (bus->wr_ind == bus->wr_size) { in npcm_i2c_irq_master_handler_write()1400 npcm_i2c_wr_byte(bus, bus->wr_buf[bus->wr_ind++]); in npcm_i2c_irq_master_handler_write()1402 wcount = bus->wr_size - bus->wr_ind; in npcm_i2c_irq_master_handler_write()1480 bus->wr_ind -= npcm_i2c_fifo_usage(bus); in npcm_i2c_irq_handle_nack()1514 npcm_i2c_callback(bus, bus->stop_ind, bus->wr_ind); in npcm_i2c_irq_handle_nack()[all …]