Searched refs:cur (Results 1 – 4 of 4) sorted by relevance
/arm-trusted-firmware-2.8.0/drivers/io/ |
A D | io_mtd.c | 123 ret = ops->seek(cur->base, cur->pos, extra_offset); in mtd_add_extra_offset() 146 cur->pos = 0U; in mtd_open() 177 cur->pos = offset; in mtd_seek() 180 if (((cur->base + cur->pos + (unsigned long long)offset) >= in mtd_seek() 182 ((cur->base + cur->pos + (unsigned long long)offset) < in mtd_seek() 183 cur->base + cur->pos)) { in mtd_seek() 218 cur->base + cur->pos, buffer, length); in mtd_read() 219 if ((cur->base + cur->pos + length) > cur->dev_spec->device_size) { in mtd_read() 223 ret = ops->read(cur->base + cur->pos + cur->extra_offset, buffer, in mtd_read() 264 cur->size = cur->dev_spec->device_size; in mtd_dev_open() [all …]
|
A D | io_block.c | 130 block_dev_state_t *cur; in block_open() local 142 cur->base = region->offset; in block_open() 144 cur->file_pos = 0; in block_open() 153 block_dev_state_t *cur; in block_seek() local 170 assert(cur->file_pos < cur->size); in block_seek() 247 block_dev_state_t *cur; in block_read() local 297 lba = (cur->file_pos + cur->base) / block_size; in block_read() 341 cur->file_pos += nbytes; in block_read() 359 block_dev_state_t *cur; in block_write() local 410 lba = (cur->file_pos + cur->base) / block_size; in block_write() [all …]
|
/arm-trusted-firmware-2.8.0/plat/nvidia/tegra/lib/debug/ |
A D | profiler.c | 48 static profiler_rec_t *head, *cur, *tail; variable 72 cur = head; in boot_profiler_init() 111 (void)snprintf((char *)cur->tag, len, "%s", str); in boot_profiler_add_record() 112 cur->timestamp = mmio_read_32(tmr); in boot_profiler_add_record() 115 if (cur == tail) { in boot_profiler_add_record() 116 cur = head; in boot_profiler_add_record() 118 cur++; in boot_profiler_add_record() 131 cur = NULL; in boot_profiler_deinit()
|
/arm-trusted-firmware-2.8.0/plat/st/common/ |
A D | stm32mp_crypto_lib.c | 307 mbedtls_asn1_sequence *cur; in crypto_verify_signature() local 376 cur = seq.next; in crypto_verify_signature() 381 while (cur != NULL) { in crypto_verify_signature() 382 next = cur->next; in crypto_verify_signature() 383 mbedtls_free(cur); in crypto_verify_signature() 384 cur = next; in crypto_verify_signature() 397 cur = &seq; in crypto_verify_signature() 400 while (cur != NULL) { in crypto_verify_signature() 404 if (cur->buf.len > bignum_len) { in crypto_verify_signature() 416 memcpy(sig + seek, cur->buf.p + skip, cur->buf.len - skip); in crypto_verify_signature() [all …]
|
Completed in 7 milliseconds