Home
last modified time | relevance | path

Searched refs:kmalloc_array (Results 1 – 25 of 73) sorted by relevance

123

/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/linux/
Drtw_rhashtable.h31 static inline void *kmalloc_array(size_t n, size_t size, gfp_t flags) in kmalloc_array() function
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/
Dmali_kbase_csf_protected_memory.c80 kmalloc_array(num_pages, sizeof(*pma), GFP_KERNEL); in kbase_csf_protected_memory_alloc()
Dmali_kbase_csf_firmware.c545 phys = kmalloc_array(num_pages, sizeof(*phys), GFP_KERNEL); in parse_memory_setup_entry()
618 page_list = kmalloc_array(num_pages, sizeof(*page_list), in parse_memory_setup_entry()
922 ginfo->streams = kmalloc_array(ginfo->stream_num, in parse_cmd_stream_group_info()
2342 phys = kmalloc_array(num_pages, sizeof(*phys), GFP_KERNEL); in kbase_csf_firmware_mcu_shared_mapping_init()
2346 page_list = kmalloc_array(num_pages, sizeof(*page_list), GFP_KERNEL); in kbase_csf_firmware_mcu_shared_mapping_init()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/common/registers/
Dregister_ops.c146 ops = kmalloc_array(ops_size, size, GFP_KERNEL); in register_reg_ops_per_cpu()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/backend/gpu/
Dmali_kbase_devfreq.c210 dp->freq_table = kmalloc_array(count, sizeof(dp->freq_table[0]), GFP_KERNEL); in kbase_devfreq_init_freq_table()
263 kbdev->opp_table = kmalloc_array(count, sizeof(struct kbase_devfreq_opp), GFP_KERNEL); in kbase_devfreq_init_core_mask_table()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/backend/gpu/
Dmali_kbase_devfreq.c219 dp->freq_table = kmalloc_array(count, sizeof(dp->freq_table[0]), in kbase_devfreq_init_freq_table()
270 kbdev->opp_table = kmalloc_array(count, in kbase_devfreq_init_core_mask_table()
/device/soc/rockchip/common/sdk_linux/drivers/opp/
Dof.c550 microvolt = kmalloc_array(vcount, sizeof(*microvolt), GFP_KERNEL); in opp_parse_supplies()
590 microamp = kmalloc_array(icount, sizeof(*microamp), GFP_KERNEL); in opp_parse_supplies()
659 bw = kmalloc_array(count, sizeof(*bw), GFP_KERNEL); in _read_bw()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
Dmali_kbase_hwcnt_backend_csf_if_fw.c335 phys = kmalloc_array(num_pages, sizeof(*phys), GFP_KERNEL); in kbasep_hwcnt_backend_csf_if_fw_ring_buf_alloc()
339 page_list = kmalloc_array(num_pages, sizeof(*page_list), GFP_KERNEL); in kbasep_hwcnt_backend_csf_if_fw_ring_buf_alloc()
Dmali_kbase_hwcnt_gpu_narrow.c187 buffers = kmalloc_array(n, sizeof(*buffers), GFP_KERNEL); in kbase_hwcnt_dump_buffer_narrow_array_alloc()
Dmali_kbase_softjobs.c570 user_buffers = kmalloc_array(nr, sizeof(*user_buffers), GFP_KERNEL); in kbase_debug_copy_prepare()
988 info = kmalloc_array(count, sizeof(*info), GFP_KERNEL); in kbase_jit_allocate_prepare()
1287 ids = kmalloc_array(count, sizeof(*ids), GFP_KERNEL); in kbase_jit_free_prepare()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
Dmali_devfreq.c190 dp->freq_table = kmalloc_array(count, sizeof(dp->freq_table[0]), in mali_devfreq_init_freq_table()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
Dmali_devfreq.c188 dp->freq_table = kmalloc_array(count, sizeof(dp->freq_table[0]), GFP_KERNEL); in mali_devfreq_init_freq_table()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/backend/gpu/
Dmali_kbase_devfreq.c293 dp->freq_table = kmalloc_array(count, sizeof(dp->freq_table[0]), GFP_KERNEL); in kbase_devfreq_init_freq_table()
420 kbdev->devfreq_table = kmalloc_array(count, sizeof(struct kbase_devfreq_opp), GFP_KERNEL); in kbase_devfreq_init_core_mask_table()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/
Ddisp_vga.c740 vgas = kmalloc_array(num_devices_support_vga, sizeof(*vga), in disp_init_vga()
747 vga_private = kmalloc_array(num_devices_support_vga, sizeof(*vgap), in disp_init_vga()
Ddisp_smart_backlight.c401 kmalloc_array(num_smbls, sizeof(struct disp_smbl), in disp_init_smbl()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/debug/
Dmali_kbase_debug_ktrace.c33 rbuf = kmalloc_array(KBASE_KTRACE_SIZE, sizeof(*rbuf), GFP_KERNEL); in kbase_ktrace_init()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/debug/
Dmali_kbase_debug_ktrace.c30 rbuf = kmalloc_array(KBASE_KTRACE_SIZE, sizeof(*rbuf), GFP_KERNEL); in kbase_ktrace_init()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/
Dmali_kbase_devfreq.c322 dp->freq_table = kmalloc_array(count, sizeof(dp->freq_table[0]), in kbase_devfreq_init_freq_table()
449 kbdev->devfreq_table = kmalloc_array(count, in kbase_devfreq_init_core_mask_table()
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/heaps/
Dcma_heap.c328 buffer->pages = kmalloc_array(pagecount, sizeof(*buffer->pages), GFP_KERNEL); in cma_heap_allocate()
/device/soc/rockchip/common/sdk_linux/drivers/mmc/host/
Ddw_mmc-rockchip.c226 ranges = kmalloc_array(priv->num_phases / RK3288_PHASE_DIV + 1, sizeof(*ranges), GFP_KERNEL); in dw_mci_rk3288_execute_tuning()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
Dmali_kbase_jd.c310 katom->extres = kmalloc_array(katom->nr_extres, sizeof(*katom->extres), GFP_KERNEL); in kbase_jd_pre_external_resources()
332 kds_resources = kmalloc_array(katom->nr_extres, sizeof(struct kds_resource *), GFP_KERNEL); in kbase_jd_pre_external_resources()
348 … info.resv_objs = kmalloc_array(katom->nr_extres, sizeof(struct reservation_object *), GFP_KERNEL); in kbase_jd_pre_external_resources()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
Dmali_kbase_softjobs.c553 user_buffers = kmalloc_array(nr, sizeof(*user_buffers), GFP_KERNEL); in kbase_debug_copy_prepare()
961 info = kmalloc_array(count, sizeof(*info), GFP_KERNEL); in kbase_jit_allocate_prepare()
1253 ids = kmalloc_array(count, sizeof(*ids), GFP_KERNEL); in kbase_jit_free_prepare()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
Dmali_kbase_jd.c315 katom->extres = kmalloc_array(katom->nr_extres, sizeof(*katom->extres), GFP_KERNEL); in kbase_jd_pre_external_resources()
339 kds_resources = kmalloc_array(katom->nr_extres, sizeof(struct kds_resource *), GFP_KERNEL); in kbase_jd_pre_external_resources()
358 info.resv_objs = kmalloc_array(katom->nr_extres, in kbase_jd_pre_external_resources()
/device/soc/rockchip/common/vendor/drivers/firmware/
Drockchip_sip.c145 pages = kmalloc_array(page_count, sizeof(struct page *), GFP_KERNEL); in sip_map()
/device/soc/rockchip/rk3588/kernel/drivers/firmware/
Drockchip_sip.c146 pages = kmalloc_array(page_count, sizeof(struct page *), GFP_KERNEL); in sip_map()

123