Lines Matching refs:wptr
90 * force_update_wptr_for_self_int - Force update the wptr for self interrupt
93 * @threshold: threshold to trigger the wptr reporting
94 * @timeout: timeout to trigger the wptr reporting
102 * Force update wptr for self interrupt ( >= SIENNA_CICHLID).
178 /* set rptr, wptr to 0 */
297 /* set rptr, wptr to 0 */
370 /* enable wptr force update for self int */
396 * navi10_ih_get_wptr - get the IH ring buffer wptr
399 * @ih: IH ring buffer to fetch wptr
401 * Get the IH ring buffer wptr from either the register
404 * Returns the value of the wptr.
409 u32 wptr, tmp;
416 * update wptr and return.
418 wptr = le32_to_cpu(*ih->wptr_cpu);
420 if (!REG_GET_FIELD(wptr, IH_RB_WPTR, RB_OVERFLOW))
427 wptr = RREG32_NO_KIQ(ih_regs->ih_rb_wptr);
428 if (!REG_GET_FIELD(wptr, IH_RB_WPTR, RB_OVERFLOW))
430 wptr = REG_SET_FIELD(wptr, IH_RB_WPTR, RB_OVERFLOW, 0);
433 * from the last not overwritten vector (wptr + 32). Hopefully
436 tmp = (wptr + 32) & ih->ptr_mask;
439 wptr, ih->rptr, tmp);
452 return (wptr & ih->ptr_mask);