Searched refs:pccr (Results 1 - 3 of 3) sorted by relevance
/linux-4.4.14/arch/avr32/oprofile/ |
H A D | op_model_avr32.c | 67 u32 pccr; avr32_perf_counter_interrupt() local 74 pccr = sysreg_read(PCCR); avr32_perf_counter_interrupt() 77 sysreg_write(PCCR, pccr); avr32_perf_counter_interrupt() 80 if (ctr->enabled && (pccr & ctr->flag_mask)) { avr32_perf_counter_interrupt() 86 if (ctr->enabled && (pccr & ctr->flag_mask)) { avr32_perf_counter_interrupt() 92 if (ctr->enabled && (pccr & ctr->flag_mask)) { avr32_perf_counter_interrupt() 132 u32 pccr; avr32_perf_counter_setup() local 152 pccr = 0; avr32_perf_counter_setup() 160 pccr |= ctr->ie_mask; avr32_perf_counter_setup() 168 pccr |= SYSREG_BF(CONF0, ctr->event); avr32_perf_counter_setup() 172 pccr |= SYSREG_BF(CONF1, ctr->event); avr32_perf_counter_setup() 178 pr_debug("oprofile: writing 0x%x to PCCR...\n", pccr); avr32_perf_counter_setup() 180 sysreg_write(PCCR, pccr); avr32_perf_counter_setup()
|
/linux-4.4.14/arch/avr32/kernel/ |
H A D | cpu.c | 32 unsigned long pccr; show_pc0event() local 34 pccr = sysreg_read(PCCR); show_pc0event() 35 return sprintf(buf, "0x%lx\n", (pccr >> 12) & 0x3f); show_pc0event() 79 unsigned long pccr; show_pc1event() local 81 pccr = sysreg_read(PCCR); show_pc1event() 82 return sprintf(buf, "0x%lx\n", (pccr >> 18) & 0x3f); show_pc1event() 149 unsigned long pccr; show_pcenable() local 151 pccr = sysreg_read(PCCR); show_pcenable() 152 return sprintf(buf, "%c\n", (pccr & 1)?'1':'0'); show_pcenable() 158 unsigned long pccr, val; store_pcenable() local 167 pccr = sysreg_read(PCCR); store_pcenable() 168 pccr = (pccr & ~1UL) | val; store_pcenable() 169 sysreg_write(PCCR, pccr); store_pcenable()
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | sysfs.c | 619 SYSFS_SPRSETUP(pccr, SPRN_PA6T_PCCR); 689 __ATTR(pccr, 0600, show_pccr, store_pccr),
|
Completed in 290 milliseconds