Home
last modified time | relevance | path

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

/drivers/hwtracing/coresight/
Dcoresight-etm3x.c52 static struct etm_drvdata *etmdrvdata[NR_CPUS]; variable
649 if (!etmdrvdata[cpu]) in etm_online_cpu()
652 if (etmdrvdata[cpu]->boot_enable && !etmdrvdata[cpu]->sticky_enable) in etm_online_cpu()
653 coresight_enable(etmdrvdata[cpu]->csdev); in etm_online_cpu()
659 if (!etmdrvdata[cpu]) in etm_starting_cpu()
662 spin_lock(&etmdrvdata[cpu]->spinlock); in etm_starting_cpu()
663 if (!etmdrvdata[cpu]->os_unlock) { in etm_starting_cpu()
664 etm_os_unlock(etmdrvdata[cpu]); in etm_starting_cpu()
665 etmdrvdata[cpu]->os_unlock = true; in etm_starting_cpu()
668 if (local_read(&etmdrvdata[cpu]->mode)) in etm_starting_cpu()
[all …]
Dcoresight-etm4x.c47 static struct etmv4_drvdata *etmdrvdata[NR_CPUS]; variable
903 if (!etmdrvdata[cpu]) in etm4_online_cpu()
906 if (etmdrvdata[cpu]->boot_enable && !etmdrvdata[cpu]->sticky_enable) in etm4_online_cpu()
907 coresight_enable(etmdrvdata[cpu]->csdev); in etm4_online_cpu()
913 if (!etmdrvdata[cpu]) in etm4_starting_cpu()
916 spin_lock(&etmdrvdata[cpu]->spinlock); in etm4_starting_cpu()
917 if (!etmdrvdata[cpu]->os_unlock) { in etm4_starting_cpu()
918 etm4_os_unlock(etmdrvdata[cpu]); in etm4_starting_cpu()
919 etmdrvdata[cpu]->os_unlock = true; in etm4_starting_cpu()
922 if (local_read(&etmdrvdata[cpu]->mode)) in etm4_starting_cpu()
[all …]