Home
last modified time | relevance | path

Searched refs:POW2 (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/video/fbdev/
H A Dsstfb.c398 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()
/openbmc/linux/arch/ia64/mm/
H A Dinit.c345 # define POW2(n) (1ULL << (n)) in ia64_mmu_init() macro
365 pta = POW2(61) - POW2(vmlpt_bits); in ia64_mmu_init()
/openbmc/linux/drivers/media/platform/verisilicon/
H A Dhantro_vp9.c15 #define POW2(x) (1 << (x)) macro
18 #define MAX_NUM_TILE_COLS POW2(MAX_LOG2_TILE_COLUMNS)
/openbmc/linux/include/video/
H A Dsstfb.h72 #define POW2(x) (1ul<<(x)) macro