Searched refs:tdm_width (Results 1 – 14 of 14) sorted by relevance
| /linux/sound/soc/ |
| H A D | soc-utils-test.c | 16 u8 tdm_width; member 121 unsigned int tdm_width, unsigned int tdm_slots, in test_tdm_params_to_bclk_one() argument 136 got_bclk = snd_soc_tdm_params_to_bclk(¶ms, tdm_width, tdm_slots, slot_multiple); in test_tdm_params_to_bclk_one() 139 rate, params_width(¶ms), channels, tdm_width, tdm_slots, slot_multiple, in test_tdm_params_to_bclk_one() 153 tdm_params_to_bclk_cases[i].tdm_width, in test_tdm_params_to_bclk() 166 tdm_params_to_bclk_cases[i].tdm_width, in test_tdm_params_to_bclk() 205 if (tdm_params_to_bclk_cases[i].tdm_width | in test_snd_soc_params_to_bclk()
|
| H A D | soc-utils.c | 110 int tdm_width, int tdm_slots, int slot_multiple) in snd_soc_tdm_params_to_bclk() argument 118 if (!tdm_width) { in snd_soc_tdm_params_to_bclk() 119 tdm_width = snd_pcm_format_width(params_format(params)); in snd_soc_tdm_params_to_bclk() 120 if (tdm_width < 0) in snd_soc_tdm_params_to_bclk() 121 return tdm_width; in snd_soc_tdm_params_to_bclk() 124 return snd_soc_calc_bclk(params_rate(params), tdm_width, 1, tdm_slots); in snd_soc_tdm_params_to_bclk()
|
| /linux/sound/soc/codecs/ |
| H A D | wm9081.c | 155 int tdm_width; member 1017 if (wm9081->tdm_width) { in wm9081_hw_params() 1022 wm9081->bclk = wm9081->fs * wm9081->tdm_width * slots; in wm9081_hw_params() 1199 wm9081->tdm_width = slot_width; in wm9081_set_tdm_slot()
|
| H A D | cs530x.h | 241 int tdm_width; member
|
| H A D | arizona.c | 1785 int tdm_width = arizona->tdm_width[dai->id - 1]; in arizona_hw_params() local 1800 tdm_slots, tdm_width); in arizona_hw_params() 1801 bclk_target = tdm_slots * tdm_width * params_rate(params); in arizona_hw_params() 1805 tdm_width = wl; in arizona_hw_params() 1841 frame = wl << ARIZONA_AIF1TX_WL_SHIFT | tdm_width; in arizona_hw_params() 2017 arizona->tdm_width[dai->id - 1] = slot_width; in arizona_set_tdm_slot()
|
| H A D | wm8993.c | 213 int tdm_width; member 1211 wm8993->tdm_slots, wm8993->tdm_width); in wm8993_hw_params() 1212 wm8993->bclk *= wm8993->tdm_width * wm8993->tdm_slots; in wm8993_hw_params() 1394 wm8993->tdm_width = slot_width; in wm8993_set_tdm_slot()
|
| H A D | cs530x.c | 813 cs530x->tdm_slots, cs530x->tdm_width); in cs530x_hw_params() 815 cs530x->tdm_width, in cs530x_hw_params() 940 cs530x->tdm_width = slot_width; in cs530x_set_tdm_slot()
|
| H A D | wm8904.c | 79 int tdm_width; member 1372 wm8904->tdm_slots, wm8904->tdm_width); in wm8904_hw_params() 1374 wm8904->tdm_width, 2, in wm8904_hw_params() 1611 wm8904->tdm_width = slot_width; in wm8904_set_tdm_slot()
|
| H A D | madera.c | 3100 int tdm_width = priv->tdm_width[dai->id - 1]; in madera_hw_params() local 3118 tdm_slots, tdm_width); in madera_hw_params() 3119 bclk_target = tdm_slots * tdm_width * rate; in madera_hw_params() 3123 tdm_width = wl; in madera_hw_params() 3158 frame = wl << MADERA_AIF1TX_WL_SHIFT | tdm_width; in madera_hw_params() 3342 priv->tdm_width[dai->id - 1] = slot_width; in madera_set_tdm_slot()
|
| H A D | cs48l32.h | 373 u8 tdm_width[CS48L32_MAX_ASP]; member
|
| H A D | madera.h | 142 int tdm_width[MADERA_MAX_AIF]; member
|
| H A D | cs48l32.c | 2150 slotw = cs48l32_codec->tdm_width[dai_id]; in cs48l32_hw_params() 2364 cs48l32_codec->tdm_width[dai->id - 1] = slot_width; in cs48l32_set_tdm_slot()
|
| /linux/include/linux/mfd/arizona/ |
| H A D | core.h | 152 int tdm_width[ARIZONA_MAX_AIF]; member
|
| /linux/include/sound/ |
| H A D | soc.h | 509 int tdm_width, int tdm_slots, int slot_multiple);
|