Searched refs:slv_wr_size (Results 1 – 1 of 1) sorted by relevance
306 int slv_wr_size; member871 if (bus->slv_wr_size <= 0) in npcm_i2c_write_fifo_slave()877 bus->slv_wr_size--; in npcm_i2c_write_fifo_slave()910 if (bus->slv_wr_size >= I2C_HW_FIFO_SIZE) 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()920 bus->slv_wr_size++; in npcm_i2c_slave_get_wr_buf()937 bus->slv_wr_size = 0; in npcm_i2c_slave_send_rd_buf()995 bus->slv_wr_size >= I2C_HW_FIFO_SIZE) in npcm_i2c_slave_wr_buf_sync()1000 bus->slv_wr_size = bus->slv_wr_size + left_in_fifo; in npcm_i2c_slave_wr_buf_sync()1257 bus->slv_wr_size = 0; in npcm_i2c_reg_slave()