Home
last modified time | relevance | path

Searched refs:msg_size (Results 1 – 25 of 26) sorted by relevance

12

/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
Dmali_kbase_tlstream.c656 static char *kbasep_tlstream_msgbuf_acquire(enum tl_stream_type stream_type, size_t msg_size, unsig… in kbasep_tlstream_msgbuf_acquire() argument
665 KBASE_DEBUG_ASSERT(PACKET_SIZE - PACKET_HEADER_SIZE - PACKET_NUMBER_SIZE >= msg_size); in kbasep_tlstream_msgbuf_acquire()
676 if (PACKET_SIZE < wb_size + msg_size) { in kbasep_tlstream_msgbuf_acquire()
682 atomic_set(&stream->buffer[wb_idx].size, wb_size + msg_size); in kbasep_tlstream_msgbuf_acquire()
685 atomic_add(msg_size, &tlstream_bytes_generated); in kbasep_tlstream_msgbuf_acquire()
977 size_t msg_size = sizeof(tv) + sizeof(ps) + sizeof(tp_count); in kbasep_tlstream_timeline_header() local
988 msg_size += sizeof(tp_desc[i].id); in kbasep_tlstream_timeline_header()
989 msg_size += strnlen(tp_desc[i].id_str, STRLEN_MAX) + sizeof(char) + sizeof(u32); in kbasep_tlstream_timeline_header()
990 msg_size += strnlen(tp_desc[i].name, STRLEN_MAX) + sizeof(char) + sizeof(u32); in kbasep_tlstream_timeline_header()
991 msg_size += strnlen(tp_desc[i].arg_types, STRLEN_MAX) + sizeof(char) + sizeof(u32); in kbasep_tlstream_timeline_header()
[all …]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
Dmali_kbase_tlstream.c941 size_t msg_size, in kbasep_tlstream_msgbuf_acquire() argument
952 msg_size); in kbasep_tlstream_msgbuf_acquire()
963 if (PACKET_SIZE < wb_size + msg_size) { in kbasep_tlstream_msgbuf_acquire()
970 atomic_set(&stream->buffer[wb_idx].size, wb_size + msg_size); in kbasep_tlstream_msgbuf_acquire()
973 atomic_add(msg_size, &tlstream_bytes_generated); in kbasep_tlstream_msgbuf_acquire()
1287 size_t msg_size = sizeof(tv) + sizeof(ps) + sizeof(tp_count); in kbasep_tlstream_timeline_header() local
1298 msg_size += sizeof(tp_desc[i].id); in kbasep_tlstream_timeline_header()
1299 msg_size += in kbasep_tlstream_timeline_header()
1302 msg_size += in kbasep_tlstream_timeline_header()
1305 msg_size += in kbasep_tlstream_timeline_header()
[all …]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/tl/
Dmali_kbase_tracepoints.c549 const size_t msg_size = sizeof(msg_id) + sizeof(u64) in mali_kbase_kbase_tlstream_tl_new_ctx() local
558 buffer = kbase_tlstream_msgbuf_acquire(stream, msg_size, &acq_flags); in mali_kbase_kbase_tlstream_tl_new_ctx()
579 const size_t msg_size = sizeof(msg_id) + sizeof(u64) in mali_kbase_kbase_tlstream_tl_new_gpu() local
588 buffer = kbase_tlstream_msgbuf_acquire(stream, msg_size, &acq_flags); in mali_kbase_kbase_tlstream_tl_new_gpu()
609 const size_t msg_size = sizeof(msg_id) + sizeof(u64) in mali_kbase_kbase_tlstream_tl_new_lpu() local
618 buffer = kbase_tlstream_msgbuf_acquire(stream, msg_size, &acq_flags); in mali_kbase_kbase_tlstream_tl_new_lpu()
638 const size_t msg_size = sizeof(msg_id) + sizeof(u64) in mali_kbase_kbase_tlstream_tl_new_atom() local
646 buffer = kbase_tlstream_msgbuf_acquire(stream, msg_size, &acq_flags); in mali_kbase_kbase_tlstream_tl_new_atom()
664 const size_t msg_size = sizeof(msg_id) + sizeof(u64) in mali_kbase_kbase_tlstream_tl_new_as() local
672 buffer = kbase_tlstream_msgbuf_acquire(stream, msg_size, &acq_flags); in mali_kbase_kbase_tlstream_tl_new_as()
[all …]
Dmali_kbase_tlstream.c214 char *kbase_tlstream_msgbuf_acquire(struct kbase_tlstream *stream, size_t msg_size, unsigned long *… in kbase_tlstream_msgbuf_acquire() argument
221 KBASE_DEBUG_ASSERT(PACKET_SIZE - PACKET_HEADER_SIZE - PACKET_NUMBER_SIZE >= msg_size); in kbase_tlstream_msgbuf_acquire()
230 if (PACKET_SIZE < wb_size + msg_size) { in kbase_tlstream_msgbuf_acquire()
236 atomic_set(&stream->buffer[wb_idx].size, wb_size + msg_size); in kbase_tlstream_msgbuf_acquire()
239 atomic_add(msg_size, &stream->bytes_generated); in kbase_tlstream_msgbuf_acquire()
Dmali_kbase_tlstream.h144 char *kbase_tlstream_msgbuf_acquire(struct kbase_tlstream *stream, size_t msg_size, unsigned long *…
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/tl/
Dmali_kbase_tracepoints.c671 const size_t msg_size = sizeof(msg_id) + sizeof(u64) in __kbase_tlstream_tl_new_ctx() local
680 buffer = kbase_tlstream_msgbuf_acquire(stream, msg_size, &acq_flags); in __kbase_tlstream_tl_new_ctx()
701 const size_t msg_size = sizeof(msg_id) + sizeof(u64) in __kbase_tlstream_tl_new_gpu() local
710 buffer = kbase_tlstream_msgbuf_acquire(stream, msg_size, &acq_flags); in __kbase_tlstream_tl_new_gpu()
731 const size_t msg_size = sizeof(msg_id) + sizeof(u64) in __kbase_tlstream_tl_new_lpu() local
740 buffer = kbase_tlstream_msgbuf_acquire(stream, msg_size, &acq_flags); in __kbase_tlstream_tl_new_lpu()
760 const size_t msg_size = sizeof(msg_id) + sizeof(u64) in __kbase_tlstream_tl_new_atom() local
768 buffer = kbase_tlstream_msgbuf_acquire(stream, msg_size, &acq_flags); in __kbase_tlstream_tl_new_atom()
786 const size_t msg_size = sizeof(msg_id) + sizeof(u64) in __kbase_tlstream_tl_new_as() local
794 buffer = kbase_tlstream_msgbuf_acquire(stream, msg_size, &acq_flags); in __kbase_tlstream_tl_new_as()
[all …]
Dmali_kbase_tlstream.c235 size_t msg_size, in kbase_tlstream_msgbuf_acquire() argument
244 msg_size); in kbase_tlstream_msgbuf_acquire()
253 if (wb_size + msg_size > PACKET_SIZE) { in kbase_tlstream_msgbuf_acquire()
260 atomic_set(&stream->buffer[wb_idx].size, wb_size + msg_size); in kbase_tlstream_msgbuf_acquire()
263 atomic_add(msg_size, &stream->bytes_generated); in kbase_tlstream_msgbuf_acquire()
Dmali_kbase_tlstream.h148 size_t msg_size, unsigned long *flags) __acquires(&stream->lock);
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
Dhi_msg.h77 hi_u32 hi_msg_queue_create(HI_OUT hi_u32 *id, hi_u16 queue_len, hi_u32 msg_size);
134 hi_u32 hi_msg_queue_send(hi_u32 id, hi_pvoid msg, hi_u32 timeout_ms, hi_u32 msg_size);
169 hi_u32 hi_msg_queue_wait(hi_u32 id, HI_OUT hi_pvoid msg, hi_u32 timeout_ms, hi_u32* msg_size);
262 hi_u32 hi_msg_queue_send_msg_to_front(hi_u32 id, hi_pvoid msg, hi_u32 msg_size, hi_u32 timeout_ms);
Dhi_hook_fuc.h79 hi_u32 msg_size);
84 hi_u32* msg_size);
89 hi_u32 msg_size);
/device/soc/winnermicro/wm800/board/src/os/liteos/
Dwm_osal_liteos.c675 tls_os_status_t tls_os_queue_send(tls_os_queue_t *queue, void *msg, u32 msg_size) in tls_os_queue_send() argument
681 if (msg_size == 0) { in tls_os_queue_send()
682 msg_size = sizeof(void *); in tls_os_queue_send()
685 ret = LOS_QueueWriteCopy(pHandle->handle, &msg, msg_size, 0); in tls_os_queue_send()
716 tls_os_status_t tls_os_queue_receive(tls_os_queue_t *queue, void **msg, u32 msg_size, u32 wait_time) in tls_os_queue_receive() argument
725 if (msg_size == 0) { in tls_os_queue_receive()
726 msg_size = sizeof(void *); in tls_os_queue_receive()
728 ret = LOS_QueueReadCopy(pHandle->handle, msg, msg_size, wait_time); in tls_os_queue_receive()
/device/soc/hpmicro/sdk/hpm_sdk/drivers/src/
Dhpm_sdp_drv.c62 …p_hash_process_message(SDP_Type *base, sdp_hash_ctx_t *ctx, const uint8_t *msg, uint32_t msg_size);
64 …p_hash_internal_update(SDP_Type *base, sdp_hash_ctx_t *ctx, const uint8_t *msg, uint32_t msg_size);
629 …dp_hash_internal_update(SDP_Type *base, sdp_hash_ctx_t *ctx, const uint8_t *msg, uint32_t msg_size) in sdp_hash_internal_update() argument
652 base->PKTBUF = msg_size; in sdp_hash_internal_update()
657 pkt_desc->buf_size = msg_size; in sdp_hash_internal_update()
677 …dp_hash_process_message(SDP_Type *base, sdp_hash_ctx_t *ctx, const uint8_t *msg, uint32_t msg_size) in sdp_hash_process_message() argument
687 msg_size -= size_to_copy; in sdp_hash_process_message()
697 uint32_t full_blk_size = (msg_size >> 6) << 6; in sdp_hash_process_message()
704 msg_size -= full_blk_size; in sdp_hash_process_message()
707 (void) memcpy(&ctx_internal->block.bytes[0], msg, msg_size); in sdp_hash_process_message()
[all …]
/device/soc/winnermicro/wm800/board/include/os/
Dwm_osal.h515 u32 msg_size);
550 u32 msg_size,
/device/soc/st/stm32f407zg/uniproton/hals/cmsis/
Dcmsis_uniproton.c267 osMessageQueueId_t osMessageQueueNew(uint32_t msg_count, uint32_t msg_size, const osMessageQueueAtt… in osMessageQueueNew() argument
273 if ((msg_count == 0) || (msg_size == 0) || OS_INT_ACTIVE) { in osMessageQueueNew()
277 ret = PRT_QueueCreate((U16)msg_count, (U16)msg_size, &queueId); in osMessageQueueNew()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/rtl8822c/
Drtl8822c_cmd.c38 u32 msg_size, i, n; in rtl8822c_fillh2ccmd() local
55 msg_size = (RTW_HALMAC_H2C_MAX_SIZE - 1) * 5 + 1; in rtl8822c_fillh2ccmd()
57 n = rtw_sprintf(msg_p, msg_size, " 0x%02x", pbuf[i]); in rtl8822c_fillh2ccmd()
59 msg_size -= n; in rtl8822c_fillh2ccmd()
60 if (msg_size == 0) in rtl8822c_fillh2ccmd()
/device/board/talkweb/niobe407/applications/007_system_message/
DREADME_zh.md28 osMessageQueueId_t osMessageQueueNew (uint32_t msg_count,uint32_t msg_size,const osMessageQueueAttr…
41 | msg_size |最大消息大小(以字节为单位)|
/device/board/bearpi/bearpi_hm_nano/app/A6_kernel_message/
DREADME.md9 osMessageQueueId_t osMessageQueueNew(uint32_t msg_count, uint32_t msg_size, const osMessageQueueAtt…
22 | msg_size |最大消息大小(以字节为单位)。 |
/device/board/unionman/unionpi_tiger/hardware/bt/src/
Drtk_parse.c288 static int coex_msg_send(char *tx_msg, int msg_size);
289 static int coex_msg_recv(uint8_t *recv_msg, uint8_t *msg_size);
1307 int udpsocket_send(char *tx_msg, int msg_size) in udpsocket_send() argument
1312 n = sendto(rtk_prof.udpsocket, tx_msg, msg_size, 0, (struct sockaddr *)&rtk_prof.client_addr, in udpsocket_send()
1323 int udpsocket_recv(uint8_t *recv_msg, uint8_t *msg_size) in udpsocket_recv() argument
1346 *msg_size = n; in udpsocket_recv()
1352 int btcoex_chr_send(char *tx_msg, int msg_size) in btcoex_chr_send() argument
1357 RTKPARSE_NO_INTR(n = write(rtk_prof.btcoex_chr, tx_msg, msg_size)); in btcoex_chr_send()
1365 int btcoex_chr_recv(uint8_t *recv_msg, uint8_t *msg_size) in btcoex_chr_recv() argument
1387 *msg_size = n; in btcoex_chr_recv()
[all …]
/device/board/hisilicon/hispark_phoenix/peripherals/bluetooth/rtkbt/code/libbt-vendor/src/
Drtk_parse.c300 static int coex_msg_send(char *tx_msg, int msg_size);
301 static int coex_msg_recv(uint8_t *recv_msg, uint8_t *msg_size);
1469 int udpsocket_send(char *tx_msg, int msg_size) in udpsocket_send() argument
1474 …n = sendto(rtk_prof.udpsocket, tx_msg, msg_size, 0, (struct sockaddr *)&rtk_prof.client_addr, size… in udpsocket_send()
1483 int udpsocket_recv(uint8_t *recv_msg, uint8_t *msg_size) in udpsocket_recv() argument
1515 *msg_size = n; in udpsocket_recv()
1521 int btcoex_chr_send(char *tx_msg, int msg_size) in btcoex_chr_send() argument
1526 RTK_NO_INTR(n = write(rtk_prof.btcoex_chr, tx_msg, msg_size)); in btcoex_chr_send()
1535 int btcoex_chr_recv(uint8_t *recv_msg, uint8_t *msg_size) in btcoex_chr_recv() argument
1565 *msg_size = n; in btcoex_chr_recv()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/
Drtw_btcoex.c1293 u16 rtw_btcoex_parse_recv_data(u8 *msg, u8 msg_size) in rtw_btcoex_parse_recv_data() argument
1303 if (_rtw_memcmp(cmp_msg1, msg, msg_size) == _TRUE) { in rtw_btcoex_parse_recv_data()
1306 } else if (_rtw_memcmp(cmp_msg2, msg, msg_size) == _TRUE) { in rtw_btcoex_parse_recv_data()
1309 } else if (_rtw_memcmp(cmp_msg3, msg, msg_size) == _TRUE) { in rtw_btcoex_parse_recv_data()
1312 } else if (_rtw_memcmp(cmp_msg4, msg, msg_size) == _TRUE) { in rtw_btcoex_parse_recv_data()
1315 } else if (_rtw_memcmp(cmp_msg5, msg, msg_size) == _TRUE) in rtw_btcoex_parse_recv_data()
1317 else if (_rtw_memcmp(cmp_msg6, msg, msg_size) == _TRUE) in rtw_btcoex_parse_recv_data()
1483 u8 rtw_btcoex_sendmsgbysocket(_adapter *padapter, u8 *msg, u8 msg_size, bool force) in rtw_btcoex_sendmsgbysocket() argument
1500 iov.iov_len = msg_size; in rtw_btcoex_sendmsgbysocket()
1509 iov_iter_init(&udpmsg.msg_iter, WRITE, &iov, 1, msg_size); in rtw_btcoex_sendmsgbysocket()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/
Drtw_btcoex.h431 u8 rtw_btcoex_sendmsgbysocket(_adapter *padapter, u8 *msg, u8 msg_size, bool force);
435 u16 rtw_btcoex_parse_recv_data(u8 *msg, u8 msg_size);
/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/cmsis/
Dcmsis_liteos2.c1218 osMessageQueueId_t osMessageQueueNew(uint32_t msg_count, uint32_t msg_size, const osMessageQueueAtt… in osMessageQueueNew() argument
1225 if (0 == msg_count || 0 == msg_size || OS_INT_ACTIVE) { in osMessageQueueNew()
1229 uwRet = LOS_QueueCreate((char *)NULL, (UINT16)msg_count, &uwQueueID, 0, (UINT16)msg_size); in osMessageQueueNew()
Dcmsis_os2.h1128 osMessageQueueId_t osMessageQueueNew (uint32_t msg_count, uint32_t msg_size, const osMessageQueueAt…
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_os/liteos_m_mst/
Drtos_pub.c625 bk_err_t rtos_init_queue( beken_queue_t *queue, const char* name, uint32_t msg_size, uint32_t msg_c… in rtos_init_queue() argument
633 if (0 == msg_count || 0 == msg_size || OS_INT_ACTIVE) { in rtos_init_queue()
639 uwRet = LOS_QueueCreate((char *)name, (UINT16)msg_count, &uwQueueID, 0, (UINT16)msg_size); in rtos_init_queue()
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/include/rtos/liteos/liteos_m/kal/cmsis/
Dcmsis_os2.h1136 osMessageQueueId_t osMessageQueueNew (uint32_t msg_count, uint32_t msg_size, const osMessageQueueAt…

12