void OVLDeInit(DISP_MODULE_ENUM module,void * handle) { int idx = ovl_index(module); DDPMSG("OVL%dDeInit close CG \n",idx); ddp_disable_module_clock(module); return; }
static int RDMADeInit(DISP_MODULE_ENUM module,void * handle) { unsigned int idx = rdma_index(module); DDPMSG("RDMA%dDeinit\n",idx); ddp_disable_module_clock(module); return 0; }
void OVLClockOff(DISP_MODULE_ENUM module,void * handle) { int idx = ovl_index(module); DDPMSG("OVL%dClockOff\n",idx); //store registers // OVLRegRestore(module,handle); DISP_REG_SET(handle, idx * DISP_INDEX_OFFSET + DISP_REG_OVL_EN, 0x00); OVLReset(module,handle); DISP_REG_SET(handle,idx*DISP_INDEX_OFFSET+DISP_REG_OVL_INTEN, 0x00); DISP_REG_SET(handle, idx * DISP_INDEX_OFFSET + DISP_REG_OVL_INTSTA, 0x00); ddp_disable_module_clock(module); return; }
static int ufoe_deinit(DISP_MODULE_ENUM module,void * handle) { ddp_disable_module_clock(module); return 0; }
static int ufoe_clock_off(DISP_MODULE_ENUM module,void * handle) { ddp_disable_module_clock(module); DDPMSG("ufoe_clock off CG 0x%x \n", DISP_REG_GET(DISP_REG_CONFIG_MMSYS_CG_CON0)); return 0; }