Home
last modified time | relevance | path

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

/openbmc/linux/arch/sparc/kernel/
H A Dnmi.c104 pcr_ops->write_pcr(0, pcr_ops->pcr_nmi_disable); in perfctr_irq()
121 pcr_ops->write_pic(0, pcr_ops->nmi_picl_value(nmi_hz)); in perfctr_irq()
122 pcr_ops->write_pcr(0, pcr_ops->pcr_nmi_enable); in perfctr_irq()
162 pcr_ops->write_pcr(0, pcr_ops->pcr_nmi_disable); in stop_nmi_watchdog()
223 pcr_ops->write_pcr(0, pcr_ops->pcr_nmi_disable); in start_nmi_watchdog()
224 pcr_ops->write_pic(0, pcr_ops->nmi_picl_value(nmi_hz)); in start_nmi_watchdog()
226 pcr_ops->write_pcr(0, pcr_ops->pcr_nmi_enable); in start_nmi_watchdog()
234 pcr_ops->write_pcr(0, pcr_ops->pcr_nmi_disable); in nmi_adjust_hz_one()
235 pcr_ops->write_pic(0, pcr_ops->nmi_picl_value(nmi_hz)); in nmi_adjust_hz_one()
237 pcr_ops->write_pcr(0, pcr_ops->pcr_nmi_enable); in nmi_adjust_hz_one()
H A Dpcr.c52 const struct pcr_ops *pcr_ops; variable
53 EXPORT_SYMBOL_GPL(pcr_ops);
101 static const struct pcr_ops direct_pcr_ops = {
131 static const struct pcr_ops n2_pcr_ops = {
183 static const struct pcr_ops n4_pcr_ops = {
209 static const struct pcr_ops n5_pcr_ops = {
235 static const struct pcr_ops m7_pcr_ops = {
315 pcr_ops = &n2_pcr_ops; in setup_sun4v_pcr_ops()
319 pcr_ops = &n4_pcr_ops; in setup_sun4v_pcr_ops()
323 pcr_ops = &n5_pcr_ops; in setup_sun4v_pcr_ops()
[all …]
H A Dperf_event.c184 val = pcr_ops->read_pic(0); in sparc_default_read_pmc()
202 pic = pcr_ops->read_pic(0); in sparc_default_write_pmc()
205 pcr_ops->write_pic(0, pic); in sparc_default_write_pmc()
733 u64 val = pcr_ops->read_pic(idx); in sparc_vt_read_pmc()
742 pcr = pcr_ops->read_pcr(idx); in sparc_vt_write_pmc()
746 pcr_ops->write_pic(idx, val & 0xffffffff); in sparc_vt_write_pmc()
748 pcr_ops->write_pcr(idx, pcr); in sparc_vt_write_pmc()
842 pcr_ops->write_pcr(pcr_index, cpuc->pcr[pcr_index]); in sparc_pmu_enable_event()
860 pcr_ops->write_pcr(pcr_index, cpuc->pcr[pcr_index]); in sparc_pmu_disable_event()
1044 pcr_ops->write_pcr(i, cpuc->pcr[i]); in sparc_pmu_enable()
[all …]
H A Dprocess_64.c314 if (!pcr_ops) in __global_pmu_self()
325 pp->pcr[i] = pcr_ops->read_pcr(i); in __global_pmu_self()
326 pp->pic[i] = pcr_ops->read_pic(i); in __global_pmu_self()
/openbmc/linux/arch/sparc/include/asm/
H A Dpcr.h5 struct pcr_ops { struct
14 extern const struct pcr_ops *pcr_ops; argument
/openbmc/linux/drivers/misc/cardreader/
H A Drtl8411.c284 static const struct pcr_ops rtl8411_pcr_ops = {
300 static const struct pcr_ops rtl8402_pcr_ops = {
316 static const struct pcr_ops rtl8411b_pcr_ops = {
H A Drts5227.c270 static const struct pcr_ops rts5227_pcr_ops = {
468 static const struct pcr_ops rts522a_pcr_ops = {
H A Drts5249.c473 static const struct pcr_ops rts5249_pcr_ops = {
696 static const struct pcr_ops rts524a_pcr_ops = {
816 static const struct pcr_ops rts525a_pcr_ops = {
H A Drts5209.c180 static const struct pcr_ops rts5209_pcr_ops = {
H A Drts5229.c162 static const struct pcr_ops rts5229_pcr_ops = {
H A Drts5260.c563 static const struct pcr_ops rts5260_pcr_ops = {
H A Drts5228.c529 static const struct pcr_ops rts5228_pcr_ops = {
H A Drts5261.c606 static const struct pcr_ops rts5261_pcr_ops = {
/openbmc/linux/include/linux/
H A Drtsx_pci.h1085 struct pcr_ops { struct
1253 const struct pcr_ops *ops;