Searched refs:last_ptr (Results 1 – 6 of 6) sorted by relevance
51 int last_ptr; member192 if (ptr < rec->last_ptr) in emu8k_pcm_timer_func()193 delta = ptr + rec->buf_size - rec->last_ptr; in emu8k_pcm_timer_func()195 delta = ptr - rec->last_ptr; in emu8k_pcm_timer_func()197 rec->last_ptr = ptr; in emu8k_pcm_timer_func()567 rec->last_ptr = 0; in emu8k_pcm_prepare()
715 int ibi_addr, last_ptr; in hci_dma_process_ibi() local729 last_ptr = -1; in hci_dma_process_ibi()758 last_ptr = ptr; in hci_dma_process_ibi()765 if (last_ptr == -1) { in hci_dma_process_ibi()772 deq_ptr = last_ptr + 1; in hci_dma_process_ibi()
39 struct btrfs_free_cluster *last_ptr; member
588 gpa_t last_ptr = ~(gpa_t)0; in vgic_v3_save_pending_tables() local624 if (ptr != last_ptr) { in vgic_v3_save_pending_tables()628 last_ptr = ptr; in vgic_v3_save_pending_tables()
1779 u64 *sts_ptr, last_ptr = 0, prev_ptr = 0; in tsi721_omsg_handler() local1792 prev_ptr = last_ptr; in tsi721_omsg_handler()1793 last_ptr = le64_to_cpu(sts_ptr[j]); in tsi721_omsg_handler()1802 if (last_ptr == 0) in tsi721_omsg_handler()1813 tx_slot = (last_ptr - (u64)priv->omsg_ring[ch].omd_phys)/ in tsi721_omsg_handler()
2147 unsigned int last_ptr, size;2149 last_ptr = get_hw_ptr(chip);2153 if (last_ptr < chip->last_ptr)2154 size = runtime->buffer_size + last_ptr2155 - chip->last_ptr;2157 size = last_ptr - chip->last_ptr;2159 chip->last_ptr = last_ptr;