Home
last modified time | relevance | path

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

12345678910>>...21

/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce110/
H A Damdgpu_dce110_resource.c511 kzalloc(sizeof(struct dce110_timing_generator), GFP_KERNEL); in dce110_timing_generator_create()
525 kzalloc(sizeof(struct dce110_stream_encoder), GFP_KERNEL); in dce110_stream_encoder_create()
558 struct dce_hwseq *hws = kzalloc(sizeof(struct dce_hwseq), GFP_KERNEL); in dce110_hwseq_create()
603 struct dce_mem_input *dce_mi = kzalloc(sizeof(struct dce_mem_input), in dce110_mem_input_create()
627 kzalloc(sizeof(struct dce_transform), GFP_KERNEL); in dce110_transform_create()
640 struct dce_ipp *ipp = kzalloc(sizeof(struct dce_ipp), GFP_KERNEL); in dce110_ipp_create()
663 kzalloc(sizeof(struct dce110_link_encoder), GFP_KERNEL); in dce110_link_encoder_create()
686 kzalloc(sizeof(struct dce110_opp), GFP_KERNEL); in dce110_opp_create()
701 kzalloc(sizeof(struct aux_engine_dce110), GFP_KERNEL); in dce110_aux_engine_create()
739 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dce110_i2c_hw_create()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce100/
H A Damdgpu_dce100_resource.c462 kzalloc(sizeof(struct dce110_timing_generator), GFP_KERNEL); in dce100_timing_generator_create()
476 kzalloc(sizeof(struct dce110_stream_encoder), GFP_KERNEL); in dce100_stream_encoder_create()
504 struct dce_hwseq *hws = kzalloc(sizeof(struct dce_hwseq), GFP_KERNEL); in dce100_hwseq_create()
557 struct dce_mem_input *dce_mi = kzalloc(sizeof(struct dce_mem_input), in dce100_mem_input_create()
581 kzalloc(sizeof(struct dce_transform), GFP_KERNEL); in dce100_transform_create()
594 struct dce_ipp *ipp = kzalloc(sizeof(struct dce_ipp), GFP_KERNEL); in dce100_ipp_create()
617 kzalloc(sizeof(struct dce110_link_encoder), GFP_KERNEL); in dce100_link_encoder_create()
640 kzalloc(sizeof(struct dce110_opp), GFP_KERNEL); in dce100_opp_create()
655 kzalloc(sizeof(struct aux_engine_dce110), GFP_KERNEL); in dce100_aux_engine_create()
693 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dce100_i2c_hw_create()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce80/
H A Damdgpu_dce80_resource.c502 kzalloc(sizeof(struct dce110_timing_generator), GFP_KERNEL); in dce80_timing_generator_create()
516 kzalloc(sizeof(struct dce110_opp), GFP_KERNEL); in dce80_opp_create()
531 kzalloc(sizeof(struct aux_engine_dce110), GFP_KERNEL); in dce80_aux_engine_create()
569 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dce80_i2c_hw_create()
584 kzalloc(sizeof(struct dce_i2c_sw), GFP_KERNEL); in dce80_i2c_sw_create()
598 kzalloc(sizeof(struct dce110_stream_encoder), GFP_KERNEL); in dce80_stream_encoder_create()
627 struct dce_hwseq *hws = kzalloc(sizeof(struct dce_hwseq), GFP_KERNEL); in dce80_hwseq_create()
672 struct dce_mem_input *dce_mi = kzalloc(sizeof(struct dce_mem_input), in dce80_mem_input_create()
696 kzalloc(sizeof(struct dce_transform), GFP_KERNEL); in dce80_transform_create()
718 kzalloc(sizeof(struct dce110_link_encoder), GFP_KERNEL); in dce80_link_encoder_create()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce120/
H A Damdgpu_dce120_resource.c430 kzalloc(sizeof(struct dce110_opp), GFP_KERNEL); in dce120_opp_create()
444 kzalloc(sizeof(struct aux_engine_dce110), GFP_KERNEL); in dce120_aux_engine_create()
482 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dce120_i2c_hw_create()
539 kzalloc(sizeof(*clk_src), GFP_KERNEL); in dce120_clock_source_create()
580 kzalloc(sizeof(struct dce110_timing_generator), GFP_KERNEL); in dce120_timing_generator_create()
704 kzalloc(sizeof(struct dce110_link_encoder), GFP_KERNEL); in dce120_link_encoder_create()
726 struct dce_ipp *ipp = kzalloc(sizeof(struct dce_ipp), GFP_KERNEL); in dce120_ipp_create()
743 kzalloc(sizeof(struct dce110_stream_encoder), GFP_KERNEL); in dce120_stream_encoder_create()
786 struct dce_hwseq *hws = kzalloc(sizeof(struct dce_hwseq), GFP_KERNEL); in dce120_hwseq_create()
800 struct dce_hwseq *hws = kzalloc(sizeof(struct dce_hwseq), GFP_KERNEL); in dce121_hwseq_create()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn10/
H A Damdgpu_dcn10_resource.c627 kzalloc(sizeof(struct dcn10_dpp), GFP_KERNEL); in dcn10_dpp_create()
641 kzalloc(sizeof(struct dcn10_ipp), GFP_KERNEL); in dcn10_ipp_create()
658 kzalloc(sizeof(struct dcn10_opp), GFP_KERNEL); in dcn10_opp_create()
675 kzalloc(sizeof(struct aux_engine_dce110), GFP_KERNEL); in dcn10_aux_engine_create()
713 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dcn10_i2c_hw_create()
725 struct dcn10_mpc *mpc10 = kzalloc(sizeof(struct dcn10_mpc), in dcn10_mpc_create()
742 struct dcn10_hubbub *dcn10_hubbub = kzalloc(sizeof(struct dcn10_hubbub), in dcn10_hubbub_create()
761 kzalloc(sizeof(struct optc), GFP_KERNEL); in dcn10_timing_generator_create()
793 kzalloc(sizeof(struct dcn10_link_encoder), GFP_KERNEL); in dcn10_link_encoder_create()
822 kzalloc(sizeof(struct dce110_clk_src), GFP_KERNEL); in dcn10_clock_source_create()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_psp.c249 cmd = kzalloc(sizeof(struct psp_gfx_cmd_resp), GFP_KERNEL); in psp_load_toc()
309 cmd = kzalloc(sizeof(struct psp_gfx_cmd_resp), GFP_KERNEL); in psp_tmr_load()
351 cmd = kzalloc(sizeof(struct psp_gfx_cmd_resp), GFP_KERNEL); in psp_asd_load()
391 cmd = kzalloc(sizeof(struct psp_gfx_cmd_resp), GFP_KERNEL); in psp_asd_unload()
424 cmd = kzalloc(sizeof(struct psp_gfx_cmd_resp), GFP_KERNEL); in psp_reg_program()
484 cmd = kzalloc(sizeof(struct psp_gfx_cmd_resp), GFP_KERNEL); in psp_ta_invoke()
507 cmd = kzalloc(sizeof(struct psp_gfx_cmd_resp), GFP_KERNEL); in psp_xgmi_load()
547 cmd = kzalloc(sizeof(struct psp_gfx_cmd_resp), GFP_KERNEL); in psp_xgmi_unload()
647 cmd = kzalloc(sizeof(struct psp_gfx_cmd_resp), GFP_KERNEL); in psp_ras_load()
684 cmd = kzalloc(sizeof(struct psp_gfx_cmd_resp), GFP_KERNEL); in psp_ras_unload()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/
H A Damdgpu_process_pptables_v1_0.c176 table = kzalloc(table_size, GFP_KERNEL); in get_vddc_lookup_table()
212 struct phm_ppm_table *ptr = kzalloc(sizeof(ATOM_Tonga_PPM_Table), GFP_KERNEL); in get_platform_power_management_table()
336 table = kzalloc(table_size, GFP_KERNEL); in get_valid_clk()
389 mclk_table = kzalloc(table_size, GFP_KERNEL); in get_mclk_voltage_dependency_table()
436 sclk_table = kzalloc(table_size, GFP_KERNEL); in get_sclk_voltage_dependency_table()
468 sclk_table = kzalloc(table_size, GFP_KERNEL); in get_sclk_voltage_dependency_table()
518 pcie_table = kzalloc(table_size, GFP_KERNEL); in get_pcie_table()
557 pcie_table = kzalloc(table_size, GFP_KERNEL); in get_pcie_table()
602 tdp_table = kzalloc(table_size, GFP_KERNEL); in get_cac_tdp_table()
607 hwmgr->dyn_state.cac_dtp_table = kzalloc(table_size, GFP_KERNEL); in get_cac_tdp_table()
[all …]
H A Damdgpu_vega10_processpptables.c362 mm_table = kzalloc(table_size, GFP_KERNEL); in get_mm_clock_voltage_table()
441 tdp_table = kzalloc(table_size, GFP_KERNEL); in get_tdp_table()
589 clk_table = kzalloc(table_size, GFP_KERNEL); in get_socclk_voltage_dependency_table()
623 mclk_table = kzalloc(table_size, GFP_KERNEL); in get_mclk_voltage_dependency_table()
664 clk_table = kzalloc(table_size, GFP_KERNEL); in get_gfxclk_voltage_dependency_table()
730 clk_table = kzalloc(table_size, GFP_KERNEL); in get_pix_clk_voltage_dependency_table()
787 clk_table = kzalloc(table_size, GFP_KERNEL); in get_dcefclk_voltage_dependency_table()
830 pcie_table = kzalloc(table_size, GFP_KERNEL); in get_pcie_table()
892 table = kzalloc(table_size, GFP_KERNEL); in get_valid_clk()
1083 table = kzalloc(table_size, GFP_KERNEL); in get_vddc_lookup_table()
[all …]
H A Damdgpu_processpptables.c325 tdp_table = kzalloc(table_size, GFP_KERNEL); in get_cac_tdp_table()
392 dep_table = kzalloc(table_size, GFP_KERNEL); in get_clock_voltage_dependency_table()
419 clock_table = kzalloc(table_size, GFP_KERNEL); in get_valid_clk()
1098 uvd_table = kzalloc(table_size, GFP_KERNEL); in get_uvd_clock_voltage_limit_table()
1131 vce_table = kzalloc(table_size, GFP_KERNEL); in get_vce_clock_voltage_limit_table()
1162 samu_table = kzalloc(table_size, GFP_KERNEL); in get_samu_clock_voltage_limit_table()
1190 acp_table = kzalloc(table_size, GFP_KERNEL); in get_acp_clock_voltage_limit_table()
1387 cac_leakage_table = kzalloc(table_size, GFP_KERNEL); in get_cac_leakage_table()
1414 struct phm_ppm_table *ptr = kzalloc(sizeof(struct phm_ppm_table), GFP_KERNEL); in get_platform_power_management_table()
1529 table = kzalloc(size, GFP_KERNEL); in init_phase_shedding_table()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn21/
H A Damdgpu_dcn21_resource.c679 kzalloc(sizeof(struct dcn10_ipp), GFP_KERNEL); in dcn21_ipp_create()
696 kzalloc(sizeof(struct dcn20_dpp), GFP_KERNEL); in dcn21_dpp_create()
715 kzalloc(sizeof(struct aux_engine_dce110), GFP_KERNEL); in dcn21_aux_engine_create()
753 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dcn21_i2c_hw_create()
1139 …display_e2e_pipe_params_st *pipes = kzalloc(dc->res_pool->pipe_count * sizeof(display_e2e_pipe_par… in dcn21_validate_bandwidth()
1197 kzalloc(sizeof(struct dce110_clk_src), GFP_KERNEL); in dcn21_clock_source_create()
1217 kzalloc(sizeof(struct dcn21_hubp), GFP_KERNEL); in dcn21_hubp_create()
1235 struct dcn20_hubbub *hubbub = kzalloc(sizeof(struct dcn20_hubbub), in dcn21_hubbub_create()
1263 kzalloc(sizeof(struct dcn20_opp), GFP_KERNEL); in dcn21_opp_create()
1280 kzalloc(sizeof(struct optc), GFP_KERNEL); in dcn21_timing_generator_create()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce112/
H A Damdgpu_dce112_resource.c488 kzalloc(sizeof(struct dce110_timing_generator), GFP_KERNEL); in dce112_timing_generator_create()
502 kzalloc(sizeof(struct dce110_stream_encoder), GFP_KERNEL); in dce112_stream_encoder_create()
531 struct dce_hwseq *hws = kzalloc(sizeof(struct dce_hwseq), GFP_KERNEL); in dce112_hwseq_create()
571 struct dce_mem_input *dce_mi = kzalloc(sizeof(struct dce_mem_input), in dce112_mem_input_create()
594 kzalloc(sizeof(struct dce_transform), GFP_KERNEL); in dce112_transform_create()
620 kzalloc(sizeof(struct dce110_link_encoder), GFP_KERNEL); in dce112_link_encoder_create()
641 struct dce_ipp *ipp = kzalloc(sizeof(struct dce_ipp), GFP_KERNEL); in dce112_ipp_create()
658 kzalloc(sizeof(struct dce110_opp), GFP_KERNEL); in dce112_opp_create()
673 kzalloc(sizeof(struct aux_engine_dce110), GFP_KERNEL); in dce112_aux_engine_create()
711 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dce112_i2c_hw_create()
[all …]
/netbsd-src/sys/external/bsd/drm2/include/linux/
H A Dvmalloc.h67 return kzalloc(size, GFP_KERNEL); in vmalloc_user()
73 return kzalloc(size, GFP_KERNEL); in vzalloc()
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/
H A Dnouveau_nv04_fence.c85 struct nv04_fence_chan *fctx = kzalloc(sizeof(*fctx), GFP_KERNEL); in nv04_fence_context_new()
110 priv = drm->fence = kzalloc(sizeof(*priv), GFP_KERNEL); in nv04_fence_create()
H A Dnouveau_nv10_fence.c76 fctx = chan->fence = kzalloc(sizeof(*fctx), GFP_KERNEL); in nv10_fence_context_new()
105 priv = drm->fence = kzalloc(sizeof(*priv), GFP_KERNEL); in nv10_fence_create()
H A Dnouveau_nv50_fence.c50 fctx = chan->fence = kzalloc(sizeof(*fctx), GFP_KERNEL); in nv50_fence_context_new()
78 priv = drm->fence = kzalloc(sizeof(*priv), GFP_KERNEL); in nv50_fence_create()
H A Dnouveau_nv17_fence.c89 fctx = chan->fence = kzalloc(sizeof(*fctx), GFP_KERNEL); in nv17_fence_context_new()
125 priv = drm->fence = kzalloc(sizeof(*priv), GFP_KERNEL); in nv17_fence_create()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/display/
H A Dintel_dsi.c92 host = kzalloc(sizeof(*host), GFP_KERNEL); in intel_dsi_host_init()
107 device = kzalloc(sizeof(*device), GFP_KERNEL); in intel_dsi_host_init()
H A Dintel_connector.c54 conn_state = kzalloc(sizeof(*conn_state), GFP_KERNEL); in intel_connector_init()
68 connector = kzalloc(sizeof(*connector), GFP_KERNEL); in intel_connector_alloc()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/
H A Dkfd_mqd_manager.c57 mqd_mem_obj = kzalloc(sizeof(struct kfd_mem_obj), GFP_KERNEL); in allocate_hiq_mqd()
74 mqd_mem_obj = kzalloc(sizeof(struct kfd_mem_obj), GFP_KERNEL); in allocate_sdma_mqd()
/netbsd-src/sys/external/bsd/drm2/dist/drm/ttm/
H A Dttm_bo_manager.c72 node = kzalloc(sizeof(*node), GFP_KERNEL); in ttm_bo_man_get_node()
117 rman = kzalloc(sizeof(*rman), GFP_KERNEL); in ttm_bo_man_init()
/netbsd-src/sys/external/bsd/drm2/dist/drm/
H A Ddrm_atomic_state_helper.c114 kzalloc(sizeof(*crtc->state), GFP_KERNEL); in drm_atomic_helper_crtc_reset()
289 plane->state = kzalloc(sizeof(*plane->state), GFP_KERNEL); in drm_atomic_helper_plane_reset()
429 kzalloc(sizeof(*conn_state), GFP_KERNEL); in drm_atomic_helper_connector_reset()
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/i2c/
H A Dnouveau_nvkm_subdev_i2c_anx9805.c115 if (!(bus = kzalloc(sizeof(*bus), GFP_KERNEL))) in anx9805_bus_new()
244 if (!(aux = kzalloc(sizeof(*aux), GFP_KERNEL))) in anx9805_aux_new()
275 if (!(pad = kzalloc(sizeof(*pad), GFP_KERNEL))) in anx9805_pad_new()
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fault/
H A Dnouveau_nvkm_subdev_fault_base.c100 if (!(buffer = kzalloc(sizeof(*buffer), GFP_KERNEL))) in nvkm_fault_oneinit_buffer()
181 if (!(fault = *pfault = kzalloc(sizeof(*fault), GFP_KERNEL))) in nvkm_fault_new_()
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/pm/
H A Dnouveau_nvkm_engine_pm_base.c345 ctr = *pctr = kzalloc(sizeof(*ctr), GFP_KERNEL); in nvkm_perfctr_new()
421 if (!(dom = kzalloc(sizeof(*dom), GFP_KERNEL))) in nvkm_perfdom_new_()
656 if (!(perfmon = kzalloc(sizeof(*perfmon), GFP_KERNEL))) in nvkm_perfmon_new()
739 src = kzalloc(sizeof(*src), GFP_KERNEL); in nvkm_perfsrc_new()
750 src->name = kzalloc(len, GFP_KERNEL); in nvkm_perfsrc_new()
787 dom = kzalloc(struct_size(dom, signal, sdom->signal_nr), in nvkm_perfdom_new()
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/mpeg/
H A Dnouveau_nvkm_engine_mpeg_nv44.c116 if (!(chan = kzalloc(sizeof(*chan), GFP_KERNEL))) in nv44_mpeg_chan_new()
215 if (!(mpeg = kzalloc(sizeof(*mpeg), GFP_KERNEL))) in nv44_mpeg_new()

12345678910>>...21