Home
last modified time | relevance | path

Searched refs:rockchip_soc_id (Results 1 – 6 of 6) sorted by relevance

/device/soc/rockchip/rk3588/kernel/include/linux/rockchip/
Dcpu.h31 extern unsigned long rockchip_soc_id;
38 return (rockchip_soc_id & ROCKCHIP_CPU_VERION_MASK) in rockchip_get_cpu_version()
44 rockchip_soc_id &= ~ROCKCHIP_CPU_VERION_MASK; in rockchip_set_cpu_version()
45 rockchip_soc_id |= in rockchip_set_cpu_version()
54 rockchip_soc_id &= ~ROCKCHIP_CPU_MASK; in rockchip_set_cpu()
55 rockchip_soc_id |= (code << ROCKCHIP_CPU_SHIFT) & ROCKCHIP_CPU_MASK; in rockchip_set_cpu()
62 #define rockchip_soc_id 0 macro
87 if (rockchip_soc_id) in cpu_is_rv1109()
88 return (rockchip_soc_id & ROCKCHIP_CPU_MASK) == ROCKCHIP_CPU_RV1109; in cpu_is_rv1109()
94 if (rockchip_soc_id) in cpu_is_rv1126()
[all …]
/device/soc/rockchip/common/sdk_linux/include/linux/rockchip/
Dcpu.h31 extern unsigned long rockchip_soc_id;
38 return (rockchip_soc_id & ROCKCHIP_CPU_VERION_MASK) >> ROCKCHIP_CPU_VERION_SHIFT; in rockchip_get_cpu_version()
43 rockchip_soc_id &= ~ROCKCHIP_CPU_VERION_MASK; in rockchip_set_cpu_version()
44 rockchip_soc_id |= (ver << ROCKCHIP_CPU_VERION_SHIFT) & ROCKCHIP_CPU_VERION_MASK; in rockchip_set_cpu_version()
53 rockchip_soc_id &= ~ROCKCHIP_CPU_MASK; in rockchip_set_cpu()
54 rockchip_soc_id |= (code << ROCKCHIP_CPU_SHIFT) & ROCKCHIP_CPU_MASK; in rockchip_set_cpu()
58 #define rockchip_soc_id 0 macro
77 if (rockchip_soc_id) { in cpu_is_rv1109()
78 return (rockchip_soc_id & ROCKCHIP_CPU_MASK) == ROCKCHIP_CPU_RV1109; in cpu_is_rv1109()
85 if (rockchip_soc_id) { in cpu_is_rv1126()
[all …]
/device/board/isoftstone/yangfan/kernel/src/incl/linux/current/rockchip/
Dcpu.h23 extern unsigned long rockchip_soc_id;
30 return (rockchip_soc_id & ROCKCHIP_CPU_VERION_MASK) in rockchip_get_cpu_version()
36 rockchip_soc_id &= ~ROCKCHIP_CPU_VERION_MASK; in rockchip_set_cpu_version()
37 rockchip_soc_id |= in rockchip_set_cpu_version()
46 rockchip_soc_id &= ~ROCKCHIP_CPU_MASK; in rockchip_set_cpu()
47 rockchip_soc_id |= (code << ROCKCHIP_CPU_SHIFT) & ROCKCHIP_CPU_MASK; in rockchip_set_cpu()
51 #define rockchip_soc_id 0 macro
70 if (rockchip_soc_id) \
71 return ((rockchip_soc_id & ROCKCHIP_SOC_MASK) == ROCKCHIP_SOC_ ##ID); \
/device/soc/rockchip/common/vendor/drivers/rockchip/
Drockchip-cpuinfo.c24 unsigned long rockchip_soc_id; variable
25 EXPORT_SYMBOL(rockchip_soc_id);
90 dev_info(dev, "SoC\t\t: %lx\n", rockchip_soc_id); in rockchip_cpuinfo_probe()
121 rockchip_soc_id = ROCKCHIP_SOC_RV1109; in rv1109_init()
126 rockchip_soc_id = ROCKCHIP_SOC_RV1126; in rv1126_init()
133 rockchip_soc_id = ROCKCHIP_SOC_RK3288; in rk3288_init()
139 rockchip_soc_id = ROCKCHIP_SOC_RK3288W; in rk3288_init()
149 rockchip_soc_id = ROCKCHIP_SOC_RK3126; in rk3126_init()
157 rockchip_soc_id = ROCKCHIP_SOC_RK3126C; in rk3126_init()
159 rockchip_soc_id = ROCKCHIP_SOC_RK3126B; in rk3126_init()
[all …]
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/
Drockchip-cpuinfo.c24 unsigned long rockchip_soc_id; variable
25 EXPORT_SYMBOL(rockchip_soc_id);
84 dev_info(dev, "SoC\t\t: %lx\n", rockchip_soc_id); in rockchip_cpuinfo_probe()
113 rockchip_soc_id = ROCKCHIP_SOC_RV1109; in rv1109_init()
118 rockchip_soc_id = ROCKCHIP_SOC_RV1126; in rv1126_init()
125 rockchip_soc_id = ROCKCHIP_SOC_RK3288; in rk3288_init()
131 rockchip_soc_id = ROCKCHIP_SOC_RK3288W; in rk3288_init()
140 rockchip_soc_id = ROCKCHIP_SOC_RK3126; in rk3126_init()
148 rockchip_soc_id = ROCKCHIP_SOC_RK3126C; in rk3126_init()
150 rockchip_soc_id = ROCKCHIP_SOC_RK3126B; in rk3126_init()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/soc/
Drockchip-cpuinfo.c24 unsigned long rockchip_soc_id; variable
25 EXPORT_SYMBOL(rockchip_soc_id);
84 dev_info(dev, "SoC\t\t: %lx\n", rockchip_soc_id); in rockchip_cpuinfo_probe()