| /linux/sound/soc/amd/ |
| H A D | acp-pcm-dma.c | 206 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() 781 switch (intr_data->asic_type) { in acp_dma_open() [all...] |
| H A D | acp.h | 166 u32 asic_type; member
|
| /linux/drivers/accel/habanalabs/common/ |
| H A D | habanalabs_drv.c | 123 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 D | gfxhub_v1_1.c | 52 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 D | amdgpu_acp.c | 306 adev->acp.acp_cell[0].platform_data = &adev->asic_type; in acp_hw_init() 307 adev->acp.acp_cell[0].pdata_size = sizeof(adev->asic_type); in acp_hw_init() 344 switch (adev->asic_type) { in acp_hw_init() 356 switch (adev->asic_type) { in acp_hw_init() 373 switch (adev->asic_type) { in acp_hw_init() 415 adev->acp.acp_cell[0].platform_data = &adev->asic_type; in acp_hw_init() 416 adev->acp.acp_cell[0].pdata_size = sizeof(adev->asic_type); in acp_hw_init()
|
| H A D | isp_v4_1_0.c | 80 isp->isp_pdata->asic_type = adev->asic_type; in isp_v4_1_0_hw_init()
|
| H A D | amdgpu_uvd.c | 195 switch (adev->asic_type) { in amdgpu_uvd_sw_init() 278 if (adev->asic_type < CHIP_VEGA20) { in amdgpu_uvd_sw_init() 299 if ((adev->asic_type == CHIP_POLARIS10 || in amdgpu_uvd_sw_init() 300 adev->asic_type == CHIP_POLARIS11) && in amdgpu_uvd_sw_init() 355 switch (adev->asic_type) { in amdgpu_uvd_sw_init() 369 adev->uvd.use_ctx_buf = adev->asic_type >= CHIP_POLARIS10; in amdgpu_uvd_sw_init() 436 if (adev->asic_type < CHIP_POLARIS10) { in amdgpu_uvd_prepare_suspend() 1125 if (adev->asic_type >= CHIP_VEGA10) in amdgpu_uvd_send_msg()
|
| H A D | mmhub_v1_0.c | 505 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 D | gfx_v8_0.c | 740 switch (adev->asic_type) { in gfx_v8_0_init_golden_registers() 932 if ((adev->asic_type != CHIP_STONEY) && in gfx_v8_0_free_microcode() 933 (adev->asic_type != CHIP_TOPAZ)) in gfx_v8_0_free_microcode() 951 switch (adev->asic_type) { in gfx_v8_0_init_microcode() 980 dev_warn(adev->dev, "Unsupported asic_type 0x%08x\n", adev->asic_type); in gfx_v8_0_init_microcode() 984 if (adev->asic_type >= CHIP_POLARIS10 && adev->asic_type <= CHIP_POLARIS12) { in gfx_v8_0_init_microcode() 1004 if (adev->asic_type >= CHIP_POLARIS10 && adev->asic_type <= CHIP_POLARIS12) { in gfx_v8_0_init_microcode() 1025 if (adev->asic_type >= CHIP_POLARIS10 && adev->asic_type <= CHIP_POLARIS12) { in gfx_v8_0_init_microcode() 1105 if (adev->asic_type >= CHIP_POLARIS10 && adev->asic_type <= CHIP_POLARIS12) { in gfx_v8_0_init_microcode() 1125 if ((adev->asic_type != CHIP_STONEY) && in gfx_v8_0_init_microcode() [all …]
|
| H A D | amdgpu_device.c | 644 switch (adev->asic_type) { in amdgpu_device_detect_runtime_pm_mode() 1148 (adev->asic_type >= CHIP_BONAIRE) ? 1 << 5 in amdgpu_device_resize_fb_bar() 1199 if (adev->asic_type == CHIP_FIJI) { in amdgpu_device_need_post() 1225 if (adev->asic_type >= CHIP_BONAIRE) in amdgpu_device_need_post() 1531 adev->asic_type < CHIP_RAVEN) in amdgpu_device_init_apu_flags() 1534 switch (adev->asic_type) { in amdgpu_device_init_apu_flags() 1820 switch (adev->asic_type) { in amdgpu_device_parse_gpu_info_fw() 1875 if (adev->asic_type == CHIP_NAVI12) in amdgpu_device_parse_gpu_info_fw() 2000 switch (adev->asic_type) { in amdgpu_device_ip_early_init() 2078 if (amdgpu_sriov_vf(adev) && adev->asic_type == CHIP_SIENNA_CICHLID) in amdgpu_device_ip_early_init() [all …]
|
| H A D | vce_v1_0.c | 209 switch (adev->asic_type) { in vce_v1_0_load_fw() 220 dev_err(adev->dev, "asic_type %#010x was not found!", adev->asic_type); in vce_v1_0_load_fw() 231 chip_id, amdgpu_asic_name[adev->asic_type]); in vce_v1_0_load_fw()
|
| H A D | isp_v4_1_1.c | 290 isp->isp_pdata->asic_type = adev->asic_type; in isp_v4_1_1_hw_init()
|
| H A D | atombios_crtc.c | 500 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 D | gfxhub_v1_0.c | 95 if (!amdgpu_sriov_vf(adev) || adev->asic_type <= CHIP_VEGA10) { in gfxhub_v1_0_init_system_aperture_regs() 294 adev->asic_type == CHIP_ALDEBARAN); in gfxhub_v1_0_setup_vmid_config()
|
| H A D | amdgpu_i2c.c | 224 switch (adev->asic_type) { in amdgpu_i2c_init()
|
| /linux/include/drm/amd/ |
| H A D | isp.h | 37 u32 asic_type; member
|
| /linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| H A D | smu7_baco.c | 71 switch (adev->asic_type) { in smu7_baco_set_state()
|
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_device.c | 196 uint32_t asic_type = kfd->adev->asic_type; in kfd_device_info_init() local 247 if (asic_type != CHIP_KAVERI && in kfd_device_info_init() 248 asic_type != CHIP_HAWAII && in kfd_device_info_init() 249 asic_type != CHIP_TONGA) in kfd_device_info_init() 252 if (asic_type != CHIP_HAWAII && !vf) in kfd_device_info_init() 263 switch (adev->asic_type) { in kgd2kfd_probe() 490 amdgpu_asic_name[adev->asic_type], vf ? "VF" : ""); in kgd2kfd_probe()
|
| H A D | kfd_kernel_queue.c | 82 if (dev->adev->asic_type > CHIP_MULLINS) { in kq_initialize()
|
| /linux/drivers/net/ethernet/pensando/ionic/ |
| H A D | ionic_devlink.c | 35 snprintf(buf, sizeof(buf), "0x%x", idev->dev_info.asic_type); in ionic_dl_info_get()
|
| /linux/drivers/net/ethernet/amd/pds_core/ |
| H A D | dev.c | 350 pdsc->dev_info.asic_type = ioread8(&pdsc->info_regs->asic_type); in pdsc_init_devinfo()
|
| H A D | devlink.c | 278 snprintf(buf, sizeof(buf), "0x%x", pdsc->dev_info.asic_type); in pdsc_dl_info_get()
|
| H A D | core.h | 58 u8 asic_type; member
|
| /linux/drivers/net/ethernet/cisco/enic/ |
| H A D | vnic_devcmd.h | 532 u16 asic_type; member
|
| /linux/include/linux/pds/ |
| H A D | pds_core_if.h | 986 u8 asic_type; member
|