ipi_mbox 121 drivers/mailbox/zynqmp-ipi-mailbox.c static void zynqmp_ipi_fw_call(struct zynqmp_ipi_mbox *ipi_mbox, ipi_mbox 125 drivers/mailbox/zynqmp-ipi-mailbox.c struct zynqmp_ipi_pdata *pdata = ipi_mbox->pdata; ipi_mbox 129 drivers/mailbox/zynqmp-ipi-mailbox.c a2 = ipi_mbox->remote_id; ipi_mbox 150 drivers/mailbox/zynqmp-ipi-mailbox.c struct zynqmp_ipi_mbox *ipi_mbox; ipi_mbox 161 drivers/mailbox/zynqmp-ipi-mailbox.c ipi_mbox = &pdata->ipi_mboxes[i]; ipi_mbox 162 drivers/mailbox/zynqmp-ipi-mailbox.c mchan = &ipi_mbox->mchans[IPI_MB_CHNL_RX]; ipi_mbox 163 drivers/mailbox/zynqmp-ipi-mailbox.c chan = &ipi_mbox->mbox.chans[IPI_MB_CHNL_RX]; ipi_mbox 164 drivers/mailbox/zynqmp-ipi-mailbox.c zynqmp_ipi_fw_call(ipi_mbox, arg0, arg3, &res); ipi_mbox 190 drivers/mailbox/zynqmp-ipi-mailbox.c struct zynqmp_ipi_mbox *ipi_mbox = dev_get_drvdata(dev); ipi_mbox 196 drivers/mailbox/zynqmp-ipi-mailbox.c if (WARN_ON(!ipi_mbox)) { ipi_mbox 202 drivers/mailbox/zynqmp-ipi-mailbox.c zynqmp_ipi_fw_call(ipi_mbox, arg0, 0, &res); ipi_mbox 230 drivers/mailbox/zynqmp-ipi-mailbox.c struct zynqmp_ipi_mbox *ipi_mbox = dev_get_drvdata(dev); ipi_mbox 236 drivers/mailbox/zynqmp-ipi-mailbox.c if (WARN_ON(!ipi_mbox)) { ipi_mbox 246 drivers/mailbox/zynqmp-ipi-mailbox.c zynqmp_ipi_fw_call(ipi_mbox, arg0, 0, &res); ipi_mbox 268 drivers/mailbox/zynqmp-ipi-mailbox.c struct zynqmp_ipi_mbox *ipi_mbox = dev_get_drvdata(dev); ipi_mbox 274 drivers/mailbox/zynqmp-ipi-mailbox.c if (WARN_ON(!ipi_mbox)) { ipi_mbox 291 drivers/mailbox/zynqmp-ipi-mailbox.c zynqmp_ipi_fw_call(ipi_mbox, arg0, 0, &res); ipi_mbox 303 drivers/mailbox/zynqmp-ipi-mailbox.c zynqmp_ipi_fw_call(ipi_mbox, arg0, IPI_SMC_ACK_EIRQ_MASK, ipi_mbox 319 drivers/mailbox/zynqmp-ipi-mailbox.c struct zynqmp_ipi_mbox *ipi_mbox = dev_get_drvdata(dev); ipi_mbox 331 drivers/mailbox/zynqmp-ipi-mailbox.c if (!ipi_mbox->mchans[nchan_type].is_opened) { ipi_mbox 333 drivers/mailbox/zynqmp-ipi-mailbox.c zynqmp_ipi_fw_call(ipi_mbox, arg0, 0, &res); ipi_mbox 346 drivers/mailbox/zynqmp-ipi-mailbox.c zynqmp_ipi_fw_call(ipi_mbox, arg0, 0, &res); ipi_mbox 361 drivers/mailbox/zynqmp-ipi-mailbox.c struct zynqmp_ipi_mbox *ipi_mbox = dev_get_drvdata(dev); ipi_mbox 374 drivers/mailbox/zynqmp-ipi-mailbox.c zynqmp_ipi_fw_call(ipi_mbox, arg0, 0, &res); ipi_mbox 378 drivers/mailbox/zynqmp-ipi-mailbox.c if (!ipi_mbox->mchans[chan_type].is_opened) { ipi_mbox 380 drivers/mailbox/zynqmp-ipi-mailbox.c zynqmp_ipi_fw_call(ipi_mbox, arg0, 0, &res); ipi_mbox 473 drivers/mailbox/zynqmp-ipi-mailbox.c static int zynqmp_ipi_mbox_probe(struct zynqmp_ipi_mbox *ipi_mbox, ipi_mbox 484 drivers/mailbox/zynqmp-ipi-mailbox.c dev = ipi_mbox->pdata->dev; ipi_mbox 486 drivers/mailbox/zynqmp-ipi-mailbox.c ipi_mbox->dev.parent = dev; ipi_mbox 487 drivers/mailbox/zynqmp-ipi-mailbox.c ipi_mbox->dev.release = NULL; ipi_mbox 488 drivers/mailbox/zynqmp-ipi-mailbox.c ipi_mbox->dev.of_node = node; ipi_mbox 489 drivers/mailbox/zynqmp-ipi-mailbox.c dev_set_name(&ipi_mbox->dev, "%s", of_node_full_name(node)); ipi_mbox 490 drivers/mailbox/zynqmp-ipi-mailbox.c dev_set_drvdata(&ipi_mbox->dev, ipi_mbox); ipi_mbox 491 drivers/mailbox/zynqmp-ipi-mailbox.c ipi_mbox->dev.release = zynqmp_ipi_mbox_dev_release; ipi_mbox 492 drivers/mailbox/zynqmp-ipi-mailbox.c ipi_mbox->dev.driver = &zynqmp_ipi_mbox_driver; ipi_mbox 493 drivers/mailbox/zynqmp-ipi-mailbox.c ret = device_register(&ipi_mbox->dev); ipi_mbox 498 drivers/mailbox/zynqmp-ipi-mailbox.c mdev = &ipi_mbox->dev; ipi_mbox 500 drivers/mailbox/zynqmp-ipi-mailbox.c mchan = &ipi_mbox->mchans[IPI_MB_CHNL_TX]; ipi_mbox 539 drivers/mailbox/zynqmp-ipi-mailbox.c mchan = &ipi_mbox->mchans[IPI_MB_CHNL_RX]; ipi_mbox 579 drivers/mailbox/zynqmp-ipi-mailbox.c ret = of_property_read_u32(node, "xlnx,ipi-id", &ipi_mbox->remote_id); ipi_mbox 585 drivers/mailbox/zynqmp-ipi-mailbox.c mbox = &ipi_mbox->mbox; ipi_mbox 597 drivers/mailbox/zynqmp-ipi-mailbox.c chans[IPI_MB_CHNL_TX].con_priv = &ipi_mbox->mchans[IPI_MB_CHNL_TX]; ipi_mbox 598 drivers/mailbox/zynqmp-ipi-mailbox.c chans[IPI_MB_CHNL_RX].con_priv = &ipi_mbox->mchans[IPI_MB_CHNL_RX]; ipi_mbox 599 drivers/mailbox/zynqmp-ipi-mailbox.c ipi_mbox->mchans[IPI_MB_CHNL_TX].chan_type = IPI_MB_CHNL_TX; ipi_mbox 600 drivers/mailbox/zynqmp-ipi-mailbox.c ipi_mbox->mchans[IPI_MB_CHNL_RX].chan_type = IPI_MB_CHNL_RX; ipi_mbox 618 drivers/mailbox/zynqmp-ipi-mailbox.c struct zynqmp_ipi_mbox *ipi_mbox; ipi_mbox 623 drivers/mailbox/zynqmp-ipi-mailbox.c ipi_mbox = &pdata->ipi_mboxes[i]; ipi_mbox 624 drivers/mailbox/zynqmp-ipi-mailbox.c if (ipi_mbox->dev.parent) { ipi_mbox 625 drivers/mailbox/zynqmp-ipi-mailbox.c mbox_controller_unregister(&ipi_mbox->mbox); ipi_mbox 626 drivers/mailbox/zynqmp-ipi-mailbox.c device_unregister(&ipi_mbox->dev);