Home
last modified time | relevance | path

Searched refs:sysreg_write (Results 1 – 12 of 12) sorted by relevance

/linux-2.6.39/arch/avr32/oprofile/
Dop_model_avr32.c57 sysreg_write(PCCR, (SYSREG_BIT(PCCR_R) in avr32_perf_counter_reset()
78 sysreg_write(PCCR, pccr); in avr32_perf_counter_interrupt()
82 sysreg_write(PCCNT, -ctr->count); in avr32_perf_counter_interrupt()
88 sysreg_write(PCNT0, -ctr->count); in avr32_perf_counter_interrupt()
94 sysreg_write(PCNT1, -ctr->count); in avr32_perf_counter_interrupt()
167 sysreg_write(PCCNT, -ctr->count); in avr32_perf_counter_setup()
171 sysreg_write(PCNT0, -ctr->count); in avr32_perf_counter_setup()
175 sysreg_write(PCNT1, -ctr->count); in avr32_perf_counter_setup()
182 sysreg_write(PCCR, pccr); in avr32_perf_counter_setup()
199 sysreg_write(PCCR, sysreg_read(PCCR) | SYSREG_BIT(PCCR_E)); in avr32_perf_counter_start()
[all …]
/linux-2.6.39/arch/avr32/mach-at32ap/
Dpm.c56 sysreg_write(MMUCR, SYSREG_BFINS(DRP, 0, mmucr)); in avr32_pm_map_sram()
62 sysreg_write(TLBELO, page_addr | SRAM_PAGE_FLAGS); in avr32_pm_map_sram()
63 sysreg_write(TLBEHI, tlbehi); in avr32_pm_map_sram()
82 sysreg_write(MMUCR, SYSREG_BFINS(DRP, 0, mmucr)); in avr32_pm_unmap_sram()
86 sysreg_write(TLBEHI, tlbehi); in avr32_pm_unmap_sram()
90 sysreg_write(TLBARLO, tlbarlo | 0x80000000U); in avr32_pm_unmap_sram()
124 sysreg_write(EVBA, (unsigned long)sram); in avr32_pm_enter()
136 sysreg_write(EVBA, evba_saved); in avr32_pm_enter()
146 sysreg_write(EVBA, (unsigned long)sram); in avr32_pm_enter()
158 sysreg_write(EVBA, evba_saved); in avr32_pm_enter()
Dintc.c82 sysreg_write(SR, status_reg); in do_IRQ()
134 sysreg_write(SR, (sysreg_read(SR) in init_IRQ()
/linux-2.6.39/arch/avr32/mm/
Dtlb.c26 sysreg_write(MMUCR, mmucr); in show_dtlb_entry()
48 sysreg_write(MMUCR, mmucr_save); in show_dtlb_entry()
49 sysreg_write(TLBEHI, tlbehi_save); in show_dtlb_entry()
76 sysreg_write(TLBEHI, tlbehi); in update_dtlb()
90 sysreg_write(TLBARLO, -1L); in update_dtlb()
94 sysreg_write(MMUCR, mmucr); in update_dtlb()
97 sysreg_write(TLBELO, pte_val(pte) & _PAGE_FLAGS_HARDWARE_MASK); in update_dtlb()
127 sysreg_write(TLBEHI, tlbehi); in __flush_tlb_page()
137 sysreg_write(TLBEHI, tlbehi); in __flush_tlb_page()
143 sysreg_write(TLBARLO, tlbarlo); in __flush_tlb_page()
[all …]
Dinit.c58 sysreg_write(EVBA, (unsigned long)&_evba); in paging_init()
73 sysreg_write(PTBR, (unsigned long)swapper_pg_dir); in paging_init()
/linux-2.6.39/arch/avr32/include/asm/
Dmmu_context.h90 sysreg_write(TLBEHI, asid & MMU_CONTEXT_ASID_MASK); in set_asid()
115 sysreg_write(PTBR, __pgdir); in switch_mm()
132 sysreg_write(MMUCR, (SYSREG_BIT(MMUCR_S) in enable_mmu()
145 sysreg_write(MMUCR, SYSREG_BIT(MMUCR_S)); in disable_mmu()
Dirqflags.h28 sysreg_write(SR, flags); in arch_local_irq_restore()
Dsysreg.h289 #define sysreg_write(reg, value) __builtin_mtsr(SYSREG_##reg, value) macro
/linux-2.6.39/arch/avr32/kernel/
Dtime.c52 sysreg_write(COMPARE, 0); in timer_interrupt()
75 sysreg_write(COMPARE, (sysreg_read(COUNT) + delta) ? : 1); in comparator_next_event()
94 sysreg_write(COMPARE, 0); in comparator_mode()
135 sysreg_write(COMPARE, 0); in time_init()
Dcpu.c48 sysreg_write(PCCR, val); in store_pc0event()
69 sysreg_write(PCNT0, val); in store_pc0count()
93 sysreg_write(PCCR, val); in store_pc1event()
114 sysreg_write(PCNT1, val); in store_pc1count()
137 sysreg_write(PCCNT, val); in store_pccycles()
165 sysreg_write(PCCR, pccr); in store_pcenable()
Dptrace.c310 sysreg_write(RAR_EX, trampoline_addr); in do_debug()
311 sysreg_write(RSR_EX, (MODE_EXCEPTION in do_debug()
Dtraps.c163 sysreg_write(CPUCR, cpucr); in do_cop_absent()