Home
last modified time | relevance | path

Searched refs:pcr_ops (Results 1 – 5 of 5) sorted by relevance

/arch/sparc/kernel/
Dnmi.c100 pcr_ops->write_pcr(0, pcr_ops->pcr_nmi_disable); in perfctr_irq()
117 pcr_ops->write_pic(0, pcr_ops->nmi_picl_value(nmi_hz)); in perfctr_irq()
118 pcr_ops->write_pcr(0, pcr_ops->pcr_nmi_enable); in perfctr_irq()
156 pcr_ops->write_pcr(0, pcr_ops->pcr_nmi_disable); in stop_nmi_watchdog()
213 pcr_ops->write_pcr(0, pcr_ops->pcr_nmi_disable); in start_nmi_watchdog()
214 pcr_ops->write_pic(0, pcr_ops->nmi_picl_value(nmi_hz)); in start_nmi_watchdog()
216 pcr_ops->write_pcr(0, pcr_ops->pcr_nmi_enable); in start_nmi_watchdog()
224 pcr_ops->write_pcr(0, pcr_ops->pcr_nmi_disable); in nmi_adjust_hz_one()
225 pcr_ops->write_pic(0, pcr_ops->nmi_picl_value(nmi_hz)); in nmi_adjust_hz_one()
227 pcr_ops->write_pcr(0, pcr_ops->pcr_nmi_enable); in nmi_adjust_hz_one()
Dpcr.c51 const struct pcr_ops *pcr_ops; variable
52 EXPORT_SYMBOL_GPL(pcr_ops);
100 static const struct pcr_ops direct_pcr_ops = {
130 static const struct pcr_ops n2_pcr_ops = {
182 static const struct pcr_ops n4_pcr_ops = {
208 static const struct pcr_ops n5_pcr_ops = {
234 static const struct pcr_ops m7_pcr_ops = {
314 pcr_ops = &n2_pcr_ops; in setup_sun4v_pcr_ops()
318 pcr_ops = &n4_pcr_ops; in setup_sun4v_pcr_ops()
322 pcr_ops = &n5_pcr_ops; in setup_sun4v_pcr_ops()
[all …]
Dperf_event.c182 val = pcr_ops->read_pic(0); in sparc_default_read_pmc()
200 pic = pcr_ops->read_pic(0); in sparc_default_write_pmc()
203 pcr_ops->write_pic(0, pic); in sparc_default_write_pmc()
731 u64 val = pcr_ops->read_pic(idx); in sparc_vt_read_pmc()
740 pcr = pcr_ops->read_pcr(idx); in sparc_vt_write_pmc()
744 pcr_ops->write_pic(idx, val & 0xffffffff); in sparc_vt_write_pmc()
746 pcr_ops->write_pcr(idx, pcr); in sparc_vt_write_pmc()
840 pcr_ops->write_pcr(pcr_index, cpuc->pcr[pcr_index]); in sparc_pmu_enable_event()
858 pcr_ops->write_pcr(pcr_index, cpuc->pcr[pcr_index]); in sparc_pmu_disable_event()
1042 pcr_ops->write_pcr(i, cpuc->pcr[i]); in sparc_pmu_enable()
[all …]
Dprocess_64.c317 if (!pcr_ops) in __global_pmu_self()
328 pp->pcr[i] = pcr_ops->read_pcr(i); in __global_pmu_self()
329 pp->pic[i] = pcr_ops->read_pic(i); in __global_pmu_self()
/arch/sparc/include/asm/
Dpcr.h4 struct pcr_ops { struct
13 extern const struct pcr_ops *pcr_ops; argument