Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 349) sorted by relevance

12345678910>>...14

/sof-3.4.0/src/include/sof/drivers/
Dmu.h56 #define IMX_MU_xSR(type, index) (type == IMX_MU_V2 ? index : 0x20) argument
57 #define IMX_MU_xSR_GIPn(type, x) (type == IMX_MU_V2 ? BIT(x) : BIT(28 + (3 - (x)))) argument
58 #define IMX_MU_xSR_RFn(type, x) (type == IMX_MU_V2 ? BIT(x) : BIT(24 + (3 - (x)))) argument
59 #define IMX_MU_xSR_TEn(type, x) (type == IMX_MU_V2 ? BIT(x) : BIT(20 + (3 - (x)))) argument
63 #define IMX_MU_xCR(type, index) (type == IMX_MU_V2 ? index : 0x24) argument
65 #define IMX_MU_xCR_GIEn(type, x) (type == IMX_MU_V2 ? BIT(x) : BIT(28 + (3 - (x)))) argument
67 #define IMX_MU_xCR_RIEn(type, x) (type == IMX_MU_V2 ? BIT(x) : BIT(24 + (3 - (x)))) argument
69 #define IMX_MU_xCR_TIEn(type, x) (type == IMX_MU_V2 ? BIT(x) : BIT(20 + (3 - (x)))) argument
71 #define IMX_MU_xCR_GIRn(type, x) (type == IMX_MU_V2 ? BIT(x) : BIT(16 + (3 - (x)))) argument
83 static inline uint32_t imx_mu_xcr_rmw(int type, int idx, uint32_t set, uint32_t clr) in imx_mu_xcr_rmw() argument
[all …]
/sof-3.4.0/src/platform/posix/
Ddai.c100 for (int type = 0; type < ARRAY_SIZE(dai_types); type++) { in posix_dai_init() local
101 dai_types[type].type = type; in posix_dai_init()
102 dai_types[type].dai_array = &dais[type][0]; in posix_dai_init()
103 dai_types[type].num_dais = DAIS_PER_TYPE; in posix_dai_init()
105 dai_drivers[type].type = type; in posix_dai_init()
108 dai_drivers[type].dma_caps = BIT(0); in posix_dai_init()
109 dai_drivers[type].dma_dev = BIT(0); in posix_dai_init()
110 dai_drivers[type].ops = posix_dai_ops; in posix_dai_init()
114 dais[type][i].index = i; in posix_dai_init()
115 dais[type][i].drv = &dai_drivers[type]; in posix_dai_init()
/sof-3.4.0/src/lib/
Dnotifier.c40 int notifier_register(void *receiver, void *caller, enum notify_id type, in notifier_register() argument
41 void (*cb)(void *arg, enum notify_id type, void *data), in notifier_register()
49 assert(type >= NOTIFIER_ID_CPU_FREQ && type < NOTIFIER_ID_COUNT); in notifier_register()
55 !list_is_empty(&notify->list[type])) { in notifier_register()
56 handle = container_of((&notify->list[type])->next, in notifier_register()
77 list_item_prepend(&handle->list, &notify->list[type]); in notifier_register()
84 void notifier_unregister(void *receiver, void *caller, enum notify_id type) in notifier_unregister() argument
92 assert(type >= NOTIFIER_ID_CPU_FREQ && type < NOTIFIER_ID_COUNT); in notifier_unregister()
106 list_for_item_safe(wlist, tlist, &notify->list[type]) { in notifier_unregister()
128 static void notifier_notify(const void *caller, enum notify_id type, void *data) in notifier_notify() argument
[all …]
Ddai.c150 static const struct device *dai_get_zephyr_device(uint32_t type, uint32_t index) in dai_get_zephyr_device() argument
156 dir = (type == SOF_DAI_INTEL_DMIC) ? DAI_DIR_RX : DAI_DIR_BOTH; in dai_get_zephyr_device()
161 if (cfg.type == type && cfg.dai_index == index) in dai_get_zephyr_device()
170 switch (d->type) { in dai_set_device_params()
193 struct dai *dai_get(uint32_t type, uint32_t index, uint32_t flags) in dai_get() argument
198 dev = dai_get_zephyr_device(type, index); in dai_get()
207 d->type = type; in dai_get()
234 static inline const struct dai_type_info *dai_find_type(uint32_t type) in dai_find_type() argument
241 if (dti->type == type) in dai_find_type()
247 struct dai *dai_get(uint32_t type, uint32_t index, uint32_t flags) in dai_get() argument
[all …]
/sof-3.4.0/test/cmocka/src/
Dnotifier_mocks.c37 void notifier_event(const void *caller, enum notify_id type, uint32_t core_mask, in notifier_event() argument
45 list_for_item_safe(wlist, tlist, &notify->list[type]) { in notifier_event()
48 handle->cb(handle->receiver, type, data); in notifier_event()
52 int notifier_register(void *receiver, void *caller, enum notify_id type, in notifier_register() argument
53 void (*cb)(void *arg, enum notify_id type, void *data), uint32_t flags) in notifier_register()
58 if (type >= NOTIFIER_ID_COUNT) in notifier_register()
71 list_item_append(&handle->list, &notify->list[type]); in notifier_register()
76 void notifier_unregister(void *receiver, void *caller, enum notify_id type) in notifier_unregister() argument
83 if (type >= NOTIFIER_ID_COUNT) in notifier_unregister()
86 list_for_item_safe(wlist, tlist, &notify->list[type]) { in notifier_unregister()
/sof-3.4.0/src/platform/library/schedule/
Dschedule.c24 const struct sof_uuid_entry *uid, uint16_t type, in schedule_task_init() argument
28 if (type >= SOF_SCHEDULE_COUNT) in schedule_task_init()
32 task->type = type; in schedule_task_init()
56 void scheduler_init(int type, const struct scheduler_ops *ops, void *data) in scheduler_init() argument
62 sch->type = type; in scheduler_init()
/sof-3.4.0/src/include/sof/schedule/
Dschedule.h161 int type; /**< SOF_SCHEDULE_ type */ member
182 static inline void *scheduler_get_data(uint16_t type) in scheduler_get_data() argument
190 if (type == sch->type) in scheduler_get_data()
206 if (task->type == sch->type) { in schedule_task_running()
231 if (task->type == sch->type) in schedule_task()
252 if (task->type == sch->type) { in schedule_task_before()
278 if (task->type == sch->type) { in schedule_task_after()
300 if (task->type == sch->type) { in reschedule_task()
322 if (task->type == sch->type) in schedule_task_cancel()
338 if (task->type == sch->type) in schedule_task_free()
[all …]
/sof-3.4.0/src/schedule/
Dschedule.c27 const struct sof_uuid_entry *uid, uint16_t type, in schedule_task_init() argument
31 if (type >= SOF_SCHEDULE_COUNT) { in schedule_task_init()
37 task->type = type; in schedule_task_init()
62 void scheduler_init(int type, const struct scheduler_ops *ops, void *data) in scheduler_init() argument
72 sch->type = type; in scheduler_init()
/sof-3.4.0/test/cmocka/src/math/dct/
Dmfcc_get_dct_matrix.m1 % dct_matrix = mfcc_get_dct_matrix(num_ceps, num_mels, type)
6 % type - DCT type, currently only 2 for DCT-II is supported
16 function dct_matrix = mfcc_get_dct_matrix(num_ceps, num_mels, type)
18 dct_matrix = create_dct(num_ceps, num_mels, type, 'ortho');
29 function dct_matrix = create_dct(n_mfcc, n_mels, type, norm)
34 switch type
44 error('Unknown DCT type');
/sof-3.4.0/src/init/
Dext_manifest.c19 .hdr.type = EXT_MAN_ELEM_FW_VERSION,
46 .hdr.type = EXT_MAN_ELEM_CC_VERSION,
52 .ext_hdr.type = SOF_IPC_EXT_CC_INFO,
65 .hdr.type = EXT_MAN_ELEM_PROBE_INFO,
71 .ext_hdr.type = SOF_IPC_EXT_PROBE_INFO,
81 .hdr.type = EXT_MAN_ELEM_DBG_ABI,
87 .ext_hdr.type = SOF_IPC_EXT_USER_ABI_INFO,
97 .hdr.type = EXT_MAN_ELEM_CONFIG_DATA,
/sof-3.4.0/xtos/include/sof/
Dlist.h76 #define __list_object(item, type, offset) \ argument
77 ((type *)((char *)(item) - (offset)))
80 #define list_item(item, type, member) \ argument
81 __list_object(item, type, offsetof(type, member))
84 #define list_first_item(list, type, member) \ argument
85 __list_object((list)->next, type, offsetof(type, member))
/sof-3.4.0/src/platform/mt8188/
Dplatform.c67 .type = EXT_MAN_ELEM_WINDOW,
74 .type = SOF_IPC_EXT_WINDOW,
79 .type = SOF_IPC_REGION_UPBOX,
86 .type = SOF_IPC_REGION_DOWNBOX,
93 .type = SOF_IPC_REGION_DEBUG,
100 .type = SOF_IPC_REGION_TRACE,
107 .type = SOF_IPC_REGION_STREAM,
114 .type = SOF_IPC_REGION_EXCEPTION,
/sof-3.4.0/src/platform/mt8186/
Dplatform.c67 .type = EXT_MAN_ELEM_WINDOW,
74 .type = SOF_IPC_EXT_WINDOW,
79 .type = SOF_IPC_REGION_UPBOX,
86 .type = SOF_IPC_REGION_DOWNBOX,
93 .type = SOF_IPC_REGION_DEBUG,
100 .type = SOF_IPC_REGION_TRACE,
107 .type = SOF_IPC_REGION_STREAM,
114 .type = SOF_IPC_REGION_EXCEPTION,
/sof-3.4.0/src/platform/imx8/
Dplatform.c74 .type = EXT_MAN_ELEM_WINDOW,
81 .type = SOF_IPC_EXT_WINDOW,
86 .type = SOF_IPC_REGION_UPBOX,
93 .type = SOF_IPC_REGION_DOWNBOX,
100 .type = SOF_IPC_REGION_DEBUG,
107 .type = SOF_IPC_REGION_TRACE,
114 .type = SOF_IPC_REGION_STREAM,
121 .type = SOF_IPC_REGION_EXCEPTION,
/sof-3.4.0/src/platform/imx8ulp/
Dplatform.c70 .type = EXT_MAN_ELEM_WINDOW,
77 .type = SOF_IPC_EXT_WINDOW,
82 .type = SOF_IPC_REGION_UPBOX,
89 .type = SOF_IPC_REGION_DOWNBOX,
96 .type = SOF_IPC_REGION_DEBUG,
103 .type = SOF_IPC_REGION_TRACE,
110 .type = SOF_IPC_REGION_STREAM,
117 .type = SOF_IPC_REGION_EXCEPTION,
/sof-3.4.0/src/platform/imx8m/
Dplatform.c73 .type = EXT_MAN_ELEM_WINDOW,
80 .type = SOF_IPC_EXT_WINDOW,
85 .type = SOF_IPC_REGION_UPBOX,
92 .type = SOF_IPC_REGION_DOWNBOX,
99 .type = SOF_IPC_REGION_DEBUG,
106 .type = SOF_IPC_REGION_TRACE,
113 .type = SOF_IPC_REGION_STREAM,
120 .type = SOF_IPC_REGION_EXCEPTION,
/sof-3.4.0/src/ipc/ipc3/
Dhelper.c46 void ipc_build_stream_posn(struct sof_ipc_stream_posn *posn, uint32_t type, in ipc_build_stream_posn() argument
49 posn->rhdr.hdr.cmd = SOF_IPC_GLB_STREAM_MSG | type | id; in ipc_build_stream_posn()
54 void ipc_build_comp_event(struct sof_ipc_comp_event *event, uint32_t type, in ipc_build_comp_event() argument
60 event->src_comp_type = type; in ipc_build_comp_event()
90 if (info->drv->type == comp->type) { in get_drv()
98 comp->type); in get_drv()
150 drv->type, drv->tctx->uuid_p); in get_drv()
167 config->type = comp->type; in comp_common_builder()
170 if (comp->type != SOF_COMP_BUFFER) { in comp_common_builder()
211 switch (comp->type) { in comp_specific_builder()
[all …]
/sof-3.4.0/src/platform/mt8195/
Dplatform.c67 .type = EXT_MAN_ELEM_WINDOW,
74 .type = SOF_IPC_EXT_WINDOW,
79 .type = SOF_IPC_REGION_UPBOX,
86 .type = SOF_IPC_REGION_DOWNBOX,
93 .type = SOF_IPC_REGION_DEBUG,
100 .type = SOF_IPC_REGION_TRACE,
107 .type = SOF_IPC_REGION_STREAM,
114 .type = SOF_IPC_REGION_EXCEPTION,
/sof-3.4.0/src/include/sof/
Dcommon.h113 #define container_of(ptr, type, member) \ argument
114 ({const typeof(((type *)0)->member)*__memberptr = (ptr); \
115 (type *)((char *)__memberptr - offsetof(type, member)); })
123 #define attr_container_of(ptr, type, member, attr) \ argument
124 ({const typeof(((type *)0)->member) attr *__memberptr = (ptr); \
125 (type *)((char attr *)__memberptr - offsetof(type, member)); })
/sof-3.4.0/src/platform/amd/renoir/
Dplatform.c70 .type = EXT_MAN_ELEM_WINDOW,
77 .type = SOF_IPC_EXT_WINDOW,
82 .type = SOF_IPC_REGION_UPBOX,
89 .type = SOF_IPC_REGION_DOWNBOX,
96 .type = SOF_IPC_REGION_DEBUG,
103 .type = SOF_IPC_REGION_TRACE,
110 .type = SOF_IPC_REGION_STREAM,
117 .type = SOF_IPC_REGION_EXCEPTION,
/sof-3.4.0/src/platform/amd/rembrandt/
Dplatform.c69 .type = EXT_MAN_ELEM_WINDOW,
76 .type = SOF_IPC_EXT_WINDOW,
81 .type = SOF_IPC_REGION_UPBOX,
88 .type = SOF_IPC_REGION_DOWNBOX,
95 .type = SOF_IPC_REGION_DEBUG,
102 .type = SOF_IPC_REGION_TRACE,
109 .type = SOF_IPC_REGION_STREAM,
116 .type = SOF_IPC_REGION_EXCEPTION,
/sof-3.4.0/src/include/ipc4/
Dpipeline.h91 uint32_t type : 5; member
135 uint32_t type : 5; member
195 uint32_t type : 5; member
236 uint32_t type : 5; member
267 uint32_t type : 5; member
296 uint32_t type : 5; member
333 uint32_t type : 5; member
362 uint32_t type : 5; member
399 uint32_t type : 5; member
Dmodule.h119 uint32_t type : 5; member
180 uint32_t type : 5; member
216 uint32_t type : 5; member
249 uint32_t type : 5; member
283 uint32_t type : 5; member
312 uint32_t type : 5; member
360 uint32_t type : 5; member
391 uint32_t type : 5; member
/sof-3.4.0/tools/tplg_parser/
Dprocess.c37 enum sof_ipc_process_type type; member
58 return ipc3_process[i].type; in process_get_name()
64 static enum sof_comp_type process_get_type(enum sof_ipc_process_type type) in process_get_type() argument
69 if (ipc3_process[i].type == type) in process_get_type()
89 offsetof(struct sof_ipc_comp_process, type), 0},
111 process->comp.type = process_get_type(process->type); in process_ipc3_build()
/sof-3.4.0/tools/tune/eq/
Deq_get_abi.m1 function [bytes, nbytes] = eq_get_abi(setsize, ipc_ver, type, param_id)
5 % [bytes, nbytes] = eq_get_abi(setsize, ipc_ver, type, param_id)
9 % type - for IPC3, normally 0, defaults to 0
13 % bytes - returned uint8 type array
26 type = 0; variable
36 cmd = sprintf('sof-ctl -g %d -t %d -b -o %s', setsize, type, abifn);

12345678910>>...14