Home
last modified time | relevance | path

Searched refs:tdm_width_map (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/sound/soc/generic/
Dsimple-card-utils.c133 dai->tdm_width_map = devm_kcalloc(dev, n, sizeof(*dai->tdm_width_map), GFP_KERNEL); in asoc_simple_parse_tdm_width_map()
134 if (!dai->tdm_width_map) in asoc_simple_parse_tdm_width_map()
149 dai->tdm_width_map[i].sample_bits = *p++; in asoc_simple_parse_tdm_width_map()
150 dai->tdm_width_map[i].slot_width = *p++; in asoc_simple_parse_tdm_width_map()
151 dai->tdm_width_map[i].slot_count = *p++; in asoc_simple_parse_tdm_width_map()
398 if (!simple_dai || !simple_dai->tdm_width_map) in asoc_simple_set_tdm()
408 if (simple_dai->tdm_width_map[i].sample_bits == sample_bits) { in asoc_simple_set_tdm()
409 slot_width = simple_dai->tdm_width_map[i].slot_width; in asoc_simple_set_tdm()
410 slot_count = simple_dai->tdm_width_map[i].slot_count; in asoc_simple_set_tdm()
/Linux-v6.6/include/sound/
Dsimple_card_utils.h35 struct asoc_simple_tdm_width_map *tdm_width_map; member