Home
last modified time | relevance | path

Searched refs:flags (Results 1 – 25 of 138) sorted by relevance

123456

/sof-3.4.0/src/schedule/
Dedf_schedule.c66 uint32_t flags; in edf_scheduler_run() local
70 irq_local_disable(flags); in edf_scheduler_run()
95 irq_local_enable(flags); in edf_scheduler_run()
106 uint32_t flags; in schedule_edf_task() local
110 irq_local_disable(flags); in schedule_edf_task()
117 irq_local_enable(flags); in schedule_edf_task()
126 irq_local_enable(flags); in schedule_edf_task()
135 void *data, uint16_t core, uint32_t flags) in schedule_task_init_edf() argument
141 core, flags); in schedule_task_init_edf()
185 uint32_t flags; in schedule_edf_task_running() local
[all …]
Dzephyr_ll.c41 static void zephyr_ll_lock(struct zephyr_ll *sch, uint32_t *flags) in zephyr_ll_lock() argument
43 irq_local_disable(*flags); in zephyr_ll_lock()
46 static void zephyr_ll_unlock(struct zephyr_ll *sch, uint32_t *flags) in zephyr_ll_unlock() argument
48 irq_local_enable(*flags); in zephyr_ll_unlock()
166 uint32_t flags; in zephyr_ll_run() local
168 zephyr_ll_lock(sch, &flags); in zephyr_ll_run()
198 zephyr_ll_unlock(sch, &flags); in zephyr_ll_run()
213 zephyr_ll_lock(sch, &flags); in zephyr_ll_run()
246 zephyr_ll_unlock(sch, &flags); in zephyr_ll_run()
267 uint32_t flags; in zephyr_ll_task_schedule_common() local
[all …]
Dll_schedule.c295 uint32_t flags; in schedule_ll_tasks_run() local
303 irq_local_disable(flags); in schedule_ll_tasks_run()
350 irq_local_enable(flags); in schedule_ll_tasks_run()
495 uint32_t flags; in schedule_ll_task_common() local
498 irq_local_disable(flags); in schedule_ll_task_common()
514 task->priority, task->flags, in schedule_ll_task_common()
518 task->priority, task->flags, UINT_MAX); in schedule_ll_task_common()
581 irq_local_enable(flags); in schedule_ll_task_common()
613 void *data, uint16_t core, uint32_t flags) in schedule_task_init_ll() argument
619 flags); in schedule_task_init_ll()
[all …]
/sof-3.4.0/xtos/include/rtos/
Dinterrupt.h183 static inline void interrupt_global_enable(uint32_t flags) in interrupt_global_enable() argument
185 arch_interrupt_global_enable(flags); in interrupt_global_enable()
193 static inline void __irq_local_disable(unsigned long flags) {} in __irq_local_disable() argument
194 static inline void __irq_local_enable(unsigned long flags) {} in __irq_local_enable() argument
197 #define irq_local_disable(flags) \ argument
199 flags = 0; \
200 __irq_local_disable(flags); \
204 #define irq_local_enable(flags) \ argument
205 __irq_local_enable(flags)
209 #define irq_local_disable(flags) \ argument
[all …]
Dalloc.h86 void *rmalloc(enum mem_zone zone, uint32_t flags, uint32_t caps, size_t bytes);
94 void *rzalloc(enum mem_zone zone, uint32_t flags, uint32_t caps, size_t bytes);
104 void *rballoc_align(uint32_t flags, uint32_t caps, size_t bytes,
110 static inline void *rballoc(uint32_t flags, uint32_t caps, size_t bytes) in rballoc() argument
112 return rballoc_align(flags, caps, bytes, PLATFORM_DCACHE_ALIGN); in rballoc()
125 void *rbrealloc_align(void *ptr, uint32_t flags, uint32_t caps, size_t bytes,
132 static inline void *rbrealloc(void *ptr, uint32_t flags, uint32_t caps, in rbrealloc() argument
135 return rbrealloc_align(ptr, flags, caps, bytes, old_bytes, in rbrealloc()
/sof-3.4.0/zephyr/include/rtos/
Dalloc.h76 void *rmalloc(enum mem_zone zone, uint32_t flags, uint32_t caps, size_t bytes);
84 void *rzalloc(enum mem_zone zone, uint32_t flags, uint32_t caps, size_t bytes);
94 void *rballoc_align(uint32_t flags, uint32_t caps, size_t bytes,
100 static inline void *rballoc(uint32_t flags, uint32_t caps, size_t bytes) in rballoc() argument
102 return rballoc_align(flags, caps, bytes, PLATFORM_DCACHE_ALIGN); in rballoc()
115 void *rbrealloc_align(void *ptr, uint32_t flags, uint32_t caps, size_t bytes,
122 static inline void *rbrealloc(void *ptr, uint32_t flags, uint32_t caps, in rbrealloc() argument
125 return rbrealloc_align(ptr, flags, caps, bytes, old_bytes, in rbrealloc()
Dinterrupt.h94 #define irq_local_disable(flags) \ argument
95 (flags = arch_irq_lock())
98 #define irq_local_enable(flags) \ argument
99 arch_irq_unlock(flags)
/sof-3.4.0/src/arch/xtensa/include/arch/drivers/
Dinterrupt.h74 uint32_t flags; in arch_interrupt_global_disable() local
77 : "=a" (flags) :: "memory"); in arch_interrupt_global_disable()
78 return flags; in arch_interrupt_global_disable()
81 static inline void arch_interrupt_global_enable(uint32_t flags) in arch_interrupt_global_enable() argument
84 :: "a" (flags) : "memory"); in arch_interrupt_global_enable()
/sof-3.4.0/src/arch/xtensa/hal/
Dattribute.c168 int xthal_set_region_attribute( void *vaddr, unsigned size, unsigned cattr, unsigned flags ) in xthal_set_region_attribute() argument
173 return xthal_mpu_set_region_attribute(vaddr, size, cattr, cattr, flags); in xthal_set_region_attribute()
176 … return xthal_mpu_set_region_attribute(vaddr, size, cattr & 0xf, (cattr & 0x1ff0) >> 4, flags); in xthal_set_region_attribute()
218 if (flags & XTHAL_CAFLAG_EXACT) { in xthal_set_region_attribute()
221 } else if (flags & XTHAL_CAFLAG_NO_PARTIAL) { in xthal_set_region_attribute()
242 if (flags & XTHAL_CAFLAG_EXPAND) { in xthal_set_region_attribute()
266 && (flags & XTHAL_CAFLAG_NO_AUTO_WB) == 0) { in xthal_set_region_attribute()
274 if (disabled_cache && (flags & XTHAL_CAFLAG_NO_AUTO_INV) == 0) { in xthal_set_region_attribute()
/sof-3.4.0/src/arch/xtensa/drivers/
Dtimer.c65 uint32_t flags; in arch_timer_get_system() local
75 flags = arch_interrupt_global_disable(); in arch_timer_get_system()
91 arch_interrupt_global_enable(flags); in arch_timer_get_system()
102 uint32_t flags; in arch_timer_set() local
114 flags = arch_interrupt_global_disable(); in arch_timer_set()
119 arch_interrupt_global_enable(flags); in arch_timer_set()
139 arch_interrupt_global_enable(flags); in arch_timer_set()
/sof-3.4.0/src/platform/library/lib/
Dalloc.c19 void *rmalloc(enum mem_zone zone, uint32_t flags, uint32_t caps, size_t bytes) in rmalloc() argument
24 void *rzalloc(enum mem_zone zone, uint32_t flags, uint32_t caps, size_t bytes) in rzalloc() argument
34 void *rballoc_align(uint32_t flags, uint32_t caps, size_t bytes, in rballoc_align() argument
40 void *rbrealloc_align(void *ptr, uint32_t flags, uint32_t caps, size_t bytes, in rbrealloc_align() argument
/sof-3.4.0/src/platform/intel/cavs/lib/
Dmem_window.c32 void platform_memory_windows_init(uint32_t flags) in platform_memory_windows_init() argument
38 DMWBA_READONLY | DMWBA_ENABLE, flags); in platform_memory_windows_init()
43 DMWBA_ENABLE, flags); in platform_memory_windows_init()
48 DMWBA_ENABLE, flags); in platform_memory_windows_init()
/sof-3.4.0/src/drivers/intel/cavs/
Dtimer.c43 uint32_t flags; in platform_timer_set() local
49 irq_local_disable(flags); in platform_timer_set()
69 irq_local_enable(flags); in platform_timer_set()
107 uint32_t flags; in platform_timer_get_atomic() local
110 irq_local_disable(flags); in platform_timer_get_atomic()
112 irq_local_enable(flags); in platform_timer_get_atomic()
127 posn->flags |= SOF_TIME_HOST_VALID; in platform_host_timestamp()
139 posn->flags |= SOF_TIME_DAI_VALID; in platform_dai_timestamp()
144 posn->flags |= SOF_TIME_WALL_VALID; in platform_dai_timestamp()
/sof-3.4.0/src/platform/mt8188/
Dplatform.c59 .flags = DEBUG_SET_FW_READY_FLAGS,
81 .flags = 0,
88 .flags = 0,
95 .flags = 0,
102 .flags = 0,
109 .flags = 0,
116 .flags = 0,
/sof-3.4.0/src/platform/mt8186/
Dplatform.c59 .flags = DEBUG_SET_FW_READY_FLAGS,
81 .flags = 0,
88 .flags = 0,
95 .flags = 0,
102 .flags = 0,
109 .flags = 0,
116 .flags = 0,
/sof-3.4.0/src/platform/imx8/
Dplatform.c66 .flags = DEBUG_SET_FW_READY_FLAGS,
88 .flags = 0, // TODO: set later
95 .flags = 0, // TODO: set later
102 .flags = 0, // TODO: set later
109 .flags = 0, // TODO: set later
116 .flags = 0, // TODO: set later
123 .flags = 0, // TODO: set later
/sof-3.4.0/src/platform/imx8ulp/
Dplatform.c62 .flags = DEBUG_SET_FW_READY_FLAGS,
84 .flags = 0, // TODO: set later
91 .flags = 0, // TODO: set later
98 .flags = 0, // TODO: set later
105 .flags = 0, // TODO: set later
112 .flags = 0, // TODO: set later
119 .flags = 0, // TODO: set later
/sof-3.4.0/src/platform/imx8m/
Dplatform.c65 .flags = DEBUG_SET_FW_READY_FLAGS,
87 .flags = 0, // TODO: set later
94 .flags = 0, // TODO: set later
101 .flags = 0, // TODO: set later
108 .flags = 0, // TODO: set later
115 .flags = 0, // TODO: set later
122 .flags = 0, // TODO: set later
/sof-3.4.0/zephyr/lib/
Dalloc.c232 void *rmalloc(enum mem_zone zone, uint32_t flags, uint32_t caps, size_t bytes) in rmalloc() argument
248 if (zone_is_cached(zone) && !(flags & SOF_MEM_FLAG_COHERENT)) { in rmalloc()
265 void *rbrealloc_align(void *ptr, uint32_t flags, uint32_t caps, size_t bytes, in rbrealloc_align() argument
272 return rballoc_align(flags, caps, bytes, alignment); in rbrealloc_align()
282 new_ptr = rballoc_align(flags, caps, bytes, alignment); in rbrealloc_align()
286 if (!(flags & SOF_MEM_FLAG_NO_COPY)) in rbrealloc_align()
302 void *rzalloc(enum mem_zone zone, uint32_t flags, uint32_t caps, size_t bytes) in rzalloc() argument
304 void *ptr = rmalloc(zone, flags, caps, bytes); in rzalloc()
320 void *rballoc_align(uint32_t flags, uint32_t caps, size_t bytes, in rballoc_align() argument
323 if (flags & SOF_MEM_FLAG_COHERENT) in rballoc_align()
/sof-3.4.0/test/cmocka/src/
Dcommon_mocks.c44 void WEAK *rballoc_align(uint32_t flags, uint32_t caps, size_t bytes, in rballoc_align() argument
47 (void)flags; in rballoc_align()
53 void WEAK *rzalloc(enum mem_zone zone, uint32_t flags, uint32_t caps, in rzalloc() argument
57 (void)flags; in rzalloc()
63 void WEAK *rbrealloc_align(void *ptr, uint32_t flags, uint32_t caps, in rbrealloc_align() argument
66 (void)flags; in rbrealloc_align()
160 void WEAK _k_spin_unlock_irq(struct k_spinlock *lock, uint32_t flags, int line) in _k_spin_unlock_irq() argument
163 (void)flags; in _k_spin_unlock_irq()
266 void *data, uint16_t core, uint32_t flags) in schedule_task_init() argument
275 (void)flags; in schedule_task_init()
[all …]
/sof-3.4.0/src/arch/xtensa/include/xtensa/
Dtrax-api.h71 extern int trax_start(tpack_channel *traxchan, int flags);
72 extern int trax_stop(tpack_channel *traxchan, int flags);
73 extern int trax_halt(tpack_channel *traxchan, int flags);
74 extern int trax_save(tpack_channel *traxchan, char *filename, int flags, const char *toolver, int …
/sof-3.4.0/src/lib/
Dalloc.c146 static void *rmalloc_sys(struct mm_heap *heap, uint32_t flags, int caps, size_t bytes) in rmalloc_sys() argument
406 static void *get_ptr_from_heap(struct mm_heap *heap, uint32_t flags, in get_ptr_from_heap() argument
619 #define _ALLOC_FAILURE(bytes, zone, caps, flags) \ argument
622 bytes, zone, caps, flags)
625 #define DEBUG_TRACE_PTR(ptr, bytes, zone, caps, flags) do { \ argument
628 _ALLOC_FAILURE(bytes, zone, caps, flags); \
633 #define DEBUG_TRACE_PTR(ptr, bytes, zone, caps, flags) do { \ argument
636 _ALLOC_FAILURE(bytes, zone, caps, flags); \
644 static void *rmalloc_sys_runtime(uint32_t flags, int caps, int core, in rmalloc_sys_runtime() argument
656 ptr = get_ptr_from_heap(cpu_heap, flags, caps, bytes, in rmalloc_sys_runtime()
[all …]
/sof-3.4.0/src/platform/mt8195/
Dplatform.c59 .flags = DEBUG_SET_FW_READY_FLAGS,
81 .flags = 0, /* TODO: set later */
88 .flags = 0, /* TODO: set later */
95 .flags = 0, /* TODO: set later */
102 .flags = 0, /* TODO: set later */
109 .flags = 0, /* TODO: set later */
116 .flags = 0, /* TODO: set later */
/sof-3.4.0/src/platform/amd/renoir/
Dplatform.c62 .flags = DEBUG_SET_FW_READY_FLAGS,
84 .flags = 0,
91 .flags = 0,
98 .flags = 0,
105 .flags = 0,
112 .flags = 0,
119 .flags = 0,
/sof-3.4.0/src/platform/amd/rembrandt/
Dplatform.c61 .flags = DEBUG_SET_FW_READY_FLAGS,
83 .flags = 0,
90 .flags = 0,
97 .flags = 0,
104 .flags = 0,
111 .flags = 0,
118 .flags = 0,

123456