Home
last modified time | relevance | path

Searched refs:dev_type (Results 1 – 4 of 4) sorted by relevance

/rk3399_ARM-atf/plat/mediatek/drivers/apusys/mt8196/
H A Dapusys_security_ctrl_perm_plat.c36 int sec_get_dns(enum apusys_dev_type dev_type, enum apusys_sec_level sec_level, in sec_get_dns() argument
39 if ((dev_type < 0) || (dev_type >= APUSYS_DEVICE_NUM)) { in sec_get_dns()
40 ERROR("invalid dev type %d\n", dev_type); in sec_get_dns()
55 switch (dev_type) { in sec_get_dns()
69 ERROR("invalid dev type %d\n", dev_type); in sec_get_dns()
/rk3399_ARM-atf/plat/mediatek/drivers/cpu_pm/cpcv5_4/
H A Dmt_cpu_pm_cpc.c363 uint64_t mtk_cpc_prof_read(unsigned int prof_act, unsigned int dev_type) in mtk_cpc_prof_read() argument
368 if (dev_type >= DEV_TYPE_NUM) in mtk_cpc_prof_read()
371 lat_data = &cpc_dev.p[dev_type]; in mtk_cpc_prof_read()
624 void mtk_cpu_pm_save_cpc_latency(enum dev_type dev_type) in mtk_cpu_pm_save_cpc_latency() argument
634 if (dev_type < DEV_TYPE_CPUSYS) { in mtk_cpu_pm_save_cpc_latency()
635 lat = mmio_read_32(CPC_CPU_ON_LATENCY(dev_type)); in mtk_cpu_pm_save_cpc_latency()
637 lat = mmio_read_32(CPC_CPU_OFF_LATENCY(dev_type)); in mtk_cpu_pm_save_cpc_latency()
639 lat_data = &cpc_dev.cpu[dev_type]; in mtk_cpu_pm_save_cpc_latency()
640 } else if (dev_type == DEV_TYPE_CPUSYS) { in mtk_cpu_pm_save_cpc_latency()
646 } else if (dev_type == DEV_TYPE_MCUSYS) { in mtk_cpu_pm_save_cpc_latency()
H A Dmt_cpu_pm_cpc.h94 enum dev_type { enum
139 void mtk_cpu_pm_save_cpc_latency(enum dev_type dev_type);
/rk3399_ARM-atf/plat/mediatek/drivers/apusys/security_ctrl/
H A Dapusys_security_ctrl_perm.h21 int sec_get_dns(enum apusys_dev_type dev_type, enum apusys_sec_level sec_level,