Searched refs:read_offset (Results 1 – 7 of 7) sorted by relevance
73 u32 read_offset; member108 while (msic->read_offset != write_offset && retry < 100) { in axon_msi_cascade()109 idx = msic->read_offset / sizeof(__le32); in axon_msi_cascade()114 write_offset, msic->read_offset, msi); in axon_msi_cascade()138 msic->read_offset += MSIC_FIFO_ENTRY_SIZE; in axon_msi_cascade()139 msic->read_offset &= MSIC_FIFO_SIZE_MASK; in axon_msi_cascade()145 msic->read_offset += MSIC_FIFO_ENTRY_SIZE; in axon_msi_cascade()146 msic->read_offset &= MSIC_FIFO_SIZE_MASK; in axon_msi_cascade()415 msic->read_offset = dcr_read(msic->dcr_host, MSIC_WRITE_OFFSET_REG) in axon_msi_probe()
544 dev->dmasound.read_offset += snd_pcm_lib_period_bytes(substream); in snd_card_saa7134_capture_pointer()545 if (dev->dmasound.read_offset == dev->dmasound.bufsize) in snd_card_saa7134_capture_pointer()546 dev->dmasound.read_offset = 0; in snd_card_saa7134_capture_pointer()549 return bytes_to_frames(runtime, dev->dmasound.read_offset); in snd_card_saa7134_capture_pointer()755 dev->dmasound.read_offset = 0; in snd_card_saa7134_capture_open()
510 unsigned int read_offset; member
1015 size_t read_subbuf, read_offset, write_subbuf, write_offset; in relay_file_read_subbuf_avail() local1021 read_offset = read_pos % subbuf_size; in relay_file_read_subbuf_avail()1025 if (read_offset + padding < write_offset) in relay_file_read_subbuf_avail()1026 avail = write_offset - (read_offset + padding); in relay_file_read_subbuf_avail()1028 avail = (subbuf_size - padding) - read_offset; in relay_file_read_subbuf_avail()
67 loff_t read_offset; member562 file->f_pos = info->read_offset; in pn544_ioctl()604 file->f_pos = info->read_offset; in pn544_open()
734 rx_page_desc[i].rx_page[j].read_offset = 0; in atl1e_init_ring_ptrs()1380 if (likely(rx_page->read_offset < write_offset)) { in atl1e_clean_rx_irq()1387 rx_page->read_offset); in atl1e_clean_rx_irq()1445 rx_page->read_offset += in atl1e_clean_rx_irq()1451 if (rx_page->read_offset >= rx_ring->page_size) { in atl1e_clean_rx_irq()1456 rx_page->read_offset = in atl1e_clean_rx_irq()1466 } while (rx_page->read_offset < write_offset); in atl1e_clean_rx_irq()
400 u32 read_offset; /* the offset where we have read */ member