Lines Matching refs:mbox_chan
95 struct mbox_chan *mbox_chan; member
160 rc = mbox_send_message(ctx->mbox_chan, msg); in xgene_hwmon_pcc_rd()
183 mbox_chan_txdone(ctx->mbox_chan, 0); in xgene_hwmon_pcc_rd()
197 rc = mbox_send_message(ctx->mbox_chan, msg); in xgene_hwmon_rd()
647 ctx->mbox_chan = mbox_request_channel(cl, 0); in xgene_hwmon_probe()
648 if (IS_ERR(ctx->mbox_chan)) { in xgene_hwmon_probe()
674 ctx->mbox_chan = pcc_mbox_request_channel(cl, ctx->mbox_idx); in xgene_hwmon_probe()
675 if (IS_ERR(ctx->mbox_chan)) { in xgene_hwmon_probe()
688 cppc_ss = ctx->mbox_chan->con_priv; in xgene_hwmon_probe()
695 if (!ctx->mbox_chan->mbox->txdone_irq) { in xgene_hwmon_probe()
758 mbox_free_channel(ctx->mbox_chan); in xgene_hwmon_probe()
760 pcc_mbox_free_channel(ctx->mbox_chan); in xgene_hwmon_probe()
774 mbox_free_channel(ctx->mbox_chan); in xgene_hwmon_remove()
776 pcc_mbox_free_channel(ctx->mbox_chan); in xgene_hwmon_remove()