Searched refs:slv_wr_ind (Results 1 – 1 of 1) sorted by relevance
307 int slv_wr_ind; member873 bus->slv_wr_ind = bus->slv_wr_ind % I2C_HW_FIFO_SIZE; in npcm_i2c_write_fifo_slave()874 npcm_i2c_wr_byte(bus, bus->slv_wr_buf[bus->slv_wr_ind]); in npcm_i2c_write_fifo_slave()875 bus->slv_wr_ind++; in npcm_i2c_write_fifo_slave()876 bus->slv_wr_ind = bus->slv_wr_ind % I2C_HW_FIFO_SIZE; in npcm_i2c_write_fifo_slave()906 int ret = bus->slv_wr_ind; in npcm_i2c_slave_get_wr_buf()918 ind = (bus->slv_wr_ind + bus->slv_wr_size) % I2C_HW_FIFO_SIZE; in npcm_i2c_slave_get_wr_buf()938 bus->slv_wr_ind = 0; in npcm_i2c_slave_send_rd_buf()999 bus->slv_wr_ind = bus->slv_wr_ind - left_in_fifo; in npcm_i2c_slave_wr_buf_sync()1002 if (bus->slv_wr_ind < 0) in npcm_i2c_slave_wr_buf_sync()[all …]