Lines Matching refs:_reg
23 #define AUD_GATE(_name, _reg, _bit, _pname, _iflags) { \ argument
25 .offset = (_reg), \
37 #define AUD_MUX(_name, _reg, _mask, _shift, _dflags, _pdata, _iflags) { \ argument
39 .offset = (_reg), \
53 #define AUD_DIV(_name, _reg, _shift, _width, _dflags, _pname, _iflags) { \ argument
55 .offset = (_reg), \
69 #define AUD_PCLK_GATE(_name, _reg, _bit) { \ argument
71 .offset = (_reg), \
82 #define AUD_SCLK_DIV(_name, _reg, _div_shift, _div_width, \ argument
86 .reg_off = (_reg), \
91 .reg_off = (_reg), \
105 #define AUD_TRIPHASE(_name, _reg, _width, _shift0, _shift1, _shift2, \ argument
109 .reg_off = (_reg), \
114 .reg_off = (_reg), \
119 .reg_off = (_reg), \
133 #define AUD_PHASE(_name, _reg, _width, _shift, _pname, _iflags) { \ argument
136 .reg_off = (_reg), \
150 #define AUD_SCLK_WS(_name, _reg, _width, _shift_ph, _shift_ws, _pname, \ argument
154 .reg_off = (_reg), \
159 .reg_off = (_reg), \
185 #define AUD_MST_MUX(_name, _reg, _flag) \ argument
186 AUD_MUX(_name##_sel, _reg, 0x7, 24, _flag, \
188 #define AUD_MST_DIV(_name, _reg, _flag) \ argument
189 AUD_DIV(_name##_div, _reg, 0, 16, _flag, \
191 #define AUD_MST_MCLK_GATE(_name, _reg) \ argument
192 AUD_GATE(_name, _reg, 31, aud_##_name##_div, \
195 #define AUD_MST_MCLK_MUX(_name, _reg) \ argument
196 AUD_MST_MUX(_name, _reg, CLK_MUX_ROUND_CLOSEST)
197 #define AUD_MST_MCLK_DIV(_name, _reg) \ argument
198 AUD_MST_DIV(_name, _reg, CLK_DIVIDER_ROUND_CLOSEST)
200 #define AUD_MST_SYS_MUX(_name, _reg) \ argument
201 AUD_MST_MUX(_name, _reg, 0)
202 #define AUD_MST_SYS_DIV(_name, _reg) \ argument
203 AUD_MST_DIV(_name, _reg, 0)
206 #define AUD_MST_SCLK_PRE_EN(_name, _reg) \ argument
207 AUD_GATE(mst_##_name##_sclk_pre_en, _reg, 31, \
209 #define AUD_MST_SCLK_DIV(_name, _reg) \ argument
210 AUD_SCLK_DIV(mst_##_name##_sclk_div, _reg, 20, 10, 0, 0, \
213 #define AUD_MST_SCLK_POST_EN(_name, _reg) \ argument
214 AUD_GATE(mst_##_name##_sclk_post_en, _reg, 30, \
216 #define AUD_MST_SCLK(_name, _reg) \ argument
217 AUD_TRIPHASE(mst_##_name##_sclk, _reg, 1, 0, 2, 4, \
220 #define AUD_MST_LRCLK_DIV(_name, _reg) \ argument
221 AUD_SCLK_DIV(mst_##_name##_lrclk_div, _reg, 0, 10, 10, 10, \
223 #define AUD_MST_LRCLK(_name, _reg) \ argument
224 AUD_TRIPHASE(mst_##_name##_lrclk, _reg, 1, 1, 3, 5, \
267 #define AUD_TDM_SCLK_MUX(_name, _reg) \ argument
268 AUD_MUX(tdm##_name##_sclk_sel, _reg, 0xf, 24, \
270 #define AUD_TDM_SCLK_PRE_EN(_name, _reg) \ argument
271 AUD_GATE(tdm##_name##_sclk_pre_en, _reg, 31, \
273 #define AUD_TDM_SCLK_POST_EN(_name, _reg) \ argument
274 AUD_GATE(tdm##_name##_sclk_post_en, _reg, 30, \
276 #define AUD_TDM_SCLK(_name, _reg) \ argument
277 AUD_PHASE(tdm##_name##_sclk, _reg, 1, 29, \
280 #define AUD_TDM_SCLK_WS(_name, _reg) \ argument
281 AUD_SCLK_WS(tdm##_name##_sclk, _reg, 1, 29, 28, \
285 #define AUD_TDM_LRLCK(_name, _reg) \ argument
286 AUD_MUX(tdm##_name##_lrclk, _reg, 0xf, 20, \
319 #define AUD_TDM_PAD_CTRL(_name, _reg, _shift, _parents) \ argument
320 AUD_MUX(_name, _reg, 0x7, _shift, 0, _parents, \