Lines Matching refs:prefix
91 #define CLK_AIF_OSR_SRC(prefix, _ns, _md) \ argument
92 static struct clk_rcg prefix##_osr_src = { \
116 .name = #prefix "_osr_src", \
125 #define CLK_AIF_OSR_CLK(prefix, _ns, hr, en_bit) \ argument
126 static struct clk_branch prefix##_osr_clk = { \
134 .name = #prefix "_osr_clk", \
136 &prefix##_osr_src.clkr.hw, \
145 #define CLK_AIF_OSR_DIV_CLK(prefix, _ns, _width) \ argument
146 static struct clk_regmap_div prefix##_div_clk = { \
152 .name = #prefix "_div_clk", \
154 &prefix##_osr_src.clkr.hw, \
162 #define CLK_AIF_OSR_BIT_DIV_CLK(prefix, _ns, hr, en_bit) \ argument
163 static struct clk_branch prefix##_bit_div_clk = { \
171 .name = #prefix "_bit_div_clk", \
173 &prefix##_div_clk.clkr.hw, \
182 #define CLK_AIF_OSR_BIT_CLK(prefix, _ns, _shift) \ argument
183 static struct clk_regmap_mux prefix##_bit_clk = { \
189 .name = #prefix "_bit_clk", \
191 { .hw = &prefix##_bit_div_clk.clkr.hw, }, \
192 { .fw_name = #prefix "_codec_clk", \
193 .name = #prefix "_codec_clk", }, \
208 #define CLK_AIF_OSR_DIV(prefix, _ns, _md, hr) \ argument
209 CLK_AIF_OSR_SRC(prefix, _ns, _md) \
210 CLK_AIF_OSR_CLK(prefix, _ns, hr, 21) \
211 CLK_AIF_OSR_DIV_CLK(prefix, _ns, 8) \
212 CLK_AIF_OSR_BIT_DIV_CLK(prefix, _ns, hr, 19) \
213 CLK_AIF_OSR_BIT_CLK(prefix, _ns, 18)