Lines Matching refs:mbox_sm
89 struct mbox_controller mbox_sm; member
535 struct tegra_hsp *hsp = container_of(mbox, struct tegra_hsp, mbox_sm); in tegra_hsp_sm_xlate()
588 mb->channel.chan = &hsp->mbox_sm.chans[i]; in tegra_hsp_add_mailboxes()
724 hsp->mbox_sm.of_xlate = tegra_hsp_sm_xlate; in tegra_hsp_probe()
725 hsp->mbox_sm.num_chans = hsp->num_sm; in tegra_hsp_probe()
726 hsp->mbox_sm.dev = &pdev->dev; in tegra_hsp_probe()
727 hsp->mbox_sm.ops = &tegra_hsp_sm_ops; in tegra_hsp_probe()
729 hsp->mbox_sm.chans = devm_kcalloc(&pdev->dev, hsp->mbox_sm.num_chans, in tegra_hsp_probe()
730 sizeof(*hsp->mbox_sm.chans), in tegra_hsp_probe()
732 if (!hsp->mbox_sm.chans) in tegra_hsp_probe()
744 err = devm_mbox_controller_register(&pdev->dev, &hsp->mbox_sm); in tegra_hsp_probe()