Home
last modified time | relevance | path

Searched refs:gcfg (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/video/fbdev/geode/
Ddisplay_gx1.c84 u32 gcfg, tcfg, ocfg, dclk_div, val; in gx1_set_mode() local
92 gcfg = readl(par->dc_regs + DC_GENERAL_CFG); in gx1_set_mode()
103 gcfg &= ~(DC_GCFG_DFLE | DC_GCFG_CMPE | DC_GCFG_DECE); in gx1_set_mode()
104 writel(gcfg, par->dc_regs + DC_GENERAL_CFG); in gx1_set_mode()
107 gcfg &= ~DC_GCFG_DCLK_MASK; in gx1_set_mode()
108 writel(gcfg, par->dc_regs + DC_GENERAL_CFG); in gx1_set_mode()
113 gcfg |= dclk_div; in gx1_set_mode()
114 writel(gcfg, par->dc_regs + DC_GENERAL_CFG); in gx1_set_mode()
126 gcfg = DC_GCFG_VRDY | dclk_div; in gx1_set_mode()
130 gcfg |= (6 << DC_GCFG_DFHPEL_POS) | (5 << DC_GCFG_DFHPSL_POS) | DC_GCFG_DFLE; in gx1_set_mode()
[all …]
Ddisplay_gx.c64 u32 gcfg, dcfg; in gx_set_mode() local
71 gcfg = read_dc(par, DC_GENERAL_CFG); in gx_set_mode()
82 gcfg &= ~(DC_GENERAL_CFG_DFLE | DC_GENERAL_CFG_CMPE | in gx_set_mode()
84 write_dc(par, DC_GENERAL_CFG, gcfg); in gx_set_mode()
94 gcfg &= DC_GENERAL_CFG_YUVM | DC_GENERAL_CFG_VDSE; in gx_set_mode()
99 gcfg |= (6 << DC_GENERAL_CFG_DFHPEL_SHIFT) | in gx_set_mode()
163 write_dc(par, DC_GENERAL_CFG, gcfg); in gx_set_mode()
Dlxfb_ops.c187 unsigned int val, gcfg; in lx_graphics_disable() local
225 gcfg = read_dc(par, DC_GENERAL_CFG); in lx_graphics_disable()
226 gcfg &= ~(DC_GENERAL_CFG_CMPE | DC_GENERAL_CFG_DECE); in lx_graphics_disable()
227 write_dc(par, DC_GENERAL_CFG, gcfg); in lx_graphics_disable()
239 gcfg &= ~DC_GENERAL_CFG_DFLE; in lx_graphics_disable()
240 write_dc(par, DC_GENERAL_CFG, gcfg); in lx_graphics_disable()
352 unsigned int gcfg, dcfg; in lx_set_mode() local
436 gcfg = DC_GENERAL_CFG_DFLE; /* Display fifo enable */ in lx_set_mode()
437 gcfg |= (0x6 << DC_GENERAL_CFG_DFHPSL_SHIFT) | /* default priority */ in lx_set_mode()
439 gcfg |= DC_GENERAL_CFG_FDTY; /* Set the frame dirty mode */ in lx_set_mode()
[all …]
/Linux-v4.19/drivers/clk/
Dclk-stm32h7.c359 static void get_cfg_composite_div(const struct composite_clk_gcfg *gcfg, in get_cfg_composite_div() argument
374 if (gcfg->mux && cfg->mux) { in get_cfg_composite_div()
378 gcfg->mux->flags, lock); in get_cfg_composite_div()
382 mux_ops = gcfg->mux->ops ? in get_cfg_composite_div()
383 gcfg->mux->ops : &clk_mux_ops; in get_cfg_composite_div()
387 if (gcfg->div && cfg->div) { in get_cfg_composite_div()
391 gcfg->div->flags, lock); in get_cfg_composite_div()
395 div_ops = gcfg->div->ops ? in get_cfg_composite_div()
396 gcfg->div->ops : &clk_divider_ops; in get_cfg_composite_div()
400 if (gcfg->gate && cfg->gate) { in get_cfg_composite_div()
[all …]
/Linux-v4.19/drivers/net/ethernet/sun/
Dsunhme.c1584 u32 gcfg = GREG_CFG_BURST64; in happy_meal_init() local
1596 gcfg |= GREG_CFG_64BIT; in happy_meal_init()
1602 hme_write32(hp, gregs + GREG_CFG, gcfg); in happy_meal_init()