simple_card.h (e5451c8f8330e03ad3cfa16048b4daf961af434f) | simple_card.h (cecdef3656956b0978bf86ecd1ce0542d2c61e97) |
---|---|
1/* 2 * ASoC simple sound card support 3 * 4 * Copyright (C) 2012 Renesas Solutions Corp. 5 * Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as 9 * published by the Free Software Foundation. 10 */ 11 12#ifndef __SIMPLE_CARD_H 13#define __SIMPLE_CARD_H 14 15#include <sound/soc.h> | 1/* 2 * ASoC simple sound card support 3 * 4 * Copyright (C) 2012 Renesas Solutions Corp. 5 * Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as 9 * published by the Free Software Foundation. 10 */ 11 12#ifndef __SIMPLE_CARD_H 13#define __SIMPLE_CARD_H 14 15#include <sound/soc.h> |
16#include <sound/simple_card_utils.h> |
|
16 | 17 |
17struct asoc_simple_dai { 18 const char *name; 19 unsigned int sysclk; 20 int slots; 21 int slot_width; 22 unsigned int tx_slot_mask; 23 unsigned int rx_slot_mask; 24 struct clk *clk; 25}; 26 | |
27struct asoc_simple_card_info { 28 const char *name; 29 const char *card; 30 const char *codec; 31 const char *platform; 32 33 unsigned int daifmt; 34 struct asoc_simple_dai cpu_dai; 35 struct asoc_simple_dai codec_dai; 36}; 37 38#endif /* __SIMPLE_CARD_H */ | 18struct asoc_simple_card_info { 19 const char *name; 20 const char *card; 21 const char *codec; 22 const char *platform; 23 24 unsigned int daifmt; 25 struct asoc_simple_dai cpu_dai; 26 struct asoc_simple_dai codec_dai; 27}; 28 29#endif /* __SIMPLE_CARD_H */ |