/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/kernel/include/ |
H A D | los_track.h | 56 * Track type 108 UINT16 usTrackType; /**< Track type */ 129 * Define the type of the task track hook function. 239 * This API is used to record the track type,track id,userdata and function entry in the track items. 249 * @param trackType [IN] #UINT16 The type of track. 318 * @retval type #LOS_ERRNO_TRACK_NO_INIT The track is not initialized. 319 * @retval type #LOS_ERRNO_TRACK_PTR_NULL Null parameter. 320 * @retval type #LOS_OK The track manager information structure is successfully obtained. 342 * @retval type #LOS_ERRNO_TRACK_NO_INIT The track is not initialized. 343 * @retval type #LOS_ERRNO_TRACK_PTR_NUL [all...] |
H A D | los_list.h | 259 * @param type [IN] Structure name. 267 #define OFFSET_OF_FIELD(type, field) ((UINT32)&(((type *)0)->field)) 280 * @param type [IN] Structure name. 288 #define LOS_OFF_SET_OF(type, member) ((UINT32)&(((type *)0)->member)) 305 * @param type [IN] Structure name. 313 #define LOS_DL_LIST_ENTRY(item, type, member) \ 314 ((type *)(VOID *)((CHAR *)(item) - LOS_OFF_SET_OF(type, membe [all...] |
/device/soc/rockchip/rk3399/hardware/mpp/include/ |
H A D | mpp_mem.h | 24 #define mpp_malloc_with_caller(type, count, caller) \ 25 (type*)mpp_osal_malloc(caller, sizeof(type) * (count)) 27 #define mpp_malloc(type, count) \ 28 (type*)mpp_osal_malloc(__FUNCTION__, sizeof(type) * (count)) 30 #define mpp_malloc_size(type, size) \ 31 (type*)mpp_osal_malloc(__FUNCTION__, size) 33 #define mpp_calloc_size(type, size) \ 34 (type*)mpp_osal_callo [all...] |
H A D | mpp_list.h | 102 #define list_entry(ptr, type, member) \ 103 ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) 105 #define list_first_entry(ptr, type, member) \ 106 list_entry((ptr)->next, type, member) 108 #define list_last_entry(ptr, type, member) \ 109 list_entry((ptr)->prev, type, member) 111 #define list_first_entry_or_null(ptr, type, member) do { \ 114 pos__ != head__ ? list_entry(pos__, type, member) : NULL; \ 117 #define list_next_entry(pos, type, membe [all...] |
/device/soc/rockchip/rk3568/hardware/mpp/include/ |
H A D | mpp_mem.h | 24 #define mpp_malloc_with_caller(type, count, caller) \ 25 (type*)mpp_osal_malloc(caller, sizeof(type) * (count)) 27 #define mpp_malloc(type, count) \ 28 (type*)mpp_osal_malloc(__FUNCTION__, sizeof(type) * (count)) 30 #define mpp_malloc_size(type, size) \ 31 (type*)mpp_osal_malloc(__FUNCTION__, size) 33 #define mpp_calloc_size(type, size) \ 34 (type*)mpp_osal_callo [all...] |
H A D | mpp_list.h | 102 #define list_entry(ptr, type, member) \ 103 ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) 105 #define list_first_entry(ptr, type, member) \ 106 list_entry((ptr)->next, type, member) 108 #define list_last_entry(ptr, type, member) \ 109 list_entry((ptr)->prev, type, member) 111 #define list_first_entry_or_null(ptr, type, member) do { \ 114 pos__ != head__ ? list_entry(pos__, type, member) : NULL; \ 117 #define list_next_entry(pos, type, membe [all...] |
/device/soc/rockchip/rk3588/hardware/mpp/include/ |
H A D | mpp_mem.h | 25 #define mpp_malloc_with_caller(type, count, caller) \ 26 (type*)mpp_osal_malloc(caller, sizeof(type) * (count)) 28 #define mpp_malloc(type, count) \ 29 (type*)mpp_osal_malloc(__FUNCTION__, sizeof(type) * (count)) 31 #define mpp_malloc_size(type, size) \ 32 (type*)mpp_osal_malloc(__FUNCTION__, size) 34 #define mpp_calloc_size(type, size) \ 35 (type*)mpp_osal_callo [all...] |
H A D | mpp_list.h | 108 #define list_entry(ptr, type, member) \ 109 ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) 111 #define list_first_entry(ptr, type, member) \ 112 list_entry((ptr)->next, type, member) 114 #define list_last_entry(ptr, type, member) \ 115 list_entry((ptr)->prev, type, member) 117 #define list_first_entry_or_null(ptr, type, member) ({ \ 120 pos__ != head__ ? list_entry(pos__, type, member) : NULL; \ 123 #define list_next_entry(pos, type, membe [all...] |
/device/soc/rockchip/common/hardware/mpp/include/ |
H A D | mpp_mem.h | 24 #define mpp_malloc_with_caller(type, count, caller) (type *)mpp_osal_malloc(caller, sizeof(type) * (count)) 26 #define mpp_malloc(type, count) (type *)mpp_osal_malloc(__FUNCTION__, sizeof(type) * (count)) 28 #define mpp_malloc_size(type, size) (type *)mpp_osal_malloc(__FUNCTION__, size) 30 #define mpp_calloc_size(type, size) (type *)mpp_osal_callo [all...] |
H A D | mpp_list.h | 103 #define list_entry(ptr, type, member) ((type *)((char *)(ptr) - (unsigned long)(&((type *)0)->member))) 105 #define list_first_entry(ptr, type, member) list_entry((ptr)->next, type, member) 107 #define list_last_entry(ptr, type, member) list_entry((ptr)->prev, type, member) 109 #define list_first_entry_or_null(ptr, type, member) \ 113 pos__ != head__ ? list_entry(pos__, type, member) : NULL; \ 116 #define list_next_entry(pos, type, membe [all...] |
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/ |
H A D | osal_ioctl.h | 19 * a type field. De facto, however, the top 8 bits of the lower 16 20 * bits are indeed used as a type field, so we might just as well make 65 #define _IOC(dir, type, nr, size) \ 67 ((type) << _IOC_TYPESHIFT) | \ 86 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) 87 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) 88 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(n [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
H A D | drm_mipi_dsi.c | 142 dsi->dev.type = &mipi_dsi_device_type; in mipi_dsi_device_alloc() 165 if (of_modalias_node(node, info.type, sizeof(info.type)) < 0) { in of_mipi_dsi_device_add() 224 strlcpy(dsi->name, info->type, sizeof(dsi->name)); in mipi_dsi_device_register_full() 369 * @type: MIPI DSI data type of the packet 371 * Return: true if the packet for the given data type is a short packet, false 374 bool mipi_dsi_packet_format_is_short(u8 type) in mipi_dsi_packet_format_is_short() argument 376 if ((type == MIPI_DSI_V_SYNC_START) || (type in mipi_dsi_packet_format_is_short() 399 mipi_dsi_packet_format_is_long(u8 type) mipi_dsi_packet_format_is_long() argument [all...] |
/device/soc/rockchip/rk2206/hardware/include/sys/ |
H A D | defs.h | 42 #define __DEQUALIFY(type, var) ((type)(uintptr_t)(const volatile void *)(var)) 46 #define offsetof(type, field) \ 47 ((size_t)(uintptr_t)((const volatile void *)&((type *)0)->field)) 51 #define __offsetof(type, field) offsetof(type, field) 55 #define __containerof(ptr, type, field) \ 56 __DEQUALIFY(type *, (const volatile char *)(ptr) - offsetof(type, field)) 60 #define container_of(ptr, type, fiel [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/include/ |
H A D | osal_ioctl.h | 34 * a type field. De facto, however, the top 8 bits of the lower 16 35 * bits are indeed used as a type field, so we might just as well make 99 #define _IOC(dir, type, nr, size) \ 101 ((type) << _IOC_TYPESHIFT) | \ 120 #define _IO(type, nr) _IOC(_IOC_NONE, (type), (nr), 0) 124 #define _IOR(type, nr, size) _IOC(_IOC_READ, (type), (nr), (_IOC_TYPECHECK(size))) 128 #define _IOW(type, nr, size) _IOC(_IOC_WRITE, (type), (n [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/ |
H A D | osal_ioctl.h | 31 * a type field. De facto, however, the top 8 bits of the lower 16 32 * bits are indeed used as a type field, so we might just as well make 96 #define _IOC(dir, type, nr, size) \ 98 ((type) << _IOC_TYPESHIFT) | \ 117 #define _IO(type, nr) _IOC(_IOC_NONE, (type), (nr), 0) 121 #define _IOR(type, nr, size) _IOC(_IOC_READ, (type), (nr), (_IOC_TYPECHECK(size))) 125 #define _IOW(type, nr, size) _IOC(_IOC_WRITE, (type), (n [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/ |
H A D | osal_ioctl.h | 31 * a type field. De facto, however, the top 8 bits of the lower 16 32 * bits are indeed used as a type field, so we might just as well make 96 #define _IOC(dir, type, nr, size) \ 98 ((type) << _IOC_TYPESHIFT) | \ 117 #define _IO(type, nr) _IOC(_IOC_NONE, (type), (nr), 0) 121 #define _IOR(type, nr, size) _IOC(_IOC_READ, (type), (nr), (_IOC_TYPECHECK(size))) 125 #define _IOW(type, nr, size) _IOC(_IOC_WRITE, (type), (n [all...] |
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | bcmxtlv.c | 198 bcm_xtlv_pack_xtlv(bcm_xtlv_t *xtlv, uint16 type, uint16 len, const uint8 *data, in bcm_xtlv_pack_xtlv() argument 207 htol16_ua_store(type, idp); in bcm_xtlv_pack_xtlv() 213 *idp = (uint8)type; in bcm_xtlv_pack_xtlv() 219 *idp = (uint8)type; in bcm_xtlv_pack_xtlv() 225 htol16_ua_store(type, idp); in bcm_xtlv_pack_xtlv() 246 bcm_xtlv_unpack_xtlv(const bcm_xtlv_t *xtlv, uint16 *type, uint16 *len, in bcm_xtlv_unpack_xtlv() argument 249 if (type) in bcm_xtlv_unpack_xtlv() 250 *type = (uint16)bcm_xtlv_id(xtlv, opts); in bcm_xtlv_unpack_xtlv() 258 bcm_xtlv_put_data(bcm_xtlvbuf_t *tbuf, uint16 type, const uint8 *data, int n) in bcm_xtlv_put_data() argument 271 bcm_xtlv_pack_xtlv(xtlv, type, (uint1 in bcm_xtlv_put_data() 277 bcm_xtlv_put_int(bcm_xtlvbuf_t *tbuf, uint16 type, const uint8 *data, int n, int int_sz) bcm_xtlv_put_int() argument 333 bcm_xtlv_put16(bcm_xtlvbuf_t *tbuf, uint16 type, const uint16 *data, int n) bcm_xtlv_put16() argument 339 bcm_xtlv_put32(bcm_xtlvbuf_t *tbuf, uint16 type, const uint32 *data, int n) bcm_xtlv_put32() argument 345 bcm_xtlv_put64(bcm_xtlvbuf_t *tbuf, uint16 type, const uint64 *data, int n) bcm_xtlv_put64() argument 362 uint16 type; bcm_unpack_xtlv_entry() local 384 bcm_pack_xtlv_entry(uint8 **tlv_buf, uint16 *buflen, uint16 type, uint16 len, const uint8 *src_data, bcm_xtlv_opts_t opts) bcm_pack_xtlv_entry() argument 416 uint16 type; bcm_unpack_xtlv_buf() local 535 uint16 len, type; bcm_unpack_xtlv_buf_to_mem() local 568 uint16 type, len; bcm_get_data_from_xtlv_buf() local 610 uint16 type; bcm_xtlv_bcopy() local [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/ |
H A D | icmp6.h | 66 * message type, between 0 and 255. The pointer argument to all six 75 * messages of a given ICMPv6 type should be passed to the application 79 * depending whether the specified message type is passed to the 85 * Checksum option need to be used for the messages of type UDP, TCP and ICMP. 180 #define ICMP6_FILTER_WILLPASS(type, filterp) \ 181 ((((filterp)->icmp6_filt[(type) >> ICMP6_FILTER_VAL]) & (1U << ((type) & ICMP6_FILTER_INTVAL))) == 0) 187 #define ICMP6_FILTER_WILLBLOCK(type, filterp) \ 188 ((((filterp)->icmp6_filt[(type) >> ICMP6_FILTER_VAL]) & (1U << ((type) [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/ |
H A D | mali_memory.c | 78 MALI_DEBUG_ASSERT(mem_bkend->type == alloc->type); in mali_mem_vma_fault() 80 if ((mem_bkend->type == MALI_MEM_COW && in mali_mem_vma_fault() 105 } else if ((mem_bkend->type == MALI_MEM_SWAP) || in mali_mem_vma_fault() 106 (mem_bkend->type == MALI_MEM_COW && (mem_bkend->flags & MALI_MEM_BACKEND_FLAG_SWAP_COWED))) { in mali_mem_vma_fault() 204 if (!(MALI_MEM_SWAP == mali_alloc->type || in mali_mmap() 205 (MALI_MEM_COW == mali_alloc->type && (mem_bkend->flags & MALI_MEM_BACKEND_FLAG_SWAP_COWED)))) { in mali_mmap() 221 } else if (MALI_MEM_SWAP == mali_alloc->type) { in mali_mmap() 241 if (mem_bkend->type == MALI_MEM_OS) { in mali_mmap() 243 } else if (mem_bkend->type in mali_mmap() 421 _mali_page_node_allocate(mali_page_node_type type) _mali_page_node_allocate() argument [all...] |
H A D | mali_memory_cow.c | 66 MALI_DEBUG_ASSERT(MALI_MEM_OS == target_bk->type || MALI_MEM_COW == target_bk->type ||
in _mali_memory_cow_get_node_list() 67 MALI_MEM_BLOCK == target_bk->type || MALI_MEM_SWAP == target_bk->type);
in _mali_memory_cow_get_node_list() 69 if (MALI_MEM_OS == target_bk->type) {
in _mali_memory_cow_get_node_list() 73 } else if (MALI_MEM_COW == target_bk->type) {
in _mali_memory_cow_get_node_list() 77 } else if (MALI_MEM_BLOCK == target_bk->type) {
in _mali_memory_cow_get_node_list() 81 } else if (MALI_MEM_SWAP == target_bk->type) {
in _mali_memory_cow_get_node_list() 153 if (m_page->type != MALI_PAGE_NODE_BLOCK) {
in mali_memory_cow_os_memory() 156 page_node->type in mali_memory_cow_os_memory() [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/ |
H A D | mali_memory.c | 80 MALI_DEBUG_ASSERT(mem_bkend->type == alloc->type); in mali_mem_vma_fault() 82 if ((mem_bkend->type == MALI_MEM_COW && (MALI_MEM_BACKEND_FLAG_SWAP_COWED != in mali_mem_vma_fault() 107 } else if ((mem_bkend->type == MALI_MEM_SWAP) || in mali_mem_vma_fault() 108 (mem_bkend->type == MALI_MEM_COW && (mem_bkend->flags & MALI_MEM_BACKEND_FLAG_SWAP_COWED))) { in mali_mem_vma_fault() 205 if (!(MALI_MEM_SWAP == mali_alloc->type || in mali_mmap() 206 (MALI_MEM_COW == mali_alloc->type && (mem_bkend->flags & MALI_MEM_BACKEND_FLAG_SWAP_COWED)))) { in mali_mmap() 222 } else if (MALI_MEM_SWAP == mali_alloc->type) { in mali_mmap() 242 if (mem_bkend->type == MALI_MEM_OS) { in mali_mmap() 244 } else if (mem_bkend->type in mali_mmap() 423 _mali_page_node_allocate(mali_page_node_type type) _mali_page_node_allocate() argument [all...] |
H A D | mali_memory_cow.c | 66 MALI_DEBUG_ASSERT(MALI_MEM_OS == target_bk->type || MALI_MEM_COW == target_bk->type || in _mali_memory_cow_get_node_list() 67 MALI_MEM_BLOCK == target_bk->type || MALI_MEM_SWAP == target_bk->type); in _mali_memory_cow_get_node_list() 69 if (MALI_MEM_OS == target_bk->type) { in _mali_memory_cow_get_node_list() 73 } else if (MALI_MEM_COW == target_bk->type) { in _mali_memory_cow_get_node_list() 77 } else if (MALI_MEM_BLOCK == target_bk->type) { in _mali_memory_cow_get_node_list() 81 } else if (MALI_MEM_SWAP == target_bk->type) { in _mali_memory_cow_get_node_list() 159 if (m_page->type != MALI_PAGE_NODE_BLOCK) { in mali_memory_cow_os_memory() 162 page_node->type in mali_memory_cow_os_memory() [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/priv/ |
H A D | tcpip_priv.h | 57 #define API_VAR_DECLARE(type, name) type * name 58 #define API_VAR_ALLOC(type, pool, name, errorval) do { \ 59 name = (type *)memp_malloc(pool); \ 64 #define API_VAR_ALLOC_POOL(type, pool, name, errorval) do { \ 65 name = (type *)LWIP_MEMPOOL_ALLOC(pool); \ 83 #define API_VAR_DECLARE(type, name) type name 84 #define API_VAR_ALLOC(type, pool, name, errorval) 85 #define API_VAR_ALLOC_POOL(type, poo 146 enum tcpip_msg_type type; global() member 180 enum lowpower_msg_type type; global() member 186 enum l3_event_msg_type type; global() member [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/ |
H A D | option.h | 135 * Sets the corresponding entry for @p type in @p filter. This 137 * the given type does not fit in the filter). 140 * @param type The type for which the bit should be set. 144 int coap_option_filter_set(coap_opt_filter_t filter, uint16_t type); 147 * Clears the corresponding entry for @p type in @p filter. This 149 * the given type does not fit in the filter). 152 * @param type The type that should be cleared from the filter. 156 int coap_option_filter_unset(coap_opt_filter_t filter, uint16_t type); 183 coap_option_setb(coap_opt_filter_t filter, uint16_t type) coap_option_setb() argument 200 coap_option_clrb(coap_opt_filter_t filter, uint16_t type) coap_option_clrb() argument 217 coap_option_getb(coap_opt_filter_t filter, uint16_t type) coap_option_getb() argument 239 uint16_t type; /**< decoded option type */ global() member [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/netinet/ |
H A D | ip_icmp.h | 13 uint8_t type; member 182 #define ICMP_INFOTYPE(type) \ 183 ((type) == ICMP_ECHOREPLY || (type) == ICMP_ECHO || \ 184 (type) == ICMP_ROUTERADVERT || (type) == ICMP_ROUTERSOLICIT || \ 185 (type) == ICMP_TSTAMP || (type) == ICMP_TSTAMPREPLY || \ 186 (type) == ICMP_IREQ || (type) [all...] |