Lines Matching +full:abs +full:- +full:flat
1 // SPDX-License-Identifier: GPL-2.0-or-later
136 min = abs(pll_table[0].pixclock - info->var.pixclock); in gx_set_dclk_frequency()
138 diff = abs(pll_table[i].pixclock - info->var.pixclock); in gx_set_dclk_frequency()
171 } while (timeout-- && !(dotpll & MSR_GLCP_DOTPLL_LOCK)); in gx_set_dclk_frequency()
177 struct gxfb_par *par = info->par; in gx_configure_tft()
198 fp |= info->var.yres << FP_PT1_VSIZE_SHIFT; in gx_configure_tft()
208 if (!(info->var.sync & FB_SYNC_VERT_HIGH_ACT)) in gx_configure_tft()
211 if (!(info->var.sync & FB_SYNC_HOR_HIGH_ACT)) in gx_configure_tft()
234 struct gxfb_par *par = info->par; in gx_configure_display()
260 if (par->enable_crt) { in gx_configure_display()
269 if (!(info->var.sync & FB_SYNC_HOR_HIGH_ACT)) in gx_configure_display()
271 if (!(info->var.sync & FB_SYNC_VERT_HIGH_ACT)) in gx_configure_display()
288 /* Set up the flat panel (if it is enabled) */ in gx_configure_display()
290 if (par->enable_crt == 0) in gx_configure_display()
296 struct gxfb_par *par = info->par; in gx_blank_display()
318 return -EINVAL; in gx_blank_display()
333 /* Power on/off flat panel. */ in gx_blank_display()
335 if (par->enable_crt == 0) { in gx_blank_display()