Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/hwtracing/coresight/
Dcoresight-etm3x-core.c44 static struct etm_drvdata *etmdrvdata[NR_CPUS]; variable
714 if (!etmdrvdata[cpu]) in etm_online_cpu()
717 if (etmdrvdata[cpu]->boot_enable && !etmdrvdata[cpu]->sticky_enable) in etm_online_cpu()
718 coresight_enable(etmdrvdata[cpu]->csdev); in etm_online_cpu()
724 if (!etmdrvdata[cpu]) in etm_starting_cpu()
727 spin_lock(&etmdrvdata[cpu]->spinlock); in etm_starting_cpu()
728 if (!etmdrvdata[cpu]->os_unlock) { in etm_starting_cpu()
729 etm_os_unlock(etmdrvdata[cpu]); in etm_starting_cpu()
730 etmdrvdata[cpu]->os_unlock = true; in etm_starting_cpu()
733 if (local_read(&etmdrvdata[cpu]->mode)) in etm_starting_cpu()
[all …]
Dcoresight-etm4x-core.c62 static struct etmv4_drvdata *etmdrvdata[NR_CPUS]; variable
1607 if (!etmdrvdata[cpu]) in etm4_online_cpu()
1610 if (etmdrvdata[cpu]->boot_enable && !etmdrvdata[cpu]->sticky_enable) in etm4_online_cpu()
1611 coresight_enable(etmdrvdata[cpu]->csdev); in etm4_online_cpu()
1617 if (!etmdrvdata[cpu]) in etm4_starting_cpu()
1620 spin_lock(&etmdrvdata[cpu]->spinlock); in etm4_starting_cpu()
1621 if (!etmdrvdata[cpu]->os_unlock) in etm4_starting_cpu()
1622 etm4_os_unlock(etmdrvdata[cpu]); in etm4_starting_cpu()
1624 if (local_read(&etmdrvdata[cpu]->mode)) in etm4_starting_cpu()
1625 etm4_enable_hw(etmdrvdata[cpu]); in etm4_starting_cpu()
[all …]