Lines Matching refs:doorbell
10 * protocol modes: data-transfer and doorbell, to be used on those channel
224 * @doorbell: Doorbell bit number within the ch_wn_idx window, only relevant
226 * @pending: Flag indicating pending doorbell interrupt, only relevant in
235 u32 doorbell;
265 writel_relaxed(BIT(priv->doorbell),
275 writel_relaxed(BIT(priv->doorbell),
283 writel_relaxed(BIT(priv->doorbell),
294 BIT(priv->doorbell));
306 writel_relaxed(BIT(priv->doorbell),
527 /* Return first chan of the window in doorbell mode */
569 /* Clear the interrupt first, so we don't miss any doorbell later */
574 * interrupt handler is trying to find the finished doorbell tx
581 * In case of doorbell mode, the first channel of the window is returned
594 dev_warn(dev, "Tx interrupt received on doorbell (%u : %u) channel not currently attached to a mailbox client\n",
609 * We may have already processed the doorbell in the previous
613 dev_dbg(dev, "Couldn't find the doorbell (%u) for the Tx interrupt interrupt\n",
636 * In case of doorbell mode, the first channel of the window is returned
797 int channel = 0, i, offset, doorbell, protocol, windows;
803 doorbell = pa->args[1];
804 if (doorbell >= MHUV2_STAT_BITS)
813 return &chans[channel + MHUV2_STAT_BITS * offset + doorbell];
819 if (doorbell)
832 pa->args[0], doorbell);
912 priv->doorbell = k;
918 * control it per doorbell.