Searched refs:slv_wr_ind (Results 1 – 1 of 1) sorted by relevance
325 int slv_wr_ind; member894 bus->slv_wr_ind = bus->slv_wr_ind & (bus->data->fifo_size - 1); in npcm_i2c_write_fifo_slave()895 npcm_i2c_wr_byte(bus, bus->slv_wr_buf[bus->slv_wr_ind]); in npcm_i2c_write_fifo_slave()896 bus->slv_wr_ind++; in npcm_i2c_write_fifo_slave()897 bus->slv_wr_ind = bus->slv_wr_ind & (bus->data->fifo_size - 1); in npcm_i2c_write_fifo_slave()927 int ret = bus->slv_wr_ind; in npcm_i2c_slave_get_wr_buf()939 ind = (bus->slv_wr_ind + bus->slv_wr_size) & (bus->data->fifo_size - 1); in npcm_i2c_slave_get_wr_buf()959 bus->slv_wr_ind = 0; in npcm_i2c_slave_send_rd_buf()1020 bus->slv_wr_ind = bus->slv_wr_ind - left_in_fifo; in npcm_i2c_slave_wr_buf_sync()1023 if (bus->slv_wr_ind < 0) in npcm_i2c_slave_wr_buf_sync()[all …]