Home
last modified time | relevance | path

Searched refs:kzalloc (Results 1 – 25 of 211) sorted by relevance

123456789

/dragonfly/sys/dev/drm/include/linux/
HDslab.h35 #define kzalloc(size, flags) kmalloc(size, M_DRM, flags | M_ZERO) macro
43 #define kcalloc(n, size, flags) kzalloc((n) * (size), flags)
71 kc = kzalloc(sizeof(struct kmem_cache), flags); in kmem_cache_create()
92 return kzalloc(kc->size, flags); in kmem_cache_zalloc()
/dragonfly/sys/dev/drm/amd/display/dc/dce100/
HDdce100_resource.c414 kzalloc(sizeof(struct dce110_timing_generator), GFP_KERNEL); in dce100_timing_generator_create()
428 kzalloc(sizeof(struct dce110_stream_encoder), GFP_KERNEL); in dce100_stream_encoder_create()
456 struct dce_hwseq *hws = kzalloc(sizeof(struct dce_hwseq), GFP_KERNEL); in dce100_hwseq_create()
501 struct dce_mem_input *dce_mi = kzalloc(sizeof(struct dce_mem_input), in dce100_mem_input_create()
525 kzalloc(sizeof(struct dce_transform), GFP_KERNEL); in dce100_transform_create()
538 struct dce_ipp *ipp = kzalloc(sizeof(struct dce_ipp), GFP_KERNEL); in dce100_ipp_create()
563 kzalloc(sizeof(struct dce110_link_encoder), GFP_KERNEL); in dce100_link_encoder_create()
583 kzalloc(sizeof(struct dce110_opp), GFP_KERNEL); in dce100_opp_create()
599 kzalloc(sizeof(struct aux_engine_dce110), GFP_KERNEL); in dce100_aux_engine_create()
620 kzalloc(sizeof(struct dce110_clk_src), GFP_KERNEL); in dce100_clock_source_create()
[all …]
/dragonfly/sys/dev/drm/amd/display/dc/dce110/
HDdce110_resource.c425 kzalloc(sizeof(struct dce110_timing_generator), GFP_KERNEL); in dce110_timing_generator_create()
439 kzalloc(sizeof(struct dce110_stream_encoder), GFP_KERNEL); in dce110_stream_encoder_create()
472 struct dce_hwseq *hws = kzalloc(sizeof(struct dce_hwseq), GFP_KERNEL); in dce110_hwseq_create()
517 struct dce_mem_input *dce_mi = kzalloc(sizeof(struct dce_mem_input), in dce110_mem_input_create()
541 kzalloc(sizeof(struct dce_transform), GFP_KERNEL); in dce110_transform_create()
554 struct dce_ipp *ipp = kzalloc(sizeof(struct dce_ipp), GFP_KERNEL); in dce110_ipp_create()
578 kzalloc(sizeof(struct dce110_link_encoder), GFP_KERNEL); in dce110_link_encoder_create()
597 kzalloc(sizeof(struct dce110_opp), GFP_KERNEL); in dce110_opp_create()
613 kzalloc(sizeof(struct aux_engine_dce110), GFP_KERNEL); in dce110_aux_engine_create()
634 kzalloc(sizeof(struct dce110_clk_src), GFP_KERNEL); in dce110_clock_source_create()
[all …]
/dragonfly/sys/dev/drm/amd/display/dc/dcn10/
HDdcn10_resource.c554 kzalloc(sizeof(struct dcn10_dpp), GFP_KERNEL); in dcn10_dpp_create()
568 kzalloc(sizeof(struct dcn10_ipp), GFP_KERNEL); in dcn10_ipp_create()
585 kzalloc(sizeof(struct dcn10_opp), GFP_KERNEL); in dcn10_opp_create()
603 kzalloc(sizeof(struct aux_engine_dce110), GFP_KERNEL); in dcn10_aux_engine_create()
617 struct dcn10_mpc *mpc10 = kzalloc(sizeof(struct dcn10_mpc), in dcn10_mpc_create()
634 struct hubbub *hubbub = kzalloc(sizeof(struct hubbub), in dcn10_hubbub_create()
653 kzalloc(sizeof(struct optc), GFP_KERNEL); in dcn10_timing_generator_create()
686 kzalloc(sizeof(struct dcn10_link_encoder), GFP_KERNEL); in dcn10_link_encoder_create()
712 kzalloc(sizeof(struct dce110_clk_src), GFP_KERNEL); in dcn10_clock_source_create()
747 kzalloc(sizeof(struct dcn10_stream_encoder), GFP_KERNEL); in dcn10_stream_encoder_create()
[all …]
/dragonfly/sys/dev/drm/amd/display/dc/dce120/
HDdce120_resource.c371 kzalloc(sizeof(struct dce110_opp), GFP_KERNEL); in dce120_opp_create()
387 kzalloc(sizeof(struct aux_engine_dce110), GFP_KERNEL); in dce120_aux_engine_create()
423 kzalloc(sizeof(*clk_src), GFP_KERNEL); in dce120_clock_source_create()
464 kzalloc(sizeof(struct dce110_timing_generator), GFP_KERNEL); in dce120_timing_generator_create()
582 kzalloc(sizeof(struct dce110_link_encoder), GFP_KERNEL); in dce120_link_encoder_create()
600 struct dce_ipp *ipp = kzalloc(sizeof(struct dce_ipp), GFP_KERNEL); in dce120_ipp_create()
617 kzalloc(sizeof(struct dce110_stream_encoder), GFP_KERNEL); in dce120_stream_encoder_create()
647 struct dce_hwseq *hws = kzalloc(sizeof(struct dce_hwseq), GFP_KERNEL); in dce120_hwseq_create()
687 struct dce_mem_input *dce_mi = kzalloc(sizeof(struct dce_mem_input), in dce120_mem_input_create()
704 kzalloc(sizeof(struct dce_transform), GFP_KERNEL); in dce120_transform_create()
[all …]
/dragonfly/sys/dev/drm/amd/display/dc/dce80/
HDdce80_resource.c445 kzalloc(sizeof(struct dce110_timing_generator), GFP_KERNEL); in dce80_timing_generator_create()
459 kzalloc(sizeof(struct dce110_opp), GFP_KERNEL); in dce80_opp_create()
475 kzalloc(sizeof(struct aux_engine_dce110), GFP_KERNEL); in dce80_aux_engine_create()
492 kzalloc(sizeof(struct dce110_stream_encoder), GFP_KERNEL); in dce80_stream_encoder_create()
521 struct dce_hwseq *hws = kzalloc(sizeof(struct dce_hwseq), GFP_KERNEL); in dce80_hwseq_create()
566 struct dce_mem_input *dce_mi = kzalloc(sizeof(struct dce_mem_input), in dce80_mem_input_create()
590 kzalloc(sizeof(struct dce_transform), GFP_KERNEL); in dce80_transform_create()
614 kzalloc(sizeof(struct dce110_link_encoder), GFP_KERNEL); in dce80_link_encoder_create()
637 kzalloc(sizeof(struct dce110_clk_src), GFP_KERNEL); in dce80_clock_source_create()
662 struct dce_ipp *ipp = kzalloc(sizeof(struct dce_ipp), GFP_KERNEL); in dce80_ipp_create()
[all …]
/dragonfly/sys/dev/drm/amd/display/dc/core/
HDdc_surface.c75 struct dc_plane_state *plane_state = kzalloc(sizeof(*plane_state), in dc_create_plane_state()
167 struct dc_gamma *gamma = kzalloc(sizeof(*gamma), GFP_KERNEL); in dc_create_gamma()
197 struct dc_transfer_func *tf = kzalloc(sizeof(*tf), GFP_KERNEL); in dc_create_transfer_func()
HDdc.c130 struct dc_link *link = kzalloc(sizeof(*link), GFP_KERNEL); in create_links()
148 link->link_enc = kzalloc(sizeof(*link->link_enc), GFP_KERNEL); in create_links()
515 dc_dceip = kzalloc(sizeof(*dc_dceip), GFP_KERNEL); in construct()
523 dc_vbios = kzalloc(sizeof(*dc_vbios), GFP_KERNEL); in construct()
531 dcn_soc = kzalloc(sizeof(*dcn_soc), GFP_KERNEL); in construct()
539 dcn_ip = kzalloc(sizeof(*dcn_ip), GFP_KERNEL); in construct()
548 dc_ctx = kzalloc(sizeof(*dc_ctx), GFP_KERNEL); in construct()
677 struct dc *dc = kzalloc(sizeof(*dc), GFP_KERNEL); in dc_create()
1044 struct dc_state *context = kzalloc(sizeof(struct dc_state), in dc_create_state()
/dragonfly/sys/dev/drm/amd/powerplay/hwmgr/
HDprocess_pptables_v1_0.c171 table = kzalloc(table_size, GFP_KERNEL); in get_vddc_lookup_table()
207 struct phm_ppm_table *ptr = kzalloc(sizeof(ATOM_Tonga_PPM_Table), GFP_KERNEL); in get_platform_power_management_table()
331 table = kzalloc(table_size, GFP_KERNEL); in get_valid_clk()
384 mclk_table = kzalloc(table_size, GFP_KERNEL); in get_mclk_voltage_dependency_table()
431 sclk_table = kzalloc(table_size, GFP_KERNEL); in get_sclk_voltage_dependency_table()
463 sclk_table = kzalloc(table_size, GFP_KERNEL); in get_sclk_voltage_dependency_table()
513 pcie_table = kzalloc(table_size, GFP_KERNEL); in get_pcie_table()
552 pcie_table = kzalloc(table_size, GFP_KERNEL); in get_pcie_table()
597 tdp_table = kzalloc(table_size, GFP_KERNEL); in get_cac_tdp_table()
602 hwmgr->dyn_state.cac_dtp_table = kzalloc(table_size, GFP_KERNEL); in get_cac_tdp_table()
[all …]
HDvega10_processpptables.c308 mm_table = kzalloc(table_size, GFP_KERNEL); in get_mm_clock_voltage_table()
387 tdp_table = kzalloc(table_size, GFP_KERNEL); in get_tdp_table()
535 clk_table = kzalloc(table_size, GFP_KERNEL); in get_socclk_voltage_dependency_table()
569 mclk_table = kzalloc(table_size, GFP_KERNEL); in get_mclk_voltage_dependency_table()
610 clk_table = kzalloc(table_size, GFP_KERNEL); in get_gfxclk_voltage_dependency_table()
676 clk_table = kzalloc(table_size, GFP_KERNEL); in get_pix_clk_voltage_dependency_table()
733 clk_table = kzalloc(table_size, GFP_KERNEL); in get_dcefclk_voltage_dependency_table()
776 pcie_table = kzalloc(table_size, GFP_KERNEL); in get_pcie_table()
838 table = kzalloc(table_size, GFP_KERNEL); in get_valid_clk()
1029 table = kzalloc(table_size, GFP_KERNEL); in get_vddc_lookup_table()
[all …]
HDprocesspptables.c320 tdp_table = kzalloc(table_size, GFP_KERNEL); in get_cac_tdp_table()
387 dep_table = kzalloc(table_size, GFP_KERNEL); in get_clock_voltage_dependency_table()
414 clock_table = kzalloc(table_size, GFP_KERNEL); in get_valid_clk()
1118 uvd_table = kzalloc(table_size, GFP_KERNEL); in get_uvd_clock_voltage_limit_table()
1151 vce_table = kzalloc(table_size, GFP_KERNEL); in get_vce_clock_voltage_limit_table()
1182 samu_table = kzalloc(table_size, GFP_KERNEL); in get_samu_clock_voltage_limit_table()
1210 acp_table = kzalloc(table_size, GFP_KERNEL); in get_acp_clock_voltage_limit_table()
1407 cac_leakage_table = kzalloc(table_size, GFP_KERNEL); in get_cac_leakage_table()
1434 struct phm_ppm_table *ptr = kzalloc(sizeof(struct phm_ppm_table), GFP_KERNEL); in get_platform_power_management_table()
1549 table = kzalloc(size, GFP_KERNEL); in init_phase_shedding_table()
HDvega12_processpptables.c112 table = kzalloc(array_size, GFP_KERNEL); in copy_clock_limits_array()
134 table = kzalloc(array_size, GFP_KERNEL); in copy_overdrive_settings_limits_array()
308 hwmgr->pptable = kzalloc(sizeof(struct phm_ppt_v3_information), GFP_KERNEL); in vega12_pp_tables_initialize()
/dragonfly/sys/dev/drm/
HDdrm_sysfs.c39 connector->kdev = kzalloc(sizeof(struct device), M_WAITOK); in drm_sysfs_connector_add()
93 kdev = kzalloc(sizeof(*kdev), GFP_KERNEL); in drm_sysfs_minor_alloc()
HDlinux_sched.c65 task = kzalloc(sizeof(*task), GFP_KERNEL); in linux_task_alloc()
73 mm = kzalloc(sizeof(*mm), GFP_KERNEL); in linux_task_alloc()
HDdrm_dragonfly.c140 *pdev = kzalloc(sizeof(struct pci_dev), GFP_KERNEL); in drm_init_pdev()
143 (*pdev)->bus = kzalloc(sizeof(struct pci_bus), GFP_KERNEL); in drm_init_pdev()
144 (*pdev)->bus->self = kzalloc(sizeof(struct pci_dev), GFP_KERNEL); in drm_init_pdev()
HDlinux_rcu.c139 nelms = kzalloc(nsize * sizeof(*nelms), GFP_KERNEL); in rcu_expand()
217 rcupcpu = kzalloc(ncpus * sizeof(*rcupcpu), GFP_KERNEL); in init_rcu()
HDdrm_modeset_lock.c96 ctx = kzalloc(sizeof(*ctx), GFP_KERNEL | __GFP_NOFAIL); in drm_modeset_lock_all()
281 info = kzalloc(sizeof(*info), GFP_KERNEL); in modeset_lock()
/dragonfly/sys/dev/drm/amd/display/dc/dce112/
HDdce112_resource.c434 kzalloc(sizeof(struct dce110_timing_generator), GFP_KERNEL); in dce112_timing_generator_create()
448 kzalloc(sizeof(struct dce110_stream_encoder), GFP_KERNEL); in dce112_stream_encoder_create()
477 struct dce_hwseq *hws = kzalloc(sizeof(struct dce_hwseq), GFP_KERNEL); in dce112_hwseq_create()
517 struct dce_mem_input *dce_mi = kzalloc(sizeof(struct dce_mem_input), in dce112_mem_input_create()
540 kzalloc(sizeof(struct dce_transform), GFP_KERNEL); in dce112_transform_create()
567 kzalloc(sizeof(struct dce110_link_encoder), GFP_KERNEL); in dce112_link_encoder_create()
584 struct dce_ipp *ipp = kzalloc(sizeof(struct dce_ipp), GFP_KERNEL); in dce112_ipp_create()
602 kzalloc(sizeof(struct dce110_opp), GFP_KERNEL); in dce112_opp_create()
618 kzalloc(sizeof(struct aux_engine_dce110), GFP_KERNEL); in dce112_aux_engine_create()
639 kzalloc(sizeof(struct dce110_clk_src), GFP_KERNEL); in dce112_clock_source_create()
[all …]
/dragonfly/sys/dev/drm/ttm/
HDttm_bo_manager.c66 node = kzalloc(sizeof(*node), GFP_KERNEL); in ttm_bo_man_get_node()
111 rman = kzalloc(sizeof(*rman), GFP_KERNEL); in ttm_bo_man_init()
/dragonfly/sys/dev/drm/amd/display/dc/dce/
HDdce_clocks.c747 struct dce_dccg *clk_dce = kzalloc(sizeof(*clk_dce), GFP_KERNEL); in dce_dccg_create()
770 struct dce_dccg *clk_dce = kzalloc(sizeof(*clk_dce), GFP_KERNEL); in dce110_dccg_create()
795 struct dce_dccg *clk_dce = kzalloc(sizeof(*clk_dce), GFP_KERNEL); in dce112_dccg_create()
816 struct dce_dccg *clk_dce = kzalloc(sizeof(*clk_dce), GFP_KERNEL); in dce120_dccg_create()
841 struct dce_dccg *clk_dce = kzalloc(sizeof(*clk_dce), GFP_KERNEL); in dcn1_dccg_create()
/dragonfly/sys/dev/drm/amd/display/dc/basics/
HDvector.c99 struct vector *vector = kzalloc(sizeof(struct vector), GFP_KERNEL); in dal_vector_presized_create()
118 struct vector *vector = kzalloc(sizeof(struct vector), GFP_KERNEL); in dal_vector_create()
/dragonfly/sys/dev/drm/amd/amdgpu/
HDamdgpu_dpm.c290 amdgpu_table->entries = kzalloc(size, GFP_KERNEL); in amdgpu_parse_clk_voltage_dep_table()
502 … adev->pm.dpm.dyn_state.cac_leakage_table.entries = kzalloc(size, GFP_KERNEL); in amdgpu_parse_extended_power_table()
557 kzalloc(size, GFP_KERNEL); in amdgpu_parse_extended_power_table()
612 kzalloc(size, GFP_KERNEL); in amdgpu_parse_extended_power_table()
644 kzalloc(size, GFP_KERNEL); in amdgpu_parse_extended_power_table()
667 kzalloc(sizeof(struct amdgpu_ppm_table), GFP_KERNEL); in amdgpu_parse_extended_power_table()
702 kzalloc(size, GFP_KERNEL); in amdgpu_parse_extended_power_table()
725 kzalloc(sizeof(struct amdgpu_cac_tdp_table), GFP_KERNEL); in amdgpu_parse_extended_power_table()
HDamdgpu_gtt_mgr.c54 mgr = kzalloc(sizeof(*mgr), GFP_KERNEL); in amdgpu_gtt_mgr_init()
179 node = kzalloc(sizeof(*node), GFP_KERNEL); in amdgpu_gtt_mgr_new()
/dragonfly/sys/dev/drm/radeon/
HDr600_dpm.c829 radeon_table->entries = kzalloc(size, GFP_KERNEL); in r600_parse_clk_voltage_dep_table()
994 kzalloc(psl->ucNumEntries * in r600_parse_extended_power_table()
1040 … rdev->pm.dpm.dyn_state.cac_leakage_table.entries = kzalloc(size, GFP_KERNEL); in r600_parse_extended_power_table()
1095 kzalloc(size, GFP_KERNEL); in r600_parse_extended_power_table()
1149 kzalloc(size, GFP_KERNEL); in r600_parse_extended_power_table()
1181 kzalloc(size, GFP_KERNEL); in r600_parse_extended_power_table()
1204 kzalloc(sizeof(struct radeon_ppm_table), GFP_KERNEL); in r600_parse_extended_power_table()
1239 kzalloc(size, GFP_KERNEL); in r600_parse_extended_power_table()
1262 kzalloc(sizeof(struct radeon_cac_tdp_table), GFP_KERNEL); in r600_parse_extended_power_table()
/dragonfly/sys/dev/drm/amd/display/dc/i2caux/diagnostics/
HDi2caux_diag.c87 struct i2caux *i2caux = kzalloc(sizeof(struct i2caux), in dal_i2caux_diag_fpga_create()

123456789