Lines Matching refs:wptr
423 u32 wptr, tmp; in navi10_ih_get_wptr() local
426 wptr = le32_to_cpu(*ih->wptr_cpu); in navi10_ih_get_wptr()
429 if (!REG_GET_FIELD(wptr, IH_RB_WPTR, RB_OVERFLOW)) in navi10_ih_get_wptr()
432 wptr = RREG32_NO_KIQ(ih_regs->ih_rb_wptr); in navi10_ih_get_wptr()
433 if (!REG_GET_FIELD(wptr, IH_RB_WPTR, RB_OVERFLOW)) in navi10_ih_get_wptr()
435 wptr = REG_SET_FIELD(wptr, IH_RB_WPTR, RB_OVERFLOW, 0); in navi10_ih_get_wptr()
441 tmp = (wptr + 32) & ih->ptr_mask; in navi10_ih_get_wptr()
444 wptr, ih->rptr, tmp); in navi10_ih_get_wptr()
451 return (wptr & ih->ptr_mask); in navi10_ih_get_wptr()
519 uint32_t wptr = cpu_to_le32(entry->src_data[0]); in navi10_ih_self_irq() local
523 *adev->irq.ih1.wptr_cpu = wptr; in navi10_ih_self_irq()
527 *adev->irq.ih2.wptr_cpu = wptr; in navi10_ih_self_irq()