Exemplo n.º 1
0
static int rk616_lvds_init_cfg(struct mfd_rk616 *rk616,rk_screen *screen)
{
	int ret ;
	ret = rk616_display_router_cfg(rk616,screen,0);
	ret = rk616_lvds_cfg(rk616,screen);
	return ret;
}
Exemplo n.º 2
0
int rk616_scaler_set_param(rk_screen *screen,bool enable )//enable:0 bypass 1: scale

{
	int ret;
	struct mfd_rk616 *rk616 = g_lvds->rk616;
	if(!rk616)
	{
		printk(KERN_ERR "%s:mfd rk616 is null!\n",__func__);
		return -1;
	}
	ret = rk616_display_router_cfg(rk616,screen,enable);
	ret = rk616_lvds_cfg(rk616,screen);
	return ret;
}
Exemplo n.º 3
0
static void rk616_lvds_late_resume(struct early_suspend *h)
{
	struct rk616_lvds *lvds = container_of(h, struct rk616_lvds,early_suspend);
	struct mfd_rk616 *rk616 = lvds->rk616;
	rk616_lvds_cfg(rk616,lvds->screen);
}