Lines Matching +full:ssi +full:- +full:all
1 // SPDX-License-Identifier: GPL-2.0
10 #include <linux/clk-provider.h>
18 * fsl_asoc_get_dma_channel - determine the dma channel for a SSI node
20 * @ssi_np: pointer to the SSI device tree node
26 * This function determines the dma and channel id for given SSI node. It
42 return -EINVAL; in fsl_asoc_get_dma_channel()
44 if (!of_device_is_compatible(dma_channel_np, "fsl,ssi-dma-channel")) { in fsl_asoc_get_dma_channel()
46 return -EINVAL; in fsl_asoc_get_dma_channel()
52 * the CPU (SSI) device. It's all ugly and hackish, but it works (for in fsl_asoc_get_dma_channel()
55 * dai->platform name should already point to an allocated buffer. in fsl_asoc_get_dma_channel()
62 snprintf((char *)dai->platforms->name, DAI_NAME_SIZE, "%llx.%pOFn", in fsl_asoc_get_dma_channel()
65 iprop = of_get_property(dma_channel_np, "cell-index", NULL); in fsl_asoc_get_dma_channel()
68 return -EINVAL; in fsl_asoc_get_dma_channel()
73 iprop = of_get_property(dma_np, "cell-index", NULL); in fsl_asoc_get_dma_channel()
77 return -EINVAL; in fsl_asoc_get_dma_channel()
89 * fsl_asoc_get_pll_clocks - get two PLL clock source
111 * fsl_asoc_reparent_pll_clocks - set clock parent if necessary