Lines Matching refs:etmdrvdata
59 static struct etmv4_drvdata *etmdrvdata[NR_CPUS]; variable
1516 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()
1535 spin_unlock(&etmdrvdata[cpu]->spinlock); in etm4_starting_cpu()
1541 if (!etmdrvdata[cpu]) in etm4_dying_cpu()
1544 spin_lock(&etmdrvdata[cpu]->spinlock); in etm4_dying_cpu()
1545 if (local_read(&etmdrvdata[cpu]->mode)) in etm4_dying_cpu()
1546 etm4_disable_hw(etmdrvdata[cpu]); in etm4_dying_cpu()
1547 spin_unlock(&etmdrvdata[cpu]->spinlock); in etm4_dying_cpu()
1821 if (!etmdrvdata[cpu]) in etm4_cpu_pm_notify()
1824 drvdata = etmdrvdata[cpu]; in etm4_cpu_pm_notify()
1992 etmdrvdata[drvdata->cpu] = drvdata; in etm4_probe()
2056 etmdrvdata[cpu] = NULL; in clear_etmdrvdata()
2074 etmdrvdata[drvdata->cpu] = NULL; in etm4_remove_dev()