Lines Matching refs:props

84 #define simple_props_to_dlc_cpu(props, i)	((props)->cpus + i)  argument
85 #define simple_props_to_dlc_codec(props, i) ((props)->codecs + i) argument
86 #define simple_props_to_dlc_platform(props, i) ((props)->platforms + i) argument
88 #define simple_props_to_dai_cpu(props, i) ((props)->cpu_dai + i) argument
89 #define simple_props_to_dai_codec(props, i) ((props)->codec_dai + i) argument
90 #define simple_props_to_codec_conf(props, i) ((props)->codec_conf + i) argument
92 #define for_each_prop_dlc_cpus(props, i, cpu) \ argument
94 ((i) < (props)->num.cpus) && \
95 ((cpu) = simple_props_to_dlc_cpu(props, i)); \
97 #define for_each_prop_dlc_codecs(props, i, codec) \ argument
99 ((i) < (props)->num.codecs) && \
100 ((codec) = simple_props_to_dlc_codec(props, i)); \
102 #define for_each_prop_dlc_platforms(props, i, platform) \ argument
104 ((i) < (props)->num.platforms) && \
105 ((platform) = simple_props_to_dlc_platform(props, i)); \
107 #define for_each_prop_codec_conf(props, i, conf) \ argument
109 ((i) < (props)->num.codecs) && \
110 (props)->codec_conf && \
111 ((conf) = simple_props_to_codec_conf(props, i)); \
114 #define for_each_prop_dai_cpu(props, i, cpu) \ argument
116 ((i) < (props)->num.cpus) && \
117 ((cpu) = simple_props_to_dai_cpu(props, i)); \
119 #define for_each_prop_dai_codec(props, i, codec) \ argument
121 ((i) < (props)->num.codecs) && \
122 ((codec) = simple_props_to_dai_codec(props, i)); \
251 struct simple_dai_props *props = simple_priv_to_props(priv, i); in simple_util_debug_info() local
260 for_each_prop_dai_cpu(props, j, dai) in simple_util_debug_info()
263 for_each_prop_dai_codec(props, j, dai) in simple_util_debug_info()
270 if (props->adata.convert_rate) in simple_util_debug_info()
271 dev_dbg(dev, "convert_rate = %d\n", props->adata.convert_rate); in simple_util_debug_info()
272 if (props->adata.convert_channels) in simple_util_debug_info()
273 dev_dbg(dev, "convert_channels = %d\n", props->adata.convert_channels); in simple_util_debug_info()
274 for_each_prop_codec_conf(props, j, cnf) in simple_util_debug_info()
277 if (props->mclk_fs) in simple_util_debug_info()
278 dev_dbg(dev, "mclk-fs = %d\n", props->mclk_fs); in simple_util_debug_info()