| /bsp/allwinner/libraries/sunxi-hal/hal/test/dma/ |
| A D | test_dma.c | 58 buf2 = hal_malloc(DMA_TEST_LEN); in cmd_test_dma() 59 buf1 = hal_malloc(DMA_TEST_LEN); in cmd_test_dma()
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/g2d_rcq/ |
| A D | simple_idr.c | 97 tmp = (struct id_layer*)hal_malloc(sizeof(struct id_layer)); in id_alloc() 116 *cur = (struct id_layer*)hal_malloc(sizeof(struct id_layer)); in id_alloc() 254 idr = (struct id_dir*)hal_malloc(sizeof(struct id_dir)); in id_creat() 266 idr->top = (struct id_layer*)hal_malloc(sizeof(struct id_layer)); in id_creat()
|
| A D | g2d_wb.c | 199 p_wb = hal_malloc(sizeof(struct wb_submodule)); in g2d_wb_submodule_setup() 216 hal_malloc(sizeof(struct g2d_reg_block) * p_wb->reg_blk_num); in g2d_wb_submodule_setup() 218 hal_malloc(sizeof(struct g2d_reg_mem_info)); in g2d_wb_submodule_setup()
|
| A D | g2d_ovl_u.c | 252 p_ovl_u = hal_malloc(sizeof(struct ovl_u_submodule)); in g2d_ovl_u_submodule_setup() 269 hal_malloc(sizeof(struct g2d_reg_block) * p_ovl_u->reg_blk_num); in g2d_ovl_u_submodule_setup() 271 hal_malloc(sizeof(struct g2d_reg_mem_info)); in g2d_ovl_u_submodule_setup()
|
| A D | g2d_scal.c | 507 p_scal = hal_malloc(sizeof(struct scaler_submodule)); in g2d_scaler_submodule_setup() 524 hal_malloc(sizeof(struct g2d_reg_block) * p_scal->reg_blk_num); in g2d_scaler_submodule_setup() 526 hal_malloc(sizeof(struct g2d_reg_mem_info)); in g2d_scaler_submodule_setup()
|
| A D | g2d_ovl_v.c | 370 p_ovl_v = hal_malloc(sizeof(struct ovl_v_submodule)); in g2d_ovl_v_submodule_setup() 387 hal_malloc(sizeof(struct g2d_reg_block) * p_ovl_v->reg_blk_num); in g2d_ovl_v_submodule_setup() 389 hal_malloc(sizeof(struct g2d_reg_mem_info)); in g2d_ovl_v_submodule_setup()
|
| A D | g2d_bld.c | 602 p_bld = hal_malloc(sizeof(struct blender_submodule)); in g2d_bld_submodule_setup() 619 hal_malloc(sizeof(struct g2d_reg_block) * p_bld->reg_blk_num); in g2d_bld_submodule_setup() 621 hal_malloc(sizeof(struct g2d_reg_mem_info)); in g2d_bld_submodule_setup()
|
| A D | g2d_mixer.c | 483 hal_malloc(sizeof(*(p_task->p_rcq_info->reg_blk)) * in g2d_mixer_mem_setup() 870 task = hal_malloc(sizeof(struct g2d_mixer_task)); in create_mixer_task() 877 task->frame = hal_malloc(frame_len*sizeof(struct g2d_mixer_frame)); in create_mixer_task() 880 hal_malloc(sizeof(struct g2d_rcq_mem_info)); in create_mixer_task() 910 task->p_para = hal_malloc(sizeof(struct mixer_para) * task->frame_cnt); in create_mixer_task()
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/ce/ |
| A D | ce_common.c | 202 task = (ce_task_desc_t *)hal_malloc(sizeof(ce_task_desc_t)); in ce_aes_config() 508 task = (ce_task_desc_t *)hal_malloc(sizeof(ce_task_desc_t)); in ce_hash_start() 692 p_src = hal_malloc(bitwidth_byte_len); in ce_rsa_start() 701 p_n = hal_malloc(bitwidth_byte_len); in ce_rsa_start() 711 p_d = hal_malloc(bitwidth_byte_len); in ce_rsa_start() 722 p_dst = hal_malloc(bitwidth_byte_len); in ce_rsa_start() 730 task = (ce_task_desc_t *)hal_malloc(sizeof(ce_task_desc_t)); in ce_rsa_start() 894 dst_buf = (uint8_t *)hal_malloc(dst_len); in do_rng_gen() 901 task = (ce_task_desc_t *)hal_malloc(sizeof(ce_task_desc_t)); in do_rng_gen()
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/usb/host/ |
| A D | ehci-mem.c | 88 qh = hal_malloc(sizeof *qh); in ehci_qh_alloc() 240 ehci->pshadow = hal_malloc((ehci->periodic_size) * (sizeof(void *))); in ehci_mem_init()
|
| /bsp/allwinner/libraries/sunxi-hal/osal/src/ |
| A D | hal_mem.c | 26 void *hal_malloc(uint32_t size) in hal_malloc() function
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/common/ |
| A D | dma_alloc.c | 22 malloc_ptr = hal_malloc(size + 2 * CACHELINE_LEN); in dma_alloc_coherent()
|
| /bsp/allwinner/libraries/sunxi-hal/include/osal/ |
| A D | hal_mem.h | 13 void *hal_malloc(uint32_t size);
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/usb/uvc/Webcam/ |
| A D | usbWebcam.c | 138 usbWebcam = (usbWebcam_t *)hal_malloc(sizeof(usbWebcam_t)); in usbWebcam_init() 151 usbWebcam->urb_mem[i] = (__u32)hal_malloc(UVC_MAX_PACKETS*3); in usbWebcam_init()
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/usb/hid/Class/ |
| A D | HidProtocol.c | 504 Report = hal_malloc(sizeof(usbHidReport_t)); in HidRegisterReport() 553 Field = (usbHidField_t *)hal_malloc(sizeof(usbHidField_t)); in HidRegisterField() 561 Field->usage = (usbHidUsage_t *)hal_malloc(Usages * sizeof(usbHidUsage_t)); in HidRegisterField() 568 Field->value = (unsigned int *)hal_malloc(Values * sizeof(unsigned int)); in HidRegisterField() 631 … collection = hal_malloc(sizeof(usbHidCollectionItems_t) * parser->HidDev->collection_size * 2); in open_collection() 1454 parser = (usbHidParser_t *)hal_malloc(sizeof(usbHidParser_t)); in HidParseReport() 1463 HidDev->collection = hal_malloc(sizeof(usbHidCollectionItems_t) * in HidParseReport()
|
| A D | Hid.c | 233 HidDev->ReportDesc = (unsigned char *)hal_malloc(USB_HID_MAX_DESCRIPTOR_SIZE); in HidDevInit() 799 HidDev = hal_malloc(sizeof(HidDev_t)); in HidDevProbe()
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/usb/uvc/drv_webcam/webcam_core/ |
| A D | webcam_linklist_manager.c | 121 …__webcam_linklist_manager_t *p = (__webcam_linklist_manager_t*)hal_malloc(sizeof(__webcam_linklist… in webcam_linklist_manager_init()
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/usb/storage/Disk/ |
| A D | LunMgr.c | 68 mscLun = hal_malloc(sizeof(__mscLun_t)); in mscLun_alloc()
|
| /bsp/allwinner/libraries/sunxi-hal/include/hal/sound/ |
| A D | dma_wrap.h | 57 malloc_ptr = hal_malloc(size + 64);
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/usb/include/ |
| A D | usb_list.h | 138 list = hal_malloc(sizeof(struct usb_list_head)); in _list_head_malloc_init()
|
| /bsp/allwinner/libraries/sunxi-hal/hal/test/ce/ |
| A D | test_ce.c | 145 enc_buffer = (uint8_t *)hal_malloc(enc_len); in aes_test() 330 rng_ctx = (crypto_rng_req_ctx_t *)hal_malloc(sizeof(crypto_rng_req_ctx_t)); in rng_test() 338 rng_buf = (u8 *)hal_malloc(8192); in rng_test()
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/usb/core/ |
| A D | urb.c | 113 …urb = (struct urb *)hal_malloc(sizeof(struct urb) + iso_packets * sizeof(struct usb_iso_packet_des… in usb_alloc_urb()
|
| /bsp/allwinner/libraries/sunxi-hal/include/hal/sdmmc/osal/ |
| A D | hal_os.h | 181 malloc_ptr = hal_malloc(size + OS_CACHE_ALIGN_BYTES); in malloc_align_buf()
|
| /bsp/allwinner/libraries/sunxi-hal/hal/test/disp2/ |
| A D | disp_mem.c | 46 address = hal_malloc(actual_bytes); in disp_malloc()
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/gpio/ |
| A D | hal_gpio.c | 923 gpio_pm_reg.reg_dump[desc_index] = hal_malloc(mem_size); in gpio_pm_alloc_mem() 1031 … irq_desc = (struct gpio_irq_desc *)hal_malloc(irq_desc_array_size * sizeof(struct gpio_irq_desc)); in hal_gpio_init() 1073 irqname = (char *)hal_malloc(12); in hal_gpio_init()
|