/* * Copyright 2009 Sascha Hauer <s.hauer@pengutronix.de> * * This code is based on code copyrighted by Freescale, * Liam Girdwood, Javier Martin and probably others. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. */ #ifndef _IMX_PCM_H #define _IMX_PCM_H #include <linux/platform_data/dma-imx.h> /* * Do not change this as the FIQ handler depends on this size */ #define IMX_SSI_DMABUF_SIZE (64 * 1024) #define IMX_DEFAULT_DMABUF_SIZE (64 * 1024) #define IMX_SAI_DMABUF_SIZE (64 * 1024) #define IMX_SPDIF_DMABUF_SIZE (64 * 1024) #define IMX_ESAI_DMABUF_SIZE (256 * 1024)
static inline void imx_pcm_dma_params_init_data(struct imx_dma_data *dma_data, int dma, enum sdma_peripheral_type peripheral_type) { dma_data->dma_request = dma; dma_data->priority = DMA_PRIO_HIGH; dma_data->peripheral_type = peripheral_type; }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
lars-peter clausen | lars-peter clausen | 34 | 91.89% | 2 | 66.67% |
nicolin chen | nicolin chen | 3 | 8.11% | 1 | 33.33% |
Total | 37 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
shawn guo | shawn guo | 16 | 84.21% | 1 | 50.00% |
shengjiu wang | shengjiu wang | 3 | 15.79% | 1 | 50.00% |
Total | 19 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
shawn guo | shawn guo | 16 | 76.19% | 1 | 50.00% |
markus pargmann | markus pargmann | 5 | 23.81% | 1 | 50.00% |
Total | 21 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
shawn guo | shawn guo | 11 | 100.00% | 1 | 100.00% |
Total | 11 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
shawn guo | shawn guo | 95 | 47.26% | 3 | 33.33% |
lars-peter clausen | lars-peter clausen | 37 | 18.41% | 2 | 22.22% |
markus pargmann | markus pargmann | 34 | 16.92% | 1 | 11.11% |
shengjiu wang | shengjiu wang | 22 | 10.95% | 1 | 11.11% |
fabio estevam | fabio estevam | 10 | 4.98% | 1 | 11.11% |
nicolin chen | nicolin chen | 3 | 1.49% | 1 | 11.11% |
Total | 201 | 100.00% | 9 | 100.00% |