Lines Matching defs:pcc_mbox_ctrl
74 static struct mbox_controller pcc_mbox_ctrl = {};
85 if (id < 0 || id >= pcc_mbox_ctrl.num_chans)
233 struct device *dev = pcc_mbox_ctrl.dev;
294 if (id >= pcc_mbox_ctrl.num_chans) {
334 if (id >= pcc_mbox_ctrl.num_chans) {
497 pcc_mbox_ctrl.txdone_irq = true;
510 if (pcc_mbox_ctrl.txdone_irq) {
527 pcc_mbox_ctrl.num_chans = count;
529 pr_info("Detected %d PCC Subspaces\n", pcc_mbox_ctrl.num_chans);
561 pcc_mbox_ctrl.chans = pcc_mbox_channels;
562 pcc_mbox_ctrl.ops = &pcc_chan_ops;
563 pcc_mbox_ctrl.dev = &pdev->dev;
566 ret = mbox_controller_register(&pcc_mbox_ctrl);