Searched refs:wr_ind (Results 1 – 1 of 1) sorted by relevance
314 u16 wr_ind; member358 bus->wr_ind = 0; in npcm_i2c_init_params()398 return bus->wr_ind; in npcm_i2c_get_index()777 if (bus->wr_ind < bus->wr_size) in npcm_i2c_write_to_fifo_master()778 npcm_i2c_wr_byte(bus, bus->wr_buf[bus->wr_ind++]); in npcm_i2c_write_to_fifo_master()1356 if (bus->wr_ind == bus->wr_size) { in npcm_i2c_irq_master_handler_write()1399 npcm_i2c_wr_byte(bus, bus->wr_buf[bus->wr_ind++]); in npcm_i2c_irq_master_handler_write()1401 wcount = bus->wr_size - bus->wr_ind; in npcm_i2c_irq_master_handler_write()1479 bus->wr_ind -= npcm_i2c_fifo_usage(bus); in npcm_i2c_irq_handle_nack()1513 npcm_i2c_callback(bus, bus->stop_ind, bus->wr_ind); in npcm_i2c_irq_handle_nack()[all …]