Home
last modified time | relevance | path

Searched refs:cluster (Results 1 - 9 of 9) sorted by relevance

/device/soc/rockchip/common/vendor/drivers/cpufreq/
H A Drockchip-cpufreq.c302 struct cluster_info *cluster; in rockchip_cluster_info_lookup() local
304 list_for_each_entry(cluster, &cluster_info_list, list_head) in rockchip_cluster_info_lookup()
306 if (cpumask_test_cpu(cpu, &cluster->cpus)) { in rockchip_cluster_info_lookup()
307 return cluster; in rockchip_cluster_info_lookup()
341 struct cluster_info *cluster; in cpu_opp_helper() local
347 cluster = rockchip_cluster_info_lookup(dev->id); in cpu_opp_helper()
348 if (!cluster) { in cpu_opp_helper()
351 opp_info = &cluster->opp_info; in cpu_opp_helper()
408 static int rockchip_cpufreq_cluster_init(int cpu, struct cluster_info *cluster) in rockchip_cpufreq_cluster_init() argument
410 struct rockchip_opp_info *opp_info = &cluster in rockchip_cpufreq_cluster_init()
500 struct cluster_info *cluster; rockchip_cpufreq_adjust_power_scale() local
514 struct cluster_info *cluster; rockchip_cpufreq_opp_set_rate() local
546 struct cluster_info *cluster; rockchip_cpufreq_notifier() local
597 struct cluster_info *cluster, *pos; rockchip_cpufreq_driver_init() local
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/cpufreq/
H A Drockchip-cpufreq.c316 struct cluster_info *cluster; in rockchip_cluster_info_lookup() local
318 list_for_each_entry(cluster, &cluster_info_list, list_head) { in rockchip_cluster_info_lookup()
319 if (cpumask_test_cpu(cpu, &cluster->cpus)) in rockchip_cluster_info_lookup()
320 return cluster; in rockchip_cluster_info_lookup()
378 struct cluster_info *cluster; in cpu_opp_helper() local
384 cluster = rockchip_cluster_info_lookup(dev->id); in cpu_opp_helper()
385 if (!cluster) in cpu_opp_helper()
387 opp_info = &cluster->opp_info; in cpu_opp_helper()
449 static int rockchip_cpufreq_cluster_init(int cpu, struct cluster_info *cluster) in rockchip_cpufreq_cluster_init() argument
451 struct rockchip_opp_info *opp_info = &cluster in rockchip_cpufreq_cluster_init()
545 struct cluster_info *cluster; rockchip_cpufreq_adjust_power_scale() local
558 struct cluster_info *cluster; rockchip_cpufreq_opp_set_rate() local
589 struct cluster_info *cluster; rockchip_cpufreq_notifier() local
637 struct cluster_info *cluster, *pos; rockchip_cpufreq_driver_init() local
[all...]
/device/soc/rockchip/common/sdk_linux/kernel/sched/
H A Dsched.h1103 struct sched_cluster *cluster; member
2785 static inline int cluster_first_cpu(struct sched_cluster *cluster) in cluster_first_cpu() argument
2787 return cpumask_first(&cluster->cpus); in cluster_first_cpu()
2793 #define for_each_sched_cluster(cluster) list_for_each_entry_rcu(cluster, &cluster_head, list)
2858 return cpu_rq(cpu)->cluster->capacity; in cpu_capacity()
2863 return cpu_rq(cpu)->cluster->max_possible_capacity; in cpu_max_possible_capacity()
2868 return cpu_rq(cpu)->cluster->load_scale_factor; in cpu_load_scale_factor()
2871 static inline unsigned int cluster_max_freq(struct sched_cluster *cluster) in cluster_max_freq() argument
2875 * voting. So struct cluster save in cluster_max_freq()
2905 load_scale_cpu_efficiency(struct sched_cluster *cluster) load_scale_cpu_efficiency() argument
2915 load_scale_cpu_freq(struct sched_cluster *cluster) load_scale_cpu_freq() argument
2920 compute_load_scale_factor(struct sched_cluster *cluster) compute_load_scale_factor() argument
2953 capacity_scale_cpu_efficiency(struct sched_cluster *cluster) capacity_scale_cpu_efficiency() argument
2962 capacity_scale_cpu_freq(struct sched_cluster *cluster) capacity_scale_cpu_freq() argument
2967 compute_capacity(struct sched_cluster *cluster) compute_capacity() argument
[all...]
H A Dfair.c6970 * but that could also hurt our chances to go cluster idle, and we have no
6973 * cluster-packing, and spreading inside a cluster. That should at least be
8050 if (env->flags & LBF_IGNORE_PREFERRED_CLUSTER_TASKS && !preferred_cluster(cpu_rq(env->dst_cpu)->cluster, p)) { in can_migrate_task()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop2.c65 if ((win)->regs->cluster) \
66 REG_SET(x, name, 0, (win)->regs->cluster->name, v, true); \
295 * This is for cluster window
297 * A cluster window can split as two windows:
337 * @win_id: graphic window id, a cluster maybe split into two
926 * include the sub win of a cluster or the multi area) that can do
2067 * 1: half mode, for cluster work at 2 * 2048 plane mode
3540 /* check for cluster splice scale down */ in vop2_plane_splice_check()
3668 * This is special feature at rk356x, the cluster layer only can support in vop2_plane_atomic_check()
6475 static void vop2_setup_cluster_alpha(struct vop2 *vop2, struct vop2_cluster *cluster) in vop2_setup_cluster_alpha() argument
6930 struct vop2_cluster cluster; vop2_crtc_atomic_begin() local
[all...]
H A Drockchip_vop2_reg.c1489 .cluster = &rk3568_vop_cluster0,
1512 .cluster = &rk3568_vop_cluster1,
1535 .cluster = &rk3588_vop_cluster2,
1557 .cluster = &rk3588_vop_cluster3,
1602 * rk3568 vop with 2 cluster, 2 esmart win, 2 smart win.
1603 * Every cluster can work as 4K win or split into two win.
1604 * All win in cluster support AFBCD.
1985 * rk3588 vop with 4 cluster, 4 esmart win.
1986 * Every cluster can work as 4K win or split into two win.
1987 * All win in cluster suppor
[all...]
H A Drockchip_drm_vop.h561 const struct vop2_cluster_regs *cluster; member
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop2.c67 if (win->regs->cluster) \
68 REG_SET(x, name, 0, win->regs->cluster->name, v, true); \
311 * This is for cluster window
313 * A cluster window can split as two windows:
353 * @win_id: graphic window id, a cluster maybe split into two
947 * include the sub win of a cluster or the multi area) that can do
2065 * 1: half mode, for cluster work at 2 * 2048 plane mode
3548 /* check for cluster splice scale down */ in vop2_plane_splice_check()
3678 * This is special feature at rk356x, the cluster layer only can support in vop2_plane_atomic_check()
6517 static void vop2_setup_cluster_alpha(struct vop2 *vop2, struct vop2_cluster *cluster) in vop2_setup_cluster_alpha() argument
7034 struct vop2_cluster cluster; vop2_crtc_atomic_begin() local
[all...]
H A Drockchip_vop2_reg.c1697 .cluster = &rk3568_vop_cluster0,
1720 .cluster = &rk3568_vop_cluster1,
1743 .cluster = &rk3588_vop_cluster2,
1765 .cluster = &rk3588_vop_cluster3,
1810 * rk3568 vop with 2 cluster, 2 esmart win, 2 smart win.
1811 * Every cluster can work as 4K win or split into two win.
1812 * All win in cluster support AFBCD.
2195 * rk3588 vop with 4 cluster, 4 esmart win.
2196 * Every cluster can work as 4K win or split into two win.
2197 * All win in cluster suppor
[all...]

Completed in 49 milliseconds