Home
last modified time | relevance | path

Searched refs:tdm_slot_width (Results 1 – 8 of 8) sorted by relevance

/linux/sound/soc/apple/
H A Dmca.c146 int tdm_slot_width; member
473 cl->tdm_slot_width = slot_width; in mca_fe_set_tdm_slot()
576 unsigned int tdm_slots, tdm_slot_width, tdm_mask; in mca_fe_hw_params() local
580 if (!cl->tdm_slot_width) { in mca_fe_hw_params()
585 tdm_slot_width = params_width(params); in mca_fe_hw_params()
589 tdm_slot_width = cl->tdm_slot_width; in mca_fe_hw_params()
597 bclk_ratio = tdm_slot_width * tdm_slots; in mca_fe_hw_params()
613 tdm_slot_width = bclk_ratio / nchannels; in mca_fe_hw_params()
615 if (tdm_slot_width > 32 && nchannels == 1) in mca_fe_hw_params()
616 tdm_slot_width = 32; in mca_fe_hw_params()
[all …]
/linux/include/sound/sof/
H A Ddai-imx.h30 uint16_t tdm_slot_width; member
51 uint16_t tdm_slot_width; member
H A Ddai-intel.h78 uint16_t tdm_slot_width; member
/linux/sound/soc/codecs/
H A Drtq9128.c64 int tdm_slot_width; member
522 data->tdm_slot_width = slot_width; in rtq9128_dai_set_tdm_slot()
588 if (slot_width > data->tdm_slot_width) { in rtq9128_dai_hw_params()
594 bitrate = data->tdm_slots * data->tdm_slot_width * params_rate(param); in rtq9128_dai_hw_params()
601 slot_width = data->tdm_slot_width; in rtq9128_dai_hw_params()
/linux/sound/soc/sof/
H A Dipc3-topology.c1090 config->sai.tdm_slot_width = le32_to_cpu(hw_config->tdm_slot_width); in sof_link_sai_load()
1097 config->sai.mclk_rate, config->sai.tdm_slot_width, in sof_link_sai_load()
1140 config->esai.tdm_slot_width = le32_to_cpu(hw_config->tdm_slot_width); in sof_link_esai_load()
1147 config->esai.mclk_rate, config->esai.tdm_slot_width, in sof_link_esai_load()
1423 config[i].ssp.tdm_slot_width = le32_to_cpu(hw_config[i].tdm_slot_width); in sof_link_ssp_load()
1432 config[i].ssp.tdm_slot_width, config[i].ssp.tdm_slots, in sof_link_ssp_load()
H A Dipc4-topology.c1428 *bit_depth = le32_to_cpu(hw_config->tdm_slot_width); in snd_sof_get_hw_config_params()
/linux/sound/soc/ti/
H A Ddavinci-i2s.c220 static int davinci_i2s_tdm_word_length(int tdm_slot_width) in davinci_i2s_tdm_word_length() argument
222 switch (tdm_slot_width) { in davinci_i2s_tdm_word_length()
/linux/include/uapi/sound/
H A Dasoc.h349 __le32 tdm_slot_width; /* width in bits for each slot */ member