Home
last modified time | relevance | path

Searched refs:ops (Results 1 – 25 of 105) sorted by relevance

12345

/sof-3.4.0/src/include/sof/audio/module_adapter/module/
Diadk_modules.h47 (comp_dynamic_module)->ops.create = iadk_modules_shim_new; \
48 (comp_dynamic_module)->ops.prepare = module_adapter_prepare; \
49 (comp_dynamic_module)->ops.params = module_adapter_params; \
50 (comp_dynamic_module)->ops.copy = module_adapter_copy; \
51 (comp_dynamic_module)->ops.cmd = module_adapter_cmd; \
52 (comp_dynamic_module)->ops.trigger = module_adapter_trigger; \
53 (comp_dynamic_module)->ops.reset = module_adapter_reset; \
54 (comp_dynamic_module)->ops.free = module_adapter_free; \
55 (comp_dynamic_module)->ops.set_large_config = module_set_large_config;\
56 (comp_dynamic_module)->ops.get_large_config = module_get_large_config;\
[all …]
/sof-3.4.0/src/include/sof/schedule/
Dll_schedule_domain.h67 const struct ll_schedule_domain_ops *ops; /**< domain ops */ member
86 const struct ll_schedule_domain_ops *ops) in domain_init() argument
100 domain->ops = ops; in domain_init()
115 if (domain->ops->domain_set) in domain_set()
116 domain->ops->domain_set(domain, start); in domain_set()
124 if (domain->ops->domain_clear) in domain_clear()
125 domain->ops->domain_clear(domain); in domain_clear()
135 if (domain->ops->domain_task_cancel) in domain_task_cancel()
136 domain->ops->domain_task_cancel(domain, num_tasks); in domain_task_cancel()
145 assert(domain->ops->domain_register); in domain_register()
[all …]
Dschedule.h162 const struct scheduler_ops *ops; /**< scheduler operations */ member
208 if (!sch->ops->schedule_task_running) in schedule_task_running()
211 return sch->ops->schedule_task_running(sch->data, task); in schedule_task_running()
232 return sch->ops->schedule_task(sch->data, task, start, in schedule_task()
253 if (sch->ops->schedule_task_before) in schedule_task_before()
254 return sch->ops->schedule_task_before(sch->data, task, start, in schedule_task_before()
257 return sch->ops->schedule_task(sch->data, task, start, in schedule_task_before()
279 if (sch->ops->schedule_task_after) in schedule_task_after()
280 return sch->ops->schedule_task_after(sch->data, task, start, in schedule_task_after()
283 return sch->ops->schedule_task(sch->data, task, start, in schedule_task_after()
[all …]
/sof-3.4.0/src/include/sof/audio/
Dcomponent_ext.h51 assert(dev->drv->ops.free); in comp_free()
60 dev->drv->ops.free(dev); in comp_free()
87 if (dev->drv->ops.params) { in comp_params()
88 ret = dev->drv->ops.params(dev, params); in comp_params()
111 if (dev->drv->ops.dai_get_hw_params) in comp_dai_get_hw_params()
112 return dev->drv->ops.dai_get_hw_params(dev, params, dir); in comp_dai_get_hw_params()
133 if (dev->drv->ops.cmd) in comp_cmd()
134 return dev->drv->ops.cmd(dev, cmd, data, max_data_size); in comp_cmd()
155 ret = dev->drv->ops.trigger(dev, cmd); in comp_trigger_local()
180 assert(dev->drv->ops.trigger); in comp_trigger()
[all …]
/sof-3.4.0/src/schedule/
Dschedule.c42 task->ops.run = run; in schedule_task_init()
62 void scheduler_init(int type, const struct scheduler_ops *ops, void *data) in scheduler_init() argument
66 if (!ops || !ops->schedule_task || !ops->schedule_task_cancel || in scheduler_init()
67 !ops->schedule_task_free) in scheduler_init()
73 sch->ops = ops; in scheduler_init()
/sof-3.4.0/zephyr/include/rtos/
Dtask.h66 struct task_ops ops; /**< task operations */ member
92 assert(task->ops.run); in task_run()
94 return task->ops.run(task->data); in task_run()
99 if (task->ops.complete) in task_complete()
100 task->ops.complete(task->data); in task_complete()
105 assert(task->ops.get_deadline); in task_get_deadline()
107 return task->ops.get_deadline(task->data); in task_get_deadline()
/sof-3.4.0/xtos/include/rtos/
Dtask.h67 struct task_ops ops; /**< task operations */ member
94 assert(task->ops.run); in task_run()
96 return task->ops.run(task->data); in task_run()
101 if (task->ops.complete) in task_complete()
102 task->ops.complete(task->data); in task_complete()
107 assert(task->ops.get_deadline); in task_get_deadline()
109 return task->ops.get_deadline(task->data); in task_get_deadline()
/sof-3.4.0/tools/topology/topology1/m4/
Denumcontrol.m411 `ops."ctl" {'
26 dnl C_CONTROLENUM(name, index, ops, ops, enums)
39 ` # control uses bespoke driver get/put/info ID for io ops'
43 dnl C_CONTROLENUM(name, index, ops, ops, enums)
56 ` # control uses bespoke driver get/put/info ID for io ops'
Dbytecontrol.m420 `ops."ctl" {'
54 dnl C_CONTROLBYTES(name, index, ops, base, num_regs, mask, max, tlv, priv)
61 ` # control uses bespoke driver get/put/info ID for io ops'
63 ` # control uses bespoke driver get/put/info ID for ext ops'
82 dnl C_CONTROLBYTES_READONLY(name, index, ops, base, num_regs, mask, max, tlv, priv)
89 ` # control uses bespoke driver get/put/info ID for io ops'
91 ` # control uses bespoke driver get/put/info ID for ext ops'
110 dnl C_CONTROLBYTES_VOLATILE_READONLY(name, index, ops, base, num_regs, mask, max, tlv, priv)
117 ` # control uses bespoke driver get/put/info ID for io ops'
119 ` # control uses bespoke driver get/put/info ID for ext ops'
[all …]
/sof-3.4.0/src/platform/library/schedule/
Dedf_schedule.c46 if (task->ops.run) in schedule_edf_task()
47 task->ops.run(task->data); in schedule_edf_task()
73 task->ops.run = NULL; in schedule_edf_task_free()
92 const struct task_ops *ops, void *data, in schedule_task_init_edf() argument
98 ret = schedule_task_init(task, uid, SOF_SCHEDULE_EDF, 0, ops->run, in schedule_task_init_edf()
106 task->ops.complete = ops->complete; in schedule_task_init_edf()
Dschedule.c37 task->ops.run = run; in schedule_task_init()
56 void scheduler_init(int type, const struct scheduler_ops *ops, void *data) in scheduler_init() argument
63 sch->ops = ops; in scheduler_init()
/sof-3.4.0/xtos/include/sof/lib/
Ddma.h222 const struct dma_ops *ops; member
318 if (!dma || !dma->ops || !dma->ops->channel_get) in dma_channel_get_legacy()
321 struct dma_chan_data *chan = dma->ops->channel_get(dma, req_channel); in dma_channel_get_legacy()
328 channel->dma->ops->channel_put(channel); in dma_channel_put_legacy()
333 return channel->dma->ops->start(channel); in dma_start_legacy()
338 if (channel->dma->ops->stop) in dma_stop_legacy()
339 return channel->dma->ops->stop(channel); in dma_stop_legacy()
346 if (channel->dma->ops->stop_delayed) in dma_stop_delayed_legacy()
347 return channel->dma->ops->stop_delayed(channel); in dma_stop_delayed_legacy()
361 return channel->dma->ops->copy(channel, bytes, flags); in dma_copy_legacy()
[all …]
/sof-3.4.0/zephyr/
Dedf_schedule.c87 task->ops.run = NULL; in schedule_edf_task_free()
123 const struct task_ops *ops, in schedule_task_init_edf() argument
128 ret = schedule_task_init(task, uid, SOF_SCHEDULE_EDF, 0, ops->run, data, in schedule_task_init_edf()
133 task->ops = *ops; in schedule_task_init_edf()
142 const struct task_ops *ops, in schedule_task_init_edf_with_budget() argument
146 return schedule_task_init_edf(task, uid, ops, data, core, flags); in schedule_task_init_edf_with_budget()
/sof-3.4.0/src/platform/amd/rembrandt/lib/
Ddma.c38 .ops = &acp_dma_ops,
51 .ops = &acp_dmic_dma_ops,
64 .ops = &acp_dai_hs_dma_ops,
78 .ops = &acp_dai_sp_dma_ops,
91 .ops = &acp_dai_sp_virtual_dma_ops,
107 .ops = &acp_dai_bt_dma_ops,
/sof-3.4.0/src/include/sof/lib/
Ddai-legacy.h127 struct dai_ops ops; member
411 return dai->drv->ops.set_config(dai, config, spec_config); in dai_set_config()
419 return dai->drv->ops.trigger(dai, cmd, direction); in dai_trigger()
429 return dai->drv->ops.get_hw_params(dai, params, dir); in dai_get_hw_params()
438 if (dai->drv->ops.hw_params) in dai_hw_params()
439 return dai->drv->ops.hw_params(dai, params); in dai_hw_params()
450 return dai->drv->ops.get_handshake(dai, direction, stream_id); in dai_get_handshake()
459 return dai->drv->ops.get_fifo(dai, direction, stream_id); in dai_get_fifo()
467 return dai->drv->ops.probe(dai); in dai_probe()
475 return dai->drv->ops.remove(dai); in dai_remove()
[all …]
/sof-3.4.0/src/drivers/intel/cavs/
Dinterrupt.c166 if (cascade && cascade->ops->mask) in interrupt_mask()
167 cascade->ops->mask(&cascade->desc, irq - cascade->irq_base, in interrupt_mask()
176 if (cascade && cascade->ops->unmask) in interrupt_unmask()
177 cascade->ops->unmask(&cascade->desc, irq - cascade->irq_base, in interrupt_unmask()
250 .ops = &irq_ops,
259 .ops = &irq_ops,
268 .ops = &irq_ops,
277 .ops = &irq_ops,
/sof-3.4.0/src/platform/amd/renoir/lib/
Ddma.c38 .ops = &acp_dma_ops,
51 .ops = &acp_dmic_dma_ops,
64 .ops = &acp_dai_sp_dma_ops,
78 .ops = &acp_dai_bt_dma_ops,
/sof-3.4.0/src/platform/intel/cavs/lib/
Ddma.c129 .ops = &dw_dma_ops,
150 .ops = &dw_dma_ops,
167 .ops = &hda_host_dma_ops,
184 .ops = &hda_host_dma_ops,
201 .ops = &hda_link_dma_ops,
218 .ops = &hda_link_dma_ops,
/sof-3.4.0/tools/tplg_parser/
Dcontrol.c37 switch (ctl_hdr->ops.info) { in tplg_get_single_control()
75 ctl_hdr->ops.info); in tplg_get_single_control()
101 switch (ctl_hdr->ops.info) { in tplg_create_controls()
133 ctl_hdr->ops.info); in tplg_create_controls()
/sof-3.4.0/src/drivers/mediatek/mt8195/
Dinterrupt.c195 .ops = &irq_ops,
202 .ops = &irq_ops,
252 if (cascade && cascade->ops->mask) in interrupt_mask()
253 cascade->ops->mask(&cascade->desc, irq - cascade->irq_base, in interrupt_mask()
263 if (cascade && cascade->ops->unmask) in interrupt_unmask()
264 cascade->ops->unmask(&cascade->desc, irq - cascade->irq_base, in interrupt_unmask()
/sof-3.4.0/src/drivers/mediatek/mt818x/
Dinterrupt.c170 .ops = &irq_ops,
213 if (cascade && cascade->ops->mask) in interrupt_mask()
214 cascade->ops->mask(&cascade->desc, irq - cascade->irq_base, in interrupt_mask()
224 if (cascade && cascade->ops->unmask) in interrupt_unmask()
225 cascade->ops->unmask(&cascade->desc, irq - cascade->irq_base, in interrupt_unmask()
/sof-3.4.0/src/platform/mt8188/lib/
Ddma.c30 .ops = &dummy_dma_ops,
40 .ops = &memif_ops,
/sof-3.4.0/src/platform/mt8195/lib/
Ddma.c29 .ops = &dummy_dma_ops,
39 .ops = &memif_ops,
/sof-3.4.0/src/platform/mt8186/lib/
Ddma.c30 .ops = &dummy_dma_ops,
40 .ops = &memif_ops,
/sof-3.4.0/src/platform/imx8m/lib/
Ddma.c25 .ops = &dummy_dma_ops,
40 .ops = &sdma_ops,

12345