Lines Matching +full:24 +full:tdm
51 slim->bit_width = 24; in q6slim_hw_params()
79 hdmi->bit_width = 24; in q6hdmi_hw_params()
146 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_set_tdm_slot() local
179 tdm->nslots_per_frame = slots; in q6tdm_set_tdm_slot()
180 tdm->slot_width = slot_width; in q6tdm_set_tdm_slot()
181 /* TDM RX dais ids are even and tx are odd */ in q6tdm_set_tdm_slot()
182 tdm->slot_mask = ((dai->id & 0x1) ? tx_mask : rx_mask) & cap_mask; in q6tdm_set_tdm_slot()
199 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_set_channel_map() local
217 tdm->ch_mapping[i] = tx_slot[i]; in q6tdm_set_channel_map()
220 tdm->ch_mapping[i] = Q6AFE_CMAP_INVALID; in q6tdm_set_channel_map()
222 tdm->num_channels = tx_num; in q6tdm_set_channel_map()
236 tdm->ch_mapping[i] = rx_slot[i]; in q6tdm_set_channel_map()
239 tdm->ch_mapping[i] = Q6AFE_CMAP_INVALID; in q6tdm_set_channel_map()
241 tdm->num_channels = rx_num; in q6tdm_set_channel_map()
259 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_hw_params() local
261 tdm->bit_width = params_width(params); in q6tdm_hw_params()
262 tdm->sample_rate = params_rate(params); in q6tdm_hw_params()
263 tdm->num_channels = params_channels(params); in q6tdm_hw_params()
264 tdm->data_align_type = dai_data->priv[dai->id].data_align; in q6tdm_hw_params()
265 tdm->sync_src = dai_data->priv[dai->id].sync_src; in q6tdm_hw_params()
266 tdm->sync_mode = dai_data->priv[dai->id].sync_mode; in q6tdm_hw_params()
408 &dai_data->port_config[dai->id].tdm); in q6afe_dai_prepare()
1006 ret = of_property_read_u32(node, "qcom,tdm-sync-mode", in of_q6afe_parse_dai_data()
1012 ret = of_property_read_u32(node, "qcom,tdm-sync-src", in of_q6afe_parse_dai_data()
1018 ret = of_property_read_u32(node, "qcom,tdm-data-out", in of_q6afe_parse_dai_data()
1024 ret = of_property_read_u32(node, "qcom,tdm-invert-sync", in of_q6afe_parse_dai_data()
1030 ret = of_property_read_u32(node, "qcom,tdm-data-delay", in of_q6afe_parse_dai_data()
1036 ret = of_property_read_u32(node, "qcom,tdm-data-align", in of_q6afe_parse_dai_data()