Lines Matching refs:etmdrvdata
62 static struct etmv4_drvdata *etmdrvdata[NR_CPUS]; variable
1653 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()
1672 spin_unlock(&etmdrvdata[cpu]->spinlock); in etm4_starting_cpu()
1678 if (!etmdrvdata[cpu]) in etm4_dying_cpu()
1681 spin_lock(&etmdrvdata[cpu]->spinlock); in etm4_dying_cpu()
1682 if (coresight_get_mode(etmdrvdata[cpu]->csdev)) in etm4_dying_cpu()
1683 etm4_disable_hw(etmdrvdata[cpu]); in etm4_dying_cpu()
1684 spin_unlock(&etmdrvdata[cpu]->spinlock); in etm4_dying_cpu()
1957 if (!etmdrvdata[cpu]) in etm4_cpu_pm_notify()
1960 drvdata = etmdrvdata[cpu]; in etm4_cpu_pm_notify()
2094 etmdrvdata[drvdata->cpu] = drvdata; in etm4_add_coresight_dev()
2267 etmdrvdata[cpu] = NULL; in clear_etmdrvdata()