Example #1
0
static void tve_clk_disable(u32 sel)
{
	char clk[20] = {0};

	if(SCREEN_COUNT <= sel)
		sel = sel-1;
	sprintf(clk, "tve%d", sel);
	disp_sys_clk_disable("tve");
}
Example #2
0
static s32 tv_clk_disable(struct disp_device*  ptv)
{
	struct disp_device_private_data *ptvp = disp_tv_get_priv(ptv);
	if(!ptv || !ptvp) {
	    DE_WRN("tv init null hdl!\n");
	    return DIS_FAIL;
	}
	return disp_sys_clk_disable(ptvp->clk);
}
Example #3
0
static s32 vdevice_clk_disable(struct disp_device *vdevice)
{
	struct disp_vdevice_private_data *vdevicep = disp_vdevice_get_priv(vdevice);
	if(!vdevice || !vdevicep) {
	    DE_WRN("null hdl!\n");
	    return DIS_FAIL;
	}

	disp_sys_clk_disable(vdevicep->clk);

	return 0;
}
Example #4
0
static s32 hdmi_clk_disable(struct disp_device *hdmi)
{
	struct disp_device_private_data *hdmip = disp_hdmi_get_priv(hdmi);
	if(!hdmi || !hdmip) {
	    DE_WRN("hdmi clk init null hdl!\n");
	    return DIS_FAIL;
	}

	disp_sys_clk_disable(hdmip->clk);

	return 0;
}