Lines Matching refs:mbox_chan
106 struct mbox_chan *mbox_chan; member
228 rc = mbox_send_message(ctx->mbox_chan, msg); in slimpro_i2c_send_msg()
236 mbox_chan_txdone(ctx->mbox_chan, 0); in slimpro_i2c_send_msg()
464 ctx->mbox_chan = mbox_request_channel(cl, MAILBOX_I2C_INDEX); in xgene_slimpro_i2c_probe()
465 if (IS_ERR(ctx->mbox_chan)) { in xgene_slimpro_i2c_probe()
467 return PTR_ERR(ctx->mbox_chan); in xgene_slimpro_i2c_probe()
487 ctx->mbox_chan = pcc_mbox_request_channel(cl, ctx->mbox_idx); in xgene_slimpro_i2c_probe()
488 if (IS_ERR(ctx->mbox_chan)) { in xgene_slimpro_i2c_probe()
490 return PTR_ERR(ctx->mbox_chan); in xgene_slimpro_i2c_probe()
499 cppc_ss = ctx->mbox_chan->con_priv; in xgene_slimpro_i2c_probe()
506 if (!ctx->mbox_chan->mbox->txdone_irq) { in xgene_slimpro_i2c_probe()
563 mbox_free_channel(ctx->mbox_chan); in xgene_slimpro_i2c_probe()
565 pcc_mbox_free_channel(ctx->mbox_chan); in xgene_slimpro_i2c_probe()
577 mbox_free_channel(ctx->mbox_chan); in xgene_slimpro_i2c_remove()
579 pcc_mbox_free_channel(ctx->mbox_chan); in xgene_slimpro_i2c_remove()