Lines Matching refs:mbc
289 struct mbox_controller mbc; member
578 struct mbox_controller *mbc; in pdc_receive_one() local
589 mbc = &pdcs->mbc; in pdc_receive_one()
590 chan = &mbc->chans[0]; in pdc_receive_one()
1436 struct mbox_controller *mbc; in pdc_mb_init() local
1440 mbc = &pdcs->mbc; in pdc_mb_init()
1441 mbc->dev = dev; in pdc_mb_init()
1442 mbc->ops = &pdc_mbox_chan_ops; in pdc_mb_init()
1443 mbc->num_chans = 1; in pdc_mb_init()
1444 mbc->chans = devm_kcalloc(dev, mbc->num_chans, sizeof(*mbc->chans), in pdc_mb_init()
1446 if (!mbc->chans) in pdc_mb_init()
1449 mbc->txdone_irq = false; in pdc_mb_init()
1450 mbc->txdone_poll = true; in pdc_mb_init()
1451 mbc->txpoll_period = 1; in pdc_mb_init()
1452 for (chan_index = 0; chan_index < mbc->num_chans; chan_index++) in pdc_mb_init()
1453 mbc->chans[chan_index].con_priv = pdcs; in pdc_mb_init()
1456 err = devm_mbox_controller_register(dev, mbc); in pdc_mb_init()