Searched refs:rd_ind (Results 1 – 1 of 1) sorted by relevance
291 u16 rd_ind; member336 bus->rd_ind = 0; in npcm_i2c_init_params()375 return bus->rd_ind; in npcm_i2c_get_index()793 if (bus->rd_ind == 0 && bus->read_block_use) { in npcm_i2c_set_fifo()820 if (bus->rd_ind < bus->rd_size) in npcm_i2c_read_fifo()821 bus->rd_buf[bus->rd_ind++] = data; in npcm_i2c_read_fifo()1304 rcount = bus->rd_size - bus->rd_ind; in npcm_i2c_master_fifo_read()1326 rcount = bus->rd_size - bus->rd_ind; in npcm_i2c_master_fifo_read()1404 if (bus->rd_ind == 0) { /* first byte handling: */ in npcm_i2c_irq_master_handler_read()1410 bus->rd_buf[bus->rd_ind++] = data; in npcm_i2c_irq_master_handler_read()[all …]