Linux Kernel
3.7.1
|
#include <linux/fsl/mxs-dma.h>
Go to the source code of this file.
Data Structures | |
struct | mxs_ssp |
Enumerations | |
enum | mxs_ssp_id { IMX23_SSP, IMX28_SSP } |
Functions | |
void | mxs_ssp_set_clk_rate (struct mxs_ssp *ssp, unsigned int rate) |
#define BF_SSP_CTRL1_SSP_MODE | ( | v | ) | (((v) << 0) & BM_SSP_CTRL1_SSP_MODE) |
#define BF_SSP_CTRL1_WORD_LENGTH | ( | v | ) | (((v) << 4) & BM_SSP_CTRL1_WORD_LENGTH) |
#define BF_SSP_TIMING_CLOCK_DIVIDE | ( | v | ) | (((v) << 8) & BM_SSP_TIMING_CLOCK_DIVIDE) |
#define BF_SSP_TIMING_CLOCK_RATE | ( | v | ) | (((v) << 0) & BM_SSP_TIMING_CLOCK_RATE) |
#define HW_SSP_CTRL1 | ( | h | ) | (ssp_is_old(h) ? 0x060 : 0x080) |
#define HW_SSP_DATA | ( | h | ) | (ssp_is_old(h) ? 0x070 : 0x090) |
#define HW_SSP_SDRESP0 | ( | h | ) | (ssp_is_old(h) ? 0x080 : 0x0a0) |
#define HW_SSP_SDRESP1 | ( | h | ) | (ssp_is_old(h) ? 0x090 : 0x0b0) |
#define HW_SSP_SDRESP2 | ( | h | ) | (ssp_is_old(h) ? 0x0a0 : 0x0c0) |
#define HW_SSP_SDRESP3 | ( | h | ) | (ssp_is_old(h) ? 0x0b0 : 0x0d0) |
#define HW_SSP_STATUS | ( | h | ) | (ssp_is_old(h) ? 0x0c0 : 0x100) |
#define HW_SSP_TIMING | ( | h | ) | (ssp_is_old(h) ? 0x050 : 0x070) |
enum mxs_ssp_id |