Home
last modified time | relevance | path

Searched refs:etmdrvdata (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-etm3x-core.c43 static struct etm_drvdata *etmdrvdata[NR_CPUS]; variable
679 if (!etmdrvdata[cpu]) in etm_online_cpu()
682 if (etmdrvdata[cpu]->boot_enable && !etmdrvdata[cpu]->sticky_enable) in etm_online_cpu()
683 coresight_enable(etmdrvdata[cpu]->csdev); in etm_online_cpu()
689 if (!etmdrvdata[cpu]) in etm_starting_cpu()
692 spin_lock(&etmdrvdata[cpu]->spinlock); in etm_starting_cpu()
693 if (!etmdrvdata[cpu]->os_unlock) { in etm_starting_cpu()
694 etm_os_unlock(etmdrvdata[cpu]); in etm_starting_cpu()
695 etmdrvdata[cpu]->os_unlock = true; in etm_starting_cpu()
698 if (local_read(&etmdrvdata[cpu]->mode)) in etm_starting_cpu()
[all …]
Dcoresight-etm4x-core.c51 static struct etmv4_drvdata *etmdrvdata[NR_CPUS]; variable
1114 if (!etmdrvdata[cpu]) in etm4_online_cpu()
1117 if (etmdrvdata[cpu]->boot_enable && !etmdrvdata[cpu]->sticky_enable) in etm4_online_cpu()
1118 coresight_enable(etmdrvdata[cpu]->csdev); in etm4_online_cpu()
1124 if (!etmdrvdata[cpu]) in etm4_starting_cpu()
1127 spin_lock(&etmdrvdata[cpu]->spinlock); in etm4_starting_cpu()
1128 if (!etmdrvdata[cpu]->os_unlock) in etm4_starting_cpu()
1129 etm4_os_unlock(etmdrvdata[cpu]); in etm4_starting_cpu()
1131 if (local_read(&etmdrvdata[cpu]->mode)) in etm4_starting_cpu()
1132 etm4_enable_hw(etmdrvdata[cpu]); in etm4_starting_cpu()
[all …]