Home
last modified time | relevance | path

Searched refs:read_index (Results 1 – 9 of 9) sorted by relevance

/drivers/staging/media/lirc/
Dlirc_bt829.c37 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
/drivers/hv/
Dring_buffer.c85 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()
/drivers/s390/char/
Dmonreader.c51 unsigned int read_index; member
160 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()
/drivers/i2c/busses/
Di2c-eg20t.c560 int read_index; in pch_i2c_readbytes() local
565 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()
/drivers/net/wireless/ath/ath10k/
Dce.c588 unsigned int read_index; in ath10k_ce_completed_send_next_nolock() local
599 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()
/drivers/misc/ibmasm/
Dremote.h110 #define get_queue_entry(sp, read_index) \ argument
111 ((void*)(queue_begin + read_index * sizeof(struct remote_input)))
/drivers/usb/misc/
Diowarrior.c256 static int read_index(struct iowarrior *dev) in read_index() function
293 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()
/drivers/net/ethernet/sfc/
Drx.c258 unsigned read_index = rx_queue->page_remove & in efx_recycle_rx_page() local
265 if (read_index == index) in efx_recycle_rx_page()
/drivers/staging/comedi/drivers/
Dcb_pcidas64.c2695 int read_segment, read_index, write_segment, write_index; in pio_drain_ai_fifo_16() local
2700 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()