Home
last modified time | relevance | path

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

/u-boot/lib/efi_selftest/
A Defi_selftest_memory.c59 efi_uintn_t desc_size, in find_in_memory_map() argument
65 for (i = 0; map_size; ++i, map_size -= desc_size) { in find_in_memory_map()
107 efi_uintn_t desc_size; in execute() local
129 ret = boottime->get_memory_map(&map_size, NULL, &map_key, &desc_size, in execute()
145 &desc_size, &desc_version); in execute()
152 if (find_in_memory_map(map_size, memory_map, desc_size, p1, in execute()
155 if (find_in_memory_map(map_size, memory_map, desc_size, p2, in execute()
178 find_in_memory_map(map_size, memory_map, desc_size, fdt_addr, in execute()
A Defi_selftest_set_virtual_address_map.c18 static efi_uintn_t desc_size; variable
96 ret = boottime->get_memory_map(&map_size, NULL, &map_key, &desc_size, in setup()
112 &desc_size, &desc_version); in setup()
141 memcpy(pos1, pos2, desc_size); in setup()
185 ret = runtime->set_virtual_address_map(map_size, desc_size, in execute()
A Defi_selftest.c36 efi_uintn_t desc_size; in efi_st_exit_boot_services() local
44 ret = boottime->get_memory_map(&map_size, NULL, &map_key, &desc_size, in efi_st_exit_boot_services()
60 &desc_size, &desc_version); in efi_st_exit_boot_services()
/u-boot/drivers/ufs/
A Dufs.c1174 &hba->desc_size.dev_desc); in ufshcd_init_desc_sizes()
1179 &hba->desc_size.pwr_desc); in ufshcd_init_desc_sizes()
1184 &hba->desc_size.interc_desc); in ufshcd_init_desc_sizes()
1189 &hba->desc_size.conf_desc); in ufshcd_init_desc_sizes()
1194 &hba->desc_size.unit_desc); in ufshcd_init_desc_sizes()
1199 &hba->desc_size.geom_desc); in ufshcd_init_desc_sizes()
1204 &hba->desc_size.hlth_desc); in ufshcd_init_desc_sizes()
1218 *desc_len = hba->desc_size.dev_desc; in ufshcd_map_desc_id_to_length()
1221 *desc_len = hba->desc_size.pwr_desc; in ufshcd_map_desc_id_to_length()
1224 *desc_len = hba->desc_size.geom_desc; in ufshcd_map_desc_id_to_length()
[all …]
A Dufs.h708 struct ufs_desc_size desc_size; member
/u-boot/lib/efi/
A Defi_stub.c283 efi_uintn_t key, desc_size, size; in efi_main() local
302 ret = boot->get_memory_map(&size, NULL, &key, &desc_size, &version); in efi_main()
333 ret = boot->get_memory_map(&size, desc, &key, &desc_size, &version); in efi_main()
354 ret = boot->get_memory_map(&size, desc, &key, &desc_size, in efi_main()
373 map.desc_size = desc_size; in efi_main()
/u-boot/cmd/
A Defi.c99 count = ((ulong)end - (ulong)map->desc) / map->desc_size; in efi_build_mem_table()
101 qsort(base, count, map->desc_size, h_cmp_entry); in efi_build_mem_table()
105 end = (struct efi_mem_desc *)((ulong)base + count * map->desc_size); in efi_build_mem_table()
119 memcpy(dest, desc, map->desc_size); in efi_build_mem_table()
234 gd->arch.table, map, size, map->version, map->desc_size); in do_efi_mem()
/u-boot/drivers/net/
A Dravb.c238 const u32 desc_size = RAVB_NUM_BASE_DESC * sizeof(struct ravb_desc); in ravb_base_desc_init() local
242 memset(eth->base_desc, 0x0, desc_size); in ravb_base_desc_init()
247 ravb_flush_dcache((uintptr_t)eth->base_desc, desc_size); in ravb_base_desc_init()
255 const u32 desc_size = RAVB_NUM_TX_DESC * sizeof(struct ravb_desc); in ravb_tx_desc_init() local
259 memset(eth->tx_desc, 0x0, desc_size); in ravb_tx_desc_init()
268 ravb_flush_dcache((uintptr_t)eth->tx_desc, desc_size); in ravb_tx_desc_init()
279 const u32 desc_size = RAVB_NUM_RX_DESC * sizeof(struct ravb_rxdesc); in ravb_rx_desc_init() local
283 memset(eth->rx_desc, 0x0, desc_size); in ravb_rx_desc_init()
298 ravb_flush_dcache((uintptr_t)eth->rx_desc, desc_size); in ravb_rx_desc_init()
A Dsni_ave.c178 int desc_size; in ave_desc_read() local
182 desc_size = AVE_DESC_SIZE_64; in ave_desc_read()
185 desc_size = AVE_DESC_SIZE_32; in ave_desc_read()
189 addr += entry * desc_size + offset; in ave_desc_read()
203 int desc_size; in ave_desc_write() local
207 desc_size = AVE_DESC_SIZE_64; in ave_desc_write()
210 desc_size = AVE_DESC_SIZE_32; in ave_desc_write()
214 addr += entry * desc_size + offset; in ave_desc_write()
A Ddwc_eth_qos.c318 unsigned int desc_size; member
346 eqos->desc_size = ALIGN(sizeof(struct eqos_desc), in eqos_alloc_descs()
349 return memalign(eqos->desc_size, num * eqos->desc_size); in eqos_alloc_descs()
361 ((rx ? EQOS_DESCRIPTORS_TX : 0) + num) * eqos->desc_size; in eqos_get_desc()
1371 desc_pad = (eqos->desc_size - sizeof(struct eqos_desc)) / in eqos_start()
1405 memset(eqos->descs, 0, eqos->desc_size * EQOS_DESCRIPTORS_NUM); in eqos_start()
/u-boot/lib/crypto/
A Dx509_public_key.c45 size_t desc_size; in x509_get_sig_params() local
103 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in x509_get_sig_params()
111 desc = kzalloc(desc_size, GFP_KERNEL); in x509_get_sig_params()
A Dpkcs7_verify.c148 size_t desc_size; in pkcs7_digest() local
167 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in pkcs7_digest()
175 desc = kzalloc(desc_size, GFP_KERNEL); in pkcs7_digest()
/u-boot/include/
A Defi.h322 u32 desc_size; member
373 return (struct efi_mem_desc *)((ulong)desc + map->desc_size); in efi_get_next_mem_desc()
A Defi_api.h82 efi_uintn_t *desc_size,
/u-boot/include/linux/soc/ti/
A Dcppi5.h294 u32 desc_size; in cppi5_hdesc_calc_size() local
299 desc_size = sizeof(struct cppi5_host_desc_t) + psdata_size + in cppi5_hdesc_calc_size()
303 desc_size += CPPI5_INFO0_HDESC_EPIB_SIZE; in cppi5_hdesc_calc_size()
305 return ALIGN(desc_size, CPPI5_DESC_MIN_ALIGN); in cppi5_hdesc_calc_size()
/u-boot/drivers/crypto/fsl/
A Djr.c455 int desc_size = ALIGN(sizeof(u32) * 2, ARCH_DMA_MINALIGN); in deinstantiate_rng() local
457 desc = memalign(ARCH_DMA_MINALIGN, desc_size); in deinstantiate_rng()
477 (unsigned long)desc + desc_size); in deinstantiate_rng()
/u-boot/arch/arm/dts/
A Dkeystone-k2g-netcp.dtsi65 region-spec = <1023 128>; /* num_desc desc_size */
A Dkeystone-k2e-netcp.dtsi82 region-spec = <8192 128>; /* num_desc desc_size */
A Dkeystone-k2l-netcp.dtsi82 region-spec = <8192 128>; /* num_desc desc_size */
A Dkeystone-k2hk-netcp.dtsi98 region-spec = <8192 128>; /* num_desc desc_size */
/u-boot/arch/mips/mach-octeon/
A Dbootoctlinux.c110 u32 desc_size; member
525 boot_desc[core].desc_size = sizeof(boot_desc[0]); in do_bootoctlinux()
/u-boot/arch/x86/cpu/efi/
A Dpayload.c281 efi_info->efi_memdesc_size = map->desc_size; in setup_efi_info()
/u-boot/drivers/dma/ti/
A Dk3-udma.c1413 size_t desc_size; in udma_prep_dma_memcpy() local
1440 desc_size = cppi5_trdesc_calc_size(num_tr, tr_size); in udma_prep_dma_memcpy()
1441 tr_desc = dma_alloc_coherent(desc_size, &dummy); in udma_prep_dma_memcpy()
1444 memset(tr_desc, 0, desc_size); in udma_prep_dma_memcpy()
1491 ALIGN((unsigned long)tr_desc + desc_size, in udma_prep_dma_memcpy()
/u-boot/fs/ext4/
A Dext4_common.c1575 int desc_size = get_fs()->gdsize; in ext4fs_blockgroup() local
1577 if (desc_size == 0) in ext4fs_blockgroup()
1579 desc_per_blk = EXT2_BLOCK_SIZE(data) / desc_size; in ext4fs_blockgroup()
1585 blkoff = (group % desc_per_blk) * desc_size; in ext4fs_blockgroup()
1592 blkoff, desc_size, (char *)blkgrp); in ext4fs_blockgroup()
/u-boot/drivers/net/octeontx/
A Dnicvf_queues.c40 int q_len, int desc_size, int align_bytes) in nicvf_alloc_q_desc_mem() argument
43 dmem->size = (desc_size * q_len) + align_bytes; in nicvf_alloc_q_desc_mem()

Completed in 49 milliseconds