| /bsp/simulator/drivers/winsock/ |
| A D | sal_winsock.c | 227 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 D | drv_flash.c | 172 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 D | dma.c | 191 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 D | wrlock.c | 43 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 D | factory_gd.c | 23 .total_size = SZ_16M, 29 .total_size = SZ_16M,
|
| A D | factory_mxic.c | 34 .total_size = SZ_8M, 40 .total_size = SZ_16M, 46 .total_size = SZ_64M,
|
| A D | core.c | 433 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 D | factory_fm.c | 26 .total_size = SZ_16M, 32 .total_size = SZ_16M,
|
| A D | factory_winbond.c | 26 .total_size = SZ_8M, 32 .total_size = SZ_16M,
|
| A D | factory_esmt.c | 18 .total_size = SZ_16M,
|
| A D | hal_spinor.c | 196 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 D | inter.h | 87 unsigned int total_size; member 123 unsigned int total_size; member
|
| A D | factory_puya.c | 22 .total_size = SZ_8M,
|
| A D | factory_zetta.c | 22 .total_size = SZ_8M,
|
| A D | factory_xmc.c | 22 .total_size = SZ_16M,
|
| A D | factory_xtx.c | 25 .total_size = SZ_16M,
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/src/ |
| A D | bflb_ef_ctrl.c | 536 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 D | drv_sound.c | 169 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 D | de_fce.c | 486 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 D | drv_dao.c | 284 info->total_size = DAO_FIFO_SIZE; in hpm_dao_buffer_info()
|
| /bsp/nxp/lpc/lpc54114-lite/drivers/audio/ |
| A D | drv_sound.c | 322 info->total_size = TX_FIFO_SIZE; in lpc_audio_buffer_info()
|
| /bsp/stm32/stm32f407-rt-spark/board/ports/audio/ |
| A D | drv_sound.c | 470 info->total_size = TX_FIFO_SIZE; in sound_buffer_info()
|
| /bsp/bluetrum/ab32vg1-ab-prougen/board/ports/audio/ |
| A D | drv_sound.c | 432 info->total_size = TX_FIFO_SIZE; in sound_buffer_info()
|
| /bsp/stm32/stm32l475-atk-pandora/board/ports/audio/ |
| A D | drv_sound.c | 414 info->total_size = TX_FIFO_SIZE; in sound_buffer_info()
|
| /bsp/stm32/stm32f429-atk-apollo/board/ports/audio/ |
| A D | drv_sound.c | 435 info->total_size = TX_DMA_FIFO_SIZE; in stm32_player_buffer_info()
|