Lines Matching refs:FShft
8 #define FShft(Field) ((Field) & 0x0000FFFF)
9 #define FMsk(Field) (((UData (1) << FSize (Field)) - 1) << FShft (Field))
11 #define F1stBit(Field) (UData (1) << FShft (Field))
17 #define SYSCLKSRC_REF ((0x0) << FShft(SYSCLKSRC_SEL))
18 #define SYSCLKSRC_PLL_1 ((0x1) << FShft(SYSCLKSRC_SEL))
19 #define SYSCLKSRC_PLL_2 ((0x2) << FShft(SYSCLKSRC_SEL))
23 #define PIXCLKSRC_REF ((0x0) << FShft(PIXCLKSRC_SEL))
24 #define PIXCLKSRC_PLL_1 ((0x1) << FShft(PIXCLKSRC_SEL))
25 #define PIXCLKSRC_PLL_2 ((0x2) << FShft(PIXCLKSRC_SEL))
32 #define Core_Pll_M(x) ((x) << FShft(CORE_PLL_M))
34 #define Core_Pll_N(x) ((x) << FShft(CORE_PLL_N))
36 #define Core_Pll_P(x) ((x) << FShft(CORE_PLL_P))
41 #define Disp_Pll_M(x) ((x) << FShft(DISP_PLL_M))
43 #define Disp_Pll_N(x) ((x) << FShft(DISP_PLL_N))
45 #define Disp_Pll_P(x) ((x) << FShft(DISP_PLL_P))
65 #define MBXCLK_DIV_1 ((0x0) << FShft(MBXCLK_DIV))
66 #define MBXCLK_DIV_2 ((0x1) << FShft(MBXCLK_DIV))
67 #define MBXCLK_DIV_3 ((0x2) << FShft(MBXCLK_DIV))
68 #define MBXCLK_DIV_4 ((0x3) << FShft(MBXCLK_DIV))
70 #define MBXCLK_EN_NONE ((0x0) << FShft(MBXCLK_EN))
71 #define MBXCLK_EN_2D ((0x1) << FShft(MBXCLK_EN))
72 #define MBXCLK_EN_BOTH ((0x2) << FShft(MBXCLK_EN))
76 #define M24CLK_DIV_1 ((0x0) << FShft(M24CLK_DIV))
77 #define M24CLK_DIV_2 ((0x1) << FShft(M24CLK_DIV))
78 #define M24CLK_DIV_3 ((0x2) << FShft(M24CLK_DIV))
79 #define M24CLK_DIV_4 ((0x3) << FShft(M24CLK_DIV))
87 #define Pixclkdiv_Pd(x) ((x) << FShft(PIXCLKDIV_PD))
91 #define Lcdcfg_In_Fmt(x) ((x) << FShft(LCDCFG_IN_FMT))
112 #define ODFBPWR_MODE_ACT ((0x0) << FShft(ODFBPWR_MODE))
113 #define ODFBPWR_MODE_ACT_LP ((0x1) << FShft(ODFBPWR_MODE))
114 #define ODFBPWR_MODE_SLEEP ((0x2) << FShft(ODFBPWR_MODE))
115 #define ODFBPWR_MODE_SHUTD ((0x3) << FShft(ODFBPWR_MODE))
135 #define LMPWR_MC_PWR_ACT ((0x0) << FShft(LMPWR_MC_PWR_CNT)) /* Active */
136 #define LMPWR_MC_PWR_SRM ((0x1) << FShft(LMPWR_MC_PWR_CNT)) /* Self-refresh */
137 #define LMPWR_MC_PWR_DPD ((0x3) << FShft(LMPWR_MC_PWR_CNT)) /* deep power down */
141 #define LMPWRSTAT_MC_PWR_ACT ((0x0) << FShft(LMPWRSTAT_MC_PWR_CNT)) /* Active */
142 #define LMPWRSTAT_MC_PWR_SRM ((0x1) << FShft(LMPWRSTAT_MC_PWR_CNT)) /* Self-refresh */
143 #define LMPWRSTAT_MC_PWR_DPD ((0x3) << FShft(LMPWRSTAT_MC_PWR_CNT)) /* deep power down */
147 #define LMTYPE_CASLAT_1 ((0x1) << FShft(LMTYPE_CASLAT))
148 #define LMTYPE_CASLAT_2 ((0x2) << FShft(LMTYPE_CASLAT))
149 #define LMTYPE_CASLAT_3 ((0x3) << FShft(LMTYPE_CASLAT))
151 #define LMTYPE_BKSZ_1 ((0x1) << FShft(LMTYPE_BKSZ))
152 #define LMTYPE_BKSZ_2 ((0x2) << FShft(LMTYPE_BKSZ))
154 #define LMTYPE_ROWSZ_11 ((0xb) << FShft(LMTYPE_ROWSZ))
155 #define LMTYPE_ROWSZ_12 ((0xc) << FShft(LMTYPE_ROWSZ))
156 #define LMTYPE_ROWSZ_13 ((0xd) << FShft(LMTYPE_ROWSZ))
158 #define LMTYPE_COLSZ_7 ((0x7) << FShft(LMTYPE_COLSZ))
159 #define LMTYPE_COLSZ_8 ((0x8) << FShft(LMTYPE_COLSZ))
160 #define LMTYPE_COLSZ_9 ((0x9) << FShft(LMTYPE_COLSZ))
161 #define LMTYPE_COLSZ_10 ((0xa) << FShft(LMTYPE_COLSZ))
162 #define LMTYPE_COLSZ_11 ((0xb) << FShft(LMTYPE_COLSZ))
163 #define LMTYPE_COLSZ_12 ((0xc) << FShft(LMTYPE_COLSZ))
167 #define Lmtim_Tras(x) ((x) << FShft(LMTIM_TRAS))
169 #define Lmtim_Trp(x) ((x) << FShft(LMTIM_TRP))
171 #define Lmtim_Trcd(x) ((x) << FShft(LMTIM_TRCD))
173 #define Lmtim_Trc(x) ((x) << FShft(LMTIM_TRC))
175 #define Lmtim_Tdpl(x) ((x) << FShft(LMTIM_TDPL))
179 #define Lmrefresh_Tref(x) ((x) << FShft(LMREFRESH_TREF))
184 #define GSCTRL_GPIXFMT_INDEXED ((0x0) << FShft(GSCTRL_GPIXFMT))
185 #define GSCTRL_GPIXFMT_ARGB4444 ((0x4) << FShft(GSCTRL_GPIXFMT))
186 #define GSCTRL_GPIXFMT_ARGB1555 ((0x5) << FShft(GSCTRL_GPIXFMT))
187 #define GSCTRL_GPIXFMT_RGB888 ((0x6) << FShft(GSCTRL_GPIXFMT))
188 #define GSCTRL_GPIXFMT_RGB565 ((0x7) << FShft(GSCTRL_GPIXFMT))
189 #define GSCTRL_GPIXFMT_ARGB8888 ((0x8) << FShft(GSCTRL_GPIXFMT))
194 (((Pixel) - 1) << FShft(GSCTRL_GSWIDTH))
198 (((Pixel) - 1) << FShft(GSCTRL_GSHEIGHT))
202 #define Gbbase_Glalpha(x) ((x) << FShft(GBBASE_GLALPHA))
205 #define Gbbase_Colkey(x) ((x) << FShft(GBBASE_COLKEY))
213 #define Gdrctrl_Colkeym(x) ((x) << FShft(GDRCTRL_COLKEYM))
220 #define GSCADR_BLEND_NONE ((0x0) << FShft(GSCADR_BLEND_M))
221 #define GSCADR_BLEND_INV ((0x1) << FShft(GSCADR_BLEND_M))
222 #define GSCADR_BLEND_GLOB ((0x2) << FShft(GSCADR_BLEND_M))
223 #define GSCADR_BLEND_PIX ((0x3) << FShft(GSCADR_BLEND_M))
225 #define GSCADR_BLEND_GFX ((0x0) << FShft(GSCADR_BLEND_POS))
226 #define GSCADR_BLEND_VID ((0x1) << FShft(GSCADR_BLEND_POS))
227 #define GSCADR_BLEND_CUR ((0x2) << FShft(GSCADR_BLEND_POS))
229 #define Gscadr_Gbase_Adr(x) ((x) << FShft(GSCADR_GBASE_ADR))
233 #define Gsadr_Srcstride(x) ((x) << FShft(GSADR_SRCSTRIDE))
235 #define Gsadr_Xstart(x) ((x) << FShft(GSADR_XSTART))
237 #define Gsadr_Ystart(y) ((y) << FShft(GSADR_YSTART))
241 #define Gplut_Lutadr(x) ((x) << FShft(GPLUT_LUTADR))
243 #define Gplut_Lutdata(x) ((x) << FShft(GPLUT_LUTDATA))
247 #define VSCTRL_VPIXFMT_YUV12 ((0x9) << FShft(VSCTRL_VPIXFMT))
248 #define VSCTRL_VPIXFMT_UY0VY1 ((0xc) << FShft(VSCTRL_VPIXFMT))
249 #define VSCTRL_VPIXFMT_VY0UY1 ((0xd) << FShft(VSCTRL_VPIXFMT))
250 #define VSCTRL_VPIXFMT_Y0UY1V ((0xe) << FShft(VSCTRL_VPIXFMT))
251 #define VSCTRL_VPIXFMT_Y0VY1U ((0xf) << FShft(VSCTRL_VPIXFMT))
257 (((Pixels) - 1) << FShft(VSCTRL_VSWIDTH))
260 (((Pixels) - 1) << FShft(VSCTRL_VSHEIGHT))
264 #define Vbbase_Glalpha(x) ((x) << FShft(VBBASE_GLALPHA))
267 #define Vbbase_Colkey(x) ((x) << FShft(VBBASE_COLKEY))
271 #define Vcmsk_colkey_m(x) ((x) << FShft(VCMSK_COLKEY_M))
278 #define VSCADR_BLEND_NONE ((0x0) << FShft(VSCADR_BLEND_M))
279 #define VSCADR_BLEND_INV ((0x1) << FShft(VSCADR_BLEND_M))
280 #define VSCADR_BLEND_GLOB ((0x2) << FShft(VSCADR_BLEND_M))
281 #define VSCADR_BLEND_PIX ((0x3) << FShft(VSCADR_BLEND_M))
283 #define VSCADR_BLEND_GFX ((0x0) << FShft(VSCADR_BLEND_POS))
284 #define VSCADR_BLEND_VID ((0x1) << FShft(VSCADR_BLEND_POS))
285 #define VSCADR_BLEND_CUR ((0x2) << FShft(VSCADR_BLEND_POS))
287 #define Vscadr_Vbase_Adr(x) ((x) << FShft(VSCADR_VBASE_ADR))
292 #define Vubase_Ubase_Adr(x) ((x) << FShft(VUBASE_UBASE_ADR))
296 #define Vvbase_Vbase_Adr(x) ((x) << FShft(VVBASE_VBASE_ADR))
300 #define Vsadr_Srcstride(x) ((x) << FShft(VSADR_SRCSTRIDE))
302 #define Vsadr_Xstart(x) ((x) << FShft(VSADR_XSTART))
304 #define Vsadr_Ystart(x) ((x) << FShft(VSADR_YSTART))
308 #define VSCTRL_VPIXFMT_YUV12 ((0x9) << FShft(VSCTRL_VPIXFMT))
309 #define VSCTRL_VPIXFMT_UY0VY1 ((0xc) << FShft(VSCTRL_VPIXFMT))
310 #define VSCTRL_VPIXFMT_VY0UY1 ((0xd) << FShft(VSCTRL_VPIXFMT))
311 #define VSCTRL_VPIXFMT_Y0UY1V ((0xe) << FShft(VSCTRL_VPIXFMT))
312 #define VSCTRL_VPIXFMT_Y0VY1U ((0xf) << FShft(VSCTRL_VPIXFMT))
318 (((Pixels) - 1) << FShft(VSCTRL_VSWIDTH))
321 (((Pixels) - 1) << FShft(VSCTRL_VSHEIGHT))
325 #define Vbbase_Glalpha(x) ((x) << FShft(VBBASE_GLALPHA))
328 #define Vbbase_Colkey(x) ((x) << FShft(VBBASE_COLKEY))
332 #define Vcmsk_colkey_m(x) ((x) << FShft(VCMSK_COLKEY_M))
339 #define VSCADR_BLEND_NONE ((0x0) << FShft(VSCADR_BLEND_M))
340 #define VSCADR_BLEND_INV ((0x1) << FShft(VSCADR_BLEND_M))
341 #define VSCADR_BLEND_GLOB ((0x2) << FShft(VSCADR_BLEND_M))
342 #define VSCADR_BLEND_PIX ((0x3) << FShft(VSCADR_BLEND_M))
344 #define VSCADR_BLEND_GFX ((0x0) << FShft(VSCADR_BLEND_POS))
345 #define VSCADR_BLEND_VID ((0x1) << FShft(VSCADR_BLEND_POS))
346 #define VSCADR_BLEND_CUR ((0x2) << FShft(VSCADR_BLEND_POS))
348 #define Vscadr_Vbase_Adr(x) ((x) << FShft(VSCADR_VBASE_ADR))
353 #define Vubase_Ubase_Adr(x) ((x) << FShft(VUBASE_UBASE_ADR))
357 #define Vvbase_Vbase_Adr(x) ((x) << FShft(VVBASE_VBASE_ADR))
361 #define Vsadr_Srcstride(x) ((x) << FShft(VSADR_SRCSTRIDE))
363 #define Vsadr_Xstart(x) ((x) << FShft(VSADR_XSTART))
365 #define Vsadr_Ystart(x) ((x) << FShft(VSADR_YSTART))
372 #define HCCTRL_BLEND_NONE ((0x0) << FShft(HCCTRL_BLEND_M))
373 #define HCCTRL_BLEND_INV ((0x1) << FShft(HCCTRL_BLEND_M))
374 #define HCCTRL_BLEND_GLOB ((0x2) << FShft(HCCTRL_BLEND_M))
375 #define HCCTRL_BLEND_PIX ((0x3) << FShft(HCCTRL_BLEND_M))
377 #define HCCTRL_CPIXFMT_RGB332 ((0x3) << FShft(HCCTRL_CPIXFMT))
378 #define HCCTRL_CPIXFMT_ARGB4444 ((0x4) << FShft(HCCTRL_CPIXFMT))
379 #define HCCTRL_CPIXFMT_ARGB1555 ((0x5) << FShft(HCCTRL_CPIXFMT))
381 #define Hcctrl_Cbase_Adr(x) ((x) << FShft(HCCTRL_CBASE_ADR))
385 #define HCSIZE_BLEND_GFX ((0x0) << FShft(HCSIZE_BLEND_POS))
386 #define HCSIZE_BLEND_VID ((0x1) << FShft(HCSIZE_BLEND_POS))
387 #define HCSIZE_BLEND_CUR ((0x2) << FShft(HCSIZE_BLEND_POS))
389 #define Hcsize_Cwidth(x) ((x) << FShft(HCSIZE_CWIDTH))
391 #define Hcsize_Cheight(x) ((x) << FShft(HCSIZE_CHEIGHT))
396 #define Hcpos_Curblink(x) ((x) << FShft(HCPOS_CURBLINK))
398 #define Hcpos_Xstart(x) ((x) << FShft(HCPOS_XSTART))
400 #define Hcpos_Ystart(y) ((y) << FShft(HCPOS_YSTART))
404 #define Hcbadr_Glalpha(x) ((x) << FShft(HCBADR_GLALPHA))
406 #define Hcbadr_Colkey(x) ((x) << FShft(HCBADR_COLKEY))
410 #define Hcckmsk_Colkey_M(x) ((x) << FShft(HCCKMSK_COLKEY_M))
420 #define Dsctrl_Updwait(x) ((x) << FShft(DSCTRL_UPDWAIT))
434 #define Dht01_Hbps(x) ((x) << FShft(DHT01_HBPS))
436 #define Dht01_Ht(x) ((x) << FShft(DHT01_HT))
440 #define Dht02_Has(x) ((x) << FShft(DHT02_HAS))
442 #define Dht02_Hlbs(x) ((x) << FShft(DHT02_HLBS))
446 #define Dht03_Hfps(x) ((x) << FShft(DHT03_HFPS))
448 #define Dht03_Hrbs(x) ((x) << FShft(DHT03_HRBS))
452 #define Dvt01_Vbps(x) ((x) << FShft(DVT01_VBPS))
454 #define Dvt01_Vt(x) ((x) << FShft(DVT01_VT))
458 #define Dvt02_Vas(x) ((x) << FShft(DVT02_VAS))
460 #define Dvt02_Vtbs(x) ((x) << FShft(DVT02_VTBS))
464 #define Dvt03_Vfps(x) ((x) << FShft(DVT03_VFPS))
466 #define Dvt03_Vbbs(x) ((x) << FShft(DVT03_VBBS))
470 #define Dvectrl_Vevent(x) ((x) << FShft(DVECTRL_VEVENT))
472 #define Dvectrl_Vfetch(x) ((x) << FShft(DVECTRL_VFETCH))
476 #define Dhdet_Hdes(x) ((x) << FShft(DHDET_HDES))
478 #define Dhdet_Hdef(x) ((x) << FShft(DHDET_HDEF))
482 #define Dvdet_Vdes(x) ((x) << FShft(DVDET_VDES))
484 #define Dvdet_Vdef(x) ((x) << FShft(DVDET_VDEF))
490 #define Dodmsk_Mask_B(x) ((x) << FShft(DODMSK_MASK_B))
492 #define Dodmsk_Mask_G(x) ((x) << FShft(DODMSK_MASK_G))
494 #define Dodmsk_Mask_R(x) ((x) << FShft(DODMSK_MASK_R))
498 #define Dbcol_Bordcol(x) ((x) << FShft(DBCOL_BORDCOL))
502 #define Dvlnum_Vline(x) ((x) << FShft(DVLNUM_VLINE))
506 #define DMCTRL_MEM_REF_ACT ((0x0) << FShft(DMCTRL_MEM_REF))
507 #define DMCTRL_MEM_REF_HB ((0x1) << FShft(DMCTRL_MEM_REF))
508 #define DMCTRL_MEM_REF_VB ((0x2) << FShft(DMCTRL_MEM_REF))
509 #define DMCTRL_MEM_REF_BOTH ((0x3) << FShft(DMCTRL_MEM_REF))
511 #define Dmctrl_Uv_Thrhld(x) ((x) << FShft(DMCTRL_UV_THRHLD))
513 #define Dmctrl_V_Thrhld(x) ((x) << FShft(DMCTRL_V_THRHLD))
515 #define Dmctrl_D_Thrhld(x) ((x) << FShft(DMCTRL_D_THRHLD))
517 #define Dmctrl_Burstlen(x) ((x) << FShft(DMCTRL_BURSTLEN))
574 #define Dllctrl_Rld_Adrln(x) ((x) << FShft(DLLCTRL_RLD_ADRLN))
578 #define Clipctrl_Hskip ((x) << FShft(CLIPCTRL_HSKIP))
580 #define Clipctrl_Vskip ((x) << FShft(CLIPCTRL_VSKIP))
588 #define SPOCTRL_VORDER_1TAP ((0x0) << FShft(SPOCTRL_VORDER))
589 #define SPOCTRL_VORDER_2TAP ((0x1) << FShft(SPOCTRL_VORDER))
590 #define SPOCTRL_VORDER_4TAP ((0x3) << FShft(SPOCTRL_VORDER))
592 #define Spoctrl_Vpitch(x) ((x) << FShft(SPOCTRL_VPITCH))
596 #define Svctrl_Initial1(x) ((x) << FShft(SVCTRL_INITIAL1))
598 #define Svctrl_Initial2(x) ((x) << FShft(SVCTRL_INITIAL2))
602 #define Shctrl_Hinitial(x) ((x) << FShft(SHCTRL_HINITIAL))
605 #define Shctrl_Hpitch(x) ((x) << FShft(SHCTRL_HPITCH))
609 #define Sssize_Sc_Width(x) ((x) << FShft(SSSIZE_SC_WIDTH))
611 #define Sssize_Sc_Height(x) ((x) << FShft(SSSIZE_SC_HEIGHT))