Home
last modified time | relevance | path

Searched refs:asic_type (Results 1 – 25 of 66) sorted by relevance

123

/linux/sound/soc/amd/
H A Dacp-pcm-dma.c206 u32 asic_type) in set_acp_sysmem_dma_descriptors() argument
218 switch (asic_type) { in set_acp_sysmem_dma_descriptors()
235 switch (asic_type) { in set_acp_sysmem_dma_descriptors()
264 u16 dma_dscr_idx, u32 asic_type) in set_acp_to_i2s_dma_descriptors() argument
332 u32 asic_type) in config_acp_dma() argument
350 rtd->dma_dscr_idx_1, asic_type); in config_acp_dma()
355 rtd->dma_dscr_idx_2, asic_type); in config_acp_dma()
552 static int acp_init(void __iomem *acp_mmio, u32 asic_type) in acp_init() argument
638 if (asic_type != CHIP_STONEY) { in acp_init()
783 switch (intr_data->asic_type) { in acp_dma_open()
[all …]
H A Dacp.h166 u32 asic_type; member
/linux/drivers/accel/habanalabs/common/
H A Dhabanalabs_drv.c123 enum hl_asic_type asic_type = ASIC_INVALID; in get_asic_type() local
127 asic_type = ASIC_GOYA; in get_asic_type()
130 asic_type = ASIC_GAUDI; in get_asic_type()
133 asic_type = ASIC_GAUDI_SEC; in get_asic_type()
138 asic_type = ASIC_GAUDI2; in get_asic_type()
141 asic_type = ASIC_GAUDI2B; in get_asic_type()
144 asic_type = ASIC_GAUDI2C; in get_asic_type()
147 asic_type = ASIC_GAUDI2D; in get_asic_type()
157 return asic_type; in get_asic_type()
160 static bool is_asic_secured(enum hl_asic_type asic_type) in is_asic_secured() argument
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgfxhub_v1_1.c52 if (adev->asic_type == CHIP_ALDEBARAN) { in gfxhub_v1_1_get_xgmi_info()
70 switch (adev->asic_type) { in gfxhub_v1_1_get_xgmi_info()
94 if (adev->asic_type == CHIP_ALDEBARAN) { in gfxhub_v1_1_get_xgmi_info()
H A Damdgpu_acp.c307 adev->acp.acp_cell[0].platform_data = &adev->asic_type; in acp_hw_init()
308 adev->acp.acp_cell[0].pdata_size = sizeof(adev->asic_type); in acp_hw_init()
345 switch (adev->asic_type) { in acp_hw_init()
357 switch (adev->asic_type) { in acp_hw_init()
374 switch (adev->asic_type) { in acp_hw_init()
416 adev->acp.acp_cell[0].platform_data = &adev->asic_type; in acp_hw_init()
417 adev->acp.acp_cell[0].pdata_size = sizeof(adev->asic_type); in acp_hw_init()
H A Dmmhub_v1_0.c505 if (adev->asic_type != CHIP_RAVEN) { in mmhub_v1_0_update_medium_grain_clock_gating()
521 if (adev->asic_type != CHIP_RAVEN) in mmhub_v1_0_update_medium_grain_clock_gating()
538 if (adev->asic_type != CHIP_RAVEN) in mmhub_v1_0_update_medium_grain_clock_gating()
551 if (adev->asic_type != CHIP_RAVEN) in mmhub_v1_0_update_medium_grain_clock_gating()
557 if (adev->asic_type != CHIP_RAVEN && def2 != data2) in mmhub_v1_0_update_medium_grain_clock_gating()
583 switch (adev->asic_type) { in mmhub_v1_0_set_clockgating()
H A Dgmc_v8_0.c123 switch (adev->asic_type) { in gmc_v8_0_init_golden_registers()
224 switch (adev->asic_type) { in gmc_v8_0_init_microcode()
589 switch (adev->asic_type) { in gmc_v8_0_mc_init()
1106 if ((adev->asic_type == CHIP_FIJI) || in gmc_v8_0_sw_init()
1107 (adev->asic_type == CHIP_VEGAM)) in gmc_v8_0_sw_init()
1213 if (adev->asic_type == CHIP_TONGA) { in gmc_v8_0_hw_init()
1219 } else if (adev->asic_type == CHIP_POLARIS11 || in gmc_v8_0_hw_init()
1220 adev->asic_type == CHIP_POLARIS10 || in gmc_v8_0_hw_init()
1221 adev->asic_type == CHIP_POLARIS12) { in gmc_v8_0_hw_init()
1676 switch (adev->asic_type) { in gmc_v8_0_set_clockgating_state()
H A Disp_v4_1_0.c80 isp->isp_pdata->asic_type = adev->asic_type; in isp_v4_1_0_hw_init()
H A Damdgpu_cgs.c142 if (adev->asic_type >= CHIP_TOPAZ) in fw_type_convert()
254 switch (adev->asic_type) { in amdgpu_cgs_get_firmware_info()
H A Ddce_v8_0.c420 switch (adev->asic_type) { in dce_v8_0_get_num_crtc()
1415 if (adev->asic_type == CHIP_KAVERI) /* KV: 4 streams, 7 endpoints */ in dce_v8_0_audio_init()
1417 else if ((adev->asic_type == CHIP_KABINI) || in dce_v8_0_audio_init()
1418 (adev->asic_type == CHIP_MULLINS)) /* KB/ML: 2 streams, 3 endpoints */ in dce_v8_0_audio_init()
1420 else if ((adev->asic_type == CHIP_BONAIRE) || in dce_v8_0_audio_init()
1421 (adev->asic_type == CHIP_HAWAII))/* BN/HW: 6 streams, 7 endpoints */ in dce_v8_0_audio_init()
2165 if ((adev->asic_type == CHIP_KABINI) || in dce_v8_0_pick_pll()
2166 (adev->asic_type == CHIP_MULLINS)) { in dce_v8_0_pick_pll()
2507 if ((adev->asic_type == CHIP_KAVERI) || in dce_v8_0_crtc_disable()
2508 (adev->asic_type == CHIP_BONAIRE) || in dce_v8_0_crtc_disable()
[all …]
H A Damdgpu_device.c642 switch (adev->asic_type) { in amdgpu_device_detect_runtime_pm_mode()
1877 (adev->asic_type >= CHIP_BONAIRE) ? 1 << 5 in amdgpu_device_resize_fb_bar()
1928 if (adev->asic_type == CHIP_FIJI) { in amdgpu_device_need_post()
1954 if (adev->asic_type >= CHIP_BONAIRE) in amdgpu_device_need_post()
2198 adev->asic_type < CHIP_RAVEN) in amdgpu_device_init_apu_flags()
2201 switch (adev->asic_type) { in amdgpu_device_init_apu_flags()
2487 switch (adev->asic_type) { in amdgpu_device_parse_gpu_info_fw()
2542 if (adev->asic_type == CHIP_NAVI12) in amdgpu_device_parse_gpu_info_fw()
2644 switch (adev->asic_type) { in amdgpu_device_ip_early_init()
2722 if (amdgpu_sriov_vf(adev) && adev->asic_type == CHIP_SIENNA_CICHLID) in amdgpu_device_ip_early_init()
[all …]
H A Disp_v4_1_1.c290 isp->isp_pdata->asic_type = adev->asic_type; in isp_v4_1_1_hw_init()
H A Datombios_crtc.c500 if (adev->asic_type == CHIP_TAHITI || in amdgpu_atombios_crtc_set_disp_eng_pll()
501 adev->asic_type == CHIP_PITCAIRN || in amdgpu_atombios_crtc_set_disp_eng_pll()
502 adev->asic_type == CHIP_VERDE || in amdgpu_atombios_crtc_set_disp_eng_pll()
503 adev->asic_type == CHIP_OLAND) in amdgpu_atombios_crtc_set_disp_eng_pll()
H A Dsoc15.c558 if (adev->asic_type == CHIP_VEGA20) { in soc15_asic_reset_method()
659 if (adev->asic_type == CHIP_VEGA20) { in soc15_supports_baco()
719 switch (adev->asic_type) { in soc15_reg_base_init()
736 DRM_ERROR("Unsupported asic type: %d!\n", adev->asic_type); in soc15_reg_base_init()
H A Dgmc_v7_0.c74 switch (adev->asic_type) { in gmc_v7_0_init_golden_registers()
142 switch (adev->asic_type) { in gmc_v7_0_init_microcode()
398 switch (adev->asic_type) { in gmc_v7_0_mc_init()
701 if (adev->asic_type == CHIP_KAVERI) { in gmc_v7_0_gart_enable()
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dkv_dpm.c764 if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) in kv_unforce_levels()
1387 if (adev->asic_type == CHIP_MULLINS) in kv_dpm_disable()
1747 if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) in kv_dpm_powergate_acp()
1928 if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) { in kv_dpm_set_power_state()
1954 if (adev->asic_type == CHIP_MULLINS) in kv_dpm_set_power_state()
2008 if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) {
2113 if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) in kv_force_dpm_highest()
2133 if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) in kv_force_dpm_lowest()
2289 if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) { in kv_apply_state_adjust_rules()
2350 if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) { in kv_calculate_nbps_level_settings()
[all …]
/linux/include/drm/amd/
H A Disp.h37 u32 asic_type; member
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_device.c192 uint32_t asic_type = kfd->adev->asic_type; in kfd_device_info_init() local
243 if (asic_type != CHIP_KAVERI && in kfd_device_info_init()
244 asic_type != CHIP_HAWAII && in kfd_device_info_init()
245 asic_type != CHIP_TONGA) in kfd_device_info_init()
248 if (asic_type != CHIP_HAWAII && !vf) in kfd_device_info_init()
259 switch (adev->asic_type) { in kgd2kfd_probe()
477 amdgpu_asic_name[adev->asic_type], vf ? "VF" : ""); in kgd2kfd_probe()
H A Dcik_event_interrupt.c46 dev->adev->asic_type == CHIP_HAWAII) { in cik_event_interrupt_isr()
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_dev.c133 u8 asic_type = ionic->idev.dev_info.asic_type; in ionic_doorbell_wa() local
135 return !asic_type || asic_type == IONIC_ASIC_TYPE_ELBA; in ionic_doorbell_wa()
185 idev->dev_info.asic_type = ioread8(&idev->dev_info_regs->asic_type); in ionic_init_devinfo()
H A Dionic_devlink.c35 snprintf(buf, sizeof(buf), "0x%x", idev->dev_info.asic_type); in ionic_dl_info_get()
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_baco.c71 switch (adev->asic_type) { in smu7_baco_set_state()
H A Dsmu7_hwmgr.c1960 if (((adev->asic_type == CHIP_POLARIS10) && hwmgr->is_kicker) || in smu7_init_dpm_defaults()
1961 ((adev->asic_type == CHIP_POLARIS11) && hwmgr->is_kicker) || in smu7_init_dpm_defaults()
1962 (adev->asic_type == CHIP_POLARIS12) || in smu7_init_dpm_defaults()
1963 (adev->asic_type == CHIP_VEGAM)) in smu7_init_dpm_defaults()
3968 if ((adev->asic_type != CHIP_HAWAII) && in smu7_get_gpu_power()
3969 (adev->asic_type != CHIP_BONAIRE) && in smu7_get_gpu_power()
3970 (adev->asic_type != CHIP_FIJI) && in smu7_get_gpu_power()
3971 (adev->asic_type != CHIP_TONGA)) { in smu7_get_gpu_power()
4052 if ((adev->asic_type != CHIP_HAWAII) && in smu7_read_sensor()
4053 (adev->asic_type != CHIP_BONAIRE) && in smu7_read_sensor()
[all …]
/linux/drivers/net/ethernet/amd/pds_core/
H A Ddev.c251 pdsc->dev_info.asic_type = ioread8(&pdsc->info_regs->asic_type); in pdsc_init_devinfo()
/linux/include/linux/pds/
H A Dpds_core_if.h517 u8 asic_type; member

123