Lines Matching refs:lsctl
84 struct hws_lsctl_request_block lsctl; member
102 return lsctl(&sreq); in sf_disable()
885 err = lsctl(&cpuhw->lsctl); in cpumsf_pmu_enable()
894 "tear=%p dear=%p\n", cpuhw->lsctl.es, cpuhw->lsctl.cs, in cpumsf_pmu_enable()
895 cpuhw->lsctl.ed, cpuhw->lsctl.cd, in cpumsf_pmu_enable()
896 (void *) cpuhw->lsctl.tear, (void *) cpuhw->lsctl.dear); in cpumsf_pmu_enable()
913 inactive = cpuhw->lsctl; in cpumsf_pmu_disable()
917 err = lsctl(&inactive); in cpumsf_pmu_disable()
932 cpuhw->lsctl.tear = si.tear; in cpumsf_pmu_disable()
933 cpuhw->lsctl.dear = si.dear; in cpumsf_pmu_disable()
1318 cpuhw->lsctl.cs = 1; in cpumsf_pmu_start()
1320 cpuhw->lsctl.cd = 1; in cpumsf_pmu_start()
1335 cpuhw->lsctl.cs = 0; in cpumsf_pmu_stop()
1336 cpuhw->lsctl.cd = 0; in cpumsf_pmu_stop()
1367 cpuhw->lsctl.s = 0; in cpumsf_pmu_add()
1368 cpuhw->lsctl.h = 1; in cpumsf_pmu_add()
1369 cpuhw->lsctl.tear = (unsigned long) cpuhw->sfb.sdbt; in cpumsf_pmu_add()
1370 cpuhw->lsctl.dear = *(unsigned long *) cpuhw->sfb.sdbt; in cpumsf_pmu_add()
1371 cpuhw->lsctl.interval = SAMPL_RATE(&event->hw); in cpumsf_pmu_add()
1376 if (WARN_ON_ONCE(cpuhw->lsctl.es == 1 || cpuhw->lsctl.ed == 1)) { in cpumsf_pmu_add()
1380 cpuhw->lsctl.es = 1; in cpumsf_pmu_add()
1382 cpuhw->lsctl.ed = 1; in cpumsf_pmu_add()
1403 cpuhw->lsctl.es = 0; in cpumsf_pmu_del()
1404 cpuhw->lsctl.ed = 0; in cpumsf_pmu_del()