Searched refs:curr_addr (Results 1 – 2 of 2) sorted by relevance
609 u32 curr_addr; in oxygen_pointer() local612 curr_addr = oxygen_read32(chip, channel_base_registers[channel]); in oxygen_pointer()613 return bytes_to_frames(runtime, curr_addr - (u32)runtime->dma_addr); in oxygen_pointer()
600 unsigned int base_addr, curr_addr; in lpass_platform_pcmops_pointer() local621 LPAIF_DMACURR_REG(v, ch, dir, dai_id), &curr_addr); in lpass_platform_pcmops_pointer()628 return bytes_to_frames(substream->runtime, curr_addr - base_addr); in lpass_platform_pcmops_pointer()