Home
last modified time | relevance | path

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

12345678910>>...34

/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/ImageMagick/MagickCore/
Dsegment.c254 for (cluster=head; cluster != (Cluster *) NULL; cluster=next_cluster) \ in Classify()
256 next_cluster=cluster->next; \ in Classify()
257 cluster=(Cluster *) RelinquishMagickMemory(cluster); \ in Classify()
272 *cluster, in Classify() local
307 cluster=(Cluster *) NULL; in Classify()
326 cluster->next=(Cluster *) AcquireQuantumMemory(1, in Classify()
327 sizeof(*cluster->next)); in Classify()
328 cluster=cluster->next; in Classify()
332 cluster=(Cluster *) AcquireQuantumMemory(1,sizeof(*cluster)); in Classify()
333 head=cluster; in Classify()
[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/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
53 inline Cluster* startCluster() const { return fStart.cluster(); } in startCluster()
54 inline Cluster* endCluster() const { return fEnd.cluster(); } in endCluster()
55 inline Cluster* breakCluster() const { return fBreak.cluster(); } in breakCluster()
59 bool endOfCluster() { return fEnd.position() == fEnd.cluster()->endPos(); } in endOfCluster()
62 (fEnd.cluster()->isHardBreak() || fEnd.cluster()->isSoftBreak()); in endOfWord()
72 bool empty() { return fStart.cluster() == fEnd.cluster() && in empty()
77 void extend(Cluster* cluster) { in extend() argument
78 if (fStart.cluster() == nullptr) { in extend()
[all …]
DTextWrapper.cpp50 for (auto cluster = fEndLine.endCluster(); cluster < endOfClusters; ++cluster) { in lookAhead() local
51 if (cluster->isHardBreak()) { in lookAhead()
54 SkScalar width = fWords.width() + fClusters.width() + cluster->width(); in lookAhead()
56 if (cluster->isWhitespaceBreak()) { in lookAhead()
58 fClusters.extend(cluster); in lookAhead()
62 } else if (cluster->run().isPlaceholder()) { in lookAhead()
69 if (cluster->width() > maxWidth && fWords.empty()) { in lookAhead()
72 fClusters.extend(cluster); in lookAhead()
84 for (auto further = cluster; further != endOfClusters; ++further) { in lookAhead()
134 if (cluster->width() > maxWidth) { in lookAhead()
[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/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Ddata_service_ops_ft_test.py43 cluster = self.create_cluster(num_workers=1)
45 ds = self.make_distributed_range_dataset(num_elements, cluster)
49 cluster.stop_dispatcher()
58 cluster = self.create_cluster(num_workers=1)
60 ds = self.make_distributed_range_dataset(num_elements, cluster)
61 cluster.restart_dispatcher()
67 cluster = self.create_cluster(num_workers=1)
69 ds = self.make_distributed_range_dataset(num_elements, cluster)
74 cluster.restart_dispatcher()
82 cluster = self.create_cluster(num_workers=1)
[all …]
Ddata_service_ops_test.py59 cluster = self.create_cluster(
64 ds = self.make_distributed_range_dataset(10, cluster)
70 cluster = self.create_cluster(num_workers=1)
76 ds = self.make_distributed_dataset(ds, cluster)
82 cluster = self.create_cluster(num_workers=1)
86 ds = self.make_distributed_dataset(ds, cluster)
96 cluster = self.create_cluster(num_workers=2)
99 ds = self.make_distributed_dataset(ds, cluster)
116 cluster = self.create_cluster(num_workers=1)
118 ds = self.make_distributed_range_dataset(num_elements, cluster)
[all …]
/external/webrtc/modules/pacing/
Dbitrate_prober.cc105 ProbeCluster cluster; in CreateProbeCluster() local
106 cluster.created_at = now; in CreateProbeCluster()
107 cluster.pace_info.probe_cluster_min_probes = config_.min_probe_packets_sent; in CreateProbeCluster()
108 cluster.pace_info.probe_cluster_min_bytes = in CreateProbeCluster()
110 RTC_DCHECK_GE(cluster.pace_info.probe_cluster_min_bytes, 0); in CreateProbeCluster()
111 cluster.pace_info.send_bitrate_bps = bitrate.bps(); in CreateProbeCluster()
112 cluster.pace_info.probe_cluster_id = cluster_id; in CreateProbeCluster()
113 clusters_.push(cluster); in CreateProbeCluster()
116 << cluster.pace_info.send_bitrate_bps << ":" in CreateProbeCluster()
117 << cluster.pace_info.probe_cluster_min_bytes << ":" in CreateProbeCluster()
[all …]
/external/arm-trusted-firmware/plat/hisilicon/hikey960/
Dhikey960_pm.c65 unsigned int cluster = in hikey960_pwr_domain_on() local
67 int cluster_stat = cluster_is_powered_on(cluster); in hikey960_pwr_domain_on()
69 hisi_set_cpu_boot_flag(cluster, core); in hikey960_pwr_domain_on()
71 mmio_write_32(CRG_REG_BASE + CRG_RVBAR(cluster, core), in hikey960_pwr_domain_on()
75 hisi_powerup_core(cluster, core); in hikey960_pwr_domain_on()
77 hisi_powerup_cluster(cluster, core); in hikey960_pwr_domain_on()
96 unsigned int cluster = in hikey960_pwr_domain_off() local
105 hisi_clear_cpu_boot_flag(cluster, core); in hikey960_pwr_domain_off()
106 hisi_powerdn_core(cluster, core); in hikey960_pwr_domain_off()
109 if (hisi_test_cpu_down(cluster, core)) { in hikey960_pwr_domain_off()
[all …]
/external/libwebm/webm_parser/tests/
Dmaster_value_parser_test.cc103 Cluster cluster{}; in TEST_F() local
104 cluster.timecode.Set(0, true); in TEST_F()
112 EXPECT_CALL(callback_, OnClusterBegin(metadata_, cluster, NotNull())) in TEST_F()
115 cluster.previous_size.Set(0, true); in TEST_F()
116 EXPECT_CALL(callback_, OnClusterEnd(metadata_, cluster)).Times(1); in TEST_F()
136 Cluster cluster{}; in TEST_F() local
137 cluster.timecode.Set(1024, true); in TEST_F()
145 EXPECT_CALL(callback_, OnClusterBegin(metadata_, cluster, NotNull())) in TEST_F()
148 cluster.previous_size.Set(1, true); in TEST_F()
149 EXPECT_CALL(callback_, OnClusterEnd(metadata_, cluster)).Times(1); in TEST_F()
[all …]
Dcluster_parser_test.cc89 Cluster cluster{}; in TEST_F() local
90 cluster.timecode.Set(0, true); in TEST_F()
91 cluster.previous_size.Set(0, true); in TEST_F()
93 EXPECT_CALL(callback_, OnClusterBegin(metadata_, cluster, NotNull())) in TEST_F()
100 cluster.simple_blocks.emplace_back(simple_block, true); in TEST_F()
103 cluster.block_groups.emplace_back(block_group, true); in TEST_F()
105 EXPECT_CALL(callback_, OnClusterEnd(metadata_, cluster)).Times(1); in TEST_F()
153 Cluster cluster{}; in TEST_F() local
154 cluster.timecode.Set(1, true); in TEST_F()
155 cluster.previous_size.Set(2, true); in TEST_F()
[all …]
/external/skia/experimental/sktext/src/
DWrapper.cpp17 auto cluster = run->fClusters[i]; in glyphRange() local
18 if (cluster < textRange.fStart) continue; in glyphRange()
19 if (cluster > textRange.fEnd) break; in glyphRange()
32 auto cluster = run->fClusters[i]; in textRange() local
37 textRange.fStart = cluster; in textRange()
39 textRange.fEnd = cluster; in textRange()
55 Stretch cluster; in breakTextIntoLines() local
57 cluster.setTextRange({ run.fUtf8Range.end(), run.fUtf8Range.end()}); in breakTextIntoLines()
63 if (cluster.isEmpty()) { in breakTextIntoLines()
64 cluster = Stretch(GlyphPos(runIndex, glyphIndex), textIndex, runMetrics); in breakTextIntoLines()
[all …]
/external/webrtc/modules/congestion_controller/goog_cc/
Dprobe_bitrate_estimator.cc69 AggregatedCluster* cluster = &clusters_[cluster_id]; in HandleProbeAndEstimateBitrate() local
71 if (packet_feedback.sent_packet.send_time < cluster->first_send) { in HandleProbeAndEstimateBitrate()
72 cluster->first_send = packet_feedback.sent_packet.send_time; in HandleProbeAndEstimateBitrate()
74 if (packet_feedback.sent_packet.send_time > cluster->last_send) { in HandleProbeAndEstimateBitrate()
75 cluster->last_send = packet_feedback.sent_packet.send_time; in HandleProbeAndEstimateBitrate()
76 cluster->size_last_send = packet_feedback.sent_packet.size; in HandleProbeAndEstimateBitrate()
78 if (packet_feedback.receive_time < cluster->first_receive) { in HandleProbeAndEstimateBitrate()
79 cluster->first_receive = packet_feedback.receive_time; in HandleProbeAndEstimateBitrate()
80 cluster->size_first_receive = packet_feedback.sent_packet.size; in HandleProbeAndEstimateBitrate()
82 if (packet_feedback.receive_time > cluster->last_receive) { in HandleProbeAndEstimateBitrate()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_extract_head_tail_outside_compilation.cc132 tf_device::ClusterOp cluster) { in FindOutsideCompiledOpsAtHead() argument
134 cluster->getParentOfType<FuncOp>()); in FindOutsideCompiledOpsAtHead()
135 Region* cluster_region = &cluster.body(); in FindOutsideCompiledOpsAtHead()
138 auto cluster_ops = cluster.GetBody().without_terminator(); in FindOutsideCompiledOpsAtHead()
181 void CreateHeadComputation(OpBuilder* builder, tf_device::ClusterOp cluster, in CreateHeadComputation() argument
191 builder, cluster, /*before=*/true, launch_block, host_device); in CreateHeadComputation()
196 cluster.body()); in CreateHeadComputation()
203 const mlir::TF::RuntimeDevices& devices, tf_device::ClusterOp cluster, in LiftHeadOutsideCompiledOps() argument
206 FindOutsideCompiledOpsAtHead(side_effect_analysis, cluster); in LiftHeadOutsideCompiledOps()
208 if (failed(tensorflow::GetHostDeviceOutsideComputation(devices, cluster, in LiftHeadOutsideCompiledOps()
[all …]
/external/arm-trusted-firmware/plat/mediatek/mt8192/drivers/spmc/
Dmtspmc.c18 void mcucfg_disable_gic_wakeup(uint32_t cluster, uint32_t cpu) in mcucfg_disable_gic_wakeup() argument
23 void mcucfg_enable_gic_wakeup(uint32_t cluster, uint32_t cpu) in mcucfg_enable_gic_wakeup() argument
28 void mcucfg_set_bootaddr(uint32_t cluster, uint32_t cpu, uintptr_t bootaddr) in mcucfg_set_bootaddr() argument
30 assert(cluster == 0U); in mcucfg_set_bootaddr()
32 mmio_write_32(per_cpu(cluster, cpu, MCUCFG_BOOTADDR), bootaddr); in mcucfg_set_bootaddr()
35 uintptr_t mcucfg_get_bootaddr(uint32_t cluster, uint32_t cpu) in mcucfg_get_bootaddr() argument
37 assert(cluster == 0U); in mcucfg_get_bootaddr()
39 return (uintptr_t)mmio_read_32(per_cpu(cluster, cpu, MCUCFG_BOOTADDR)); in mcucfg_get_bootaddr()
42 void mcucfg_init_archstate(uint32_t cluster, uint32_t cpu, bool arm64) in mcucfg_init_archstate() argument
46 assert(cluster == 0U); in mcucfg_init_archstate()
[all …]
Dmtspmc.h14 void spm_poweron_cpu(uint32_t cluster, uint32_t cpu);
15 void spm_poweroff_cpu(uint32_t cluster, uint32_t cpu);
17 void spm_poweroff_cluster(uint32_t cluster);
18 void spm_poweron_cluster(uint32_t cluster);
20 bool spm_get_cpu_powerstate(uint32_t cluster, uint32_t cpu);
21 bool spm_get_cluster_powerstate(uint32_t cluster);
24 void mcucfg_init_archstate(uint32_t cluster, uint32_t cpu, bool arm64);
25 void mcucfg_set_bootaddr(uint32_t cluster, uint32_t cpu, uintptr_t bootaddr);
26 uintptr_t mcucfg_get_bootaddr(uint32_t cluster, uint32_t cpu);
28 void mcucfg_disable_gic_wakeup(uint32_t cluster, uint32_t cpu);
[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 …]

12345678910>>...34