Home
last modified time | relevance | path

Searched refs:cpsr (Results 1 – 25 of 29) sorted by relevance

12

/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/cmsis/inc/
A Dcmsis.h50 uint32_t cpsr = __get_CPSR(); in int_lock_global() local
51 uint32_t st = cpsr & IRQ_LOCK_MASK; in int_lock_global()
53 cpsr |= IRQ_LOCK_MASK; in int_lock_global()
54 __set_CPSR(cpsr); in int_lock_global()
70 uint32_t cpsr = __get_CPSR(); in int_unlock_global() local
71 cpsr = (cpsr & ~IRQ_LOCK_MASK) | pri; in int_unlock_global()
72 __set_CPSR(cpsr); in int_unlock_global()
/AliOS-Things-master/hardware/arch/armv7m/include/
A Dport.h9 void cpu_intrpt_restore(cpu_cpsr_t cpsr);
20 #define CPSR_ALLOC() cpu_cpsr_t cpsr
21 #define RHINO_CPU_INTRPT_DISABLE() do{cpsr = cpu_intrpt_save();}while(0)
22 #define RHINO_CPU_INTRPT_ENABLE() do{cpu_intrpt_restore(cpsr);}while(0)
/AliOS-Things-master/hardware/arch/armv8m/include/
A Dport.h9 void cpu_intrpt_restore(cpu_cpsr_t cpsr);
20 #define CPSR_ALLOC() cpu_cpsr_t cpsr
21 #define RHINO_CPU_INTRPT_DISABLE() do{cpsr = cpu_intrpt_save();}while(0)
22 #define RHINO_CPU_INTRPT_ENABLE() do{cpu_intrpt_restore(cpsr);}while(0)
/AliOS-Things-master/hardware/arch/riscv/include/
A Dport.h30 void cpu_intrpt_restore(cpu_cpsr_t cpsr);
42 #define CPSR_ALLOC() cpu_cpsr_t cpsr
44 #define RHINO_CPU_INTRPT_DISABLE() do{cpsr = cpu_intrpt_save();}while(0)
45 #define RHINO_CPU_INTRPT_ENABLE() do{cpu_intrpt_restore(cpsr);}while(0)
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/src/osdep/
A Dlwip_intf.c67 cpsr = cpu_intrpt_save(); in rltk_wlan_send()
73 cpu_intrpt_restore(cpsr); in rltk_wlan_send()
77 cpu_intrpt_restore(cpsr); in rltk_wlan_send()
97 cpsr = cpu_intrpt_save(); in rltk_wlan_send()
100 cpu_intrpt_restore(cpsr); in rltk_wlan_send()
/AliOS-Things-master/kernel/rhino/
A Dk_mm_debug.c16 #define KMM_CRITICAL_ENTER(head, cpsr) \
20 MM_CRITICAL_ENTER(head, cpsr); \
24 #define KMM_CRITICAL_EXIT(head, cpsr) \
28 MM_CRITICAL_EXIT(head, cpsr); \
33 #define KMM_CRITICAL_ENTER(head, cpsr) MM_CRITICAL_ENTER(head, cpsr) argument
34 #define KMM_CRITICAL_EXIT(head, cpsr) MM_CRITICAL_EXIT(head, cpsr) argument
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/cmsis/inc/ca/
A Dcmsis_armclang_ca.h409 __STATIC_FORCEINLINE void __set_CPSR(uint32_t cpsr) in __set_CPSR() argument
411 __ASM volatile ("MSR cpsr, %0" : : "r" (cpsr) : "memory"); in __set_CPSR()
453 uint32_t cpsr; in __get_SP_usr() local
460 "ISB" : "=r"(cpsr), "=r"(result) : : "memory" in __get_SP_usr()
470 uint32_t cpsr; in __set_SP_usr() local
476 "ISB" : "=r"(cpsr) : "r" (topOfProcStack) : "memory" in __set_SP_usr()
A Dcmsis_iccarm_ca.h470 uint32_t cpsr; in __get_SP_usr() local
477 "ISB" : "=r"(cpsr), "=r"(result) : "r"(cpsr) : "memory" in __get_SP_usr()
484 uint32_t cpsr; in __set_SP_usr() local
490 "ISB" : "=r"(cpsr) : "r" (topOfProcStack), "r"(cpsr) : "memory" in __set_SP_usr()
A Dcmsis_gcc_ca.h638 __STATIC_FORCEINLINE void __set_CPSR(uint32_t cpsr) in __set_CPSR() argument
640 __ASM volatile ("MSR cpsr, %0" : : "r" (cpsr) : "memory"); in __set_CPSR()
682 uint32_t cpsr = __get_CPSR(); in __get_SP_usr() local
688 __set_CPSR(cpsr); in __get_SP_usr()
698 uint32_t cpsr = __get_CPSR(); in __set_SP_usr() local
703 __set_CPSR(cpsr); in __set_SP_usr()
A Dcmsis_armcc_ca.h354 __STATIC_INLINE void __set_CPSR(uint32_t cpsr) in __set_CPSR() argument
357 __regCPSR = cpsr; in __set_CPSR()
/AliOS-Things-master/hardware/chip/rtl872xd/aos/
A Daos_osdep.c443 cpsr = cpu_intrpt_save(); in _aos_ATOMIC_ADD()
445 cpu_intrpt_restore(cpsr); in _aos_ATOMIC_ADD()
453 cpsr = cpu_intrpt_save(); in _aos_ATOMIC_SUB()
472 cpsr = cpu_intrpt_save(); in _aos_ATOMIC_ADD_RETURN()
476 cpu_intrpt_restore(cpsr); in _aos_ATOMIC_ADD_RETURN()
485 cpsr = cpu_intrpt_save(); in _aos_ATOMIC_SUB_RETURN()
489 cpu_intrpt_restore(cpsr); in _aos_ATOMIC_SUB_RETURN()
/AliOS-Things-master/components/amp_adapter/platform/linux/peripheral/
A Daos_hal_onewire.c22 void cpu_intrpt_restore(size_t cpsr) in cpu_intrpt_restore() argument
/AliOS-Things-master/kernel/rhino/include/
A Dk_critical.h59 cpu_intrpt_restore(cpsr); \
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/hardware/onewire/
A Dmodule_onewire.c36 #define RHINO_CPU_INTRPT_DISABLE() do{ cpsr = cpu_intrpt_save(); }while(0)
37 #define RHINO_CPU_INTRPT_ENABLE() do{ cpu_intrpt_restore(cpsr); }while(0)
41 int cpsr; in oneWireUdelay() local
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/hardware/onewire/
A Dmodule_onewire.c40 #define RHINO_CPU_INTRPT_DISABLE() do{ cpsr = cpu_intrpt_save(); }while(0)
41 #define RHINO_CPU_INTRPT_ENABLE() do{ cpu_intrpt_restore(cpsr); }while(0)
47 int cpsr; in oneWireUdelay() local
/AliOS-Things-master/components/debug/src/
A Ddebug_test.c86 (void)cpsr; in ALIOS_CLI_CMD_REGISTER()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/os/os_dep/include/
A Dosdep_service.h226 #define ALLOC_CPSR u32 cpsr
563 #define rtw_enter_critical(plock,pirqL) {cpsr =cpu_intrpt_save();}
564 #define rtw_exit_critical(plock,pirqL) {cpu_intrpt_restore(cpsr);}
565 #define rtw_enter_critical_from_isr(plock,pirqL) {cpsr =cpu_intrpt_save();}
566 #define rtw_exit_critical_from_isr(plock,pirqL) {cpu_intrpt_restore(cpsr);}
/AliOS-Things-master/components/ble_host/bt_host/port/aos/
A Daos_port.c303 return cpsr; in irq_lock()
309 cpsr = key; in irq_unlock()
/AliOS-Things-master/hardware/arch/armv7m/armcc/m3/
A Dport_s.S46 ; void cpu_intrpt_restore(size_t cpsr);
/AliOS-Things-master/hardware/arch/armv7m/iccarm/m3/
A Dport_s.S46 ; void cpu_intrpt_restore(size_t cpsr);
/AliOS-Things-master/hardware/arch/armv7m/gcc/m3/
A Dport_s.sx46 @ void cpu_intrpt_restore(size_t cpsr);
/AliOS-Things-master/hardware/arch/armv7m/iccarm/m4/
A Dport_s.S46 ; void cpu_intrpt_restore(size_t cpsr);
/AliOS-Things-master/hardware/arch/armv7m/iccarm/m7/
A Dport_s.S46 ; void cpu_intrpt_restore(size_t cpsr);
/AliOS-Things-master/hardware/arch/armv7m/armcc/m4/
A Dport_s.S46 ; void cpu_intrpt_restore(size_t cpsr);
/AliOS-Things-master/hardware/arch/armv7m/armcc/m7/
A Dport_s.S46 ; void cpu_intrpt_restore(size_t cpsr);

Completed in 33 milliseconds

12