Home
last modified time | relevance | path

Searched refs:current (Results 1 – 25 of 28) sorted by relevance

12

/sof-2.7.6/src/audio/pipeline/
Dpipeline-stream.c62 static int pipeline_comp_trigger(struct comp_dev *current, in pipeline_comp_trigger() argument
67 bool is_single_ppl = comp_is_single_pipeline(current, ppl_data->start); in pipeline_comp_trigger()
69 pipeline_is_same_sched_comp(current->pipeline, in pipeline_comp_trigger()
73 pipe_dbg(current->pipeline, in pipeline_comp_trigger()
75 dev_comp_id(current), dir); in pipeline_comp_trigger()
81 pipe_dbg(current->pipeline, in pipeline_comp_trigger()
84 if (pipeline_should_report_enodata_on_trigger(current, ctx, dir)) in pipeline_comp_trigger()
91 err = comp_trigger(current, ppl_data->cmd); in pipeline_comp_trigger()
95 pipeline_comp_trigger_sched_comp(current->pipeline, current, ctx); in pipeline_comp_trigger()
97 return pipeline_for_each_comp(current, ctx, dir); in pipeline_comp_trigger()
[all …]
Dpipeline-params.c22 static int pipeline_comp_params_neg(struct comp_dev *current, in pipeline_comp_params_neg() argument
31 pipe_dbg(current->pipeline, "pipeline_comp_params_neg(), current->comp.id = %u, dir = %u", in pipeline_comp_params_neg()
32 dev_comp_id(current), dir); in pipeline_comp_params_neg()
35 if (current->state != COMP_STATE_INIT && in pipeline_comp_params_neg()
36 current->state != COMP_STATE_READY) { in pipeline_comp_params_neg()
47 …pipe_err(current->pipeline, "pipeline_comp_params_neg(): params conflict with existed active pipel… in pipeline_comp_params_neg()
70 static int pipeline_comp_params(struct comp_dev *current, in pipeline_comp_params() argument
84 pipe_dbg(current->pipeline, "pipeline_comp_params(), current->comp.id = %u, dir = %u", in pipeline_comp_params()
85 dev_comp_id(current), dir); in pipeline_comp_params()
87 if (!comp_is_single_pipeline(current, ppl_data->start)) { in pipeline_comp_params()
[all …]
Dpipeline-graph.c219 static int pipeline_comp_complete(struct comp_dev *current, in pipeline_comp_complete() argument
226 dev_comp_id(current), dir); in pipeline_comp_complete()
228 if (!comp_is_single_pipeline(current, ppl_data->start)) { in pipeline_comp_complete()
234 current->pipeline = ppl_data->p; in pipeline_comp_complete()
235 current->period = ppl_data->p->period; in pipeline_comp_complete()
236 current->priority = ppl_data->p->priority; in pipeline_comp_complete()
238 pipeline_for_each_comp(current, ctx, dir); in pipeline_comp_complete()
284 static int pipeline_comp_reset(struct comp_dev *current, in pipeline_comp_reset() argument
291 int is_single_ppl = comp_is_single_pipeline(current, p->source_comp); in pipeline_comp_reset()
293 pipeline_is_same_sched_comp(current->pipeline, p); in pipeline_comp_reset()
[all …]
Dpipeline-xrun.c30 static int pipeline_comp_xrun(struct comp_dev *current, in pipeline_comp_xrun() argument
36 if (dev_comp_type(current) == SOF_COMP_HOST) { in pipeline_comp_xrun()
38 platform_host_timestamp(current, ppl_data->posn); in pipeline_comp_xrun()
46 return pipeline_for_each_comp(current, ctx, dir); in pipeline_comp_xrun()
/sof-2.7.6/src/arch/xtensa/include/arch/
Datomic.h36 int32_t result, current; in arch_atomic_add() local
44 : "=&a" (result), "=&a" (current) in arch_atomic_add()
48 return current; in arch_atomic_add()
53 int32_t result, current; in arch_atomic_sub() local
61 : "=&a" (result), "=&a" (current) in arch_atomic_sub()
65 return current; in arch_atomic_sub()
/sof-2.7.6/src/lib/
Dagent.c59 uint64_t current; in validate() local
62 current = platform_timer_get(timer_get()); in validate()
63 delta = current - sa->last_check; in validate()
83 sa->last_check = current; in validate()
Dwait.c57 uint64_t current = platform_timer_get(timer); in wait_delay() local
59 while ((platform_timer_get(timer) - current) < number_of_clks) in wait_delay()
Dalloc.c240 unsigned int current; in alloc_cont_blocks() local
257 for (current = map->first_free, hdr = map->block + current; in alloc_cont_blocks()
258 current < map->count && found < total_bytes; in alloc_cont_blocks()
259 current++, hdr++) { in alloc_cont_blocks()
270 blk_start = map->base + current * map->block_size; in alloc_cont_blocks()
271 start = current; in alloc_cont_blocks()
323 for (current = map->first_free + count, hdr = &map->block[current]; in alloc_cont_blocks()
324 current < map->count && hdr->used; in alloc_cont_blocks()
325 current++, hdr++) in alloc_cont_blocks()
328 map->first_free = current; in alloc_cont_blocks()
[all …]
/sof-2.7.6/src/include/sof/audio/
Dpipeline.h177 int pipeline_for_each_comp(struct comp_dev *current,
258 static inline bool pipeline_is_same_sched_comp(struct pipeline *current, in pipeline_is_same_sched_comp() argument
261 return current->sched_comp == previous->sched_comp; in pipeline_is_same_sched_comp()
Dcomponent_ext.h307 static inline int comp_is_single_pipeline(struct comp_dev *current, in comp_is_single_pipeline() argument
310 return dev_comp_pipe_id(current) == dev_comp_pipe_id(previous); in comp_is_single_pipeline()
318 static inline int comp_is_active(struct comp_dev *current) in comp_is_active() argument
320 return current->state == COMP_STATE_ACTIVE; in comp_is_active()
Dcomponent.h645 static inline void component_set_period_frames(struct comp_dev *current, in component_set_period_frames() argument
652 current->frames = ceil_divide(rate * current->period, 1000000); in component_set_period_frames()
/sof-2.7.6/tools/tune/eq/
Deq_get_abi.m3 %% Return current SOF ABI header
/sof-2.7.6/src/ipc/ipc3/
Dhandler.c116 static bool is_hostless_downstream(struct comp_dev *current) in is_hostless_downstream() argument
121 if (current->ipc_config.type == SOF_COMP_HOST || in is_hostless_downstream()
122 current->ipc_config.type == SOF_COMP_SG_HOST) in is_hostless_downstream()
126 list_for_item(clist, &current->bsink_list) { in is_hostless_downstream()
137 current->ipc_config.pipeline_id) in is_hostless_downstream()
149 static bool is_hostless_upstream(struct comp_dev *current) in is_hostless_upstream() argument
154 if (current->ipc_config.type == SOF_COMP_HOST || in is_hostless_upstream()
155 current->ipc_config.type == SOF_COMP_SG_HOST) in is_hostless_upstream()
159 list_for_item(clist, &current->bsource_list) { in is_hostless_upstream()
170 current->ipc_config.pipeline_id) in is_hostless_upstream()
/sof-2.7.6/src/ipc/ipc4/
Dhandler.c64 static int ipc4_comp_params(struct comp_dev *current, in ipc4_comp_params() argument
72 if (current->state == COMP_STATE_ACTIVE) in ipc4_comp_params()
75 err = comp_params(current, &ppl_data->params->params); in ipc4_comp_params()
79 return pipeline_for_each_comp(current, ctx, dir); in ipc4_comp_params()
/sof-2.7.6/src/audio/
Dhost.c51 uint32_t current; /**< index of current element */ member
111 if (++hc->current == hc->elem_array.count) in next_buffer()
112 hc->current = 0; in next_buffer()
113 return hc->elem_array.elems + hc->current; in next_buffer()
601 hd->source->current = 0; in host_elements_reset()
608 hd->sink->current = 0; in host_elements_reset()
/sof-2.7.6/src/arch/xtensa/hal/
Dmpu.c745 unsigned current = XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[current_index]); in next_address_to_commit() local
746 …ARTADDR(fg[current_index - 1]), XTHAL_MPU_ENTRY_GET_VSTARTADDR(bg[get_bg_map_index(bg, current)])); in next_address_to_commit()
1233 unsigned current = 0; in check_map() local
1242 if ((XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i]) < current)) in check_map()
1246 current = XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i]); in check_map()
1714 inline static unsigned int mask_cachedis(unsigned int current, int first_region, in mask_cachedis() argument
1719 current &= ~x; in mask_cachedis()
1720 return current; in mask_cachedis()
/sof-2.7.6/src/schedule/
Dll_schedule.c589 uint64_t current = platform_timer_get_atomic(timer_get()); in ll_scheduler_recalculate_tasks() local
596 delta_ms = (task->start - current) / in ll_scheduler_recalculate_tasks()
600 current + sch->domain->ticks_per_ms * delta_ms : in ll_scheduler_recalculate_tasks()
601 current + (sch->domain->ticks_per_ms >> 3); in ll_scheduler_recalculate_tasks()
/sof-2.7.6/src/include/sof/audio/smart_amp/
Dsmart_amp.h88 int32_t *current; member
/sof-2.7.6/tools/tune/crossover/
Dcrossover_build_blob.m64 %% Return current SOF ABI header
/sof-2.7.6/scripts/cmake/
Dxtensa-toolchain.cmake15 # so we need to unset current one
/sof-2.7.6/src/audio/smart_amp/
Dsmart_amp.c64 rfree(hspk->buf.current); in smart_amp_free_memory()
135 hspk->buf.current = rballoc(0, SOF_MEM_CAPS_RAM, size); in smart_amp_alloc_memory()
136 if (!hspk->buf.current) in smart_amp_alloc_memory()
Dsmart_amp_maxim_dsm.c423 int16_t *i = (int16_t *)hspk->buf.current; in maxim_dsm_fb_proc()
425 int32_t *i32 = hspk->buf.current; in maxim_dsm_fb_proc()
507 memset(hspk->buf.current, 0, DSM_FF_BUF_SZ * sizeof(int16_t)); in smart_amp_flush()
/sof-2.7.6/zephyr/
DREADME5 its RTOS. SOF is moving to use Zephyr as it's RTOS in parallel to current
/sof-2.7.6/tools/tune/drc/
Ddrc_build_blob.m73 %% Return current SOF ABI header
/sof-2.7.6/tools/tune/multiband_drc/
Dmultiband_drc_build_blob.m90 %% Return current SOF ABI header

12