Searched refs:etmdrvdata (Results 1 – 2 of 2) sorted by relevance
44 static struct etm_drvdata *etmdrvdata[NR_CPUS]; variable712 if (!etmdrvdata[cpu]) in etm_online_cpu()715 if (etmdrvdata[cpu]->boot_enable && !etmdrvdata[cpu]->sticky_enable) in etm_online_cpu()716 coresight_enable_sysfs(etmdrvdata[cpu]->csdev); in etm_online_cpu()722 if (!etmdrvdata[cpu]) in etm_starting_cpu()725 spin_lock(&etmdrvdata[cpu]->spinlock); in etm_starting_cpu()726 if (!etmdrvdata[cpu]->os_unlock) { in etm_starting_cpu()727 etm_os_unlock(etmdrvdata[cpu]); in etm_starting_cpu()728 etmdrvdata[cpu]->os_unlock = true; in etm_starting_cpu()731 if (coresight_get_mode(etmdrvdata[cpu]->csdev)) in etm_starting_cpu()[all …]
62 static struct etmv4_drvdata *etmdrvdata[NR_CPUS]; variable1653 if (!etmdrvdata[cpu]) in etm4_online_cpu()1656 if (etmdrvdata[cpu]->boot_enable && !etmdrvdata[cpu]->sticky_enable) in etm4_online_cpu()1657 coresight_enable_sysfs(etmdrvdata[cpu]->csdev); in etm4_online_cpu()1663 if (!etmdrvdata[cpu]) in etm4_starting_cpu()1666 spin_lock(&etmdrvdata[cpu]->spinlock); in etm4_starting_cpu()1667 if (!etmdrvdata[cpu]->os_unlock) in etm4_starting_cpu()1668 etm4_os_unlock(etmdrvdata[cpu]); in etm4_starting_cpu()1670 if (coresight_get_mode(etmdrvdata[cpu]->csdev)) in etm4_starting_cpu()1671 etm4_enable_hw(etmdrvdata[cpu]); in etm4_starting_cpu()[all …]