Searched refs:wr_ind (Results 1 – 1 of 1) sorted by relevance
314 u16 wr_ind; member357 bus->wr_ind = 0; in npcm_i2c_init_params()397 return bus->wr_ind; in npcm_i2c_get_index()776 if (bus->wr_ind < bus->wr_size) in npcm_i2c_write_to_fifo_master()777 npcm_i2c_wr_byte(bus, bus->wr_buf[bus->wr_ind++]); in npcm_i2c_write_to_fifo_master()1355 if (bus->wr_ind == bus->wr_size) { in npcm_i2c_irq_master_handler_write()1398 npcm_i2c_wr_byte(bus, bus->wr_buf[bus->wr_ind++]); in npcm_i2c_irq_master_handler_write()1400 wcount = bus->wr_size - bus->wr_ind; in npcm_i2c_irq_master_handler_write()1478 bus->wr_ind -= npcm_i2c_fifo_usage(bus); in npcm_i2c_irq_handle_nack()1512 npcm_i2c_callback(bus, bus->stop_ind, bus->wr_ind); in npcm_i2c_irq_handle_nack()[all …]