/trusted-firmware-a-3.4.0/lib/utils/ |
D | mem_region.c | 39 assert(tbl->nbytes > 0); in clear_mem_regions() 40 assert(!check_uptr_overflow(tbl->base, tbl->nbytes-1)); in clear_mem_regions() 41 zero_normalmem((void *) (tbl->base), tbl->nbytes); in clear_mem_regions() 72 size = regions[i].nbytes; in clear_map_dyn_mem_regions() 116 uintptr_t addr, size_t nbytes) in mem_region_in_array_chk() argument 122 assert(nbytes != 0U); in mem_region_in_array_chk() 123 assert(!check_uptr_overflow(addr, nbytes-1)); in mem_region_in_array_chk() 126 region_end = addr + (nbytes - 1U); in mem_region_in_array_chk() 128 assert(tbl->nbytes > 0); in mem_region_in_array_chk() 129 assert(!check_uptr_overflow(tbl->base, tbl->nbytes-1)); in mem_region_in_array_chk() [all …]
|
/trusted-firmware-a-3.4.0/drivers/io/ |
D | io_block.c | 252 size_t nbytes; /* number of bytes read in one iteration */ in block_read() local 282 for (left = length; left > 0U; left -= nbytes) { in block_read() 333 nbytes = request - skip; in block_read() 334 padding = (nbytes > left) ? nbytes - left : 0U; in block_read() 335 nbytes -= padding; in block_read() 339 nbytes); in block_read() 341 cur->file_pos += nbytes; in block_read() 342 count += nbytes; in block_read() 364 size_t nbytes; /* number of bytes read in one iteration */ in block_write() local 395 for (left = length; left > 0U; left -= nbytes) { in block_write() [all …]
|
/trusted-firmware-a-3.4.0/include/drivers/ |
D | spi_mem.h | 56 uint8_t nbytes; member 62 uint8_t nbytes; member 69 unsigned int nbytes; member
|
/trusted-firmware-a-3.4.0/drivers/st/spi/ |
D | stm32_qspi.c | 193 for (len = op->data.nbytes; len != 0U; len--) { in stm32_qspi_poll() 214 op->data.nbytes); in stm32_qspi_mm() 221 if (op->data.nbytes == 0U) { in stm32_qspi_tx() 252 op->addr.val, op->data.nbytes); in stm32_qspi_exec_op() 254 addr_max = op->addr.val + op->data.nbytes + 1U; in stm32_qspi_exec_op() 256 if ((op->data.dir == SPI_MEM_DATA_IN) && (op->data.nbytes != 0U)) { in stm32_qspi_exec_op() 265 if (op->data.nbytes != 0U) { in stm32_qspi_exec_op() 266 mmio_write_32(qspi_base() + QSPI_DLR, op->data.nbytes - 1U); in stm32_qspi_exec_op() 273 if (op->addr.nbytes != 0U) { in stm32_qspi_exec_op() 274 ccr |= (op->addr.nbytes - 1U) << QSPI_CCR_ADSIZE_SHIFT; in stm32_qspi_exec_op() [all …]
|
/trusted-firmware-a-3.4.0/include/lib/ |
D | utils.h | 21 size_t nbytes; member 48 uintptr_t addr, size_t nbytes);
|
/trusted-firmware-a-3.4.0/drivers/mtd/nor/ |
D | spi_nor.c | 48 op.data.nbytes = len; in spi_nor_reg() 298 nor_dev.read_op.data.nbytes = MIN(length, remain_len); in spi_nor_read() 300 nor_dev.read_op.data.nbytes = length; in spi_nor_read() 309 length -= nor_dev.read_op.data.nbytes; in spi_nor_read() 310 nor_dev.read_op.addr.val += nor_dev.read_op.data.nbytes; in spi_nor_read() 311 nor_dev.read_op.data.buf += nor_dev.read_op.data.nbytes; in spi_nor_read() 312 *length_read += nor_dev.read_op.data.nbytes; in spi_nor_read() 333 nor_dev.read_op.addr.nbytes = 3U; in spi_nor_init()
|
/trusted-firmware-a-3.4.0/plat/st/stm32mp1/ |
D | stm32mp1_boot_device.c | 141 device->spi_read_cache_op.addr.nbytes = 2U; in plat_get_spi_nand_data() 143 device->spi_read_cache_op.dummy.nbytes = 1U; in plat_get_spi_nand_data() 160 device->read_op.addr.nbytes = 3U; in plat_get_nor_data() 162 device->read_op.dummy.nbytes = 1U; in plat_get_nor_data()
|
/trusted-firmware-a-3.4.0/drivers/mtd/nand/ |
D | spi_nand.c | 44 op.addr.nbytes = 1U; in spi_nand_reg() 48 op.data.nbytes = 1U; in spi_nand_reg() 153 op.data.nbytes = SPI_NAND_MAX_ID_LEN; in spi_nand_read_id() 173 op.addr.nbytes = 3U; in spi_nand_load_page() 194 spinand_dev.spi_read_cache_op.data.nbytes = len; in spi_nand_read_from_cache() 279 spinand_dev.spi_read_cache_op.addr.nbytes = 2U; in spi_nand_init() 281 spinand_dev.spi_read_cache_op.dummy.nbytes = 1U; in spi_nand_init()
|
/trusted-firmware-a-3.4.0/drivers/mtd/spi-mem/ |
D | spi_mem.c | 69 if ((op->addr.nbytes != 0U) && in spi_mem_supports_op() 74 if ((op->dummy.nbytes != 0U) && in spi_mem_supports_op() 79 if ((op->data.nbytes != 0U) && in spi_mem_supports_op() 157 op->addr.val, op->data.nbytes); in spi_mem_exec_op()
|
/trusted-firmware-a-3.4.0/plat/nvidia/tegra/soc/t186/drivers/se/ |
D | se.c | 73 uint32_t nbytes, uint32_t last_buf, uint32_t src_len_inbytes) in tegra_se_start_normal_operation() argument 81 if ((src_addr == 0UL) || (nbytes == 0U)) in tegra_se_start_normal_operation() 87 (nbytes & 0xffffffU)); in tegra_se_start_normal_operation()
|
/trusted-firmware-a-3.4.0/lib/debugfs/ |
D | dev.c | 167 int buf_to_channel(chan_t *channel, void *dst, void *src, int nbytes, long len) in buf_to_channel() argument 179 if ((channel->offset + nbytes) > len) { in buf_to_channel() 180 nbytes = len - channel->offset; in buf_to_channel() 183 memcpy(dst, addr + channel->offset, nbytes); in buf_to_channel() 185 channel->offset += nbytes; in buf_to_channel() 187 return nbytes; in buf_to_channel()
|
D | dev.h | 96 int buf_to_channel(chan_t *c, void *dst, void *src, int nbytes, long len);
|
/trusted-firmware-a-3.4.0/plat/nvidia/tegra/soc/t194/drivers/se/ |
D | se.c | 230 uint32_t nbytes, uint32_t last_buf, uint32_t src_len_inbytes) in tegra_se_start_normal_operation() argument 238 if ((src_addr == 0ULL) || (nbytes == 0U)) in tegra_se_start_normal_operation() 244 (nbytes & MAX_SHA_ENGINE_CHUNK_SIZE)); in tegra_se_start_normal_operation()
|
/trusted-firmware-a-3.4.0/plat/nvidia/tegra/soc/t210/drivers/se/ |
D | security_engine.c | 308 static int tegra_se_perform_operation(const tegra_se_dev_t *se_dev, uint32_t nbytes, in tegra_se_perform_operation() argument 311 uint32_t nblocks = nbytes / TEGRA_SE_AES_BLOCK_SIZE; in tegra_se_perform_operation() 350 int tegra_se_start_normal_operation(const tegra_se_dev_t *se_dev, uint32_t nbytes) in tegra_se_start_normal_operation() argument 352 return tegra_se_perform_operation(se_dev, nbytes, false); in tegra_se_start_normal_operation() 358 int tegra_se_start_ctx_save_operation(const tegra_se_dev_t *se_dev, uint32_t nbytes) in tegra_se_start_ctx_save_operation() argument 360 return tegra_se_perform_operation(se_dev, nbytes, true); in tegra_se_start_ctx_save_operation()
|
/trusted-firmware-a-3.4.0/lib/zlib/ |
D | zutil.h | 92 void *_Cdecl farmalloc( unsigned long nbytes );
|