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]; variable1530 if (!etmdrvdata[cpu]) in etm4_online_cpu()1533 if (etmdrvdata[cpu]->boot_enable && !etmdrvdata[cpu]->sticky_enable) in etm4_online_cpu()1534 coresight_enable(etmdrvdata[cpu]->csdev); in etm4_online_cpu()1540 if (!etmdrvdata[cpu]) in etm4_starting_cpu()1543 spin_lock(&etmdrvdata[cpu]->spinlock); in etm4_starting_cpu()1544 if (!etmdrvdata[cpu]->os_unlock) in etm4_starting_cpu()1545 etm4_os_unlock(etmdrvdata[cpu]); in etm4_starting_cpu()1547 if (local_read(&etmdrvdata[cpu]->mode)) in etm4_starting_cpu()1548 etm4_enable_hw(etmdrvdata[cpu]); in etm4_starting_cpu()[all …]