Home
last modified time | relevance | path

Searched refs:pos (Results 1 – 25 of 402) sorted by relevance

12345678910>>...17

/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/tl/
Dmali_kbase_tracepoints.c556 size_t pos = 0; in mali_kbase_kbase_tlstream_tl_new_ctx() local
560 pos = kbasep_serialize_bytes(buffer, pos, &msg_id, sizeof(msg_id)); in mali_kbase_kbase_tlstream_tl_new_ctx()
561 pos = kbasep_serialize_timestamp(buffer, pos); in mali_kbase_kbase_tlstream_tl_new_ctx()
562 pos = kbasep_serialize_bytes(buffer, in mali_kbase_kbase_tlstream_tl_new_ctx()
563 pos, &ctx, sizeof(ctx)); in mali_kbase_kbase_tlstream_tl_new_ctx()
564 pos = kbasep_serialize_bytes(buffer, in mali_kbase_kbase_tlstream_tl_new_ctx()
565 pos, &ctx_nr, sizeof(ctx_nr)); in mali_kbase_kbase_tlstream_tl_new_ctx()
566 pos = kbasep_serialize_bytes(buffer, in mali_kbase_kbase_tlstream_tl_new_ctx()
567 pos, &tgid, sizeof(tgid)); in mali_kbase_kbase_tlstream_tl_new_ctx()
586 size_t pos = 0; in mali_kbase_kbase_tlstream_tl_new_gpu() local
[all …]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/tl/
Dmali_kbase_tracepoints.c678 size_t pos = 0; in __kbase_tlstream_tl_new_ctx() local
682 pos = kbasep_serialize_bytes(buffer, pos, &msg_id, sizeof(msg_id)); in __kbase_tlstream_tl_new_ctx()
683 pos = kbasep_serialize_timestamp(buffer, pos); in __kbase_tlstream_tl_new_ctx()
684 pos = kbasep_serialize_bytes(buffer, in __kbase_tlstream_tl_new_ctx()
685 pos, &ctx, sizeof(ctx)); in __kbase_tlstream_tl_new_ctx()
686 pos = kbasep_serialize_bytes(buffer, in __kbase_tlstream_tl_new_ctx()
687 pos, &ctx_nr, sizeof(ctx_nr)); in __kbase_tlstream_tl_new_ctx()
688 pos = kbasep_serialize_bytes(buffer, in __kbase_tlstream_tl_new_ctx()
689 pos, &tgid, sizeof(tgid)); in __kbase_tlstream_tl_new_ctx()
708 size_t pos = 0; in __kbase_tlstream_tl_new_gpu() local
[all …]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
Dmali_kbase_tlstream.c373 static size_t kbasep_tlstream_write_bytes(char *buffer, size_t pos, const void *bytes, size_t len) in kbasep_tlstream_write_bytes() argument
378 memcpy(&buffer[pos], bytes, len); in kbasep_tlstream_write_bytes()
380 return pos + len; in kbasep_tlstream_write_bytes()
392 static size_t kbasep_tlstream_write_string(char *buffer, size_t pos, const char *string, size_t max… in kbasep_tlstream_write_string() argument
403 string_len = strlcpy(&buffer[pos + sizeof(string_len)], string, max_write_size); in kbasep_tlstream_write_string()
410 memcpy(&buffer[pos], &string_len, sizeof(string_len)); in kbasep_tlstream_write_string()
412 return pos + sizeof(string_len) + string_len; in kbasep_tlstream_write_string()
422 static size_t kbasep_tlstream_write_timestamp(void *buffer, size_t pos) in kbasep_tlstream_write_timestamp() argument
426 return kbasep_tlstream_write_bytes(buffer, pos, &timestamp, sizeof(timestamp)); in kbasep_tlstream_write_timestamp()
979 size_t pos = 0; in kbasep_tlstream_timeline_header() local
[all …]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
Dmali_kbase_tlstream.c609 size_t pos, in kbasep_tlstream_write_bytes() argument
616 memcpy(&buffer[pos], bytes, len); in kbasep_tlstream_write_bytes()
618 return pos + len; in kbasep_tlstream_write_bytes()
632 size_t pos, in kbasep_tlstream_write_string() argument
646 &buffer[pos + sizeof(string_len)], in kbasep_tlstream_write_string()
655 memcpy(&buffer[pos], &string_len, sizeof(string_len)); in kbasep_tlstream_write_string()
657 return pos + sizeof(string_len) + string_len; in kbasep_tlstream_write_string()
667 static size_t kbasep_tlstream_write_timestamp(void *buffer, size_t pos) in kbasep_tlstream_write_timestamp() argument
672 buffer, pos, in kbasep_tlstream_write_timestamp()
1289 size_t pos = 0; in kbasep_tlstream_timeline_header() local
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
Dosal_list.h393 #define osal_list_for_each(pos, head) \ argument
394 for ((pos) = (head)->next; (pos) != (head); (pos) = (pos)->next)
404 #define osal___list_for_each(pos, head) \ argument
405 for ((pos) = (head)->next; (pos) != (head); (pos) = (pos)->next)
412 #define osal_list_for_each_prev(pos, head) \ argument
413 for ((pos) = (head)->prev; (pos) != (head); (pos) = (pos)->prev)
421 #define osal_list_for_each_safe(pos, n, head) \ argument
422 for ((pos) = (head)->next, (n) = (pos)->next; (pos) != (head); \
423 (pos) = (n), (n) = (pos)->next)
431 #define osal_list_for_each_prev_safe(pos, n, head) \ argument
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
Dosal_list.h394 #define osal_list_for_each(pos, head) \ argument
395 for ((pos) = (head)->next; (pos) != (head); (pos) = (pos)->next)
405 #define osal___list_for_each(pos, head) \ argument
406 for ((pos) = (head)->next; (pos) != (head); (pos) = (pos)->next)
413 #define osal_list_for_each_prev(pos, head) \ argument
414 for ((pos) = (head)->prev; (pos) != (head); (pos) = (pos)->prev)
422 #define osal_list_for_each_safe(pos, n, head) \ argument
423 for ((pos) = (head)->next, (n) = (pos)->next; (pos) != (head); \
424 (pos) = (n), (n) = (pos)->next)
432 #define osal_list_for_each_prev_safe(pos, n, head) \ argument
[all …]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/
Dosal_list.h392 #define osal_list_for_each(pos, head) \ argument
393 for ((pos) = (head)->next; (pos) != (head); (pos) = (pos)->next)
403 #define osal___list_for_each(pos, head) \ argument
404 for ((pos) = (head)->next; (pos) != (head); (pos) = (pos)->next)
411 #define osal_list_for_each_prev(pos, head) \ argument
412 for ((pos) = (head)->prev; (pos) != (head); (pos) = (pos)->prev)
420 #define osal_list_for_each_safe(pos, n, head) \ argument
421 for ((pos) = (head)->next, (n) = (pos)->next; (pos) != (head); \
422 (pos) = (n), (n) = (pos)->next)
430 #define osal_list_for_each_prev_safe(pos, n, head) \ argument
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/include/
Dosal_list.h397 #define osal_list_for_each(pos, head) \ argument
398 for ((pos) = (head)->next; (pos) != (head); (pos) = (pos)->next)
408 #define osal___list_for_each(pos, head) \ argument
409 for ((pos) = (head)->next; (pos) != (head); (pos) = (pos)->next)
416 #define osal_list_for_each_prev(pos, head) \ argument
417 for ((pos) = (head)->prev; (pos) != (head); (pos) = (pos)->prev)
425 #define osal_list_for_each_safe(pos, n, head) \ argument
426 for ((pos) = (head)->next, (n) = (pos)->next; (pos) != (head); \
427 (pos) = (n), (n) = (pos)->next)
435 #define osal_list_for_each_prev_safe(pos, n, head) \ argument
[all …]
/device/soc/chipsea/cst85/liteos_m/sdk/modules/console/api/
Dlnx_list.h428 #define list_for_each(pos, head) \ argument
429 for (pos = (head)->next; pos != (head); pos = pos->next)
441 #define __list_for_each(pos, head) \ argument
442 for (pos = (head)->next; pos != (head); pos = pos->next)
449 #define list_for_each_prev(pos, head) \ argument
450 for (pos = (head)->prev; pos != (head); pos = pos->prev)
458 #define list_for_each_safe(pos, n, head) \ argument
459 for (pos = (head)->next, n = pos->next; pos != (head); \
460 pos = n, n = pos->next)
468 #define list_for_each_prev_safe(pos, n, head) \ argument
[all …]
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/base64/
Dbase_64.c57 unsigned char *pos; in base64_encode() local
66 pos = out; in base64_encode()
69 *pos++ = base_64_table[in[0] >> 2]; in base64_encode()
70 *pos++ = base_64_table[((in[0] & 0x03) << 4) | (in[1] >> 4)]; in base64_encode()
71 *pos++ = base_64_table[((in[1] & 0x0f) << 2) | (in[2] >> 6)]; in base64_encode()
72 *pos++ = base_64_table[in[2] & 0x3f]; in base64_encode()
76 *pos++ = '\n'; in base64_encode()
82 *pos++ = base_64_table[in[0] >> 2]; in base64_encode()
84 *pos++ = base_64_table[(in[0] & 0x03) << 4]; in base64_encode()
85 *pos++ = '='; in base64_encode()
[all …]
/device/soc/rockchip/common/hardware/mpp/include/
Dmpp_list.h98 #define list_for_each_safe(pos, n, head) … argument
100 …for ((pos) = (head)->next, (n) = (pos)->next; (pos) != (head); (pos) = (n), (n) = (pos)->next) …
116 #define list_next_entry(pos, type, member) list_entry((pos)->member.next, type, member) argument
118 #define list_prev_entry(pos, type, member) list_entry((pos)->member.prev, type, member) argument
120 #define list_for_each_entry(pos, head, type, member) … argument
121 …for ((pos) = list_entry((head)->next, type, member); &(pos)->member != (head); …
122 (pos) = list_next_entry((pos), type, member))
124 #define list_for_each_entry_safe(pos, n, head, type, member) … argument
125 …for ((pos) = list_first_entry(head, type, member), (n) = list_next_entry((pos), type, member); …
126 &(pos)->member != (head); (pos) = (n), (n) = list_next_entry(n, type, member))
[all …]
Dmpp_hash.h161 #define hlist_for_each(pos, head) for ((pos) = (head)->first; (pos); pos = (pos)->next) argument
163 #define hlist_for_each_safe(pos, n, head) … argument
164 …for ((pos) = (head)->first; (pos) && ( { …
165 … n = (pos)->next; \
168 pos = n)
176 #define hlist_for_each_entry(pos, head, member) … argument
178 …for ((pos) = hlist_entry_safe((head)->first, typeof(*(pos)), member); pos; …
179pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) …
182 #define hlist_for_each_entry_continue(pos, member) … argument
184 …for ((pos) = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member); pos; …
[all …]
/device/soc/chipsea/hals/communication/wifi_lite/wifiservice/
Dwifi_event.c94 WifiEventNode *pos = NULL; in UnRegisterWifiEvent() local
104 LOS_DL_LIST_FOR_EACH_ENTRY(pos, &g_eventData.eventLst, WifiEventNode, node) { in UnRegisterWifiEvent()
105 if (pos->event == event) { in UnRegisterWifiEvent()
106 LOS_ListDelete(&pos->node); in UnRegisterWifiEvent()
107 rtos_free(pos); in UnRegisterWifiEvent()
119 WifiEventNode *pos = NULL; in DoScanCallBack() local
122 LOS_DL_LIST_FOR_EACH_ENTRY(pos, &g_eventData.eventLst, WifiEventNode, node) { in DoScanCallBack()
123 if (pos->event->OnWifiScanStateChanged != NULL) { in DoScanCallBack()
124 pos->event->OnWifiScanStateChanged(state, size); in DoScanCallBack()
132 WifiEventNode *pos = NULL; in DoStaConnectCallBack() local
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/crypto/
Dccmp.c22 u8 *pos; in ccmp_aad_nonce() local
49 pos = aad + 2; in ccmp_aad_nonce()
50 os_memcpy(pos, GetAddr1Ptr((u8 *)hdr), 3 * ETH_ALEN); in ccmp_aad_nonce()
51 pos += 3 * ETH_ALEN; in ccmp_aad_nonce()
54 WPA_PUT_LE16(pos, seq); in ccmp_aad_nonce()
55 pos += 2; in ccmp_aad_nonce()
57 os_memcpy(pos, (u8 *)hdr + 24, addr4 * ETH_ALEN + qos * 2); in ccmp_aad_nonce()
58 pos += addr4 * ETH_ALEN; in ccmp_aad_nonce()
60 pos[0] &= ~0x70; in ccmp_aad_nonce()
63 pos[0] &= ~0x80; in ccmp_aad_nonce()
[all …]
Dgcmp.c21 u8 *pos; in gcmp_aad_nonce() local
43 pos = aad + 2; in gcmp_aad_nonce()
44 os_memcpy(pos, GetAddr1Ptr((u8 *)hdr), 3 * ETH_ALEN); in gcmp_aad_nonce()
45 pos += 3 * ETH_ALEN; in gcmp_aad_nonce()
48 WPA_PUT_LE16(pos, seq); in gcmp_aad_nonce()
49 pos += 2; in gcmp_aad_nonce()
51 wpa_printf(_MSG_INFO_, "pos - aad = %u, qos(%d)\n", (pos - aad), qos); in gcmp_aad_nonce()
53 os_memcpy(pos, (u8 *)hdr + 24, addr4 * ETH_ALEN + qos * 2); in gcmp_aad_nonce()
54 pos += addr4 * ETH_ALEN; in gcmp_aad_nonce()
56 pos[0] &= ~0x70; in gcmp_aad_nonce()
[all …]
/device/soc/rockchip/rk3399/hardware/mpp/include/
Dmpp_list.h96 #define list_for_each_safe(pos, n, head) do { \ argument
97 for ((pos) = (head)->next, (n) = (pos)->next; (pos) != (head); \
98 (pos) = (n), (n) = (pos)->next) \
117 #define list_next_entry(pos, type, member) \ argument
118 list_entry((pos)->member.next, type, member)
120 #define list_prev_entry(pos, type, member) \ argument
121 list_entry((pos)->member.prev, type, member)
123 #define list_for_each_entry(pos, head, type, member) \ argument
124 for ((pos) = list_entry((head)->next, type, member); \
125 &(pos)->member != (head); \
[all …]
Dmpp_hash.h161 #define hlist_for_each(pos, head) \ argument
162 for ((pos) = (head)->first; (pos) ; (pos) = (pos)->next)
164 #define hlist_for_each_safe(pos, n, head) \ argument
165 for ((pos) = (head)->first; (pos) && ( { n = (pos)->next; 1; } ); \
166 (pos) = n)
173 #define hlist_for_each_entry(pos, head, member) do { \ argument
174 for ((pos) = hlist_entry_safe((head)->first, typeof(*(pos)), member); \
175 (pos); \
176 (pos) = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) \
179 #define hlist_for_each_entry_continue(pos, member) do { \ argument
[all …]
/device/soc/rockchip/rk3568/hardware/mpp/include/
Dmpp_list.h96 #define list_for_each_safe(pos, n, head) do { \ argument
97 for ((pos) = (head)->next, (n) = (pos)->next; (pos) != (head); \
98 (pos) = (n), (n) = (pos)->next) \
117 #define list_next_entry(pos, type, member) \ argument
118 list_entry((pos)->member.next, type, member)
120 #define list_prev_entry(pos, type, member) \ argument
121 list_entry((pos)->member.prev, type, member)
123 #define list_for_each_entry(pos, head, type, member) \ argument
124 for ((pos) = list_entry((head)->next, type, member); \
125 &(pos)->member != (head); \
[all …]
Dmpp_hash.h161 #define hlist_for_each(pos, head) \ argument
162 for ((pos) = (head)->first; (pos) ; pos = (pos)->next)
164 #define hlist_for_each_safe(pos, n, head) \ argument
165 for ((pos) = (head)->first; (pos) && ( {n = (pos)->next; 1;} ); \
166 pos = n)
173 #define hlist_for_each_entry(pos, head, member) \ argument
175 for ((pos) = hlist_entry_safe((head)->first, typeof(*(pos)), member); \
176 pos; \
177 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) \
180 #define hlist_for_each_entry_continue(pos, member) \ argument
[all …]
/device/soc/chipsea/cst85/liteos_m/sdk/modules/wifi/macif/
Dcs_list.h32 #define list_for_each_entry_safe(pos, n, head, member) \
33 for (pos = list_entry((head)->next, typeof(*pos), member), \
34 n = list_entry(pos->member.next, typeof(*pos), member); \
35 &pos->member != (head); \
36 pos = n, n = list_entry(n->member.next, typeof(*n), member))
38 #define list_for_each_entry(pos, head, member) \
39 for (pos = list_entry((head)->next, typeof(*pos), member); \
40 &pos->member != (head); \
41 pos = list_entry(pos->member.next, typeof(*pos), member))
61 #define list_for_each_entry_safe(pos, n, head, member) \ argument
[all …]
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_common/include/
Dbk_list.h220 #define list_for_each(pos, head) \ argument
221 for (pos = (head)->next; pos != (head); pos = pos->next)
230 #define list_for_each_safe(pos, n, head) \ argument
231 for (pos = (head)->next, n = pos->next; pos != (head); \
232 pos = n, n = pos->next)
242 #define list_for_each_entry(pos, head, member) \ argument
243 for (pos = list_entry((head)->next, __typeof__(*pos), member); \
244 prefetch(pos->member.next), &pos->member != (head); \
245 pos = list_entry(pos->member.next, __typeof__(*pos), member))
254 #define list_for_each_entry_safe(pos, n, head, member) \ argument
[all …]
/device/soc/rockchip/rk3588/hardware/mpp/include/
Dmpp_list.h104 #define list_for_each_safe(pos, n, head) \ argument
105 for (pos = (head)->next, n = pos->next; pos != (head); \
106 pos = n, n = pos->next)
123 #define list_next_entry(pos, type, member) \ argument
124 list_entry((pos)->member.next, type, member)
126 #define list_prev_entry(pos, type, member) \ argument
127 list_entry((pos)->member.prev, type, member)
129 #define list_for_each_entry(pos, head, type, member) \ argument
130 for (pos = list_entry((head)->next, type, member); \
131 &pos->member != (head); \
[all …]
Dmpp_hash.h160 #define hlist_for_each(pos, head) \ argument
161 for (pos = (head)->first; pos ; pos = pos->next)
163 #define hlist_for_each_safe(pos, n, head) \ argument
164 for (pos = (head)->first; pos && ({ n = pos->next; 1; }); \
165 pos = n)
172 #define hlist_for_each_entry(pos, head, member) \ argument
173 for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\
174 pos; \
175 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
177 #define hlist_for_each_entry_continue(pos, member) \ argument
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/v4l2_dev/src/fw_lib/
Dacamera_loop_buf.c29 uint8_t acamera_loop_buffer_read_u8( acamera_loop_buf_ptr_t p_buf, int pos ) in acamera_loop_buffer_read_u8() argument
31 pos += p_buf->tail; in acamera_loop_buffer_read_u8()
32 if ( pos >= p_buf->data_buf_size ) { in acamera_loop_buffer_read_u8()
33 pos -= p_buf->data_buf_size; in acamera_loop_buffer_read_u8()
35 return p_buf->p_data_buf[pos]; in acamera_loop_buffer_read_u8()
38 int acamera_loop_buffer_write_u8( acamera_loop_buf_ptr_t p_buf, int pos, uint8_t sample ) in acamera_loop_buffer_write_u8() argument
40 pos += p_buf->head; in acamera_loop_buffer_write_u8()
41 if ( pos >= p_buf->data_buf_size ) { in acamera_loop_buffer_write_u8()
42 pos -= p_buf->data_buf_size; in acamera_loop_buffer_write_u8()
44 p_buf->p_data_buf[pos++] = sample; in acamera_loop_buffer_write_u8()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/
Drtw_debug.h328 ssize_t proc_set_write_reg(struct file *file, const char __user *buffer, size_t count, loff_t *pos,…
330 ssize_t proc_set_read_reg(struct file *file, const char __user *buffer, size_t count, loff_t *pos, …
337 ssize_t proc_set_roam_flags(struct file *file, const char __user *buffer, size_t count, loff_t *pos
339 ssize_t proc_set_roam_param(struct file *file, const char __user *buffer, size_t count, loff_t *pos
340 …roam_tgt_addr(struct file *file, const char __user *buffer, size_t count, loff_t *pos, void *data);
346 ssize_t proc_set_scan_param(struct file *file, const char __user *buffer, size_t count, loff_t *pos
350 ssize_t proc_set_rson_data(struct file *file, const char __user *buffer, size_t count, loff_t *pos,…
353 …t_survey_info(struct file *file, const char __user *buffer, size_t count, loff_t *pos, void *data);
358 ssize_t proc_reset_trx_info(struct file *file, const char __user *buffer, size_t count, loff_t *pos
360 …_power_offset(struct file *file, const char __user *buffer, size_t count, loff_t *pos, void *data);
[all …]

12345678910>>...17