Home
last modified time | relevance | path

Searched refs:cluster (Results 1 – 25 of 671) sorted by relevance

12345678910>>...27

/external/arm-trusted-firmware/plat/hisilicon/hikey960/drivers/pwrc/
Dhisi_pwrc.c40 #define CPUIDLE_FLAG_REG(cluster) \ argument
41 ((cluster == 0) ? REG_SCBAKDATA8_OFFSET : \
95 static void hisi_cpuhotplug_lock(unsigned int cluster, unsigned int core) in hisi_cpuhotplug_lock() argument
99 lock_id = (cluster << 2) + core; in hisi_cpuhotplug_lock()
104 static void hisi_cpuhotplug_unlock(unsigned int cluster, unsigned int core) in hisi_cpuhotplug_unlock() argument
108 lock_id = (cluster << 2) + core; in hisi_cpuhotplug_unlock()
114 void hisi_cpuidle_lock(unsigned int cluster, unsigned int core) in hisi_cpuidle_lock() argument
116 unsigned int offset = (cluster == 0 ? RES0_LOCK_BASE : RES1_LOCK_BASE); in hisi_cpuidle_lock()
122 void hisi_cpuidle_unlock(unsigned int cluster, unsigned int core) in hisi_cpuidle_unlock() argument
124 unsigned int offset = (cluster == 0 ? RES0_LOCK_BASE : RES1_LOCK_BASE); in hisi_cpuidle_unlock()
[all …]
Dhisi_pwrc.h33 void hisi_cpuidle_lock(unsigned int cluster, unsigned int core);
34 void hisi_cpuidle_unlock(unsigned int cluster, unsigned int core);
35 void hisi_set_cpuidle_flag(unsigned int cluster, unsigned int core);
36 void hisi_clear_cpuidle_flag(unsigned int cluster, unsigned int core);
37 void hisi_set_cpu_boot_flag(unsigned int cluster, unsigned int core);
38 void hisi_clear_cpu_boot_flag(unsigned int cluster, unsigned int core);
39 int cluster_is_powered_on(unsigned int cluster);
40 void hisi_enter_core_idle(unsigned int cluster, unsigned int core);
41 void hisi_enter_cluster_idle(unsigned int cluster, unsigned int core);
43 void hisi_enter_ap_suspend(unsigned int cluster, unsigned int core);
[all …]
/external/arm-trusted-firmware/plat/mediatek/mt8183/drivers/spmc/
Dmtspmc.c22 static void set_retention(int cluster, int tick) in set_retention() argument
26 if (cluster) in set_retention()
34 if (cluster) in set_retention()
40 void spm_enable_cpu_auto_off(int cluster, int cpu) in spm_enable_cpu_auto_off() argument
42 uintptr_t reg = per_cpu(cluster, cpu, MCUCFG_SPARK); in spm_enable_cpu_auto_off()
44 set_retention(cluster, 1); in spm_enable_cpu_auto_off()
48 void spm_disable_cpu_auto_off(int cluster, int cpu) in spm_disable_cpu_auto_off() argument
50 uintptr_t reg = per_cpu(cluster, cpu, MCUCFG_SPARK); in spm_disable_cpu_auto_off()
53 set_retention(cluster, 0); in spm_disable_cpu_auto_off()
56 void spm_set_cpu_power_off(int cluster, int cpu) in spm_set_cpu_power_off() argument
[all …]
Dmtspmc.h23 void spm_poweron_cpu(int cluster, int cpu);
24 void spm_poweroff_cpu(int cluster, int cpu);
26 void spm_poweroff_cluster(int cluster);
27 void spm_poweron_cluster(int cluster);
29 int spm_get_cpu_powerstate(int cluster, int cpu);
30 int spm_get_cluster_powerstate(int cluster);
33 void spm_enable_cpu_auto_off(int cluster, int cpu);
34 void spm_disable_cpu_auto_off(int cluster, int cpu);
35 void spm_set_cpu_power_off(int cluster, int cpu);
36 void spm_enable_cluster_auto_off(int cluster);
[all …]
/external/arm-trusted-firmware/plat/allwinner/common/
Dsunxi_cpu_ops.c23 static void sunxi_cpu_disable_power(unsigned int cluster, unsigned int core) in sunxi_cpu_disable_power() argument
25 if (mmio_read_32(SUNXI_CPU_POWER_CLAMP_REG(cluster, core)) == 0xff) in sunxi_cpu_disable_power()
28 VERBOSE("PSCI: Disabling power to cluster %d core %d\n", cluster, core); in sunxi_cpu_disable_power()
30 mmio_write_32(SUNXI_CPU_POWER_CLAMP_REG(cluster, core), 0xff); in sunxi_cpu_disable_power()
33 static void sunxi_cpu_enable_power(unsigned int cluster, unsigned int core) in sunxi_cpu_enable_power() argument
35 if (mmio_read_32(SUNXI_CPU_POWER_CLAMP_REG(cluster, core)) == 0) in sunxi_cpu_enable_power()
38 VERBOSE("PSCI: Enabling power to cluster %d core %d\n", cluster, core); in sunxi_cpu_enable_power()
41 mmio_write_32(SUNXI_CPU_POWER_CLAMP_REG(cluster, core), 0xfe); in sunxi_cpu_enable_power()
42 mmio_write_32(SUNXI_CPU_POWER_CLAMP_REG(cluster, core), 0xf8); in sunxi_cpu_enable_power()
43 mmio_write_32(SUNXI_CPU_POWER_CLAMP_REG(cluster, core), 0xe0); in sunxi_cpu_enable_power()
[all …]
/external/arm-trusted-firmware/plat/mediatek/mt8183/
Dplat_pm.c112 #define CPU_IDX(cluster, cpu) ((cluster << 2) + cpu) argument
136 static bool clst_single_pwr(int cluster, int cpu) in clst_single_pwr() argument
140 int my_idx = (cluster << 2) + cpu; in clst_single_pwr()
143 return !(pwr_stat & (cpu_mask[cluster] & ~BIT(cpu_pwr_bit[my_idx]))); in clst_single_pwr()
146 static bool clst_single_on(int cluster, int cpu) in clst_single_on() argument
149 int my_idx = (cluster << 2) + cpu; in clst_single_on()
152 return !(on_stat & (cpu_mask[cluster] & ~BIT(my_idx))); in clst_single_on()
170 static void plat_cluster_pwrdwn_common(uint64_t mpidr, int cluster) in plat_cluster_pwrdwn_common() argument
172 if (cluster > 0) in plat_cluster_pwrdwn_common()
180 static void plat_cluster_pwron_common(uint64_t mpidr, int cluster) in plat_cluster_pwron_common() argument
[all …]
/external/skia/modules/skparagraph/src/
DTextWrapper.h18 ClusterPos(Cluster* cluster, size_t pos) : fCluster(cluster), fPos(pos) {} in ClusterPos() argument
19 inline Cluster* cluster() const { return fCluster; } in cluster() function
49 inline Cluster* startCluster() const { return fStart.cluster(); } in startCluster()
50 inline Cluster* endCluster() const { return fEnd.cluster(); } in endCluster()
51 inline Cluster* breakCluster() const { return fBreak.cluster(); } in breakCluster()
55 bool endOfCluster() { return fEnd.position() == fEnd.cluster()->endPos(); } in endOfCluster()
58 (fEnd.cluster()->isHardBreak() || fEnd.cluster()->isSoftBreak()); in endOfWord()
68 bool empty() { return fStart.cluster() == fEnd.cluster() && in empty()
73 void extend(Cluster* cluster) { in extend() argument
74 if (fStart.cluster() == nullptr) { in extend()
[all …]
DTextWrapper.cpp25 for (auto cluster = fEndLine.endCluster(); cluster < endOfClusters; ++cluster) { in lookAhead() local
27 auto width = fWords.width() + fClusters.width() + cluster->width(); in lookAhead()
29 if (cluster->isHardBreak()) { in lookAhead()
31 if (cluster->isWhitespaces()) { in lookAhead()
33 fClusters.extend(cluster); in lookAhead()
41 for (auto further = cluster; further != endOfClusters; ++further) { in lookAhead()
59 if (cluster->width() > maxWidth) { in lookAhead()
60 fClusters.extend(cluster); in lookAhead()
67 fClusters.extend(cluster); in lookAhead()
75 if ((fHardLineBreak = cluster->isHardBreak())) { in lookAhead()
[all …]
DRun.cpp96 auto& cluster = fMaster->cluster(i); in findLimitingClusters() local
97 if (cluster.textRange().end >= text.end && cluster.textRange().start <= text.start) { in findLimitingClusters()
107 auto& cluster = fMaster->cluster(i); in findLimitingClusters() local
108 auto clusterRange = cluster.textRange(); in findLimitingClusters()
119 start = &cluster; in findLimitingClusters()
121 end = &cluster; in findLimitingClusters()
127 auto& cluster = fMaster->cluster(i); in findLimitingClusters() local
128 if (cluster.textRange().end > text.start && start == nullptr) { in findLimitingClusters()
129 start = &cluster; in findLimitingClusters()
131 if (cluster.textRange().start < text.end) { in findLimitingClusters()
[all …]
/external/iptables/extensions/
Dlibxt_cluster.t3 -m cluster;;FAIL
4 -m cluster --cluster-total-nodes 3;;FAIL
5 -m cluster --cluster-total-nodes 2 --cluster-local-node 2;;FAIL
6 -m cluster --cluster-total-nodes 2 --cluster-local-node 3 --cluster-hash-seed;;FAIL
8 # outputs --cluster-local-nodemask instead of --cluster-local-node
10cluster --cluster-total-nodes 2 --cluster-local-node 2 --cluster-hash-seed 0xfeedcafe;-m cluster -…
Dlibxt_cluster.txlate1 …ranslate -A PREROUTING -t mangle -i eth1 -m cluster --cluster-total-nodes 2 --cluster-local-node 1…
4 …ranslate -A PREROUTING -t mangle -i eth1 -m cluster --cluster-total-nodes 1 --cluster-local-node 1…
7 …nslate -A PREROUTING -t mangle -i eth1 -m cluster --cluster-total-nodes 2 --cluster-local-nodemask…
10 …nslate -A PREROUTING -t mangle -i eth1 -m cluster --cluster-total-nodes 1 --cluster-local-nodemask…
13 …anslate -A PREROUTING -t mangle -i eth1 -m cluster --cluster-total-nodes 32 --cluster-local-node 3…
16 …slate -A PREROUTING -t mangle -i eth1 -m cluster --cluster-total-nodes 32 --cluster-local-nodemask…
19 …nslate -A PREROUTING -t mangle -i eth1 -m cluster --cluster-total-nodes 32 --cluster-local-nodemas…
22 …nslate -A PREROUTING -t mangle -i eth1 -m cluster --cluster-total-nodes 7 --cluster-local-nodemask…
25 …ranslate -A PREROUTING -t mangle -i eth1 -m cluster --cluster-total-nodes 7 --cluster-local-node 5…
/external/ImageMagick/MagickCore/
Dsegment.c256 for (cluster=head; cluster != (Cluster *) NULL; cluster=next_cluster) \ in Classify()
258 next_cluster=cluster->next; \ in Classify()
259 cluster=(Cluster *) RelinquishMagickMemory(cluster); \ in Classify()
274 *cluster, in Classify() local
309 cluster=(Cluster *) NULL; in Classify()
328 cluster->next=(Cluster *) AcquireMagickMemory( in Classify()
329 sizeof(*cluster->next)); in Classify()
330 cluster=cluster->next; in Classify()
334 cluster=(Cluster *) AcquireMagickMemory(sizeof(*cluster)); in Classify()
335 head=cluster; in Classify()
[all …]
/external/arm-trusted-firmware/plat/hisilicon/hikey/
Dhisi_ipc.c38 unsigned int cluster) in hisi_cpus_pd_in_cluster_besides_curr() argument
44 val = val >> (cluster * 16); in hisi_cpus_pd_in_cluster_besides_curr()
97 void hisi_ipc_cpu_on_off(unsigned int cpu, unsigned int cluster, in hisi_ipc_cpu_on_off() argument
104 offset = cluster * 16 + cpu * 4; in hisi_ipc_cpu_on_off()
106 offset = cluster * 16 + cpu * 4 + 1; in hisi_ipc_cpu_on_off()
116 hisi_ipc_send(cpu_ipc_num[cluster][cpu]); in hisi_ipc_cpu_on_off()
119 void hisi_ipc_cpu_on(unsigned int cpu, unsigned int cluster) in hisi_ipc_cpu_on() argument
121 hisi_ipc_cpu_on_off(cpu, cluster, HISI_IPC_PM_ON); in hisi_ipc_cpu_on()
124 void hisi_ipc_cpu_off(unsigned int cpu, unsigned int cluster) in hisi_ipc_cpu_off() argument
126 hisi_ipc_cpu_on_off(cpu, cluster, HISI_IPC_PM_OFF); in hisi_ipc_cpu_off()
[all …]
Dhikey_pm.c34 int cpu, cluster; in hikey_pwr_domain_on() local
37 cluster = MPIDR_AFFLVL1_VAL(mpidr); in hikey_pwr_domain_on()
40 if (cluster != curr_cluster) in hikey_pwr_domain_on()
41 hisi_ipc_cluster_on(cpu, cluster); in hikey_pwr_domain_on()
43 hisi_pwrc_set_core_bx_addr(cpu, cluster, hikey_sec_entrypoint); in hikey_pwr_domain_on()
44 hisi_pwrc_enable_debug(cpu, cluster); in hikey_pwr_domain_on()
45 hisi_ipc_cpu_on(cpu, cluster); in hikey_pwr_domain_on()
53 int cpu, cluster; in hikey_pwr_domain_on_finish() local
56 cluster = MPIDR_AFFLVL1_VAL(mpidr); in hikey_pwr_domain_on_finish()
68 hisi_pwrc_set_core_bx_addr(cpu, cluster, 0); in hikey_pwr_domain_on_finish()
[all …]
/external/arm-trusted-firmware/plat/hisilicon/hikey960/
Dhikey960_pm.c64 unsigned int cluster = in hikey960_pwr_domain_on() local
66 int cluster_stat = cluster_is_powered_on(cluster); in hikey960_pwr_domain_on()
68 hisi_set_cpu_boot_flag(cluster, core); in hikey960_pwr_domain_on()
70 mmio_write_32(CRG_REG_BASE + CRG_RVBAR(cluster, core), in hikey960_pwr_domain_on()
74 hisi_powerup_core(cluster, core); in hikey960_pwr_domain_on()
76 hisi_powerup_cluster(cluster, core); in hikey960_pwr_domain_on()
95 unsigned int cluster = in hikey960_pwr_domain_off() local
104 hisi_clear_cpu_boot_flag(cluster, core); in hikey960_pwr_domain_off()
105 hisi_powerdn_core(cluster, core); in hikey960_pwr_domain_off()
108 if (hisi_test_cpu_down(cluster, core)) { in hikey960_pwr_domain_off()
[all …]
/external/tensorflow/tensorflow/compiler/jit/tests/
Dopens2s_gnmt_mixed_precision.golden_summary65 cluster 0 size 344
85 cluster 1 size 57
111 cluster 2 size 29
126 cluster 3 size 9
133 cluster 4 size 6
137 cluster 5 size 27
151 cluster 6 size 6
158 cluster 7 size 11
166 cluster 8 size 4
171 cluster 9 size 7
[all …]
/external/u-boot/drivers/remoteproc/
Dti_k3_r5f_rproc.c82 struct k3_r5f_cluster *cluster; member
105 return core == core->cluster->cores[0]; in is_primary_core()
110 struct k3_r5f_cluster *cluster = core->cluster; in k3_r5f_proc_request() local
113 if (cluster->mode == CLUSTER_MODE_LOCKSTEP) { in k3_r5f_proc_request()
115 ret = ti_sci_proc_request(&cluster->cores[i]->tsp); in k3_r5f_proc_request()
127 ti_sci_proc_release(&cluster->cores[i]->tsp); in k3_r5f_proc_request()
135 struct k3_r5f_cluster *cluster = core->cluster; in k3_r5f_proc_release() local
138 if (cluster->mode == CLUSTER_MODE_LOCKSTEP) in k3_r5f_proc_release()
140 ti_sci_proc_release(&cluster->cores[i]->tsp); in k3_r5f_proc_release()
145 static int k3_r5f_lockstep_release(struct k3_r5f_cluster *cluster) in k3_r5f_lockstep_release() argument
[all …]
/external/arm-trusted-firmware/plat/mediatek/mt8183/drivers/mcdi/
Dmtk_mcdi.c28 void sspm_cluster_pwr_off_notify(uint32_t cluster) in sspm_cluster_pwr_off_notify() argument
30 mcdi_mbox_write(MCDI_MBOX_CLUSTER_0_ATF_ACTION_DONE + cluster, 1); in sspm_cluster_pwr_off_notify()
33 void sspm_cluster_pwr_on_notify(uint32_t cluster) in sspm_cluster_pwr_on_notify() argument
35 mcdi_mbox_write(MCDI_MBOX_CLUSTER_0_ATF_ACTION_DONE + cluster, 0); in sspm_cluster_pwr_on_notify()
88 static uint32_t target_mask(int cluster, int cpu_idx, bool on) in target_mask() argument
93 if (cluster >= 0) in target_mask()
94 t |= BIT(cluster + CLUSTER_ON_OFS); in target_mask()
99 if (cluster >= 0) in target_mask()
100 t |= BIT(cluster + CLUSTER_OFF_OFS); in target_mask()
109 void mcdi_pause_clr(int cluster, int cpu_idx, bool on) in mcdi_pause_clr() argument
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/
DKMeansPlusPlusClusterer.java92 public List<Cluster<T>> cluster(final Collection<T> points, in cluster() method in KMeansPlusPlusClusterer
103 for (final Cluster<T> cluster : clusters) { in cluster()
105 if (cluster.getPoints().isEmpty()) { in cluster()
121 newCenter = cluster.getCenter().centroidOf(cluster.getPoints()); in cluster()
122 if (!newCenter.equals(cluster.getCenter())) { in cluster()
147 Cluster<T> cluster = getNearestCluster(clusters, p); in assignPointsToClusters() local
148 cluster.addPoint(p); in assignPointsToClusters()
210 for (final Cluster<T> cluster : clusters) { in getPointFromLargestVarianceCluster()
211 if (!cluster.getPoints().isEmpty()) { in getPointFromLargestVarianceCluster()
214 final T center = cluster.getCenter(); in getPointFromLargestVarianceCluster()
[all …]
/external/tensorflow/tensorflow/python/grappler/
Dcluster_wrapper.cc86 std::unique_ptr<tensorflow::grappler::Cluster> cluster = in PYBIND11_MODULE() local
89 cluster->DisableDetailedStats(disable_detailed_stats); in PYBIND11_MODULE()
90 cluster->AllowSoftPlacement(allow_soft_placement); in PYBIND11_MODULE()
91 cluster->SetNumWarmupSteps(10); in PYBIND11_MODULE()
92 MaybeRaiseRegisteredFromStatus(cluster->Provision()); in PYBIND11_MODULE()
93 return cluster.release(); in PYBIND11_MODULE()
114 std::unique_ptr<tensorflow::grappler::Cluster> cluster = in PYBIND11_MODULE() local
119 MaybeRaiseRegisteredFromStatus(cluster->Provision()); in PYBIND11_MODULE()
121 return cluster.release(); in PYBIND11_MODULE()
124 m.def("TF_ShutdownCluster", [](tensorflow::grappler::Cluster* cluster) { in PYBIND11_MODULE() argument
[all …]
Dcost_analyzer.py22 from tensorflow.python.grappler import cluster as gcluster
29 cluster=None): argument
44 if cluster is None:
45 cluster = gcluster.Cluster(disable_detailed_stats=False)
49 cluster.tf_cluster)
52 def GenerateMemoryReport(metagraph, detailed_report=True, cluster=None): argument
65 if cluster is None:
66 cluster = gcluster.Cluster(
70 peak_usage = cluster.DeterminePeakMemoryUsage(item)
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_session_test.cc93 std::unique_ptr<test::TestCluster> cluster; in TEST() local
94 TF_CHECK_OK(test::TestCluster::MakeTestCluster(Devices(1, 0), 2, &cluster)); in TEST()
97 NewRemote(Options(cluster->targets()[0], 1))); in TEST()
129 std::unique_ptr<test::TestCluster> cluster; in TEST() local
130 TF_CHECK_OK(test::TestCluster::MakeTestCluster(Devices(1, 0), 2, &cluster)); in TEST()
133 NewRemote(Options(cluster->targets()[0], 1))); in TEST()
174 std::unique_ptr<test::TestCluster> cluster; in TEST() local
175 TF_CHECK_OK(test::TestCluster::MakeTestCluster(Devices(1, 0), 2, &cluster)); in TEST()
178 NewRemote(Options(cluster->targets()[0], 1))); in TEST()
205 std::unique_ptr<test::TestCluster> cluster; in TEST() local
[all …]
/external/harfbuzz_ng/src/
Dhb-buffer.cc262 unsigned int cluster) in add() argument
273 glyph->cluster = cluster; in add()
450 if (cluster_start <= info[i].cluster && info[i].cluster < cluster_end) in set_masks()
503 last_cluster = info[0].cluster; in reverse_clusters()
505 if (last_cluster != info[i].cluster) { in reverse_clusters()
508 last_cluster = info[i].cluster; in reverse_clusters()
524 unsigned int cluster = info[start].cluster; in merge_clusters_impl() local
527 cluster = hb_min (cluster, info[i].cluster); in merge_clusters_impl()
530 while (end < len && info[end - 1].cluster == info[end].cluster) in merge_clusters_impl()
534 while (idx < start && info[start - 1].cluster == info[start].cluster) in merge_clusters_impl()
[all …]
/external/tensorflow/tensorflow/core/protobuf/
Dcluster.proto26 // cluster.
31 // 1. A single-process cluster, containing "/job:local/task:0".
37 // cluster { $CLUSTER } job_name: 'local' task_index: 0
39 // 2. A two-process cluster, containing "/job:local/task:{0,1}".
46 // cluster { $CLUSTER } job_name: 'local' task_index: 0
47 // cluster { $CLUSTER } job_name: 'local' task_index: 1
49 // 3. A two-job cluster, containing "/job:worker/task:{0,1,2}" and
60 // cluster { $CLUSTER } job_name: 'worker' task_index: 0
61 // cluster { $CLUSTER } job_name: 'worker' task_index: 1
62 // cluster { $CLUSTER } job_name: 'worker' task_index: 2
[all …]
/external/cpuinfo/test/
Dinit.cc70 EXPECT_TRUE(processor->cluster); in TEST()
80 const cpuinfo_cluster* cluster = processor->cluster; in TEST() local
81 ASSERT_TRUE(cluster); in TEST()
83 EXPECT_GE(i, cluster->processor_start); in TEST()
84 EXPECT_LT(i, cluster->processor_start + cluster->processor_count); in TEST()
252 EXPECT_TRUE(core->cluster); in TEST()
262 const cpuinfo_cluster* cluster = core->cluster; in TEST() local
263 ASSERT_TRUE(cluster); in TEST()
265 EXPECT_GE(i, cluster->core_start); in TEST()
266 EXPECT_LT(i, cluster->core_start + cluster->core_count); in TEST()
[all …]

12345678910>>...27