Lines Matching defs:wptr
78 * force_update_wptr_for_self_int - Force update the wptr for self interrupt
81 * @threshold: threshold to trigger the wptr reporting
82 * @timeout: timeout to trigger the wptr reporting
90 * Force update wptr for self interrupt ( >= SIENNA_CICHLID).
180 /* set rptr, wptr to 0 */
301 /* set rptr, wptr to 0 */
383 /* enable wptr force update for self int */
409 * ih_v6_0_get_wptr - get the IH ring buffer wptr
414 * Get the IH ring buffer wptr from either the register
417 * Returns the value of the wptr.
422 u32 wptr, tmp;
425 wptr = le32_to_cpu(*ih->wptr_cpu);
428 if (!REG_GET_FIELD(wptr, IH_RB_WPTR, RB_OVERFLOW))
431 wptr = RREG32_NO_KIQ(ih_regs->ih_rb_wptr);
432 if (!REG_GET_FIELD(wptr, IH_RB_WPTR, RB_OVERFLOW))
434 wptr = REG_SET_FIELD(wptr, IH_RB_WPTR, RB_OVERFLOW, 0);
437 * from the last not overwritten vector (wptr + 32). Hopefully
440 tmp = (wptr + 32) & ih->ptr_mask;
443 wptr, ih->rptr, tmp);
456 return (wptr & ih->ptr_mask);
524 uint32_t wptr = cpu_to_le32(entry->src_data[0]);
528 *adev->irq.ih1.wptr_cpu = wptr;