Lines Matching refs:r
79 #define _SCALER_HCOEF_DELTA(r, c) ((r) * 0x10 + (c) * 0x4) argument
80 #define _SCALER_VCOEF_DELTA(r, c) ((r) * 0x8 + (c) * 0x4) argument
82 #define SCALER_YHCOEF(r, c) (0x60 + _SCALER_HCOEF_DELTA((r), (c))) argument
83 #define SCALER_YVCOEF(r, c) (0xf0 + _SCALER_VCOEF_DELTA((r), (c))) argument
84 #define SCALER_CHCOEF(r, c) (0x140 + _SCALER_HCOEF_DELTA((r), (c))) argument
85 #define SCALER_CVCOEF(r, c) (0x1d0 + _SCALER_VCOEF_DELTA((r), (c))) argument
205 #define SCALER_SRC_CFG_GET_BYTE_SWAP(r) SCALER_GET(r, 6, 5) argument
207 #define SCALER_SRC_CFG_GET_COLOR_FORMAT(r) SCALER_GET(r, 4, 0) argument
231 #define SCALER_SRC_SPAN_GET_C_SPAN(r) SCALER_GET(r, 29, 16) argument
233 #define SCALER_SRC_SPAN_GET_Y_SPAN(r) SCALER_GET(r, 13, 0) argument
237 #define SCALER_SRC_Y_POS_GET_YH_POS(r) SCALER_GET(r, 31, 16) argument
239 #define SCALER_SRC_Y_POS_GET_YV_POS(r) SCALER_GET(r, 15, 0) argument
243 #define SCALER_SRC_WH_GET_WIDTH(r) SCALER_GET(r, 29, 16) argument
245 #define SCALER_SRC_WH_GET_HEIGHT(r) SCALER_GET(r, 13, 0) argument
249 #define SCALER_SRC_C_POS_GET_CH_POS(r) SCALER_GET(r, 31, 16) argument
251 #define SCALER_SRC_C_POS_GET_CV_POS(r) SCALER_GET(r, 15, 0) argument
255 #define SCALER_DST_CFG_GET_BYTE_SWAP(r) SCALER_GET(r, 6, 5) argument
257 #define SCALER_DST_CFG_GET_COLOR_FORMAT(r) SCALER_GET(r, 4, 0) argument
261 #define SCALER_DST_SPAN_GET_C_SPAN(r) SCALER_GET(r, 29, 16) argument
263 #define SCALER_DST_SPAN_GET_Y_SPAN(r) SCALER_GET(r, 13, 0) argument
267 #define SCALER_DST_WH_GET_WIDTH(r) SCALER_GET(r, 29, 16) argument
269 #define SCALER_DST_WH_GET_HEIGHT(r) SCALER_GET(r, 13, 0) argument
273 #define SCALER_DST_POS_GET_H_POS(r) SCALER_GET(r, 29, 16) argument
275 #define SCALER_DST_POS_GET_V_POS(r) SCALER_GET(r, 13, 0) argument
279 #define SCALER_H_RATIO_GET(r) SCALER_GET(r, 18, 0) argument
283 #define SCALER_V_RATIO_GET(r) SCALER_GET(r, 18, 0) argument
289 #define SCALER_ROT_CFG_GET_ROTMODE(r) SCALER_GET(r, 1, 0) argument
297 #define SCALER_COEF_GET(r, i) \ argument
298 (((r) >> SCALER_COEF_SHIFT(i)) & 0x1ff)
303 #define SCALER_CSC_COEF_GET(r) SCALER_GET(r, 11, 0) argument
307 #define SCALER_DITH_CFG_GET_R_TYPE(r) SCALER_GET(r, 8, 6) argument
309 #define SCALER_DITH_CFG_GET_G_TYPE(r) SCALER_GET(r, 5, 3) argument
311 #define SCALER_DITH_CFG_GET_B_TYPE(r) SCALER_GET(r, 2, 0) argument
315 #define SCALER_TIMEOUT_CTRL_GET_TIMER_VALUE(r) SCALER_GET(r, 31, 16) argument
317 #define SCALER_TIMEOUT_CTRL_GET_TIMER_DIV(r) SCALER_GET(r, 7, 4) argument
322 #define SCALER_TIMEOUT_CTRL_GET_TIMER_COUNT(r) SCALER_GET(r, 31, 16) argument
326 #define SCALER_SRC_BLEND_COLOR_GET_SEL(r) SCALER_GET(r, 30, 29) argument
329 #define SCALER_SRC_BLEND_COLOR_GET_OP_SEL(r) SCALER_GET(r, 27, 24) argument
331 #define SCALER_SRC_BLEND_COLOR_GET_COLOR0(r) SCALER_GET(r, 23, 16) argument
333 #define SCALER_SRC_BLEND_COLOR_GET_COLOR1(r) SCALER_GET(r, 15, 8) argument
335 #define SCALER_SRC_BLEND_COLOR_GET_COLOR2(r) SCALER_GET(r, 7, 0) argument
340 #define SCALER_SRC_BLEND_ALPHA_GET_SEL(r) SCALER_GET(r, 30, 29) argument
343 #define SCALER_SRC_BLEND_ALPHA_GET_OP_SEL(r) SCALER_GET(r, 27, 24) argument
345 #define SCALER_SRC_BLEND_ALPHA_GET_ALPHA(r) SCALER_GET(r, 7, 0) argument
350 #define SCALER_DST_BLEND_COLOR_GET_SEL(r) SCALER_GET(r, 30, 29) argument
353 #define SCALER_DST_BLEND_COLOR_GET_OP_SEL(r) SCALER_GET(r, 27, 24) argument
355 #define SCALER_DST_BLEND_COLOR_GET_COLOR0(r) SCALER_GET(r, 23, 16) argument
357 #define SCALER_DST_BLEND_COLOR_GET_COLOR1(r) SCALER_GET(r, 15, 8) argument
359 #define SCALER_DST_BLEND_COLOR_GET_COLOR2(r) SCALER_GET(r, 7, 0) argument
364 #define SCALER_DST_BLEND_ALPHA_GET_SEL(r) SCALER_GET(r, 30, 29) argument
367 #define SCALER_DST_BLEND_ALPHA_GET_OP_SEL(r) SCALER_GET(r, 27, 24) argument
369 #define SCALER_DST_BLEND_ALPHA_GET_ALPHA(r) SCALER_GET(r, 7, 0) argument
373 #define SCALER_FILL_COLOR_GET_ALPHA(r) SCALER_GET(r, 31, 24) argument
375 #define SCALER_FILL_COLOR_GET_FILL_COLOR0(r) SCALER_GET(r, 23, 16) argument
377 #define SCALER_FILL_COLOR_GET_FILL_COLOR1(r) SCALER_GET(r, 15, 8) argument
379 #define SCALER_FILL_COLOR_GET_FILL_COLOR2(r) SCALER_GET(r, 7, 0) argument
388 #define SCALER_SRC_ADDR_Q_STATUS_GET_Y_WR_IDX(r) SCALER_GET(r, 21, 16) argument
391 #define SCALER_SRC_ADDR_Q_STATUS_GET_CB_WR_IDX(r) SCALER_GET(r, 13, 8) argument
394 #define SCALER_SRC_ADDR_Q_STATUS_GET_CR_WR_IDX(r) SCALER_GET(r, 5, 0) argument
399 #define SCALER_DST_ADDR_Q_STATUS_GET_Y_WR_IDX(r) SCALER_GET(r, 21, 16) argument
402 #define SCALER_DST_ADDR_Q_STATUS_GET_CB_WR_IDX(r) SCALER_GET(r, 13, 8) argument
405 #define SCALER_DST_ADDR_Q_STATUS_GET_CR_WR_IDX(r) SCALER_GET(r, 5, 0) argument
408 #define SCALER_CRC_COLOR00_10_GET_00(r) SCALER_GET(r, 31, 16) argument
409 #define SCALER_CRC_COLOR00_10_GET_10(r) SCALER_GET(r, 15, 0) argument
412 #define SCALER_CRC_COLOR20_30_GET_20(r) SCALER_GET(r, 31, 16) argument
413 #define SCALER_CRC_COLOR20_30_GET_30(r) SCALER_GET(r, 15, 0) argument
416 #define SCALER_CRC_COLOR01_11_GET_01(r) SCALER_GET(r, 31, 16) argument
417 #define SCALER_CRC_COLOR01_11_GET_11(r) SCALER_GET(r, 15, 0) argument
420 #define SCALER_CRC_COLOR21_31_GET_21(r) SCALER_GET(r, 31, 16) argument
421 #define SCALER_CRC_COLOR21_31_GET_31(r) SCALER_GET(r, 15, 0) argument