Home
last modified time | relevance | path

Searched refs:u32 (Results 1 – 25 of 99) sorted by relevance

1234

/device/google/crosshatch/sdm845/original-kernel-headers/linux/mfd/
Dmsm-adie-codec.h62 u32 type;
63 u32 action;
68 u32 action_sz;
69 u32 freq_plan;
70 u32 osr;
77 u32 path_type; /* RX or TX */
78 u32 setting_sz;
90 u32 img_sz;
96 u32 size;
97 u32 writes[];
[all …]
/device/google/bonito/sdm710/original-kernel-headers/linux/mfd/
Dmsm-adie-codec.h62 u32 type;
63 u32 action;
68 u32 action_sz;
69 u32 freq_plan;
70 u32 osr;
77 u32 path_type; /* RX or TX */
78 u32 setting_sz;
90 u32 img_sz;
96 u32 size;
97 u32 writes[];
[all …]
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/sys/xt-shmem/
Dxf-hal.h59 static inline u32 xf_isr_disable(u32 core) in xf_isr_disable()
66 static inline void xf_isr_restore(u32 core, u32 status) in xf_isr_restore()
78 static inline u32 xf_core_id(void) in xf_core_id()
81 return (u32) xthal_get_prid(); in xf_core_id()
91 static inline int xf_atomic_test_and_set(volatile u32 *bitmap, u32 mask) in xf_atomic_test_and_set()
93 u32 status; in xf_atomic_test_and_set()
94 u32 v; in xf_atomic_test_and_set()
104 static inline int xf_atomic_test_and_clear(volatile u32 *bitmap, u32 mask) in xf_atomic_test_and_clear()
106 u32 status; in xf_atomic_test_and_clear()
107 u32 v; in xf_atomic_test_and_clear()
[all …]
Dxf-ipc.h76 static inline void WAITI_ON_PTR(volatile u32 *ptr, u32 level) in WAITI_ON_PTR()
93 static inline void xf_ipi_enable(u32 core, int on) in xf_ipi_enable()
102 static inline void xf_ipi_wait(u32 core) in xf_ipi_wait()
131 static inline void xf_ipi_wait(u32 core) in xf_ipi_wait()
163 static inline void xf_ipi_resume(u32 core) in xf_ipi_resume()
172 static inline void xf_ipi_resume(u32 core) in xf_ipi_resume()
220 static inline void xf_ipi_assert(u32 core) in xf_ipi_assert()
227 static inline int xf_ipi_init(u32 core) in xf_ipi_init()
242 static inline int xf_ipi_init(u32 core) in xf_ipi_init()
270 static inline u32 xf_ipc_b2a(u32 core, void *b) in xf_ipc_b2a()
[all …]
Dxf-mem.h48 static inline void xf_shmem_alloc_addref(u32 core, xf_message_t *m) in xf_shmem_alloc_addref()
53 static inline void xf_shmem_alloc_rmref(u32 core, xf_message_t *m) in xf_shmem_alloc_rmref()
62 static inline void * xf_mem_alloc(u32 size, u32 align, u32 core, u32 shared) in xf_mem_alloc()
88 static inline void xf_mem_free(void *p, u32 size, u32 core, u32 shared) in xf_mem_free()
114 static inline int xf_shmem_alloc(u32 core, xf_message_t *m) in xf_shmem_alloc()
133 static inline void xf_shmem_free(u32 core, xf_message_t *m) in xf_shmem_free()
148 static inline void * xf_scratch_mem_init(u32 core) in xf_scratch_mem_init()
159 static inline int xf_mm_alloc_buffer(u32 size, u32 align, u32 core, xf_mm_buffer_t *b) in xf_mm_alloc_buffer()
174 static inline void xf_mm_free_buffer(xf_mm_buffer_t *b, u32 core) in xf_mm_free_buffer()
/device/google/bonito/sdm710/kernel-headers/linux/mfd/
Dmsm-adie-codec.h38 u32 type;
39 u32 action;
43 u32 action_sz;
44 u32 freq_plan;
45 u32 osr;
48 u32 path_type;
49 u32 setting_sz;
59 u32 img_sz;
63 u32 size;
64 u32 writes[];
[all …]
/device/google/crosshatch/sdm845/kernel-headers/linux/mfd/
Dmsm-adie-codec.h38 u32 type;
39 u32 action;
43 u32 action_sz;
44 u32 freq_plan;
45 u32 osr;
48 u32 path_type;
49 u32 setting_sz;
59 u32 img_sz;
63 u32 size;
64 u32 writes[];
[all …]
/device/linaro/hikey/hifi/xaf/host-apf/include/
Dxaf-structs.h35 u32 inp_routed;
36 u32 out_routed;
37 u32 inp_ports;
38 u32 out_ports;
39 u32 init_done;
40 u32 pending_resp;
41 u32 expect_out_cmd;
42 u32 input_over;
46 u32 start_cmd_issued;
47 u32 exec_cmd_issued;
[all …]
Dxf-proto.h47 typedef u32 xf_pool_type_t;
66 extern int xf_open(xf_proxy_t *proxy, xf_handle_t *handle, xf_id_t id, u32 core, xf_response_c…
68 extern int xf_command(xf_handle_t *handle, u32 dst, u32 opcode, void *buf, u32 length);
69 extern int xf_route(xf_handle_t *src, u32 s_port, xf_handle_t *dst, u32 d_port, u32 num, u32 s…
70 extern int xf_unroute(xf_handle_t *src, u32 s_port);
73 extern int xf_pool_alloc(xf_proxy_t *proxy, u32 number, u32 length, xf_pool_type_t type, xf_po…
80 extern int xf_proxy_init(xf_proxy_t *proxy, u32 core, void *p_shmem);
Dxf-opcode.h145 u32 sample_rate;
148 u32 channels;
151 u32 pcm_width;
154 u32 input_length;
157 u32 output_length;
172 u32 id[0];
180 u32 value[0];
187 #define XF_GET_PARAM_CMD_LEN(params) (sizeof(u32) * (params))
188 #define XF_GET_PARAM_RSP_LEN(params) (sizeof(u32) * (params))
198 u32 id;
[all …]
Dxaf-api.h68 u32 persist;
69 u32 scratch;
70 u32 input;
71 u32 output;
81 u32 sample_rate;
82 u32 channels;
83 u32 pcm_width;
84 u32 input_length;
85 u32 output_length;
91 u32 length;
[all …]
Dxf-proxy.h35 u32 id;
38 u32 opcode;
41 u32 length;
121 u32 length;
124 u32 number;
156 u32 next;
179 u32 core;
190 static inline u32 xf_proxy_id(xf_proxy_t *proxy) in xf_proxy_id()
208 static inline void * xf_proxy_a2b(xf_proxy_t *proxy, u32 address) in xf_proxy_a2b()
214 static inline u32 xf_proxy_b2a(xf_proxy_t *proxy, void *b) in xf_proxy_b2a()
[all …]
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/
Dxf-io.h48 u32 length;
51 u32 filled;
57 u32 remaining;
60 u32 flags;
124 static inline u32 xf_input_port_length(xf_input_port_t *port) in xf_input_port_length()
130 static inline u32 xf_input_port_level(xf_input_port_t *port) in xf_input_port_level()
151 u32 length;
154 u32 flags;
234 extern int xf_input_port_init(xf_input_port_t *port, u32 size, u32 align, u32 core);
246 extern void xf_input_port_consume(xf_input_port_t *port, u32 n);
[all …]
Dxf-opcode.h77 ({ u32 __id = (id); (XF_CFG_CORES_NUM > 1 ? (__id ^ (__id >> 16)) & 0x3 : 0); })
156 u32 sample_rate;
159 u32 channels;
162 u32 pcm_width;
165 u32 input_length;
168 u32 output_length;
183 u32 id[0];
191 u32 value[0];
198 #define XF_GET_PARAM_CMD_LEN(params) (sizeof(u32) * (params))
199 #define XF_GET_PARAM_RSP_LEN(params) (sizeof(u32) * (params))
[all …]
Dxf-sched.h48 static inline u32 xf_task_timestamp(xf_task_t *t) in xf_task_timestamp()
55 static inline u32 xf_task_timestamp_set(xf_task_t *t, u32 ts) in xf_task_timestamp_set()
62 static inline int xf_timestamp_before(u32 t0, u32 t1) in xf_timestamp_before()
69 static inline u32 xf_sched_timestamp(xf_sched_t *sched) in xf_sched_timestamp()
76 static inline u32 xf_sched_timestamp_set(xf_sched_t *sched, u32 ts) in xf_sched_timestamp_set()
87 extern void xf_sched_put(xf_sched_t *sched, xf_task_t *t, u32 ts);
Dxf-timebase.h46 C_BUG((u32)(XF_TIMEBASE_FREQ / 10) >= (1 << 31));
70 static inline u32 xf_timebase_factor(u32 sample_rate) in xf_timebase_factor()
113 static inline u32 xf_core_timebase(u32 core) in xf_core_timebase()
122 static inline int xf_time_after(u32 a, u32 b) in xf_time_after()
128 static inline int xf_time_before(u32 a, u32 b) in xf_time_before()
Dxf-msg.h48 u32 id;
51 u32 opcode;
54 u32 length;
76 u32 n;
81 static inline xf_message_t * xf_msg_pool_item(xf_msg_pool_t *pool, u32 i) in xf_msg_pool_item()
171 return (u32)((__xf_message_t*)m - pool->p) < pool->n; in xf_msg_from_pool()
179 extern void xf_msg_schedule(xf_message_t *m, u32 ts);
197 extern int xf_msg_pool_init(xf_msg_pool_t *pool, u32 n, u32 core);
206 extern void xf_msg_pool_destroy(xf_msg_pool_t *pool, u32 core);
225 static inline void xf_response_data(xf_message_t *m, u32 length) in xf_response_data()
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/
Dxf-core.c63 static inline xf_component_t * xf_client_lookup(xf_core_data_t *cd, u32 client) in xf_client_lookup()
72 static inline u32 xf_client_alloc(xf_core_data_t *cd) in xf_client_alloc()
74 u32 client = cd->free; in xf_client_alloc()
83 static inline void xf_client_free(xf_core_data_t *cd, u32 client) in xf_client_free()
94 static int xf_proxy_register(u32 core, xf_message_t *m) in xf_proxy_register()
97 u32 src = XF_MSG_SRC(m->id); in xf_proxy_register()
98 u32 client; in xf_proxy_register()
137 static int xf_proxy_alloc(u32 core, xf_message_t *m) in xf_proxy_alloc()
152 static int xf_proxy_free(u32 core, xf_message_t *m) in xf_proxy_free()
168 static int xf_proxy_route(u32 core, xf_message_t *m)
[all …]
Dxf-mem.c49 static inline xf_mm_block_t * xf_mm_block_init(void *addr, u32 size) in xf_mm_block_init()
58 static inline int xf_mm_block_length_less(xf_mm_block_t *b, u32 size) in xf_mm_block_length_less()
65 static inline u32 xf_mm_block_length(xf_mm_block_t *b) in xf_mm_block_length()
72 static inline u32 xf_mm_block_length_add(xf_mm_block_t *b, u32 size) in xf_mm_block_length_add()
79 static inline u32 xf_mm_block_length_sub(xf_mm_block_t *b, u32 size) in xf_mm_block_length_sub()
90 static inline xf_mm_block_t * xf_mm_find_by_size(xf_mm_pool_t *pool, u32 size) in xf_mm_find_by_size()
144 if ((u32)p_idx < (u32)addr) in xf_mm_find_by_addr()
168 static void xf_mm_insert_size(xf_mm_pool_t *pool, xf_mm_block_t *b, u32 size) in xf_mm_insert_size()
213 if ((u32)p_idx < (u32)b) in xf_mm_insert_addr()
244 void * xf_mm_alloc(xf_mm_pool_t *pool, u32 size) in xf_mm_alloc()
[all …]
Dxf-shmem.c74 u32 dst = XF_MSG_DST_CORE(m->id); in xf_msg_proxy_put()
75 u32 src = XF_MSG_SRC_CORE(m->id); in xf_msg_proxy_put()
111 static inline xf_message_t * xf_msg_proxy_get(u32 core) in xf_msg_proxy_get()
151 static u32 xf_shmem_process_input(u32 core) in xf_shmem_process_input()
154 u32 read_idx; in xf_shmem_process_input()
155 u32 write_idx; in xf_shmem_process_input()
156 u32 status = 0; in xf_shmem_process_input()
209 static u32 xf_shmem_process_output(u32 core) in xf_shmem_process_output()
212 u32 read_idx; in xf_shmem_process_output()
213 u32 write_idx; in xf_shmem_process_output()
[all …]
Dxf-io.c52 int xf_input_port_init(xf_input_port_t *port, u32 size, u32 align, u32 core) in xf_input_port_init()
167 u32 filled = port->filled; in xf_input_port_fill()
168 u32 remaining = port->remaining; in xf_input_port_fill()
169 u32 copied = 0; in xf_input_port_fill()
188 u32 k; in xf_input_port_fill()
247 u32 filled = port->filled; in xf_input_port_pad()
261 void xf_input_port_consume(xf_input_port_t *port, u32 n) in xf_input_port_consume()
291 u32 k = port->filled - n; in xf_input_port_consume()
360 void xf_input_port_destroy(xf_input_port_t *port, u32 core) in xf_input_port_destroy()
379 int xf_output_port_init(xf_output_port_t *port, u32 size) in xf_output_port_init()
[all …]
/device/generic/goldfish/wifi/wifi_hal/
Dinterface.h43 wifi_error clearLinkStats(u32 requestMask,
44 u32* responseMask,
51 wifi_error startLogging(u32 verboseLevel,
52 u32 flags,
53 u32 maxIntervalSec,
54 u32 minDataSize,
59 wifi_error getRingBuffersStatus(u32* numRings,
71 wifi_error getPacketFilterCapabilities(u32* version, u32* maxLength);
79 u32 period_msec);
/device/linaro/hikey/hifi/xaf/hifi-dpf/audio/
Dxa-class-mixer.c61 u32 pts;
64 u32 decoded;
67 u32 rendered;
75 static inline u32 xa_track_test_flags(XATrack *track, u32 flags) in xa_track_test_flags()
80 static inline u32 xa_track_set_flags(XATrack *track, u32 flags) in xa_track_set_flags()
85 static inline u32 xa_track_clear_flags(XATrack *track, u32 flags) in xa_track_clear_flags()
90 static inline u32 xa_track_toggle_flags(XATrack *track, u32 flags) in xa_track_toggle_flags()
120 u32 frame_size;
123 u32 frame_duration;
126 u32 pts;
[all …]
/device/linaro/hikey/hifi/xaf/host-apf/include/sys/fio/
Dxf-ipc.h60 static inline void * xf_ipc_a2b(xf_proxy_ipc_data_t *ipc, u32 address) in xf_ipc_a2b()
71 static inline u32 xf_ipc_b2a(xf_proxy_ipc_data_t *ipc, void *b) in xf_ipc_b2a()
73 u32 a; in xf_ipc_b2a()
77 if ((a = (u32)((u8 *)b - (u8 *)ipc->shmem)) < XF_CFG_REMOTE_IPC_POOL_SIZE) in xf_ipc_b2a()
118 extern int xf_ipc_wait(xf_proxy_ipc_data_t *ipc, u32 timeout);
124 extern int xf_ipc_open(xf_proxy_ipc_data_t *proxy, u32 core, void *p_shmem);
127 extern void xf_ipc_close(xf_proxy_ipc_data_t *proxy, u32 core);
/device/linaro/hikey/hifi/xaf/hifi-dpf/plugins/cadence/pcm_proc/
Dxa-pcm.c57 u32 state;
60 u32 sample_rate;
72 u32 chan_routing;
78 u32 insize, outsize;
81 u32 input_idx, output_idx;
87 u32 consumed, produced;
118 u32 n = d->insize; in xa_pcm_do_execute_copy()
120 u32 length = n * k * (d->in_pcm_width == 16 ? 2 : 4); in xa_pcm_do_execute_copy()
145 u32 n = d->insize, i; in xa_pcm_do_execute_pcm16_chmap()
147 u32 chmap = d->chan_routing, map; in xa_pcm_do_execute_pcm16_chmap()
[all …]

1234