Lines Matching refs:mbox_sm
106 struct mbox_controller mbox_sm; member
622 struct tegra_hsp *hsp = container_of(mbox, struct tegra_hsp, mbox_sm); in tegra_hsp_sm_xlate()
684 mb->channel.chan = &hsp->mbox_sm.chans[i]; in tegra_hsp_add_mailboxes()
818 hsp->mbox_sm.of_xlate = tegra_hsp_sm_xlate; in tegra_hsp_probe()
819 hsp->mbox_sm.num_chans = hsp->num_sm; in tegra_hsp_probe()
820 hsp->mbox_sm.dev = &pdev->dev; in tegra_hsp_probe()
821 hsp->mbox_sm.ops = &tegra_hsp_sm_ops; in tegra_hsp_probe()
823 hsp->mbox_sm.chans = devm_kcalloc(&pdev->dev, hsp->mbox_sm.num_chans, in tegra_hsp_probe()
824 sizeof(*hsp->mbox_sm.chans), in tegra_hsp_probe()
826 if (!hsp->mbox_sm.chans) in tegra_hsp_probe()
838 err = devm_mbox_controller_register(&pdev->dev, &hsp->mbox_sm); in tegra_hsp_probe()