Lines Matching refs:priv
33 (((struct rio_priv *)(mport->priv))->rmm_handle)
723 struct rio_priv *priv = mport->priv; in fsl_open_outb_mbox() local
738 dma_alloc_coherent(priv->dev, RIO_MSG_BUFFER_SIZE, in fsl_open_outb_mbox()
744 dma_free_coherent(priv->dev, in fsl_open_outb_mbox()
755 rmu->msg_tx_ring.virt = dma_alloc_coherent(priv->dev, in fsl_open_outb_mbox()
802 dma_free_coherent(priv->dev, in fsl_open_outb_mbox()
808 dma_free_coherent(priv->dev, RIO_MSG_BUFFER_SIZE, in fsl_open_outb_mbox()
825 struct rio_priv *priv = mport->priv; in fsl_close_outb_mbox() local
832 dma_free_coherent(priv->dev, in fsl_close_outb_mbox()
855 struct rio_priv *priv = mport->priv; in fsl_open_inb_mbox() local
872 rmu->msg_rx_ring.virt = dma_alloc_coherent(priv->dev, in fsl_open_inb_mbox()
891 dma_free_coherent(priv->dev, in fsl_open_inb_mbox()
926 struct rio_priv *priv = mport->priv; in fsl_close_inb_mbox() local
933 dma_free_coherent(priv->dev, rmu->msg_rx_ring.size * RIO_MAX_MSG_SIZE, in fsl_close_inb_mbox()
1067 struct rio_priv *priv; in fsl_rio_setup_rmu() local
1074 if (!mport || !mport->priv) in fsl_rio_setup_rmu()
1077 priv = mport->priv; in fsl_rio_setup_rmu()
1080 dev_warn(priv->dev, "Can't get %pOF property 'fsl,rmu'\n", in fsl_rio_setup_rmu()
1081 priv->dev->of_node); in fsl_rio_setup_rmu()
1107 priv->rmm_handle = rmu; in fsl_rio_setup_rmu()