/* * In case of I2S SP controller instance, Stoney uses SRAM bank 1 for * playback and SRAM Bank 2 for capture where as in case of BT I2S * Instance, Stoney uses SRAM Bank 3 for playback & SRAM Bank 4 will * be used for capture. Carrizo uses I2S SP controller instance. SRAM Banks * 1, 2, 3, 4 will be used for playback & SRAM Banks 5, 6, 7, 8 will be used * for capture scenario.
*/ #define ACP_SRAM_BANK_1_ADDRESS 0x4002000 #define ACP_SRAM_BANK_2_ADDRESS 0x4004000 #define ACP_SRAM_BANK_3_ADDRESS 0x4006000 #define ACP_SRAM_BANK_4_ADDRESS 0x4008000 #define ACP_SRAM_BANK_5_ADDRESS 0x400A000
enum acp_dma_priority_level { /* 0x0 Specifies the DMA channel is given normal priority */
ACP_DMA_PRIORITY_LEVEL_NORMAL = 0x0, /* 0x1 Specifies the DMA channel is given high priority */
ACP_DMA_PRIORITY_LEVEL_HIGH = 0x1,
ACP_DMA_PRIORITY_LEVEL_FORCESIZE = 0xFF
};
/* * this structure used for platform data transfer between machine driver * and dma driver
*/ struct acp_platform_info {
u16 play_i2s_instance;
u16 cap_i2s_instance;
u16 capture_channel;
};
typedefstruct acp_dma_dscr_transfer { /* Specifies the source memory location for the DMA data transfer. */
u32 src; /* * Specifies the destination memory location to where the data will * be transferred.
*/
u32 dest; /* * Specifies the number of bytes need to be transferred * from source to destination memory.Transfer direction & IOC enable
*/
u32 xfer_val; /* Reserved for future use */
u32 reserved;
} acp_dma_dscr_transfer_t;
externbool acp_bt_uart_enable;
#endif/*__ACP_HW_H */
Messung V0.5
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.