/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/crypto/ |
D | cryp_symc.c | 1320 symc_capacity capacity; in cryp_tdes_setkey() local 1354 drv_symc_get_capacity(&capacity); in cryp_tdes_setkey() 1362 if (capacity.dma == CRYPTO_CAPACITY_SUPPORT) { in cryp_tdes_setkey() 1523 static hi_void cryp_register_symc_aes(hi_u32 capacity, symc_mode mode) in cryp_register_symc_aes() argument 1530 if (capacity == CRYPTO_CAPACITY_SUPPORT) { in cryp_register_symc_aes() 1594 static hi_void cryp_register_aead_ccm(hi_u32 capacity, symc_mode mode) in cryp_register_aead_ccm() argument 1602 if (capacity == CRYPTO_CAPACITY_SUPPORT) { in cryp_register_aead_ccm() 1644 static hi_void cryp_register_aead_gcm(hi_u32 capacity, symc_mode mode) in cryp_register_aead_gcm() argument 1648 if (capacity == CRYPTO_CAPACITY_SUPPORT) { in cryp_register_aead_gcm() 1696 static hi_void cryp_register_symc_tdes(hi_u32 capacity, symc_mode mode) in cryp_register_symc_tdes() argument [all …]
|
D | cryp_trng.c | 67 trng_capacity capacity; in cryp_trng_get_random() local 71 drv_trng_get_capacity(&capacity); in cryp_trng_get_random() 72 if (!capacity.trng) { in cryp_trng_get_random()
|
D | cryp_hash.c | 658 static hi_void cryp_register_hash_default(hi_u32 capacity, hash_mode mode, hi_u32 blocksize, hi_u32… in cryp_register_hash_default() argument 665 if (capacity) { in cryp_register_hash_default() 705 hash_capacity capacity; in cryp_register_all_hash() local 707 (hi_void)memset_s(&capacity, sizeof(capacity), 0, sizeof(capacity)); in cryp_register_all_hash() 711 drv_hash_get_capacity(&capacity); in cryp_register_all_hash() 714 cryp_register_hash_default(capacity.sha1, HASH_MODE_SHA1, SHA1_BLOCK_SIZE, SHA1_RESULT_SIZE); in cryp_register_all_hash() 715 …cryp_register_hash_default(capacity.sha224, HASH_MODE_SHA224, SHA224_BLOCK_SIZE, SHA224_RESULT_SIZ… in cryp_register_all_hash() 716 …cryp_register_hash_default(capacity.sha256, HASH_MODE_SHA256, SHA256_BLOCK_SIZE, SHA256_RESULT_SIZ… in cryp_register_all_hash() 717 …cryp_register_hash_default(capacity.sha384, HASH_MODE_SHA384, SHA384_BLOCK_SIZE, SHA384_RESULT_SIZ… in cryp_register_all_hash() 718 …cryp_register_hash_default(capacity.sha512, HASH_MODE_SHA512, SHA512_BLOCK_SIZE, SHA512_RESULT_SIZ… in cryp_register_all_hash() [all …]
|
/device/soc/esp/esp32/components/bt/common/osi/ |
D | fixed_queue.c | 32 size_t capacity; member 38 fixed_queue_t *fixed_queue_new(size_t capacity) in fixed_queue_new() argument 46 ret->capacity = capacity; in fixed_queue_new() 54 osi_sem_new(&ret->enqueue_sem, capacity, capacity); in fixed_queue_new() 59 osi_sem_new(&ret->dequeue_sem, capacity, 0); in fixed_queue_new() 127 return queue->capacity; in fixed_queue_capacity()
|
/device/soc/amlogic/a311d/soc/arch/arm64/boot/dts/amlogic/ |
D | meson-g12b.dtsi | 51 capacity-dmips-mhz = <592>; 61 capacity-dmips-mhz = <592>; 71 capacity-dmips-mhz = <1024>; 81 capacity-dmips-mhz = <1024>; 91 capacity-dmips-mhz = <1024>; 101 capacity-dmips-mhz = <1024>;
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/core/ |
D | drv_trng_v200.c | 84 void drv_trng_get_capacity(trng_capacity *capacity) in drv_trng_get_capacity() argument 86 (hi_void)memset_s(capacity, sizeof(trng_capacity), 0, sizeof(trng_capacity)); in drv_trng_get_capacity() 88 capacity->trng = CRYPTO_CAPACITY_SUPPORT; in drv_trng_get_capacity()
|
D | drv_trng_v100.c | 100 void drv_trng_get_capacity(trng_capacity *capacity) in drv_trng_get_capacity() argument 102 (hi_void)memset_s(capacity, sizeof(trng_capacity), 0, sizeof(trng_capacity)); in drv_trng_get_capacity() 104 capacity->trng = CRYPTO_CAPACITY_SUPPORT; in drv_trng_get_capacity()
|
D | drv_hash_v100.c | 326 void drv_hash_get_capacity(hash_capacity *capacity) in drv_hash_get_capacity() argument 328 (hi_void)memset_s(capacity, sizeof(hash_capacity), 0, sizeof(hash_capacity)); in drv_hash_get_capacity() 330 capacity->sha1 = CRYPTO_CAPACITY_SUPPORT; in drv_hash_get_capacity() 331 capacity->sha256 = CRYPTO_CAPACITY_SUPPORT; in drv_hash_get_capacity() 334 capacity->sha224 = CRYPTO_CAPACITY_SUPPORT; in drv_hash_get_capacity()
|
D | drv_symc_v200.c | 1917 hi_void drv_symc_get_capacity(symc_capacity *capacity) in drv_symc_get_capacity() argument 1927 (hi_void)memset_s(capacity, sizeof(symc_capacity), 0, sizeof(symc_capacity)); in drv_symc_get_capacity() 1930 capacity->aes_ecb = CRYPTO_CAPACITY_SUPPORT; in drv_symc_get_capacity() 1931 capacity->aes_cbc = CRYPTO_CAPACITY_SUPPORT; in drv_symc_get_capacity() 1932 capacity->aes_ofb = CRYPTO_CAPACITY_SUPPORT; in drv_symc_get_capacity() 1933 capacity->aes_cfb = CRYPTO_CAPACITY_SUPPORT; in drv_symc_get_capacity() 1934 capacity->aes_ctr = CRYPTO_CAPACITY_SUPPORT; in drv_symc_get_capacity() 1936 capacity->aes_ccm = CRYPTO_CAPACITY_SUPPORT; in drv_symc_get_capacity() 1937 capacity->aes_gcm = CRYPTO_CAPACITY_SUPPORT; in drv_symc_get_capacity() 1941 capacity->tdes_ecb = CRYPTO_CAPACITY_SUPPORT; in drv_symc_get_capacity() [all …]
|
D | drv_hash_v200.c | 782 hi_void drv_hash_get_capacity(hash_capacity *capacity) in drv_hash_get_capacity() argument 784 (hi_void)memset_s(capacity, sizeof(hash_capacity), 0, sizeof(hash_capacity)); in drv_hash_get_capacity() 786 capacity->sha1 = CRYPTO_CAPACITY_SUPPORT; in drv_hash_get_capacity() 787 capacity->sha224 = CRYPTO_CAPACITY_SUPPORT; in drv_hash_get_capacity() 788 capacity->sha256 = CRYPTO_CAPACITY_SUPPORT; in drv_hash_get_capacity() 789 capacity->sha384 = CRYPTO_CAPACITY_SUPPORT; in drv_hash_get_capacity() 790 capacity->sha512 = CRYPTO_CAPACITY_SUPPORT; in drv_hash_get_capacity() 791 capacity->sm3 = CRYPTO_CAPACITY_SUPPORT; in drv_hash_get_capacity()
|
D | drv_symc_v100.c | 1691 hi_void drv_symc_get_capacity(symc_capacity *capacity) in drv_symc_get_capacity() argument 1695 (hi_void)memset_s(capacity, sizeof(symc_capacity), 0, sizeof(symc_capacity)); in drv_symc_get_capacity() 1698 capacity->aes_ecb = CRYPTO_CAPACITY_SUPPORT; in drv_symc_get_capacity() 1699 capacity->aes_cbc = CRYPTO_CAPACITY_SUPPORT; in drv_symc_get_capacity() 1700 capacity->aes_ofb = CRYPTO_CAPACITY_SUPPORT; in drv_symc_get_capacity() 1701 capacity->aes_cfb = CRYPTO_CAPACITY_SUPPORT; in drv_symc_get_capacity() 1702 capacity->aes_ctr = CRYPTO_CAPACITY_SUPPORT; in drv_symc_get_capacity() 1703 capacity->aes_cts = CRYPTO_CAPACITY_NONSUPPORT; in drv_symc_get_capacity() 1706 capacity->tdes_ecb = CRYPTO_CAPACITY_SUPPORT; in drv_symc_get_capacity() 1707 capacity->tdes_cbc = CRYPTO_CAPACITY_SUPPORT; in drv_symc_get_capacity() [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/core/include/ |
D | drv_srsa.h | 77 void drv_ifep_rsa_get_capacity(rsa_capacity *capacity); 84 void drv_sic_rsa_get_capacity(rsa_capacity *capacity);
|
D | drv_trng.h | 40 void drv_trng_get_capacity(trng_capacity *capacity);
|
D | drv_hash.h | 114 void drv_hash_get_capacity(hash_capacity *capacity);
|
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/include/modules/ |
D | audio_ring_buff.h | 50 uint32_t capacity; /**< memory capacity in bytes */ member 66 void ring_buffer_init(RingBufferContext* rb, uint8_t* addr, uint32_t capacity, dma_id_t dma_id, uin…
|
/device/qemu/drivers/virtio/ |
D | virtblock.c | 44 uint64_t capacity; member 76 uint64_t capacity; /* in 512-byte-sectors */ member 106 blk->capacity = conf->capacity; in Feature0() 363 if (blk->capacity > CAPACITY_2G) { in VirtMmcFillRespCsd() 371 uint32_t size = blk->capacity*MMC_SEC_SIZE / (1<<READ_BL_LEN) / (1<<(C_SIZE_MULT+2)) - 1; in VirtMmcFillRespCsd() 394 *(uint32_t*)&b[EMMC_EXT_CSD_SEC_CNT] = blk->capacity; in VirtMmcFillDataExtCsd() 450 if (blk->capacity > CAPACITY_2G) { in VirtMmcDoRequest()
|
/device/soc/rockchip/common/sdk_linux/kernel/sched/ |
D | pelt.c | 432 int update_thermal_load_avg(u64 now, struct rq *rq, u64 capacity) in update_thermal_load_avg() argument 434 if (___update_load_sum(now, &rq->avg_thermal, capacity, capacity, capacity)) { in update_thermal_load_avg()
|
D | sched.h | 121 int capacity; member 1558 unsigned long capacity; member 2858 return cpu_rq(cpu)->cluster->capacity; in cpu_capacity() 2969 int capacity = 0x400; in compute_capacity() local 2971 capacity *= capacity_scale_cpu_efficiency(cluster); in compute_capacity() 2972 capacity >>= 0xa; in compute_capacity() 2974 capacity *= capacity_scale_cpu_freq(cluster); in compute_capacity() 2975 capacity >>= 0xa; in compute_capacity() 2977 return capacity; in compute_capacity() 2989 unsigned long capacity = capacity_orig_of(cpu); in cpu_util_freq_walt() local [all …]
|
/device/soc/rockchip/common/vendor/drivers/power/ |
D | rk817_battery.c | 77 #define CAPACITY_TO_ADC(capacity, samp_res) ((capacity) * (samp_res)*3600 / 172 * 1000) argument 1191 u32 val = 0, capacity = 0; in rk817_bat_get_capacity_uah() local 1199 capacity = ADC_TO_CAPACITY_UAH(val, battery->res_div); in rk817_bat_get_capacity_uah() 1202 DBG("xxxxxxxxxxxxx capacity = %d\n", capacity); in rk817_bat_get_capacity_uah() 1203 return capacity; in rk817_bat_get_capacity_uah() 1208 u32 val, capacity = 0; in rk817_bat_get_capacity_mah() local 1216 capacity = ADC_TO_CAPACITY(val, battery->res_div); in rk817_bat_get_capacity_mah() 1223 DBG("xxxxxxxxxxxxx capacity = %d\n", capacity); in rk817_bat_get_capacity_mah() 1224 return capacity; in rk817_bat_get_capacity_mah() 1235 static void rk817_bat_init_coulomb_cap(struct rk817_battery_device *battery, u32 capacity) in rk817_bat_init_coulomb_cap() argument [all …]
|
/device/soc/rockchip/rk3588/kernel/drivers/power/supply/ |
D | rk817_battery.c | 81 #define CAPACITY_TO_ADC(capacity, samp_res) \ argument 82 (capacity * samp_res * 3600 / 172 * 1000) 1119 u32 val = 0, capacity = 0; in rk817_bat_get_capacity_uah() local 1127 capacity = ADC_TO_CAPACITY_UAH(val, battery->res_div); in rk817_bat_get_capacity_uah() 1130 DBG("xxxxxxxxxxxxx capacity = %d\n", capacity); in rk817_bat_get_capacity_uah() 1131 return capacity; in rk817_bat_get_capacity_uah() 1136 u32 val, capacity = 0; in rk817_bat_get_capacity_mah() local 1144 capacity = ADC_TO_CAPACITY(val, battery->res_div); in rk817_bat_get_capacity_mah() 1151 DBG("xxxxxxxxxxxxx capacity = %d\n", capacity); in rk817_bat_get_capacity_mah() 1152 return capacity; in rk817_bat_get_capacity_mah() [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/wlan/ |
D | queue.c | 218 size_t capacity, in xradio_queue_init() argument 225 queue->capacity = capacity; in xradio_queue_init() 237 queue->pool = xr_kzalloc(sizeof(struct xradio_queue_item) * capacity, in xradio_queue_init() 254 for (i = 0; i < capacity; ++i) in xradio_queue_init() 377 queue->capacity = 0; in xradio_queue_deinit() 628 } else if (unlikely(item_id >= (unsigned) queue->capacity)) { 727 } else if (unlikely(item_id >= (unsigned) queue->capacity)) { 831 } else if (unlikely(item_id >= (unsigned) queue->capacity)) {
|
D | queue.h | 67 size_t capacity; member 111 size_t capacity,
|
/device/soc/asrmicro/asr582x/liteos_m/sdk/drivers/driver/src/ |
D | duet_flash_alg.c | 485 volatile int id, mem_type, capacity; 509 capacity = (identi & 0xFF0000) >> 16; 511 if (id == 0x0B && mem_type == 0x40 && capacity == 0x15) {
|
/device/soc/esp/esp32/components/bt/common/osi/include/osi/ |
D | fixed_queue.h | 44 fixed_queue_t *fixed_queue_new(size_t capacity);
|
/device/board/isoftstone/yangfan/kernel/src/incl/linux/power/ |
D | cw2015_battery.h | 107 int capacity; member
|