Lines Matching refs:ch_idx
289 u32 ch_idx; member
375 writel_relaxed_bitmask(0x1, &mhu->pbx->dbcw[priv->ch_idx].int_en, tfr_ack); in mhuv3_doorbell_tx_startup()
385 writel_relaxed_bitmask(0x0, &mhu->pbx->dbcw[priv->ch_idx].int_en, tfr_ack); in mhuv3_doorbell_tx_shutdown()
388 writel_relaxed_bitmask(0x1, &mhu->pbx->dbcw[priv->ch_idx].int_clr, tfr_ack); in mhuv3_doorbell_tx_shutdown()
390 e->pending_db[priv->ch_idx] = 0; in mhuv3_doorbell_tx_shutdown()
399 writel_relaxed(BIT(priv->doorbell), &mhu->mbx->dbcw[priv->ch_idx].msk_clr); in mhuv3_doorbell_rx_startup()
410 writel_relaxed(BIT(priv->doorbell), &mhu->mbx->dbcw[priv->ch_idx].msk_set); in mhuv3_doorbell_rx_shutdown()
418 writel_relaxed(BIT(priv->doorbell), &mhu->mbx->dbcw[priv->ch_idx].clr); in mhuv3_doorbell_rx_complete()
427 done = !(readl_relaxed(&mhu->pbx->dbcw[priv->ch_idx].st) & in mhuv3_doorbell_last_tx_done()
435 e->pending_db[priv->ch_idx] &= ~BIT(priv->doorbell); in mhuv3_doorbell_last_tx_done()
450 if (e->pending_db[priv->ch_idx] & BIT(priv->doorbell)) in mhuv3_doorbell_send_data()
453 e->pending_db[priv->ch_idx] |= BIT(priv->doorbell); in mhuv3_doorbell_send_data()
456 writel_relaxed(BIT(priv->doorbell), &mhu->pbx->dbcw[priv->ch_idx].set); in mhuv3_doorbell_send_data()
613 priv->ch_idx = i; in mhuv3_dbe_channels_init()
898 priv->ch_idx); in mhuv3_pbx_comb_interrupt()
938 priv->ch_idx); in mhuv3_mbx_comb_interrupt()