/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/clk_mgr/ |
A D | clk_mgr.c | 150 struct hw_asic_id asic_id = ctx->asic_id; in dc_clk_mgr_create() local 152 switch (asic_id.chip_family) { in dc_clk_mgr_create() 195 ASIC_REV_IS_FIJI_P(asic_id.hw_internal_rev)) { in dc_clk_mgr_create() 205 if (ASIC_REV_IS_VEGAM(asic_id.hw_internal_rev)) { in dc_clk_mgr_create() 218 if (ASICREV_IS_VEGA20_P(asic_id.hw_internal_rev)) in dc_clk_mgr_create() 233 if (ASICREV_IS_RENOIR(asic_id.hw_internal_rev)) { in dc_clk_mgr_create() 242 if (ASICREV_IS_RAVEN2(asic_id.hw_internal_rev)) { in dc_clk_mgr_create() 246 if (ASICREV_IS_RAVEN(asic_id.hw_internal_rev) || in dc_clk_mgr_create() 247 ASICREV_IS_PICASSO(asic_id.hw_internal_rev)) { in dc_clk_mgr_create() 272 if (asic_id.chip_id == DEVICE_ID_NV_13FE) { in dc_clk_mgr_create() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn10/ |
A D | dcn10_fpu.c | 140 if (ASICREV_IS_RV1_F0(dc->ctx->asic_id.hw_internal_rev)) { in dcn10_resource_construct_fp() 146 dc->dcn_soc->number_of_channels = dc->ctx->asic_id.vram_width / ddr4_dram_width; in dcn10_resource_construct_fp() 156 if (ASICREV_IS_RV1_F0(dc->ctx->asic_id.hw_internal_rev)) in dcn10_resource_construct_fp()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/ |
A D | dce112_clk_mgr.c | 104 if (!((clk_mgr_base->ctx->asic_id.chip_family == FAMILY_AI) && in dce112_set_clock() 105 ASICREV_IS_VEGA20_P(clk_mgr_base->ctx->asic_id.hw_internal_rev))) in dce112_set_clock() 181 if (!((clk_mgr->base.ctx->asic_id.chip_family == FAMILY_AI) && in dce112_set_dprefclk() 182 ASICREV_IS_VEGA20_P(clk_mgr->base.ctx->asic_id.hw_internal_rev))) in dce112_set_dprefclk()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/core/ |
A D | dc_resource.c | 78 switch (asic_id.chip_family) { in resource_parse_asic_id() 96 if (ASIC_REV_IS_KALINDI(asic_id.hw_internal_rev) || in resource_parse_asic_id() 97 ASIC_REV_IS_BHAVANI(asic_id.hw_internal_rev) || in resource_parse_asic_id() 98 ASIC_REV_IS_GODAVARI(asic_id.hw_internal_rev)) in resource_parse_asic_id() 109 ASIC_REV_IS_FIJI_P(asic_id.hw_internal_rev)) { in resource_parse_asic_id() 118 if (ASIC_REV_IS_VEGAM(asic_id.hw_internal_rev)) in resource_parse_asic_id() 122 if (ASICREV_IS_VEGA20_P(asic_id.hw_internal_rev)) in resource_parse_asic_id() 129 if (ASICREV_IS_RAVEN2(asic_id.hw_internal_rev)) in resource_parse_asic_id() 131 if (ASICREV_IS_RENOIR(asic_id.hw_internal_rev)) in resource_parse_asic_id() 139 if (asic_id.chip_id == DEVICE_ID_NV_13FE || asic_id.chip_id == DEVICE_ID_NV_143F) { in resource_parse_asic_id() [all …]
|
/linux-6.3-rc2/drivers/infiniband/hw/ocrdma/ |
A D | ocrdma.h | 292 u32 asic_id; member 568 if (dev->nic_info.dev_family == 0xF && !dev->asic_id) { in ocrdma_get_asic_type() 571 OCRDMA_SLI_ASIC_ID_OFFSET, &dev->asic_id); in ocrdma_get_asic_type() 574 return (dev->asic_id & OCRDMA_SLI_ASIC_GEN_NUM_MASK) >> in ocrdma_get_asic_type()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce110/ |
A D | dce110_resource.h | 46 struct hw_asic_id asic_id);
|
A D | dce110_resource.c | 565 hws->regs = ASIC_REV_IS_STONEY(ctx->asic_id.hw_internal_rev) ? in dce110_hwseq_create() 1337 struct hw_asic_id *asic_id) in dce110_resource_cap() argument 1339 if (ASIC_REV_IS_STONEY(asic_id->hw_internal_rev)) in dce110_resource_cap() 1349 struct hw_asic_id asic_id) in dce110_resource_construct() argument 1357 pool->base.res_cap = dce110_resource_cap(&ctx->asic_id); in dce110_resource_construct() 1519 bw_calcs_init(dc->bw_dceip, dc->bw_vbios, dc->ctx->asic_id); in dce110_resource_construct() 1533 struct hw_asic_id asic_id) in dce110_create_resource_pool() argument 1541 if (dce110_resource_construct(num_virtual_links, dc, pool, asic_id)) in dce110_create_resource_pool()
|
A D | dce110_compressor.c | 457 compressor->base.memory_bus_width = ctx->asic_id.vram_width; in dce110_compressor_construct()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/ |
A D | dce110_clk_mgr.c | 198 if ((dc->ctx->asic_id.chip_family == FAMILY_AI) && in dce11_pplib_apply_display_requirements() 199 ASICREV_IS_VEGA20_P(dc->ctx->asic_id.hw_internal_rev) && (context->stream_count >= 2)) { in dce11_pplib_apply_display_requirements()
|
/linux-6.3-rc2/drivers/tty/serial/ |
A D | rp2.c | 462 static int rp2_asic_interrupt(struct rp2_card *card, unsigned int asic_id) in rp2_asic_interrupt() argument 464 void __iomem *base = card->bar1 + RP2_ASIC_OFFSET(asic_id); in rp2_asic_interrupt() 575 static void rp2_reset_asic(struct rp2_card *card, unsigned int asic_id) in rp2_reset_asic() argument 577 void __iomem *base = card->bar1 + RP2_ASIC_OFFSET(asic_id); in rp2_reset_asic()
|
/linux-6.3-rc2/drivers/media/radio/wl128x/ |
A D | fmdrv_common.c | 1311 __be16 asic_id = 0, asic_ver = 0; in fm_power_up() local 1339 sizeof(asic_id), &asic_id, &resp_len)) in fm_power_up() 1347 be16_to_cpu(asic_id), be16_to_cpu(asic_ver)); in fm_power_up() 1350 be16_to_cpu(asic_id), be16_to_cpu(asic_ver)); in fm_power_up() 1359 be16_to_cpu(asic_id), be16_to_cpu(asic_ver)); in fm_power_up()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce112/ |
A D | dce112_resource.c | 1207 struct hw_asic_id *asic_id) in dce112_resource_cap() argument 1209 if (ASIC_REV_IS_POLARIS11_M(asic_id->hw_internal_rev) || in dce112_resource_cap() 1210 ASIC_REV_IS_POLARIS12_V(asic_id->hw_internal_rev)) in dce112_resource_cap() 1226 pool->base.res_cap = dce112_resource_cap(&ctx->asic_id); in dce112_resource_construct() 1397 bw_calcs_init(dc->bw_dceip, dc->bw_vbios, dc->ctx->asic_id); in dce112_resource_construct()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/link/protocols/ |
A D | link_edp_panel_control.c | 699 if (link->ctx->asic_id.chip_family >= FAMILY_RV) { in dc_link_setup_psr() 700 switch (link->ctx->asic_id.chip_family) { in dc_link_setup_psr() 713 if (link->ctx->asic_id.chip_family >= FAMILY_RV) in dc_link_setup_psr()
|
A D | link_ddc.c | 422 ASICREV_IS_YELLOW_CARP(ddc->ctx->asic_id.hw_internal_rev)) { in try_to_configure_aux_timeout()
|
/linux-6.3-rc2/drivers/scsi/qla4xxx/ |
A D | ql4_nvram.h | 107 u8 asic_id[4]; /* x00 */ member
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/inc/ |
A D | resource.h | 42 struct hw_asic_id asic_id);
|
A D | dce_calcs.h | 472 struct hw_asic_id asic_id);
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn10/ |
A D | dcn10_resource.c | 866 if ((ctx->asic_id.chip_family == FAMILY_RV) && in dcn10_hwseq_create() 867 ASICREV_IS_RAVEN2(ctx->asic_id.hw_internal_rev)) in dcn10_hwseq_create() 868 switch (ctx->asic_id.pci_revision_id) { in dcn10_hwseq_create() 1477 if (ASICREV_IS_RAVEN2(dc->ctx->asic_id.hw_internal_rev)) in dcn10_resource_construct() 1478 switch (dc->ctx->asic_id.pci_revision_id) { in dcn10_resource_construct()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/ |
A D | dcn32_clk_mgr.c | 534 if (ASICREV_IS_GC_11_0_2(clk_mgr->base.ctx->asic_id.hw_internal_rev)) in dcn32_get_vco_frequency_from_reg() 563 if (ASICREV_IS_GC_11_0_2(clk_mgr->base.ctx->asic_id.hw_internal_rev)) { in dcn32_dump_clk_registers() 810 if (ASICREV_IS_GC_11_0_2(clk_mgr->base.ctx->asic_id.hw_internal_rev)) { in dcn32_clk_mgr_construct()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn31/ |
A D | dcn31_dio_link_encoder.c | 617 if (enc->ctx->asic_id.hw_internal_rev != YELLOW_CARP_B0) { in dcn31_link_encoder_is_in_alt_mode() 667 if (enc->ctx->asic_id.hw_internal_rev != YELLOW_CARP_B0) { in dcn31_link_encoder_get_max_link_cap()
|
A D | dcn31_resource.c | 2013 if (dc->ctx->asic_id.hw_internal_rev == YELLOW_CARP_B0) { in dcn31_resource_construct() 2186 if (dc->ctx->asic_id.chip_family == FAMILY_YELLOW_CARP && in dcn31_resource_construct() 2187 dc->ctx->asic_id.hw_internal_rev == YELLOW_CARP_B0 && in dcn31_resource_construct() 2193 if (dc->ctx->asic_id.chip_family == AMDGPU_FAMILY_GC_11_0_1) in dcn31_resource_construct()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/ |
A D | dcn20_resource.c | 1026 if (ASICREV_IS_NAVI14_M(ctx->asic_id.hw_internal_rev)) { in dcn20_stream_encoder_create() 2356 get_asic_rev_soc_bb(dc->ctx->asic_id.hw_internal_rev); in init_soc_bounding_box() 2358 get_asic_rev_ip_params(dc->ctx->asic_id.hw_internal_rev); in init_soc_bounding_box() 2416 get_asic_rev_soc_bb(ctx->asic_id.hw_internal_rev); in dcn20_resource_construct() 2418 get_asic_rev_ip_params(ctx->asic_id.hw_internal_rev); in dcn20_resource_construct() 2420 get_dml_project_version(ctx->asic_id.hw_internal_rev); in dcn20_resource_construct() 2425 if (ASICREV_IS_NAVI14_M(ctx->asic_id.hw_internal_rev)) { in dcn20_resource_construct() 2748 if (ASICREV_IS_NAVI12_P(dc->ctx->asic_id.hw_internal_rev)) { in dcn20_resource_construct()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
A D | dce_calcs.c | 49 static enum bw_calcs_version bw_calcs_version_from_asic_id(struct hw_asic_id asic_id) in bw_calcs_version_from_asic_id() argument 51 switch (asic_id.chip_family) { in bw_calcs_version_from_asic_id() 54 if (ASIC_REV_IS_STONEY(asic_id.hw_internal_rev)) in bw_calcs_version_from_asic_id() 59 if (ASIC_REV_IS_POLARIS12_V(asic_id.hw_internal_rev)) in bw_calcs_version_from_asic_id() 61 if (ASIC_REV_IS_POLARIS10_P(asic_id.hw_internal_rev)) in bw_calcs_version_from_asic_id() 63 if (ASIC_REV_IS_POLARIS11_M(asic_id.hw_internal_rev)) in bw_calcs_version_from_asic_id() 65 if (ASIC_REV_IS_VEGAM(asic_id.hw_internal_rev)) in bw_calcs_version_from_asic_id() 2047 struct hw_asic_id asic_id) in bw_calcs_init() argument 2052 enum bw_calcs_version version = bw_calcs_version_from_asic_id(asic_id); in bw_calcs_init() 2070 vbios->number_of_dram_channels = asic_id.vram_width / vbios->dram_channel_width_in_bits; in bw_calcs_init() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce/ |
A D | dce_clk_mgr.c | 321 if (!((clk_mgr->ctx->asic_id.chip_family == FAMILY_AI) && in dce112_set_clock() 322 ASICREV_IS_VEGA20_P(clk_mgr->ctx->asic_id.hw_internal_rev))) in dce112_set_clock()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/powerplay/inc/ |
A D | smu71_discrete.h | 560 uint32_t asic_id; member
|