Home
last modified time | relevance | path

Searched refs:tdm_slots (Results 1 – 10 of 10) sorted by relevance

/linux-3.4.99/sound/soc/
Dsoc-utils.c23 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/
Ddavinci-mcasp.c638 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()
Ddavinci-mcasp.h48 int tdm_slots; member
/linux-3.4.99/arch/arm/mach-davinci/include/mach/
Dasp.h111 int tdm_slots; member
/linux-3.4.99/sound/soc/codecs/
Dwm8993.c215 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()
Dwm8904.c83 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/
Dboard-dm646x-evm.c336 .tdm_slots = 2,
345 .tdm_slots = 32,
Dboard-da830-evm.c211 .tdm_slots = 2,
Dboard-da850-evm.c755 .tdm_slots = 2,
/linux-3.4.99/include/sound/
Dsoc.h337 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);