Searched refs:tdm_slots (Results 1 – 10 of 10) sorted by relevance
/linux-3.4.99/sound/soc/ |
D | soc-utils.c | 23 int snd_soc_calc_frame_size(int sample_size, int channels, int tdm_slots) in snd_soc_calc_frame_size() argument 25 return sample_size * channels * tdm_slots; in snd_soc_calc_frame_size() 42 int snd_soc_calc_bclk(int fs, int sample_size, int channels, int tdm_slots) in snd_soc_calc_bclk() argument 44 return fs * snd_soc_calc_frame_size(sample_size, channels, tdm_slots); in snd_soc_calc_bclk()
|
/linux-3.4.99/sound/soc/davinci/ |
D | davinci-mcasp.c | 638 active_slots = (dev->tdm_slots > 31) ? 32 : dev->tdm_slots; in davinci_hw_param() 652 if ((dev->tdm_slots >= 2) && (dev->tdm_slots <= 32)) in davinci_hw_param() 654 FSXMOD(dev->tdm_slots), FSXMOD(0x1FF)); in davinci_hw_param() 657 dev->tdm_slots); in davinci_hw_param() 668 if ((dev->tdm_slots >= 2) && (dev->tdm_slots <= 32)) in davinci_hw_param() 670 FSRMOD(dev->tdm_slots), FSRMOD(0x1FF)); in davinci_hw_param() 673 dev->tdm_slots); in davinci_hw_param() 904 dev->tdm_slots = pdata->tdm_slots; in davinci_mcasp_probe()
|
D | davinci-mcasp.h | 48 int tdm_slots; member
|
/linux-3.4.99/arch/arm/mach-davinci/include/mach/ |
D | asp.h | 111 int tdm_slots; member
|
/linux-3.4.99/sound/soc/codecs/ |
D | wm8993.c | 215 int tdm_slots; member 1291 if (wm8993->tdm_slots) { in wm8993_hw_params() 1293 wm8993->tdm_slots, wm8993->tdm_width); in wm8993_hw_params() 1294 wm8993->bclk *= wm8993->tdm_width * wm8993->tdm_slots; in wm8993_hw_params() 1443 wm8993->tdm_slots = 0; in wm8993_set_tdm_slot() 1477 wm8993->tdm_slots = slots / 2; in wm8993_set_tdm_slot()
|
D | wm8904.c | 83 int tdm_slots; member 1294 if (wm8904->tdm_slots) { in wm8904_hw_params() 1296 wm8904->tdm_slots, wm8904->tdm_width); in wm8904_hw_params() 1299 wm8904->tdm_slots); in wm8904_hw_params() 1563 wm8904->tdm_slots = slots / 2; in wm8904_set_tdm_slot()
|
/linux-3.4.99/arch/arm/mach-davinci/ |
D | board-dm646x-evm.c | 336 .tdm_slots = 2, 345 .tdm_slots = 32,
|
D | board-da830-evm.c | 211 .tdm_slots = 2,
|
D | board-da850-evm.c | 755 .tdm_slots = 2,
|
/linux-3.4.99/include/sound/ |
D | soc.h | 337 int snd_soc_calc_frame_size(int sample_size, int channels, int tdm_slots); 339 int snd_soc_calc_bclk(int fs, int sample_size, int channels, int tdm_slots);
|