Searched refs:pccr (Results 1 – 4 of 4) sorted by relevance
/arch/avr32/oprofile/ |
D | op_model_avr32.c | 68 u32 pccr; in avr32_perf_counter_interrupt() local 75 pccr = sysreg_read(PCCR); in avr32_perf_counter_interrupt() 78 sysreg_write(PCCR, pccr); in avr32_perf_counter_interrupt() 81 if (ctr->enabled && (pccr & ctr->flag_mask)) { in avr32_perf_counter_interrupt() 87 if (ctr->enabled && (pccr & ctr->flag_mask)) { in avr32_perf_counter_interrupt() 93 if (ctr->enabled && (pccr & ctr->flag_mask)) { in avr32_perf_counter_interrupt() 134 u32 pccr; in avr32_perf_counter_setup() local 154 pccr = 0; in avr32_perf_counter_setup() 162 pccr |= ctr->ie_mask; in avr32_perf_counter_setup() 170 pccr |= SYSREG_BF(CONF0, ctr->event); in avr32_perf_counter_setup() [all …]
|
/arch/avr32/kernel/ |
D | cpu.c | 32 unsigned long pccr; in show_pc0event() local 34 pccr = sysreg_read(PCCR); in show_pc0event() 35 return sprintf(buf, "0x%lx\n", (pccr >> 12) & 0x3f); in show_pc0event() 77 unsigned long pccr; in show_pc1event() local 79 pccr = sysreg_read(PCCR); in show_pc1event() 80 return sprintf(buf, "0x%lx\n", (pccr >> 18) & 0x3f); in show_pc1event() 145 unsigned long pccr; in show_pcenable() local 147 pccr = sysreg_read(PCCR); in show_pcenable() 148 return sprintf(buf, "%c\n", (pccr & 1)?'1':'0'); in show_pcenable() 154 unsigned long pccr, val; in store_pcenable() local [all …]
|
/arch/powerpc/platforms/512x/ |
D | clock.c | 116 u32 pccr[NRPSC]; /* PSC Clk Ctrl Reg 0-11 */ member 626 out_be32(&clockctl->pccr[pscnum], 0); in psc_calc_rate() 627 out_be32(&clockctl->pccr[pscnum], 0x00020000); in psc_calc_rate() 628 out_be32(&clockctl->pccr[pscnum], 0x00030000); in psc_calc_rate() 630 if (clockctl->pccr[pscnum] & 0x80) { in psc_calc_rate() 635 switch ((clockctl->pccr[pscnum] >> 14) & 0x3) { in psc_calc_rate() 650 mclk_div = ((clockctl->pccr[pscnum] >> 17) & 0x7fff) + 1; in psc_calc_rate()
|
/arch/powerpc/kernel/ |
D | sysfs.c | 259 SYSFS_PMCSETUP(pccr, SPRN_PA6T_PCCR); 329 _SYSDEV_ATTR(pccr, 0600, show_pccr, store_pccr),
|