Home
last modified time | relevance | path

Searched refs:nc (Results 1 – 6 of 6) sorted by relevance

/bsp/allwinner/libraries/sunxi-hal/hal/source/spinor/
A Dcache.c90 nc->bitmap_page = malloc(BITS_TO_LONGS(nc->page_cnt) * sizeof(long)); in init_bitmap()
93 memset(nc->bitmap_page, 0, BITS_TO_LONGS(nc->page_cnt) * sizeof(long)); in init_bitmap()
96 nc->bitmap_blk = malloc(BITS_TO_LONGS(nc->blk_cnt) * sizeof(long)); in init_bitmap()
97 if (!nc->blk_cnt) in init_bitmap()
99 memset(nc->bitmap_blk, 0, BITS_TO_LONGS(nc->blk_cnt) * sizeof(long)); in init_bitmap()
122 if (nc->cache.buf) in nor_cache_init()
135 nc->nor = nor; in nor_cache_init()
159 delete_bitmap(nc); in nor_cache_exit()
243 memset(nc->bitmap_blk, 0, BITS_TO_LONGS(nc->blk_cnt) * sizeof(long)); in nor_flush_erase()
257 page = (i + nc->last_write + 1) % nc->page_cnt; in nor_flush_write()
[all …]
/bsp/microchip/same54/bsp/hal/src/
A Dhal_aes_sync.c314 uint8_t buffer[16], uint8_t nc[16], uint32_t *nc_ofst) in aes_sync_ctr_crypt()
317 ASSERT(descr && input && output && length && nc && nc_ofst && *nc_ofst < 16); in aes_sync_ctr_crypt()
331 _aes_sync_ctr_crypt(&descr->dev, input, output, (length & ~0xF), nc); in aes_sync_ctr_crypt()
338 _aes_sync_ecb_crypt(&descr->dev, AES_ENCRYPT, nc, buffer); in aes_sync_ctr_crypt()
340 if (++nc[i - 1] != 0) in aes_sync_ctr_crypt()
/bsp/microchip/same54/bsp/hal/include/
A Dhpl_aes_sync.h224 uint8_t nc[16]);
A Dhal_aes_sync.h239 uint8_t buffer[16], uint8_t nc[16], uint32_t *nc_ofst);
/bsp/microchip/same54/bsp/hpl/aes/
A Dhpl_aes.c551 uint8_t nc[16]) in _aes_sync_ctr_crypt()
568 __aes_sync_set_iv(dev, nc); in _aes_sync_ctr_crypt()
585 nc[15 - index] += 1; in _aes_sync_ctr_crypt()
586 if (nc[15 - index]) { in _aes_sync_ctr_crypt()
/bsp/hpmicro/libraries/hpm_sdk/drivers/inc/
A Dhpm_enet_drv.h283 uint32_t nc: 1; /**< * No Carrier */ member

Completed in 19 milliseconds