/external/arm-trusted-firmware/plat/mediatek/mt8192/drivers/mcdi/ |
D | mt_cpu_pm.c | 23 static int pwr_state_prompt(unsigned int cpu, const psci_power_state_t *state) in pwr_state_prompt() 28 static int pwr_state_reflect(unsigned int cpu, const psci_power_state_t *state) in pwr_state_reflect() 39 static int pwr_cpu_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_cpu_pwron() 44 static int pwr_cpu_pwrdwn(unsigned int cpu, const psci_power_state_t *state) in pwr_cpu_pwrdwn() 52 static int pwr_cluster_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_cluster_pwron() 57 static int pwr_cluster_pwrdwn(unsigned int cpu, const psci_power_state_t *state) in pwr_cluster_pwrdwn() 62 static int pwr_mcusys_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_mcusys_pwron() 73 static int pwr_mcusys_pwron_finished(unsigned int cpu, in pwr_mcusys_pwron_finished() 83 static int pwr_mcusys_pwrdwn(unsigned int cpu, const psci_power_state_t *state) in pwr_mcusys_pwrdwn()
|
/external/autotest/client/tests/tsc/src/ |
D | sched.h | 16 # define __CPUELT(cpu) ((cpu) / __NCPUBITS) argument 17 # define __CPUMASK(cpu) ((__cpu_mask) 1 << ((cpu) % __NCPUBITS)) argument 33 # define __CPU_SET(cpu, cpusetp) \ argument 35 # define __CPU_CLR(cpu, cpusetp) \ argument 37 # define __CPU_ISSET(cpu, cpusetp) \ argument 42 #define CPU_SET(cpu, cpusetp) __CPU_SET (cpu, cpusetp) argument 43 #define CPU_CLR(cpu, cpusetp) __CPU_CLR (cpu, cpusetp) argument 44 #define CPU_ISSET(cpu, cpusetp) __CPU_ISSET (cpu, cpusetp) argument
|
/external/arm-trusted-firmware/plat/mediatek/mt8192/ |
D | plat_pm.c | 61 static void plat_cpu_pwrdwn_common(unsigned int cpu, in plat_cpu_pwrdwn_common() 81 static void plat_cpu_pwron_common(unsigned int cpu, in plat_cpu_pwron_common() 114 static void plat_cluster_pwrdwn_common(unsigned int cpu, in plat_cluster_pwrdwn_common() 129 static void plat_cluster_pwron_common(unsigned int cpu, in plat_cluster_pwron_common() 147 static void plat_mcusys_pwrdwn_common(unsigned int cpu, in plat_mcusys_pwrdwn_common() 160 static void plat_mcusys_pwron_common(unsigned int cpu, in plat_mcusys_pwron_common() 196 unsigned int cpu = (unsigned int)plat_core_pos_by_mpidr(mpidr); in plat_power_domain_on() local 218 unsigned int cpu = (unsigned int)plat_core_pos_by_mpidr(mpidr); in plat_power_domain_on_finish() local 235 unsigned int cpu = (unsigned int)plat_core_pos_by_mpidr(mpidr); in plat_power_domain_off() local 252 unsigned int cpu = plat_my_core_pos(); in plat_power_domain_suspend() local [all …]
|
/external/arm-trusted-firmware/plat/mediatek/mt8192/drivers/spmc/ |
D | mtspmc.c | 18 void mcucfg_disable_gic_wakeup(uint32_t cluster, uint32_t cpu) in mcucfg_disable_gic_wakeup() 23 void mcucfg_enable_gic_wakeup(uint32_t cluster, uint32_t cpu) in mcucfg_enable_gic_wakeup() 28 void mcucfg_set_bootaddr(uint32_t cluster, uint32_t cpu, uintptr_t bootaddr) in mcucfg_set_bootaddr() 35 uintptr_t mcucfg_get_bootaddr(uint32_t cluster, uint32_t cpu) in mcucfg_get_bootaddr() 42 void mcucfg_init_archstate(uint32_t cluster, uint32_t cpu, bool arm64) in mcucfg_init_archstate() 78 bool spm_get_cpu_powerstate(uint32_t cluster, uint32_t cpu) in spm_get_cpu_powerstate() 124 void spm_poweron_cpu(uint32_t cluster, uint32_t cpu) in spm_poweron_cpu() 151 void spm_poweroff_cpu(uint32_t cluster, uint32_t cpu) in spm_poweroff_cpu()
|
/external/arm-trusted-firmware/plat/hisilicon/hikey/ |
D | hisi_ipc.c | 37 int hisi_cpus_pd_in_cluster_besides_curr(unsigned int cpu, in hisi_cpus_pd_in_cluster_besides_curr() 59 int hisi_cpus_powered_off_besides_curr(unsigned int cpu) in hisi_cpus_powered_off_besides_curr() 97 void hisi_ipc_cpu_on_off(unsigned int cpu, unsigned int cluster, in hisi_ipc_cpu_on_off() 119 void hisi_ipc_cpu_on(unsigned int cpu, unsigned int cluster) in hisi_ipc_cpu_on() 124 void hisi_ipc_cpu_off(unsigned int cpu, unsigned int cluster) in hisi_ipc_cpu_off() 129 void hisi_ipc_cluster_on_off(unsigned int cpu, unsigned int cluster, in hisi_ipc_cluster_on_off() 151 void hisi_ipc_cluster_on(unsigned int cpu, unsigned int cluster) in hisi_ipc_cluster_on() 156 void hisi_ipc_cluster_off(unsigned int cpu, unsigned int cluster) in hisi_ipc_cluster_off() 161 void hisi_ipc_cpu_suspend(unsigned int cpu, unsigned int cluster) in hisi_ipc_cpu_suspend() 177 void hisi_ipc_cluster_suspend(unsigned int cpu, unsigned int cluster) in hisi_ipc_cluster_suspend()
|
D | hikey_pm.c | 34 int cpu, cluster; in hikey_pwr_domain_on() local 53 int cpu, cluster; in hikey_pwr_domain_on_finish() local 79 int cpu, cluster; in hikey_pwr_domain_off() local 100 unsigned int cpu = mpidr & MPIDR_CPU_MASK; in hikey_pwr_domain_suspend() local 136 unsigned int cluster, cpu; in hikey_pwr_domain_suspend_finish() local
|
/external/arm-trusted-firmware/plat/mediatek/mt8183/drivers/spmc/ |
D | mtspmc.c | 40 void spm_enable_cpu_auto_off(int cluster, int cpu) in spm_enable_cpu_auto_off() 48 void spm_disable_cpu_auto_off(int cluster, int cpu) in spm_disable_cpu_auto_off() 56 void spm_set_cpu_power_off(int cluster, int cpu) in spm_set_cpu_power_off() 73 void mcucfg_set_bootaddr(int cluster, int cpu, uintptr_t bootaddr) in mcucfg_set_bootaddr() 90 uintptr_t mcucfg_get_bootaddr(int cluster, int cpu) in mcucfg_get_bootaddr() 107 void mcucfg_init_archstate(int cluster, int cpu, int arm64) in mcucfg_init_archstate() 141 int spm_get_cpu_powerstate(int cluster, int cpu) in spm_get_cpu_powerstate() 203 void spm_poweron_cpu(int cluster, int cpu) in spm_poweron_cpu() 230 void spm_poweroff_cpu(int cluster, int cpu) in spm_poweroff_cpu()
|
/external/linux-kselftest/tools/testing/selftests/rseq/ |
D | rseq-skip.h | 9 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() 16 off_t voffp, intptr_t *load, int cpu) in rseq_cmpnev_storeoffp_load() 22 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv() 30 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev() 38 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev_release() 46 intptr_t newv, int cpu) in rseq_cmpeqv_cmpeqv_storev() 54 intptr_t newv, int cpu) in rseq_cmpeqv_trymemcpy_storev() 62 intptr_t newv, int cpu) in rseq_cmpeqv_trymemcpy_storev_release()
|
D | rseq-x86.h | 114 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() 175 off_t voffp, intptr_t *load, int cpu) in rseq_cmpnev_storeoffp_load() 238 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv() 285 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev() 351 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev_release() 359 intptr_t newv, int cpu) in rseq_cmpeqv_cmpeqv_storev() 429 intptr_t newv, int cpu) in rseq_cmpeqv_trymemcpy_storev() 538 intptr_t newv, int cpu) in rseq_cmpeqv_trymemcpy_storev_release() 635 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() 696 off_t voffp, intptr_t *load, int cpu) in rseq_cmpnev_storeoffp_load() [all …]
|
D | rseq-arm.h | 153 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() 220 off_t voffp, intptr_t *load, int cpu) in rseq_cmpnev_storeoffp_load() 291 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv() 346 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev() 421 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev_release() 497 intptr_t newv, int cpu) in rseq_cmpeqv_cmpeqv_storev() 579 intptr_t newv, int cpu) in rseq_cmpeqv_trymemcpy_storev() 703 intptr_t newv, int cpu) in rseq_cmpeqv_trymemcpy_storev_release()
|
D | rseq-s390.h | 138 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() 201 off_t voffp, intptr_t *load, int cpu) in rseq_cmpnev_storeoffp_load() 266 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv() 317 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev() 385 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev_release() 393 intptr_t newv, int cpu) in rseq_cmpeqv_cmpeqv_storev() 465 intptr_t newv, int cpu) in rseq_cmpeqv_trymemcpy_storev() 576 intptr_t newv, int cpu) in rseq_cmpeqv_trymemcpy_storev_release()
|
D | basic_percpu_ops_test.c | 50 int cpu; in rseq_this_cpu_lock() local 70 void rseq_percpu_unlock(struct percpu_lock *lock, int cpu) in rseq_percpu_unlock() 83 int i, cpu; in test_percpu_spinlock_thread() local 139 int cpu; in this_cpu_list_push() local 172 int ret, cpu; in this_cpu_list_pop() local 196 struct percpu_list_node *__percpu_list_pop(struct percpu_list *list, int cpu) in __percpu_list_pop()
|
D | rseq-mips.h | 160 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() 225 off_t voffp, intptr_t *load, int cpu) in rseq_cmpnev_storeoffp_load() 294 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv() 349 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev() 422 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev_release() 496 intptr_t newv, int cpu) in rseq_cmpeqv_cmpeqv_storev() 574 intptr_t newv, int cpu) in rseq_cmpeqv_trymemcpy_storev() 695 intptr_t newv, int cpu) in rseq_cmpeqv_trymemcpy_storev_release()
|
/external/bcc/tests/python/ |
D | test_usdt2.py | 125 def print_event1(cpu, data, size): argument 128 def print_event2(cpu, data, size): argument 131 def print_event3(cpu, data, size): argument 134 def print_event4(cpu, data, size): argument 137 def print_event5(cpu, data, size): argument 140 def print_event6(cpu, data, size): argument
|
D | test_usdt.py | 186 def print_event1(cpu, data, size): argument 190 def print_event2(cpu, data, size): argument 195 def print_event3(cpu, data, size): argument 199 def print_event4(cpu, data, size): argument 203 def print_event5(cpu, data, size): argument
|
/external/arm-trusted-firmware/plat/nvidia/tegra/drivers/flowctrl/ |
D | flowctrl.c | 86 unsigned int i, cpu = read_mpidr() & MPIDR_CPU_MASK; in tegra_fc_ccplex_pgexit_lock() local 125 int cpu = mpidr & MPIDR_CPU_MASK; in tegra_fc_cpu_powerdn() local 136 int cpu = mpidr & MPIDR_CPU_MASK; in tegra_fc_cluster_idle() local 157 int cpu = mpidr & MPIDR_CPU_MASK; in tegra_fc_cluster_powerdn() local 178 unsigned int i, cpu = read_mpidr() & MPIDR_CPU_MASK; in tegra_fc_is_ccx_allowed() local 203 int cpu = mpidr & MPIDR_CPU_MASK; in tegra_fc_soc_powerdn() local 222 void tegra_fc_cpu_on(int cpu) in tegra_fc_cpu_on() 231 void tegra_fc_cpu_off(int cpu) in tegra_fc_cpu_off()
|
/external/ltp/testcases/open_posix_testsuite/include/ |
D | affinity.h | 31 static int set_affinity(int cpu) in set_affinity() 44 int cpu = -1; in get_online_cpu_from_sysfs() local 58 int cpu = -1; in get_online_cpu_from_cpuinfo() local 84 int cpu; in set_affinity_single() local
|
/external/arm-trusted-firmware/plat/mediatek/mt8183/ |
D | plat_pm.c | 112 #define CPU_IDX(cluster, cpu) ((cluster << 2) + cpu) argument 136 static bool clst_single_pwr(int cluster, int cpu) in clst_single_pwr() 146 static bool clst_single_on(int cluster, int cpu) in clst_single_on() 212 static void mcdi_ctrl_before_hotplug_on(int cluster, int cpu) in mcdi_ctrl_before_hotplug_on() 220 static void mcdi_ctrl_before_hotplug_off(int cluster, int cpu, bool cluster_off) in mcdi_ctrl_before_hotplug_off() 227 static void mcdi_ctrl_cluster_cpu_off(int cluster, int cpu, bool cluster_off) in mcdi_ctrl_cluster_cpu_off() 253 static void hotplug_ctrl_cluster_on(int cluster, int cpu) in hotplug_ctrl_cluster_on() 266 static void hotplug_ctrl_cpu_on(int cluster, int cpu) in hotplug_ctrl_cpu_on() 274 static void hotplug_ctrl_cpu_on_finish(int cluster, int cpu) in hotplug_ctrl_cpu_on_finish() 286 static void hotplug_ctrl_cluster_cpu_off(int cluster, int cpu, bool cluster_off) in hotplug_ctrl_cluster_cpu_off() [all …]
|
/external/perfetto/protos/perfetto/trace/ftrace/ |
D | cpuhp.proto | 9 optional uint32 cpu = 1; field 15 optional uint32 cpu = 1; field 21 optional uint32 cpu = 1; field 27 optional uint32 cpu = 1; field
|
/external/ltp/testcases/kernel/sched/eas/ |
D | util.c | 22 void affine(int cpu) in affine() 58 static int read_capacity_sched_domains(int cpu, unsigned int *cap) in read_capacity_sched_domains() 129 static int read_capacity_sysfs(int cpu, unsigned int *cap) in read_capacity_sysfs() 138 static int read_cpu_capacity(int cpu, unsigned int *cap) in read_cpu_capacity()
|
/external/perfetto/src/trace_processor/ |
D | trace_sorter.h | 106 inline void PushFtraceEvent(uint32_t cpu, in PushFtraceEvent() 128 inline void PushInlineFtraceEvent(uint32_t cpu, in PushInlineFtraceEvent() 135 inline void PushInlineFtraceEvent(uint32_t cpu, in PushInlineFtraceEvent() 151 inline void FinalizeFtraceEventBatch(uint32_t cpu) { in FinalizeFtraceEventBatch() 270 inline void DCHECK_ftrace_batch_cpu(uint32_t cpu) { in DCHECK_ftrace_batch_cpu() 274 inline void set_ftrace_batch_cpu_for_DCHECK(uint32_t cpu) { in set_ftrace_batch_cpu_for_DCHECK()
|
/external/perfetto/src/trace_processor/importers/ftrace/ |
D | ftrace_tokenizer.cc | 48 uint32_t cpu = decoder.cpu(); in TokenizeFtraceBundle() local 68 void FtraceTokenizer::TokenizeFtraceEvent(uint32_t cpu, in TokenizeFtraceEvent() 108 void FtraceTokenizer::TokenizeFtraceCompactSched(uint32_t cpu, in TokenizeFtraceCompactSched() 126 uint32_t cpu, in TokenizeFtraceCompactSchedSwitch() 168 uint32_t cpu, in TokenizeFtraceCompactSchedWaking()
|
/external/bcc/tools/ |
D | sslsniff.py | 193 def print_event_write(cpu, data, size): argument 197 def print_event_read(cpu, data, size): argument 201 def print_event(cpu, data, size, rw): argument
|
/external/linux-kselftest/tools/testing/selftests/breakpoints/ |
D | step_after_suspend_test.c | 24 void child(int cpu) in child() 50 bool run_test(int cpu) in run_test() 170 int cpu; in main() local
|
/external/perfetto/src/traced/probes/ |
D | kmem_activity_trigger.cc | 85 for (size_t cpu = 0; cpu < num_cpus_; cpu++) { in WorkerData() local 112 for (size_t cpu = 0; cpu < trace_pipe_fds_.size(); cpu++) { in ArmFtraceFDWatches() local 135 void KmemActivityTrigger::WorkerData::OnFtracePipeWakeup(size_t cpu) { in OnFtracePipeWakeup()
|