Home
last modified time | relevance | path

Searched refs:obj_index (Results 1 – 16 of 16) sorted by relevance

/OK3568_Linux_fs/kernel/sound/pci/asihpi/
H A Dhpimsgx.c258 if (phm->obj_index >= aDAPTER_INFO[phm->adapter_index].num_outstreams) { in outstream_message()
280 if (phm->obj_index >= aDAPTER_INFO[phm->adapter_index].num_instreams) { in instream_message()
392 if (instream_user_open[phm->adapter_index][phm->obj_index].open_flag) in instream_open()
395 [phm->obj_index].h.error) in instream_open()
398 obj_index], in instream_open()
402 obj_index].open_flag = 1; in instream_open()
409 hm.obj_index = phm->obj_index; in instream_open()
415 obj_index].open_flag = 0; in instream_open()
419 obj_index].open_flag = 1; in instream_open()
421 obj_index].h_owner = h_owner; in instream_open()
[all …]
H A Dhpi6205.c288 if (phm->obj_index >= HPI_MAX_STREAMS) { in outstream_message()
292 "on adapter index %d\n", phm->obj_index, in outstream_message()
332 if (phm->obj_index >= HPI_MAX_STREAMS) { in instream_message()
336 "on adapter index %d\n", phm->obj_index, in instream_message()
749 phw->outstream_host_buffer_size[phm->obj_index]; in outstream_host_buffer_allocate()
753 if (phw->outstream_host_buffer_size[phm->obj_index] == in outstream_host_buffer_allocate()
760 obj_index])) in outstream_host_buffer_allocate()
762 [phm->obj_index]); in outstream_host_buffer_allocate()
765 [phm->obj_index], phm->u.d.u.buffer.buffer_size, in outstream_host_buffer_allocate()
770 phw->outstream_host_buffer_size[phm->obj_index] = 0; in outstream_host_buffer_allocate()
[all …]
H A Dhpifunc.c9 unsigned int obj_index:12; member
30 handle.h.obj_index = object_index; in hpi_indexes_to_handle()
44 *p2 = (u16)uhandle.h.obj_index; in hpi_handle_indexes()
127 hm.obj_index = (u16)iterator; in hpi_subsys_get_adapter()
433 hm.obj_index = outstream_index; in hpi_outstream_open()
453 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index)) in hpi_outstream_close()
460 hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index); in hpi_outstream_close()
465 hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index); in hpi_outstream_close()
479 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index)) in hpi_outstream_get_info_ex()
505 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index)) in hpi_outstream_write_buf()
[all …]
H A Dhpidebug.c41 phm->adapter_index, phm->obj_index, phm->function, in hpi_debug_message()
H A Dhpicmn.c154 int count = phm->obj_index; in subsys_get_adapter()
534 if (!find_control(phm->obj_index, p_cache, &pI)) { in hpi_check_control_cache()
622 if (!find_control(phm->obj_index, p_cache, &pI)) { in hpi_cmn_control_cache_sync_to_msg()
H A Dhpi_internal.h994 u16 obj_index; /* */ member
1005 u16 obj_index; /* */ member
1170 u16 obj_index; /* object index */ member
H A Dhpi6000.c1712 if (phm->obj_index < 2) in get_dsp_index()
1716 ret = phm->obj_index; in get_dsp_index()
1746 hm.obj_index = phm->u.d.u.stream.stream_index; in hw_message()
H A Dasihpi.c175 &hm.obj_index); in hpi_stream_host_buffer_attach()
199 &hm.obj_index); in hpi_stream_host_buffer_detach()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/iq_parser_v2/j2s/
H A Dj2s.cpp31 static cJSON* _j2s_obj_to_json(j2s_ctx* ctx, int obj_index, void* ptr);
36 int obj_index, void* ptr, bool query);
41 static int _j2s_obj_from_cache(j2s_ctx* ctx, int obj_index, int fd, void* ptr);
46 static void _j2s_obj_to_cache(j2s_ctx* ctx, int obj_index, int fd, void* ptr);
291 static inline double j2s_obj_get_value(j2s_ctx* ctx, int obj_index, void* ptr_) in j2s_obj_get_value() argument
297 if (!ptr || obj_index < 0) in j2s_obj_get_value()
300 obj = &ctx->objs[obj_index]; in j2s_obj_get_value()
334 static inline int j2s_obj_set_value(j2s_ctx* ctx, int obj_index, double value, in j2s_obj_set_value() argument
340 if (!ptr || obj_index < 0) in j2s_obj_set_value()
343 obj = &ctx->objs[obj_index]; in j2s_obj_set_value()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/tools/j2s4b/src/j2s4b/
H A Dj2s.cpp33 static cJSON *_j2s_obj_to_json(j2s_ctx *ctx, int obj_index, void *ptr);
38 int obj_index, void *ptr, bool query);
380 static inline double j2s_obj_get_value(j2s_ctx *ctx, int obj_index, in j2s_obj_get_value() argument
386 if (!ptr || obj_index < 0) in j2s_obj_get_value()
389 obj = &ctx->objs[obj_index]; in j2s_obj_get_value()
423 static inline int j2s_obj_set_value(j2s_ctx *ctx, int obj_index, double value, in j2s_obj_set_value() argument
428 if (!ptr || obj_index < 0) in j2s_obj_set_value()
431 obj = &ctx->objs[obj_index]; in j2s_obj_set_value()
509 static cJSON *j2s_get_index_json(j2s_ctx *ctx, cJSON *parent, int obj_index) { in j2s_get_index_json() argument
513 if (obj_index < 0) in j2s_get_index_json()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/tools/j2s4b/src/
H A Dmain.cpp71 int obj_index = -1; in j2s_root_struct_size() local
75 obj_index = root_struct->child_index; in j2s_root_struct_size()
77 while (obj_index >= 0) { in j2s_root_struct_size()
78 obj = &ctx->objs[obj_index]; in j2s_root_struct_size()
81 obj_index = obj->next_index; in j2s_root_struct_size()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/tools/iq_check/src/
H A Ddump.cpp27 void dump_obj(j2s_ctx *ctx, int obj_index, bool expend, int depth) { in dump_obj() argument
31 if (obj_index < 0) in dump_obj()
34 obj = &ctx->objs[obj_index]; in dump_obj()
41 printf("; // id: %d|off: %d|", obj_index, obj->offset); in dump_obj()
96 printf("; // id: %d|off: %d|", obj_index, obj->offset); in dump_obj()
/OK3568_Linux_fs/kernel/drivers/bus/fsl-mc/
H A Ddprc.c423 int obj_index, in dprc_get_obj() argument
436 cmd_params->obj_index = cpu_to_le32(obj_index); in dprc_get_obj()
H A Dfsl-mc-private.h177 __le32 obj_index; member
360 int obj_index,
/OK3568_Linux_fs/u-boot/drivers/net/fsl-mc/
H A Ddprc.c189 int obj_index, in dprc_get_obj() argument
199 DPRC_CMD_GET_OBJ(cmd, obj_index); in dprc_get_obj()
/OK3568_Linux_fs/u-boot/include/fsl-mc/
H A Dfsl_dprc.h100 #define DPRC_CMD_GET_OBJ(cmd, obj_index) \ argument
101 MC_CMD_OP(cmd, 0, 0, 32, int, obj_index)
758 int obj_index,