Searched refs:read_index (Results 1 – 9 of 9) sorted by relevance
37 static unsigned int read_index(unsigned char index);45 static unsigned int read_index(unsigned char al);336 reg_val = read_index(0x34); in do_set_bits()347 reg_val = read_index(0x31); in do_set_bits()362 reg_val = read_index(0x34); in do_get_bits()367 reg_val = read_index(0x34); in do_get_bits()374 reg_val = read_index(0x31); in do_get_bits()383 static unsigned int read_index(unsigned char index) in read_index() function
85 if (old_write == rbi->ring_buffer->read_index) in hv_need_to_signal()112 u32 read_loc = rbi->ring_buffer->read_index; in hv_need_to_signal_on_read()166 u32 next = ring_info->ring_buffer->read_index; in hv_get_next_read_location()181 u32 next = ring_info->ring_buffer->read_index; in hv_get_next_readlocation_withoffset()200 ring_info->ring_buffer->read_index = next_read_location; in hv_set_next_read_location()332 ring_info->ring_buffer->read_index; in hv_ringbuffer_get_debuginfo()356 ring_info->ring_buffer->read_index = in hv_ringbuffer_init()
51 unsigned int read_index; member160 monpriv->read_index = (monpriv->read_index + 1) % in mon_send_reply()214 monmsg = monpriv->msg_array[monpriv->read_index]; in mon_next_message()220 monpriv->read_index = (monpriv->read_index + 1) % in mon_next_message()355 monpriv->read_index = 0; in mon_close()387 monmsg = monpriv->msg_array[monpriv->read_index]; in mon_read()481 monpriv->read_index = 0; in monreader_freeze()
560 int read_index; in pch_i2c_readbytes() local565 for (loop = 1, read_index = 0; loop < length; loop++) { in pch_i2c_readbytes()566 buf[read_index] = ioread32(p + PCH_I2CDR); in pch_i2c_readbytes()569 read_index++; in pch_i2c_readbytes()578 buf[read_index] = ioread32(p + PCH_I2CDR); /* Read final - 1 */ in pch_i2c_readbytes()581 read_index++; in pch_i2c_readbytes()592 buf[read_index++] = ioread32(p + PCH_I2CDR); /* Read Final */ in pch_i2c_readbytes()593 count = read_index; in pch_i2c_readbytes()
588 unsigned int read_index; in ath10k_ce_completed_send_next_nolock() local599 read_index = ath10k_ce_src_ring_read_index_get(ar, ctrl_addr); in ath10k_ce_completed_send_next_nolock()600 if (read_index == 0xffffffff) in ath10k_ce_completed_send_next_nolock()603 read_index &= nentries_mask; in ath10k_ce_completed_send_next_nolock()604 src_ring->hw_index = read_index; in ath10k_ce_completed_send_next_nolock()607 read_index = src_ring->hw_index; in ath10k_ce_completed_send_next_nolock()609 if (read_index == sw_index) in ath10k_ce_completed_send_next_nolock()
110 #define get_queue_entry(sp, read_index) \ argument111 ((void*)(queue_begin + read_index * sizeof(struct remote_input)))
256 static int read_index(struct iowarrior *dev) in read_index() function293 if ((read_idx = read_index(dev)) == -1) { in iowarrior_read()302 read_index in iowarrior_read()704 if (read_index(dev) != -1) in iowarrior_poll()
258 unsigned read_index = rx_queue->page_remove & in efx_recycle_rx_page() local265 if (read_index == index) in efx_recycle_rx_page()
2695 int read_segment, read_index, write_segment, write_index; in pio_drain_ai_fifo_16() local2700 read_index = readw(devpriv->main_iobase + ADC_READ_PNTR_REG) & in pio_drain_ai_fifo_16()2722 devpriv->ai_fifo_segment_length - read_index; in pio_drain_ai_fifo_16()2724 num_samples = write_index - read_index; in pio_drain_ai_fifo_16()