Home
last modified time | relevance | path

Searched refs:hal_malloc (Results 1 – 25 of 42) sorted by relevance

12

/bsp/allwinner/libraries/sunxi-hal/hal/test/dma/
A Dtest_dma.c58 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 Dsimple_idr.c97 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 Dg2d_wb.c199 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 Dg2d_ovl_u.c252 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 Dg2d_scal.c507 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 Dg2d_ovl_v.c370 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 Dg2d_bld.c602 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 Dg2d_mixer.c483 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 Dce_common.c202 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 Dehci-mem.c88 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 Dhal_mem.c26 void *hal_malloc(uint32_t size) in hal_malloc() function
/bsp/allwinner/libraries/sunxi-hal/hal/source/common/
A Ddma_alloc.c22 malloc_ptr = hal_malloc(size + 2 * CACHELINE_LEN); in dma_alloc_coherent()
/bsp/allwinner/libraries/sunxi-hal/include/osal/
A Dhal_mem.h13 void *hal_malloc(uint32_t size);
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/uvc/Webcam/
A DusbWebcam.c138 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 DHidProtocol.c504 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 DHid.c233 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 Dwebcam_linklist_manager.c121 …__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 DLunMgr.c68 mscLun = hal_malloc(sizeof(__mscLun_t)); in mscLun_alloc()
/bsp/allwinner/libraries/sunxi-hal/include/hal/sound/
A Ddma_wrap.h57 malloc_ptr = hal_malloc(size + 64);
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/include/
A Dusb_list.h138 list = hal_malloc(sizeof(struct usb_list_head)); in _list_head_malloc_init()
/bsp/allwinner/libraries/sunxi-hal/hal/test/ce/
A Dtest_ce.c145 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 Durb.c113 …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 Dhal_os.h181 malloc_ptr = hal_malloc(size + OS_CACHE_ALIGN_BYTES); in malloc_align_buf()
/bsp/allwinner/libraries/sunxi-hal/hal/test/disp2/
A Ddisp_mem.c46 address = hal_malloc(actual_bytes); in disp_malloc()
/bsp/allwinner/libraries/sunxi-hal/hal/source/gpio/
A Dhal_gpio.c923 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()

Completed in 50 milliseconds

12