Home
last modified time | relevance | path

Searched refs:malloc (Results 1 – 25 of 58) sorted by relevance

123

/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/core/
A Dusb_msg.c73 dr = malloc(sizeof(struct usb_ctrlrequest)); in usb_control_msg()
304 tbuf = malloc(256); in usb_string()
536 new_interfaces = malloc(nintf * (sizeof(struct usb_interface *))); in usb_set_configuration()
548 new_interfaces[n] = malloc(sizeof(struct usb_interface)); in usb_set_configuration()
660 virt_confg->string = malloc(256); in usb_set_configuration()
687 intf->cur_altsetting->string = malloc(256); in usb_set_configuration()
764 desc = malloc(sizeof(struct usb_device_descriptor), USB_MEM_FILE_TRIGGER, USB_MEM_LINE_TRIGGER);
844 u16 *status = malloc(sizeof(*status)); in usb_get_status()
A Dusb_core_config.c249 alt->endpoint = malloc(len); in _usb_parse_interface_desc()
479 config->intf_cache[i] = intfc = malloc(len); in _usb_parse_config_desc()
490 intfc->altsetting_array = malloc(len); in _usb_parse_config_desc()
589 dev->config = malloc(length); in usb_get_all_config_desc_and_parser()
599 dev->rawdescriptors = malloc(length); in usb_get_all_config_desc_and_parser()
608 buffer = malloc(USB_DT_CONFIG_SIZE); in usb_get_all_config_desc_and_parser()
642 bigbuffer = malloc(length); in usb_get_all_config_desc_and_parser()
/bsp/allwinner/libraries/sunxi-hal/hal/test/pwm/
A Dtest_pwm.c60 config = (struct pwm_config *)malloc(sizeof(struct pwm_config)); in cmd_test_pwm()
/bsp/allwinner/libraries/sunxi-hal/hal/source/sound/component/aw-alsa-utils/
A Darecord.c168 capture_data = malloc(len); in capture_then_play()
244 audiobuf = malloc(chunk_bytes); in capture_fs_wav()
256 temp_wav_file = malloc(rest); in capture_fs_wav()
A Daduplex.c209 audiobuf = malloc(chunk_bytes); in playback_fs_wav()
291 audiobuf = malloc(chunk_bytes); in capture_fs_wav()
302 temp_wav_file = malloc(rest); in capture_fs_wav()
494 capture_data = malloc(len); in capture_then_play()
A Dcommon.c169 audio_mgr = malloc(sizeof(audio_mgr_t)); in audio_mgr_create()
/bsp/allwinner/libraries/sunxi-hal/hal/source/spinor/
A Dhal_spinor.c103 char *buf = malloc(page_bytes); in get_rtos_toc_package_size()
166 gpt_buf = malloc(GPT_TABLE_SIZE); in nor_blkpart_init()
209 norblk.parts = malloc(norblk.n_parts * sizeof(struct part)); in nor_blkpart_init()
A Dcache.c77 c->buf = malloc(CACHE_SIZE); in init_cache()
90 nc->bitmap_page = malloc(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()
/bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_ble_driver/inc/
A Dke_mem.h176 __INLINE void *ke_malloc(uint32_t size) { return malloc(size); } in ke_malloc()
/bsp/allwinner/libraries/sunxi-hal/hal/source/sdmmc/osal/os/FreeRTOS/
A Dos_util.h71 #define OS_Malloc(l) malloc(l)
/bsp/allwinner/libraries/sunxi-hal/hal/source/sdmmc/osal/os/RT-Thread/
A Dos_util.h64 #define OS_Malloc(l) malloc(l)
/bsp/nrf5x/nrf52840/board/port/cherryusb/
A Dusb_config.h14 #define usb_malloc(size) malloc(size)
/bsp/simulator/drivers/
A Dboard.c26 heap = (rt_uint8_t *)malloc(RT_HEAP_SIZE); in rt_hw_sram_init()
/bsp/allwinner/libraries/sunxi-hal/hal/source/sdmmc/
A Dhal_sdpin.c130 sunxi_sdmmc_pin[host_id].pin = malloc(sizeof(uint32_t) * SDC0_NUM); in sdmmc_pinctrl_init()
154 sunxi_sdmmc_pin[host_id].pin = malloc(sizeof(uint32_t) * SDC1_NUM); in sdmmc_pinctrl_init()
A Dblkpart.c229 page_buf = malloc(blk->page_bytes); in part_read()
341 read_buf = malloc(blk->blk_bytes); in do_erase_write_blk()
440 blk_buf = malloc(blk->blk_bytes); in _part_write()
/bsp/m16c62p/
A Dlnkm30627fhp.xcl34 // DATA16_HEAP Heap data used by malloc and free. Used by CLib and DLib
35 // FAR_HEAP Heap used by malloc and free in DLib
36 // DATA20_HEAP Heap used by malloc and free in DLib
/bsp/allwinner/libraries/sunxi-hal/hal/source/ccmu/sunxi-ng/
A Dclk-fixed-rate.c59 fixed = (struct clk_fixed_rate *)malloc(sizeof(*fixed)); in clk_hw_register_fixed_rate_with_accuracy()
A Dclk.c102 p_clk = (struct clk *)malloc(sizeof(*clk)); in clk_get_parent()
A Dccu_common.c106 reset = (struct ccu_reset *)malloc(sizeof(*reset)); in ccu_common_init()
A Dccu.c532 parents = (struct clk_parent_map *)malloc(num_parents * sizeof(*parents)); in clk_core_populate_parent_map()
618 core = (struct clk_core *)malloc(sizeof(*core)); in clk_hw_register()
634 core->clk = (struct clk *)malloc(sizeof(struct clk)); in clk_hw_register()
/bsp/rockchip/common/drivers/
A DKconfig37 int "large heap malloc threshold"
/bsp/allwinner/libraries/sunxi-hal/hal/test/spinor/
A Dtest_spinor.c114 char *buf = (char *)malloc(512); in cmd_test_spinor()
/bsp/allwinner/libraries/sunxi-hal/hal/source/phy/
A Dhal_miiphyutil.c138 ldev = malloc(sizeof(*ldev)); in miiphy_register()
169 bus = malloc(sizeof(*bus)); in mdio_alloc()
/bsp/allwinner/libraries/sunxi-hal/hal/source/ccmu/
A Dhal_reset.c47 rc = (struct reset_control *)malloc(sizeof(*rc)); in hal_reset_control_get()
/bsp/allwinner/libraries/sunxi-hal/include/hal/sdmmc/cmd/
A Dcmd_util.h81 #define cmd_malloc(l) malloc(l)

Completed in 746 milliseconds

123