| /device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/linux/ |
| D | rtw_rhashtable.h | 31 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/ |
| D | mali_kbase_csf_protected_memory.c | 80 kmalloc_array(num_pages, sizeof(*pma), GFP_KERNEL); in kbase_csf_protected_memory_alloc()
|
| D | mali_kbase_csf_firmware.c | 545 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/ |
| D | register_ops.c | 146 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/ |
| D | mali_kbase_devfreq.c | 210 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/ |
| D | mali_kbase_devfreq.c | 219 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/ |
| D | of.c | 550 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/ |
| D | mali_kbase_hwcnt_backend_csf_if_fw.c | 335 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()
|
| D | mali_kbase_hwcnt_gpu_narrow.c | 187 buffers = kmalloc_array(n, sizeof(*buffers), GFP_KERNEL); in kbase_hwcnt_dump_buffer_narrow_array_alloc()
|
| D | mali_kbase_softjobs.c | 570 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/ |
| D | mali_devfreq.c | 190 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/ |
| D | mali_devfreq.c | 188 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/ |
| D | mali_kbase_devfreq.c | 293 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/ |
| D | disp_vga.c | 740 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()
|
| D | disp_smart_backlight.c | 401 kmalloc_array(num_smbls, sizeof(struct disp_smbl), in disp_init_smbl()
|
| /device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/debug/ |
| D | mali_kbase_debug_ktrace.c | 33 rbuf = kmalloc_array(KBASE_KTRACE_SIZE, sizeof(*rbuf), GFP_KERNEL); in kbase_ktrace_init()
|
| /device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/debug/ |
| D | mali_kbase_debug_ktrace.c | 30 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/ |
| D | mali_kbase_devfreq.c | 322 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/ |
| D | cma_heap.c | 328 buffer->pages = kmalloc_array(pagecount, sizeof(*buffer->pages), GFP_KERNEL); in cma_heap_allocate()
|
| /device/soc/rockchip/common/sdk_linux/drivers/mmc/host/ |
| D | dw_mmc-rockchip.c | 226 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/ |
| D | mali_kbase_jd.c | 310 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/ |
| D | mali_kbase_softjobs.c | 553 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/ |
| D | mali_kbase_jd.c | 315 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/ |
| D | rockchip_sip.c | 145 pages = kmalloc_array(page_count, sizeof(struct page *), GFP_KERNEL); in sip_map()
|
| /device/soc/rockchip/rk3588/kernel/drivers/firmware/ |
| D | rockchip_sip.c | 146 pages = kmalloc_array(page_count, sizeof(struct page *), GFP_KERNEL); in sip_map()
|