Lines Matching refs:mbox
96 {"broadcom,bcm2835-mbox", 1},
97 {"brcm,bcm2835-mbox", 1},
190 mtx_init(&sc->lock, "vcio mbox", NULL, MTX_DEF);
245 "mbox", 10*hz) != 0) {
287 "mbox",
292 EARLY_DRIVER_MODULE(mbox, simplebus, bcm_mbox_driver, 0, 0,
353 device_printf(dev, "mbox response error\n");
383 device_printf(dev, "mbox buffer size error\n");
400 device_t mbox;
403 /* get mbox device */
404 mbox = devclass_get_device(devclass_find("mbox"), 0);
405 if (mbox == NULL)
408 sc = device_get_softc(mbox);
412 buf = bcm2835_mbox_init_dma(mbox, msg_size, &msg_tag, &msg_map,
424 MBOX_WRITE(mbox, BCM2835_MBOX_CHAN_PROP, (uint32_t)msg_phys);
425 MBOX_READ(mbox, BCM2835_MBOX_CHAN_PROP, ®);
432 err = bcm2835_mbox_err(mbox, msg_phys, reg,