/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/thirdparty/ |
H A D | mali_kbase_mmap.c | 48 * alignment, length and limits for the allocation 61 (*gap_end) -= info->length; in align_and_check() 67 (*gap_end) -= (info->align_offset ? info->align_offset : info->length); in align_and_check() 69 if (((*gap_end + info->length) & BASE_MEM_MASK_4GB) == 0) { in align_and_check() 70 (*gap_end) -= (info->align_offset ? info->align_offset : info->length); in align_and_check() 73 if (!(*gap_end & BASE_MEM_MASK_4GB) || !((*gap_end + info->length) & BASE_MEM_MASK_4GB)) { in align_and_check() 78 unsigned long end = *gap_end + info->length; in align_and_check() 153 unsigned long length, low_limit, high_limit, gap_start, gap_end; in kbase_unmapped_area_topdown() local 155 /* Adjust search length to account for worst case alignment overhead */ in kbase_unmapped_area_topdown() 156 length in kbase_unmapped_area_topdown() [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/thirdparty/ |
H A D | mali_kbase_mmap.c | 29 * alignment, length and limits for the allocation 43 (*gap_end) -= info->length; in align_and_check() 50 info->length); in align_and_check() 51 if (0 == ((*gap_end + info->length) & BASE_MEM_MASK_4GB)) in align_and_check() 53 info->length); in align_and_check() 56 info->length) & BASE_MEM_MASK_4GB)) in align_and_check() 60 unsigned long end = *gap_end + info->length; in align_and_check() 137 unsigned long length, low_limit, high_limit, gap_start, gap_end; in kbase_unmapped_area_topdown() local 139 /* Adjust search length to account for worst case alignment overhead */ in kbase_unmapped_area_topdown() 140 length in kbase_unmapped_area_topdown() [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/ |
H A D | str.h | 26 size_t length; /**< length of string */ member 34 size_t length; /**< length of string */ member 38 #define COAP_SET_STR(st,l,v) { (st)->length = (l), (st)->s = (v); } 44 size_t length; /**< length of binary data */ member 110 ((string1)->length == (string2)->length && ((string1)->length [all...] |
H A D | option.h | 33 size_t length; member 40 * signaled when illegal delta or length values are encountered or when option 41 * parsing would result in reading past the option (i.e. beyond opt + length). 44 * @param length The maximum length of @p opt. 50 size_t length, 238 size_t length; /**< remaining length of PDU */ member 249 * otherwise (i.e. when no options exist). Note that a length check on the 302 * Encodes the given delta and length value 411 size_t length; /**< the option value length */ global() member [all...] |
H A D | encode.h | 49 * Decodes multiple-length byte sequences. @p buf points to an input byte 50 * sequence of length @p length. Returns the up to 4 byte decoded value. 53 * @param length The length of the input byte sequence 57 unsigned int coap_decode_var_bytes(const uint8_t *buf, unsigned int length); 60 * Decodes multiple-length byte sequences. @p buf points to an input byte 61 * sequence of length @p length. Returns the up to 8 byte decoded value. 64 * @param length Th [all...] |
H A D | uri.h | 58 * @param length The length of uri. 62 coap_uri_t *coap_new_uri(const uint8_t *uri, unsigned int length); 86 * @param len The actual length of @p str_var 95 * by an option pseudo-header with delta-value 0 and the actual length 99 * @param length The actual length of @p s. 101 * @param buflen Maximum length of @p buf. Will be set to the actual number 107 size_t length, 113 * by an option pseudo-header with delta-value 0 and the actual length [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/ |
H A D | drv_hdmi_infoframe.c | 99 ptr[2] = frame->length;
in avi_header_pack() 108 hi_u32 length;
in hdmi_avi_infoframe_pack() local 112 length = frame->length + HDMI_INFOFRAME_HEADER_SIZE;
in hdmi_avi_infoframe_pack() 113 if (size < length) {
in hdmi_avi_infoframe_pack() 157 hdmi_infoframe_checksum(buffer, length);
in hdmi_avi_infoframe_pack() 159 return length;
in hdmi_avi_infoframe_pack() 165 hi_u32 length;
in hdmi_drm_infoframe_pack() local 176 length = HDMI_INFOFRAME_HEADER_SIZE + frame->length;
in hdmi_drm_infoframe_pack() 235 hi_u32 length; hdmi_audio_infoframe_pack() local 282 hi_u32 length; hdmi_vendor_specific_infoframe_pack() local 526 hi_u8 length; vsif_length() local [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/ |
H A D | cipher_internal.h | 55 int (*cbc_func)( void *ctx, mbedtls_operation_t mode, size_t length, 61 /** Encrypt using CFB (Full length) */ 62 int (*cfb_func)( void *ctx, mbedtls_operation_t mode, size_t length, size_t *iv_off, 68 /** Encrypt using OFB (Full length) */ 69 int (*ofb_func)( void *ctx, size_t length, size_t *iv_off, 77 int (*ctr_func)( void *ctx, size_t length, size_t *nc_off, 84 int (*xts_func)( void *ctx, mbedtls_operation_t mode, size_t length, 91 int (*stream_func)( void *ctx, size_t length,
|
H A D | aes.h | 58 #define MBEDTLS_ERR_AES_INVALID_KEY_LENGTH -0x0020 /**< Invalid key length. */ 59 #define MBEDTLS_ERR_AES_INVALID_INPUT_LENGTH -0x0022 /**< Invalid data input length. */ 293 * \param length The length of the input data in Bytes. This must be a 298 * It must be readable and of size \p length Bytes. 300 * It must be writeable and of size \p length Bytes. 308 size_t length, 331 * \param length The length of a data unit in Bytes. This can be any 332 * length betwee [all...] |
H A D | ccm.h | 130 * \p tag = \p output + \p length, and make sure that the 131 * output buffer is at least \p length + \p tag_len wide. 135 * \param length The length of the input data in Bytes. 138 * \param iv_len The length of the nonce in Bytes: 7, 8, 9, 10, 11, 12, 139 * or 13. The length L of the message length field is 143 * length. 144 * \param add_len The length of additional data in Bytes. 146 * \param input The buffer holding the input data. If \p length i [all...] |
H A D | aria.h | 56 #define MBEDTLS_ERR_ARIA_INVALID_INPUT_LENGTH -0x005E /**< Invalid data input length. */ 199 * \param length The length of the input data in Bytes. This must be a 204 * be a readable buffer of length \p length Bytes. 206 * be a writable buffer of length \p length Bytes. 213 size_t length, 248 * \param length The length o [all...] |
H A D | blowfish.h | 50 #define MBEDTLS_ERR_BLOWFISH_INVALID_INPUT_LENGTH -0x0018 /**< Invalid data input length. */ 101 * length \p keybits Bits. 102 * \param keybits The length of \p key in Bits. This must be between 149 * \param length The length of the input data in Bytes. This must be 152 * of length \c 8 Bytes. It is updated by this function. 153 * \param input The input data. This must be a readable buffer of length 154 * \p length Bytes. 155 * \param output The output data. This must be a writable buffer of length 156 * \p length Byte [all...] |
H A D | camellia.h | 46 #define MBEDTLS_ERR_CAMELLIA_INVALID_INPUT_LENGTH -0x0026 /**< Invalid data input length. */ 97 * \param keybits The length of \p key in Bits. This must be either \c 128, 113 * \param keybits The length of \p key in Bits. This must be either \c 128, 159 * \param length The length in Bytes of the input data \p input. 162 * of length \c 16 Bytes. It is updated to allow streaming 165 * readable buffer of length \p length Bytes. 167 * writable buffer of length \p length Byte [all...] |
H A D | gcm.h | 70 uint64_t len; /*!< The total length of the encrypted data. */ 71 uint64_t add_len; /*!< The total length of the additional data. */ 145 * \param length The length of the input data, which is equal to the length 149 * \param iv_len The length of the IV. 152 * \param add_len The length of the additional data. 153 * \param input The buffer holding the input data. If \p length is greater 156 * \param output The buffer for holding the output data. If \p length is greater 159 * \param tag_len The length o [all...] |
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/ |
H A D | fils.h | 48 uint8 length; member 58 uint8 length; member 108 uint8 length; member 135 uint8 length; member 145 uint8 length; member 156 uint8 length; member 166 uint8 length; member 177 uint8 length; member 261 uint8 length; member 273 uint8 length; member 284 uint8 length; global() member [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/include/ |
H A D | app_demo_spi.h | 46 hi_u32 length; member 82 hi_void app_demo_spi_cmd_host_read(hi_spi_idx spi_id, hi_u32 length, hi_u32 loop); 83 hi_void app_demo_spi_cmd_slave_write(hi_spi_idx spi_id, hi_u32 length, hi_u32 loop); 84 hi_void app_demo_spi_cmd_host_write(hi_spi_idx spi_id, hi_u32 length, hi_u32 loop); 85 hi_void app_demo_spi_cmd_slave_read(hi_spi_idx spi_id, hi_u32 length, hi_u32 loop);
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | wl_iw.c | 555 wrqu.data.length = strlen(extra); in wl_iw_send_priv_event() 820 dwrq->length = sizeof(struct iw_range); in wl_iw_get_range() 1039 iw->spy_num = MIN(ARRAYSIZE(iw->spy_addr), dwrq->length); in wl_iw_set_spy() 1065 dwrq->length = iw->spy_num; in wl_iw_get_spy() 1211 uint buflen = dwrq->length; in wl_iw_get_aplist() 1235 for (i = 0, dwrq->length = 0; i < list->count && dwrq->length < IW_MAX_AP; i++) { in wl_iw_get_aplist() 1236 bi = bi ? (wl_bss_info_t *)((uintptr)bi + dtoh32(bi->length)) : list->bss_info; in wl_iw_get_aplist() 1237 ASSERT(((uintptr)bi + dtoh32(bi->length)) <= ((uintptr)list + in wl_iw_get_aplist() 1245 memcpy(addr[dwrq->length] in wl_iw_get_aplist() [all...] |
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/include/ |
H A D | hi_log.h | 379 #define hi_err_printstr(val, length) \ 381 if (strlen(val) > length) { \ 382 HI_LOG_ERR("The length of the string is greater than the size of the buff itself\n"); \ 400 #define hi_warn_printstr(val, length) \ 402 if (strlen(val) > length) { \ 403 HI_LOG_ERR("The length of the string is greater than the size of the buff itself\n"); \ 421 #define hi_notice_printstr(val, length) \ 423 if (strlen(val) > length) { \ 424 HI_LOG_ERR("The length of the string is greater than the size of the buff itself\n"); \ 442 #define hi_info_printstr(val, length) \ [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/prot/ |
H A D | nd6.h | 179 PACK_STRUCT_FLD_8(u8_t length); 202 PACK_STRUCT_FLD_8(u8_t length); 223 PACK_STRUCT_FLD_8(u8_t length); 239 PACK_STRUCT_FLD_8(u8_t length); 256 PACK_STRUCT_FLD_8(u8_t length); 283 PACK_STRUCT_FLD_8(u8_t length);
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/higv/include/ |
H A D | hi_gv_charts.h | 69 HI_U32 axisArrowLength; // Axis arrow length, [CN]: อท 133 const HIGV_LINECHARTS_POINT_S *lineChartPoint, HI_U32 length); 135 HI_S32 HI_GV_CHARTS_SetLineTitle(HIGV_HANDLE handle, const HI_CHAR *name, HI_U32 length, HI_U32 pos); 138 const HIGV_BARCHARTS_VALUE_S *barChartValue, HI_U32 length); 140 HI_S32 HI_GV_CHARTS_SetAxisXBarTitle(HIGV_HANDLE handle, const HI_CHAR *name, HI_U32 length, HI_U32 pos); 144 HI_S32 HI_GV_CHARTS_SetAxisXReplaceTitle(HIGV_HANDLE handle, const HI_CHAR *name, HI_U32 length, HI_U32 pos);
|
/device/soc/rockchip/common/sdk_linux/kernel/cgroup/ |
H A D | cgroup-v1.c | 196 int length; member 249 static int pidlist_uniq(pid_t *list, int length) in pidlist_uniq() argument 257 if (length == 0 || length == 1) { in pidlist_uniq() 258 return length; in pidlist_uniq() 261 for (src = 1; src < length; src++) { in pidlist_uniq() 265 if (src == length) { in pidlist_uniq() 341 int length; in pidlist_array_load() local 355 length = cgroup_task_count(cgrp); in pidlist_array_load() 356 array = kvmalloc_array(length, sizeo in pidlist_array_load() [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/mmz/ |
H A D | hisi_allocator.c | 85 mmz_trace(4, "p->phys_addr=0x%08lX p->length = %luKB \t", /* 4: log debug level */ in find_fixed_region() 86 p->phys_addr, p->length / SZ_1K); in find_fixed_region() 101 start = mmz_align2((p->phys_addr + p->length), align); in find_fixed_region() 283 mmb->length = size; in __mmb_alloc() 376 mmb->length = size; in __mmb_alloc_v2() 415 mmb->kvirt = ioremap_cache(mmb->phys_addr, mmb->length); in __mmb_map2kern() 419 mmb->kvirt = ioremap_wc(mmb->phys_addr, mmb->length); in __mmb_map2kern() 436 __flush_dcache_area((void *)mmb->kvirt, (size_t)mmb->length); in __mmb_free() 438 __cpuc_flush_dcache_area((void *)mmb->kvirt, (size_t)mmb->length); in __mmb_free() 439 outer_flush_range(mmb->phys_addr, mmb->phys_addr + mmb->length); in __mmb_free() [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/core/ |
H A D | drv_hash_v100.c | 144 * initial length of the HASH calculation to know the total length of the HASH data. In fact, in order to support 145 * multi-segment HASH calculations, it is impossible to know the total length of the HASH data at this time. 146 * Therefore, the maximum length value of 0xFFFFFFFF is configured in the HASH initialization node, and a HASH soft 163 * so must start the hardware before write DMA addr and length. in drv_hash_mhash_non_support_sha_start() 225 hi_s32 drv_hash_start(hi_u32 chn_num, const crypto_mem *mem, hi_u32 length) in drv_hash_start() argument 230 hi_log_chk_param_return((length & 0x03) != 0); in drv_hash_start() 232 hi_log_debug("MMZ phy 0x%x, length 0x%x\n", addr_l32(mem->mmz_addr), length); in drv_hash_start() 240 /* set hash message total length in drv_hash_start() [all...] |
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/ |
H A D | drv_media_mem.h | 149 HI_U32 length; member 175 #define HIL_MMB_FMT "phys(0x%08X, 0x%08X), smmu = (0x%08X, 0x%08X),kvirt = %pK, length = %uKB, name = \"%s\"" 176 #define hil_mmb_fmt_arg(p) (p)->phys_addr, (unsigned int)mmz_grain_align((p)->phys_addr + (p)->length) - 1, \ 177 (p)->iommu_addr, (unsigned int)mmz_grain_align((p)->iommu_addr + (p)->length) - 1, \ 178 ((p)->kdata == NULL) ? NULL : (p)->kdata->kvirt, (p)->length / SZ_1K, (p)->name 180 #define HIL_MMB_FMT "phys(0x%08X, 0x%08X),kvirt = %pK, length = %uKB, name = \"%s\"" 181 #define hil_mmb_fmt_arg(p) (p)->phys_addr, (unsigned int)mmz_grain_align((p)->phys_addr + (p)->length) - 1, \ 182 ((p)->kdata == NULL) ? NULL : (p)->kdata->kvirt, (p)->length / SZ_1K, (p)->name
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/ |
H A D | kapi_dispatch.c | 267 ret = kapi_hash_update(update->id, addr_via(update->input), update->length, update->src); in dispatch_hash_update() 452 * the length of n/d is klen, in rsa_private_alloc() 453 * the length of p/q/dP/dQ/qp is klen/2, in rsa_private_alloc() 454 * the length of input is klen in rsa_private_alloc() 455 * the length of output is klen in rsa_private_alloc() 708 cryp_mod->length = exp_mod->length; in rsa_exp_mod_alloc() 710 buf = crypto_calloc(MUL_VAL_4, cryp_mod->length); /* n, k, in, out, 4 groups */ in rsa_exp_mod_alloc() 717 cryp_mod->k = buf + MUL_VAL_1 * cryp_mod->length; in rsa_exp_mod_alloc() 718 cryp_mod->in = buf + MUL_VAL_2 * cryp_mod->length; in rsa_exp_mod_alloc() [all...] |