Lines Matching refs:mbox_chan
119 struct mbox_chan *mbox_chan; member
241 rc = mbox_send_message(ctx->mbox_chan, msg); in slimpro_i2c_send_msg()
249 mbox_chan_txdone(ctx->mbox_chan, 0); in slimpro_i2c_send_msg()
477 ctx->mbox_chan = mbox_request_channel(cl, MAILBOX_I2C_INDEX); in xgene_slimpro_i2c_probe()
478 if (IS_ERR(ctx->mbox_chan)) { in xgene_slimpro_i2c_probe()
480 return PTR_ERR(ctx->mbox_chan); in xgene_slimpro_i2c_probe()
500 ctx->mbox_chan = pcc_mbox_request_channel(cl, ctx->mbox_idx); in xgene_slimpro_i2c_probe()
501 if (IS_ERR(ctx->mbox_chan)) { in xgene_slimpro_i2c_probe()
503 return PTR_ERR(ctx->mbox_chan); in xgene_slimpro_i2c_probe()
512 cppc_ss = ctx->mbox_chan->con_priv; in xgene_slimpro_i2c_probe()
519 if (!ctx->mbox_chan->mbox->txdone_irq) { in xgene_slimpro_i2c_probe()
576 mbox_free_channel(ctx->mbox_chan); in xgene_slimpro_i2c_probe()
578 pcc_mbox_free_channel(ctx->mbox_chan); in xgene_slimpro_i2c_probe()
590 mbox_free_channel(ctx->mbox_chan); in xgene_slimpro_i2c_remove()
592 pcc_mbox_free_channel(ctx->mbox_chan); in xgene_slimpro_i2c_remove()