Lines Matching +full:ssi +full:- +full:all
1 // SPDX-License-Identifier: GPL-2.0
16 * fsl_asoc_get_dma_channel - determine the dma channel for a SSI node
18 * @ssi_np: pointer to the SSI device tree node
24 * This function determines the dma and channel id for given SSI node. It
40 return -EINVAL; in fsl_asoc_get_dma_channel()
42 if (!of_device_is_compatible(dma_channel_np, "fsl,ssi-dma-channel")) { in fsl_asoc_get_dma_channel()
44 return -EINVAL; in fsl_asoc_get_dma_channel()
50 * the CPU (SSI) device. It's all ugly and hackish, but it works (for in fsl_asoc_get_dma_channel()
53 * dai->platform name should already point to an allocated buffer. in fsl_asoc_get_dma_channel()
60 snprintf((char *)dai->platforms->name, DAI_NAME_SIZE, "%llx.%pOFn", in fsl_asoc_get_dma_channel()
63 iprop = of_get_property(dma_channel_np, "cell-index", NULL); in fsl_asoc_get_dma_channel()
66 return -EINVAL; in fsl_asoc_get_dma_channel()
71 iprop = of_get_property(dma_np, "cell-index", NULL); in fsl_asoc_get_dma_channel()
75 return -EINVAL; in fsl_asoc_get_dma_channel()