Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/of_address.h>
#include <sound/soc.h>
#include "fsl_utils.h"
Go to the source code of this file.
Functions | |
: name of the phandle pointing to the dma channel | |
Freescale ALSA SoC Machine driver utility Author: Timur Tabi timur @fre escal e.co m Copyright 2010 Freescale Semiconductor, Inc. This file is licensed under the terms of the GNU General Public License version 2. This program is licensed "as is" without any warranty of any kind, whether express or implied. fsl_asoc_get_dma_channel - determine the dma channel for a SSI node : pointer to the SSI device tree node : ASoC DAI link pointer to be filled with platform_name : dma channel id to be returned : dma id to be returned This function determines the dma and channel id for given SSI node. It also discovers the platform_name for the ASoC DAI link. | |
int | fsl_asoc_get_dma_channel (struct device_node *ssi_np, const char *name, struct snd_soc_dai_link *dai, unsigned int *dma_channel_id, unsigned int *dma_id) |
EXPORT_SYMBOL (fsl_asoc_get_dma_channel) | |
MODULE_AUTHOR ("Timur Tabi <[email protected]>") | |
MODULE_DESCRIPTION ("Freescale ASoC utility code") | |
MODULE_LICENSE ("GPL v2") | |
EXPORT_SYMBOL | ( | fsl_asoc_get_dma_channel | ) |
int fsl_asoc_get_dma_channel | ( | struct device_node * | ssi_np, |
const char * | name, | ||
struct snd_soc_dai_link * | dai, | ||
unsigned int * | dma_channel_id, | ||
unsigned int * | dma_id | ||
) |
Definition at line 31 of file fsl_utils.c.
MODULE_AUTHOR | ( | "Timur Tabi <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "Freescale ASoC utility code" | ) |
MODULE_LICENSE | ( | "GPL v2" | ) |