Searched refs:POW2 (Results 1 – 2 of 2) sorted by relevance
398 if (var->xres > POW2(11) || yDim >= POW2(11)) { in sstfb_check_var()404 if (var->hsync_len > POW2(9) || hSyncOff > POW2(11) || in sstfb_check_var()405 var->left_margin - 2 >= POW2(9) || vSyncOn >= POW2(13) || in sstfb_check_var()406 vSyncOff >= POW2(13) || vBackPorch >= POW2(9) || in sstfb_check_var()407 tiles_in_X >= POW2(6) || tiles_in_X <= 0) { in sstfb_check_var()420 if (var->xres > POW2(10) || var->yres >= POW2(10)) { in sstfb_check_var()425 if (var->hsync_len > POW2(8) || hSyncOff - 1 > POW2(10) || in sstfb_check_var()426 var->left_margin - 2 >= POW2(8) || vSyncOn >= POW2(12) || in sstfb_check_var()427 vSyncOff >= POW2(12) || vBackPorch >= POW2(8) || in sstfb_check_var()428 tiles_in_X >= POW2(4) || tiles_in_X <= 0) { in sstfb_check_var()
15 #define POW2(x) (1 << (x)) macro18 #define MAX_NUM_TILE_COLS POW2(MAX_LOG2_TILE_COLUMNS)