Home
last modified time | relevance | path

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

12

/bsp/simulator/drivers/winsock/
A Dsal_winsock.c227 size_t total_size = 0; in win_getaddrinfo() local
261 total_size = sizeof(struct sal_type_addrinfo) + sizeof(struct sal_type_sockaddr_storage); in win_getaddrinfo()
270 RT_ASSERT(total_size + namelen + 1 > total_size); in win_getaddrinfo()
271 total_size += namelen + 1; in win_getaddrinfo()
274 …RT_ASSERT(total_size <= sizeof(struct sal_type_addrinfo) + sizeof(struct sal_type_sockaddr_storage… in win_getaddrinfo()
275 ai = (struct sal_type_addrinfo*)rt_malloc(total_size); in win_getaddrinfo()
280 rt_memset(ai, 0, total_size); in win_getaddrinfo()
/bsp/wch/risc-v/Libraries/ch32_drivers/
A Ddrv_flash.c172 rt_uint32_t total_size = size; in ch32_flash_erase() local
180 if (((addr & 0x000000FF) == 0) && (total_size & 0xFFFFFF00)) { in ch32_flash_erase()
181 rt_uint32_t fast_size = (total_size & 0xFFFFFF00); in ch32_flash_erase()
190 total_size -= fast_size; in ch32_flash_erase()
193 if (0 == total_size) { in ch32_flash_erase()
201 num_page = (total_size + FLASH_PAGE_SIZE - 1) / FLASH_PAGE_SIZE; in ch32_flash_erase()
/bsp/samd21/sam_d2x_asflib/sam0/drivers/dma/
A Ddma.c191 uint32_t total_size; in DMAC_Handler() local
208 total_size = descriptor_section[resource->channel_id].BTCNT.reg; in DMAC_Handler()
210 resource->transfered_size = total_size - write_size; in DMAC_Handler()
487 uint32_t total_size; in dma_abort_job() local
500 total_size = descriptor_section[resource->channel_id].BTCNT.reg; in dma_abort_job()
502 resource->transfered_size = total_size - write_size; in dma_abort_job()
/bsp/allwinner/libraries/sunxi-hal/hal/source/spinor/
A Dwrlock.c43 if (addr >= nor->total_size - SZ_64K || addr < SZ_64K) in nor_wr_islock()
76 if (addr >= nor->total_size - SZ_64K || addr < SZ_64K) in nor_wr_lock()
109 if (addr >= nor->total_size - SZ_64K || addr < SZ_64K) in nor_wr_unlock()
A Dfactory_gd.c23 .total_size = SZ_16M,
29 .total_size = SZ_16M,
A Dfactory_mxic.c34 .total_size = SZ_8M,
40 .total_size = SZ_16M,
46 .total_size = SZ_64M,
A Dcore.c433 nor->total_size = nor->info->total_size; in nor_scan()
435 if (nor->total_size > SZ_16M) { in nor_scan()
538 nor->info->model, nor->total_size / 1024 / 1024, in nor_init()
755 if (addr + size > nor->total_size) { in nor_erase()
757 addr, size, nor->total_size); in nor_erase()
764 if (addr == 0 && size == nor->total_size) { in nor_erase()
A Dfactory_fm.c26 .total_size = SZ_16M,
32 .total_size = SZ_16M,
A Dfactory_winbond.c26 .total_size = SZ_8M,
32 .total_size = SZ_16M,
A Dfactory_esmt.c18 .total_size = SZ_16M,
A Dhal_spinor.c196 norblk.total_bytes = nor->total_size; in nor_blkpart_init()
346 return nor_erase(0, nor->total_size); in hal_spinor_erase_chip()
364 hal_spinor_info.sector_count = nor->total_size / nor->blk_size; in hal_spinor_get_info()
A Dinter.h87 unsigned int total_size; member
123 unsigned int total_size; member
A Dfactory_puya.c22 .total_size = SZ_8M,
A Dfactory_zetta.c22 .total_size = SZ_8M,
A Dfactory_xmc.c22 .total_size = SZ_16M,
A Dfactory_xtx.c25 .total_size = SZ_16M,
/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/src/
A Dbflb_ef_ctrl.c536 uint32_t total_size = EF_CTRL_EFUSE_R0_SIZE; in bflb_ef_ctrl_write_direct() local
540 total_size += EF_CTRL_EFUSE_R1_SIZE; in bflb_ef_ctrl_write_direct()
545 if (offset > total_size || (offset + count * 4) > total_size || pword == NULL) { in bflb_ef_ctrl_write_direct()
621 uint32_t total_size = EF_CTRL_EFUSE_R0_SIZE; in bflb_ef_ctrl_read_direct() local
625 total_size += EF_CTRL_EFUSE_R1_SIZE; in bflb_ef_ctrl_read_direct()
630 if (offset > total_size || (offset + count * 4) > total_size || pword == NULL) { in bflb_ef_ctrl_read_direct()
/bsp/qemu-vexpress-a9/drivers/audio/
A Ddrv_sound.c169 replay->buf_info.total_size = caps->udata.config.samplerate / 50 * 4; in sound_configure()
170 replay->buf_info.block_size = replay->buf_info.total_size / 2; in sound_configure()
288 info->total_size = TX_FIFO_SIZE; in sound_buffer_info()
/bsp/allwinner/libraries/sunxi-hal/hal/source/disp2/disp/de/lowlevel_v2x/
A Dde_fce.c486 u32 total_pixel, total_pixel_r, total_size; in auto_ce_model() local
494 total_size = total_pixel = (width * height) >> 1; in auto_ce_model()
496 total_size = total_pixel = (width * (height - 1) in auto_ce_model()
507 if (total_size > 3 * total_pixel) in auto_ce_model()
508 total_size = 0; in auto_ce_model()
517 || total_size == 0) { in auto_ce_model()
/bsp/hpmicro/libraries/drivers/
A Ddrv_dao.c284 info->total_size = DAO_FIFO_SIZE; in hpm_dao_buffer_info()
/bsp/nxp/lpc/lpc54114-lite/drivers/audio/
A Ddrv_sound.c322 info->total_size = TX_FIFO_SIZE; in lpc_audio_buffer_info()
/bsp/stm32/stm32f407-rt-spark/board/ports/audio/
A Ddrv_sound.c470 info->total_size = TX_FIFO_SIZE; in sound_buffer_info()
/bsp/bluetrum/ab32vg1-ab-prougen/board/ports/audio/
A Ddrv_sound.c432 info->total_size = TX_FIFO_SIZE; in sound_buffer_info()
/bsp/stm32/stm32l475-atk-pandora/board/ports/audio/
A Ddrv_sound.c414 info->total_size = TX_FIFO_SIZE; in sound_buffer_info()
/bsp/stm32/stm32f429-atk-apollo/board/ports/audio/
A Ddrv_sound.c435 info->total_size = TX_DMA_FIFO_SIZE; in stm32_player_buffer_info()

Completed in 50 milliseconds

12