Searched refs:etmdrvdata (Results 1 – 2 of 2) sorted by relevance
43 static struct etm_drvdata *etmdrvdata[NR_CPUS]; variable685 if (!etmdrvdata[cpu]) in etm_online_cpu()688 if (etmdrvdata[cpu]->boot_enable && !etmdrvdata[cpu]->sticky_enable) in etm_online_cpu()689 coresight_enable(etmdrvdata[cpu]->csdev); in etm_online_cpu()695 if (!etmdrvdata[cpu]) in etm_starting_cpu()698 spin_lock(&etmdrvdata[cpu]->spinlock); in etm_starting_cpu()699 if (!etmdrvdata[cpu]->os_unlock) { in etm_starting_cpu()700 etm_os_unlock(etmdrvdata[cpu]); in etm_starting_cpu()701 etmdrvdata[cpu]->os_unlock = true; in etm_starting_cpu()704 if (local_read(&etmdrvdata[cpu]->mode)) in etm_starting_cpu()[all …]
59 static struct etmv4_drvdata *etmdrvdata[NR_CPUS]; variable1516 if (!etmdrvdata[cpu]) in etm4_online_cpu()1519 if (etmdrvdata[cpu]->boot_enable && !etmdrvdata[cpu]->sticky_enable) in etm4_online_cpu()1520 coresight_enable(etmdrvdata[cpu]->csdev); in etm4_online_cpu()1526 if (!etmdrvdata[cpu]) in etm4_starting_cpu()1529 spin_lock(&etmdrvdata[cpu]->spinlock); in etm4_starting_cpu()1530 if (!etmdrvdata[cpu]->os_unlock) in etm4_starting_cpu()1531 etm4_os_unlock(etmdrvdata[cpu]); in etm4_starting_cpu()1533 if (local_read(&etmdrvdata[cpu]->mode)) in etm4_starting_cpu()1534 etm4_enable_hw(etmdrvdata[cpu]); in etm4_starting_cpu()[all …]