Searched refs:wr_ind (Results 1 – 1 of 1) sorted by relevance
573 u16 wr_ind; member618 bus->wr_ind = 0; in npcm_i2c_init_params()658 return bus->wr_ind; in npcm_i2c_get_index()1037 if (bus->wr_ind < bus->wr_size) in npcm_i2c_write_to_fifo_master()1038 npcm_i2c_wr_byte(bus, bus->wr_buf[bus->wr_ind++]); in npcm_i2c_write_to_fifo_master()1616 if (bus->wr_ind == bus->wr_size) { in npcm_i2c_irq_master_handler_write()1659 npcm_i2c_wr_byte(bus, bus->wr_buf[bus->wr_ind++]); in npcm_i2c_irq_master_handler_write()1661 wcount = bus->wr_size - bus->wr_ind; in npcm_i2c_irq_master_handler_write()1739 bus->wr_ind -= npcm_i2c_fifo_usage(bus); in npcm_i2c_irq_handle_nack()1773 npcm_i2c_callback(bus, bus->stop_ind, bus->wr_ind); in npcm_i2c_irq_handle_nack()[all …]