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()790 if (bus->rd_ind == 0 && bus->read_block_use) { in npcm_i2c_set_fifo()817 if (bus->rd_ind < bus->rd_size) in npcm_i2c_read_fifo()818 bus->rd_buf[bus->rd_ind++] = data; in npcm_i2c_read_fifo()1301 rcount = bus->rd_size - bus->rd_ind; in npcm_i2c_master_fifo_read()1323 rcount = bus->rd_size - bus->rd_ind; in npcm_i2c_master_fifo_read()1401 if (bus->rd_ind == 0) { /* first byte handling: */ in npcm_i2c_irq_master_handler_read()1407 bus->rd_buf[bus->rd_ind++] = data; in npcm_i2c_irq_master_handler_read()[all …]