Lines Matching refs:rd_ind
291 u16 rd_ind; member
336 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()
1521 npcm_i2c_callback(bus, bus->stop_ind, bus->rd_ind); in npcm_i2c_irq_handle_eob()
2032 bus->rd_ind = 0; in npcm_i2c_master_start_xmit()