| /openbsd/src/sys/dev/pci/drm/amd/amdgpu/ |
| D | isp_v4_1_1.c | 53 isp->isp_cell = kcalloc(2, sizeof(struct mfd_cell), GFP_KERNEL); in isp_v4_1_1_hw_init() 62 isp->isp_res = kcalloc(num_res, sizeof(struct resource), in isp_v4_1_1_hw_init() 114 isp->isp_i2c_res = kcalloc(1, sizeof(struct resource), GFP_KERNEL); in isp_v4_1_1_hw_init()
|
| D | isp_v4_1_0.c | 53 isp->isp_cell = kcalloc(2, sizeof(struct mfd_cell), GFP_KERNEL); in isp_v4_1_0_hw_init() 61 isp->isp_res = kcalloc(num_res, sizeof(struct resource), in isp_v4_1_0_hw_init() 113 isp->isp_i2c_res = kcalloc(1, sizeof(struct resource), in isp_v4_1_0_hw_init()
|
| D | amdgpu_acp.c | 269 adev->acp.acp_cell = kcalloc(2, sizeof(struct mfd_cell), in acp_hw_init() 276 adev->acp.acp_res = kcalloc(3, sizeof(struct resource), GFP_KERNEL); in acp_hw_init() 282 i2s_pdata = kcalloc(1, sizeof(struct i2s_platform_data), GFP_KERNEL); in acp_hw_init() 331 adev->acp.acp_cell = kcalloc(ACP_DEVS, sizeof(struct mfd_cell), in acp_hw_init() 339 adev->acp.acp_res = kcalloc(5, sizeof(struct resource), GFP_KERNEL); in acp_hw_init() 345 i2s_pdata = kcalloc(3, sizeof(struct i2s_platform_data), GFP_KERNEL); in acp_hw_init()
|
| D | amdgpu_pmu.c | 449 *fmt_attr = kcalloc(config->num_formats, sizeof(**fmt_attr), in amdgpu_pmu_alloc_pmu_attrs() 455 fmt_attr_group->attrs = kcalloc(config->num_formats + 1, in amdgpu_pmu_alloc_pmu_attrs() 461 *evt_attr = kcalloc(config->num_events, sizeof(**evt_attr), GFP_KERNEL); in amdgpu_pmu_alloc_pmu_attrs() 466 evt_attr_group->attrs = kcalloc(config->num_events + 1, in amdgpu_pmu_alloc_pmu_attrs()
|
| D | amdgpu_umc.c | 60 kcalloc(adev->umc.max_ras_err_cnt_per_query, in amdgpu_umc_page_retirement_mca() 117 kcalloc(adev->umc.max_ras_err_cnt_per_query, in amdgpu_umc_handle_bad_pages() 144 kcalloc(adev->umc.max_ras_err_cnt_per_query, in amdgpu_umc_handle_bad_pages()
|
| D | amdgpu_irq.c | 411 kcalloc(AMDGPU_MAX_IRQ_SRC_ID, in amdgpu_irq_add_id() 424 types = kcalloc(source->num_types, sizeof(atomic_t), in amdgpu_irq_add_id()
|
| D | amdgpu_ras_eeprom.c | 628 buf = kcalloc(num, RAS_TABLE_RECORD_SIZE, GFP_KERNEL); in amdgpu_ras_eeprom_append_table() 770 buf = kcalloc(control->ras_num_recs, RAS_TABLE_RECORD_SIZE, GFP_KERNEL); in amdgpu_ras_eeprom_update_header() 944 buf = kcalloc(num, RAS_TABLE_RECORD_SIZE, GFP_KERNEL); in amdgpu_ras_eeprom_read()
|
| /openbsd/src/sys/dev/pci/drm/amd/display/amdgpu_dm/ |
| D | amdgpu_dm_debugfs.c | 201 rd_buf = kcalloc(rd_buf_size, sizeof(char), GFP_KERNEL); in dp_link_settings_read() 273 wr_buf = kcalloc(wr_buf_size, sizeof(char), GFP_KERNEL); in dp_link_settings_write() 407 wr_buf = kcalloc(wr_buf_size, sizeof(char), GFP_KERNEL); in dp_mst_link_setting() 542 rd_buf = kcalloc(rd_buf_size, sizeof(char), GFP_KERNEL); in dp_phy_settings_read() 625 wr_buf = kcalloc(wr_buf_size, sizeof(char), GFP_KERNEL); in dp_phy_settings_write() 777 wr_buf = kcalloc(wr_buf_size, sizeof(char), GFP_KERNEL); in dp_phy_test_pattern_debugfs_write() 1185 wr_buf = kcalloc(wr_buf_size, sizeof(char), GFP_KERNEL); in dp_dsc_passthrough_set() 1429 wr_buf = kcalloc(wr_buf_size, sizeof(char), GFP_KERNEL); in trigger_hotplug() 1541 rd_buf = kcalloc(rd_buf_size, sizeof(char), GFP_KERNEL); in dp_dsc_clock_en_read() 1630 wr_buf = kcalloc(wr_buf_size, sizeof(char), GFP_KERNEL); in dp_dsc_clock_en_write() [all …]
|
| D | amdgpu_dm_hdcp.c | 714 hdcp_work = kcalloc(max_caps, sizeof(*hdcp_work), GFP_KERNEL); in hdcp_create_workqueue() 718 hdcp_work->srm = kcalloc(PSP_HDCP_SRM_FIRST_GEN_MAX_SIZE, in hdcp_create_workqueue() 724 hdcp_work->srm_temp = kcalloc(PSP_HDCP_SRM_FIRST_GEN_MAX_SIZE, in hdcp_create_workqueue()
|
| /openbsd/src/sys/dev/pci/drm/ |
| D | drm_client_modeset.c | 45 client->modesets = kcalloc(num_crtc + 1, sizeof(*client->modesets), GFP_KERNEL); in drm_client_modeset_create() 59 modeset->connectors = kcalloc(max_connector_count, in drm_client_modeset_create() 525 crtcs = kcalloc(connector_count, sizeof(*crtcs), GFP_KERNEL); in drm_client_pick_crtcs() 600 save_enabled = kcalloc(count, sizeof(bool), GFP_KERNEL); in drm_client_firmware_config() 833 crtcs = kcalloc(connector_count, sizeof(*crtcs), GFP_KERNEL); in drm_client_modeset_probe() 834 modes = kcalloc(connector_count, sizeof(*modes), GFP_KERNEL); in drm_client_modeset_probe() 835 offsets = kcalloc(connector_count, sizeof(*offsets), GFP_KERNEL); in drm_client_modeset_probe() 836 enabled = kcalloc(connector_count, sizeof(bool), GFP_KERNEL); in drm_client_modeset_probe()
|
| D | drm_plane_helper.c | 219 connector_list = kcalloc(num_connectors, sizeof(*connector_list), in drm_plane_helper_update_primary()
|
| D | drm_managed.c | 46 p = kcalloc(n, size, flags); in drmm_kcalloc()
|
| D | drm_damage_helper.c | 141 rects = kcalloc(num_clips, sizeof(*rects), GFP_KERNEL); in drm_atomic_helper_dirtyfb()
|
| D | drm_crtc_helper.c | 606 save_encoder_crtcs = kcalloc(dev->mode_config.num_encoder, in drm_crtc_helper_set_config() 611 save_connector_encoders = kcalloc(dev->mode_config.num_connector, in drm_crtc_helper_set_config()
|
| D | drm_debugfs_crc.c | 226 entries = kcalloc(DRM_CRC_ENTRIES_NR, sizeof(*entries), GFP_KERNEL); in crtc_crc_open()
|
| /openbsd/src/sys/dev/pci/drm/include/linux/ |
| D | slab.h | 35 kcalloc(size_t n, size_t size, int flags) in kcalloc() function
|
| /openbsd/src/sys/dev/pci/drm/amd/display/dc/basics/ |
| D | amdgpu_vector.c | 43 vector->container = kcalloc(capacity, struct_size, GFP_KERNEL); in dal_vector_construct() 69 vector->container = kcalloc(count, struct_size, GFP_KERNEL); in dal_vector_presized_costruct()
|
| /openbsd/src/sys/dev/pci/drm/i915/gvt/ |
| D | vgpu.c | 112 gvt->types = kcalloc(num_types, sizeof(struct intel_vgpu_type), in intel_gvt_init_vgpu_types() 117 gvt->mdev_types = kcalloc(num_types, sizeof(*gvt->mdev_types), in intel_gvt_init_vgpu_types()
|
| /openbsd/src/sys/dev/pci/drm/i915/selftests/ |
| D | i915_request.c | 331 requests = kcalloc(total, sizeof(*requests), GFP_KERNEL); in __igt_breadcrumbs_smoketest() 474 threads = kcalloc(ncpus, sizeof(*threads), GFP_KERNEL); in mock_breadcrumbs_smoketest() 478 t.contexts = kcalloc(t.ncontexts, sizeof(*t.contexts), GFP_KERNEL); in mock_breadcrumbs_smoketest() 1205 request = kcalloc(nengines, sizeof(*request), GFP_KERNEL); in live_all_engines() 1335 request = kcalloc(nengines, sizeof(*request), GFP_KERNEL); in live_sequential_engines() 1628 threads = kcalloc(nengines, sizeof(*threads), GFP_KERNEL); in live_parallel_engines() 1756 smoke = kcalloc(nengines, sizeof(*smoke), GFP_KERNEL); in live_breadcrumbs_smoketest() 1762 threads = kcalloc(ncpus * nengines, sizeof(*threads), GFP_KERNEL); in live_breadcrumbs_smoketest() 1770 smoke[0].contexts = kcalloc(smoke[0].ncontexts, in live_breadcrumbs_smoketest() 2840 stats = kcalloc(nengines, sizeof(*stats), GFP_KERNEL); in perf_series_engines() [all …]
|
| /openbsd/src/sys/dev/pci/drm/i915/display/ |
| D | intel_lpe_audio.c | 98 rsc = kcalloc(2, sizeof(*rsc), GFP_KERNEL); in lpe_audio_platdev_create()
|
| /openbsd/src/sys/dev/pci/drm/amd/pm/powerplay/hwmgr/ |
| D | pp_psm.c | 56 hwmgr->ps = kcalloc(table_entries, size, GFP_KERNEL); in psm_init_power_state_table()
|
| /openbsd/src/sys/dev/pci/drm/i915/ |
| D | i915_pmu.c | 1034 i915_attr = kcalloc(count, sizeof(*i915_attr), GFP_KERNEL); in create_event_attributes() 1038 pmu_attr = kcalloc(count, sizeof(*pmu_attr), GFP_KERNEL); in create_event_attributes() 1043 attr = kcalloc(count * 2 + 1, sizeof(*attr), GFP_KERNEL); in create_event_attributes()
|
| /openbsd/src/sys/dev/pci/drm/i915/gt/ |
| D | intel_ppgtt.c | 43 pd->entry = kcalloc(count, sizeof(*pd->entry), I915_GFP_ALLOW_FAIL); in __alloc_pd()
|
| /openbsd/src/sys/dev/pci/drm/i915/gt/uc/ |
| D | selftest_guc.c | 156 ce = kcalloc(GUC_MAX_CONTEXT_ID, sizeof(*ce), GFP_KERNEL); in intel_guc_steal_guc_ids()
|
| D | intel_guc_capture.c | 278 list = kcalloc(num_regs, sizeof(struct __guc_mmio_reg_descr), GFP_KERNEL); in __alloc_ext_regs() 323 extlists = kcalloc(2, sizeof(struct __guc_mmio_reg_descr_group), GFP_KERNEL); in guc_capture_alloc_steered_lists() 992 new->reginfo[i].regs = kcalloc(guc->capture->max_mmio_per_node, in guc_capture_alloc_one_node()
|