Home
last modified time | relevance | path

Searched refs:page_size (Results 1 – 23 of 23) sorted by relevance

/AliOS-Things-master/components/drivers/peripheral/flash/src/
A Dmtdnand.c11 #define NOTALIGNED(x) ((x & (chip->page_size - 1)) != 0)
217 chip->pagebuf = malloc(chip->page_size); in nand_do_read_desc()
222 page = (int)(from / chip->page_size); in nand_do_read_desc()
229 bytes = min(chip->page_size, readlen); in nand_do_read_desc()
314 page = (int)(to / chip->page_size); in nand_do_write_desc()
403 page = (int)(from / chip->page_size); in nand_only_read_oob()
449 page = (int)(to / chip->page_size); in nand_only_write_oob()
469 page = addr / chip->page_size; in nand_erase()
610 nand->pages_pb = blk_size / page_size; in aos_mtd_nand_init()
612 nand->page_size = page_size; in aos_mtd_nand_init()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/
A Di2s_api.c164 uint32_t page_num, uint32_t page_size) in i2s_set_dma_buffer() argument
172 if ((page_num < 2) || (page_num > 4) || (page_size < 8)) { in i2s_set_dma_buffer()
174 __FUNCTION__, page_num, page_size); in i2s_set_dma_buffer()
179 I2SInitStruct.I2S_PageSize = page_size/4; // unit is 4-bytes in i2s_set_dma_buffer()
180 I2S_SetPageSize(I2S_DEV, (page_size/4)); in i2s_set_dma_buffer()
185 I2S_SetTxPageAddr(i, (uint32_t)(tx_buf + ((page_size) * i))); in i2s_set_dma_buffer()
186 I2S_SetRxPageAddr(i, (uint32_t)(rx_buf + ((page_size) * i))); in i2s_set_dma_buffer()
/AliOS-Things-master/components/py_engine/engine/tools/
A Dpydfu.py469 page_size = int(seg_match.groups()[1], 10)
472 page_size *= 1024
474 page_size *= 1024 * 1024
475 size = num_pages * page_size
479 (addr, last_addr, size, num_pages, page_size),
529 page_size = segment["page_size"]
530 page_addr = addr & ~(page_size - 1)
531 if addr + write_size > page_addr + page_size:
532 write_size = page_addr + page_size - addr
/AliOS-Things-master/hardware/chip/haas1000/csi/
A Dflash.c85 &(flash_info->page_size), &(flash_info->page_size)); in csi_spiflash_get_flash_info()
205 uint32_t page_size = 256; in csi_flash_init() local
214 ret = aos_mtd_nor_init(&g_mtd_nor_dev, blk_size, page_size); in csi_flash_init()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/
A Dtoken_enc.c45 void VP8TBufferInit(VP8TBuffer* const b, int page_size) { in VP8TBufferInit() argument
50 b->page_size_ = (page_size < MIN_PAGE_SIZE) ? MIN_PAGE_SIZE : page_size; in VP8TBufferInit()
253 void VP8TBufferInit(VP8TBuffer* const b, int page_size) { in VP8TBufferInit() argument
255 (void)page_size; in VP8TBufferInit()
A Dvp8i_enc.h325 void VP8TBufferInit(VP8TBuffer* const b, int page_size);
/AliOS-Things-master/components/drivers/peripheral/flash/include/aos/
A Dmtdnand.h77 uint16_t page_size; member
92 int aos_mtd_nand_init(aos_nand_t *nand, int blk_size, int page_size, int oob_size);
/AliOS-Things-master/hardware/chip/rtl872xd/csi_driver/spiflash/
A Dspiflash.c43 flash_info->page_size = 256; in csi_spiflash_get_flash_info()
252 uint32_t page_size = 256; in csi_flash_init() local
261 ret = aos_mtd_nor_init(&g_mtd_nor_dev, blk_size, page_size); in csi_flash_init()
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/drivers/norflash/
A Dnorflash_drv.h75 const uint16_t page_size; member
102 …h_get_size(uint32_t *total_size, uint32_t *block_size, uint32_t *sector_size, uint32_t *page_size);
/AliOS-Things-master/components/drivers/core/base/include/aos/hal/
A Dnand_flash.h58 uint8_t page_size:2; member
A Dnand.h22 uint32_t page_size; /**< NAND memory page size w/o spare area */ member
/AliOS-Things-master/components/csi/csi1/include/drv/
A Defusec.h32 uint32_t page_size; ///< Optimal programming page size in bytes member
A Deflash.h34 uint32_t page_size; ///< Optimal programming page size in bytes member
A Dnorflash.h34 uint32_t page_size; ///< Optimal programming page size in bytes member
A Dspiflash.h34 uint32_t page_size; ///< Optimal programming page size in bytes member
/AliOS-Things-master/hardware/chip/smarth_rv64/include/
A Ddrv_eflash.h34 uint32_t page_size; ///< Optimal programming page size in bytes member
A Ddrv_spiflash.h34 uint32_t page_size; ///< Optimal programming page size in bytes member
/AliOS-Things-master/components/csi/csi2/include/drv/
A Dspiflash.h104 uint32_t page_size; ///< Page size for read or program member
/AliOS-Things-master/components/SDL2/src/stdlib/
A DSDL_malloc.c2137 size_t page_size; member
2174 (((S) + (mparams.page_size)) & ~(mparams.page_size - SIZE_T_ONE))
2181 (((size_t)(S) & (mparams.page_size - SIZE_T_ONE)) == 0)
2551 if (mparams.page_size == 0) { in init_mparams()
2594 mparams.page_size = malloc_getpagesize; in init_mparams()
2600 mparams.page_size = 4096u; in init_mparams()
2606 mparams.page_size = system_info.dwPageSize; in init_mparams()
2624 || ((mparams.page_size & (mparams.page_size - SIZE_T_ONE)) != 0)) in init_mparams()
2692 assert((len & (mparams.page_size - SIZE_T_ONE)) == 0); in do_check_mmapped_chunk()
4513 pagesz = mparams.page_size; in dlvalloc()
[all …]
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/hal/
A Dhal_norflash.h134 …H_ID_T id, uint32_t *total_size, uint32_t *block_size, uint32_t *sector_size, uint32_t *page_size);
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/
A Di2s_api.h134 … i2s_set_dma_buffer(i2s_t *obj, char *tx_buf, char *rx_buf, uint32_t page_num, uint32_t page_size);
A Dpcm_api.h203 void pcm_chan_page_size(pcm_t *obj, pcm_ch chan, u32 page_size);
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/
A Dtest.h400 const std::size_t page_size = getpagesize();
402 std::size_t rounded_buffer_size = round_up_pot(buffer_size, page_size);
407 mmap(nullptr, rounded_buffer_size + page_size, PROT_READ | PROT_WRITE,
411 munmap(static_cast<char*>(mapping) + rounded_buffer_size, page_size);
432 const std::size_t page_size = getpagesize();
434 std::size_t rounded_buffer_size = round_up_pot(buffer_size, page_size);
436 void* mapping = reinterpret_cast<void*>(p_addr & ~(page_size - 1));

Completed in 68 milliseconds