/Linux-v5.15/drivers/gpu/drm/amd/display/dc/clk_mgr/ |
D | clk_mgr.c | 137 struct hw_asic_id asic_id = ctx->asic_id; in dc_clk_mgr_create() local 139 switch (asic_id.chip_family) { in dc_clk_mgr_create() 181 if (ASIC_REV_IS_TONGA_P(asic_id.hw_internal_rev) || in dc_clk_mgr_create() 182 ASIC_REV_IS_FIJI_P(asic_id.hw_internal_rev)) { in dc_clk_mgr_create() 186 if (ASIC_REV_IS_POLARIS10_P(asic_id.hw_internal_rev) || in dc_clk_mgr_create() 187 ASIC_REV_IS_POLARIS11_M(asic_id.hw_internal_rev) || in dc_clk_mgr_create() 188 ASIC_REV_IS_POLARIS12_V(asic_id.hw_internal_rev)) { in dc_clk_mgr_create() 192 if (ASIC_REV_IS_VEGAM(asic_id.hw_internal_rev)) { in dc_clk_mgr_create() 205 if (ASICREV_IS_VEGA20_P(asic_id.hw_internal_rev)) in dc_clk_mgr_create() 220 if (ASICREV_IS_RENOIR(asic_id.hw_internal_rev)) { in dc_clk_mgr_create() [all …]
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/ |
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-v5.15/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 66 enum dce_version resource_parse_asic_id(struct hw_asic_id asic_id) in resource_parse_asic_id() argument 69 switch (asic_id.chip_family) { in resource_parse_asic_id() 73 if (ASIC_REV_IS_TAHITI_P(asic_id.hw_internal_rev) || in resource_parse_asic_id() 74 ASIC_REV_IS_PITCAIRN_PM(asic_id.hw_internal_rev) || in resource_parse_asic_id() 75 ASIC_REV_IS_CAPEVERDE_M(asic_id.hw_internal_rev)) in resource_parse_asic_id() 77 else if (ASIC_REV_IS_OLAND_M(asic_id.hw_internal_rev)) in resource_parse_asic_id() 87 if (ASIC_REV_IS_KALINDI(asic_id.hw_internal_rev) || in resource_parse_asic_id() 88 ASIC_REV_IS_BHAVANI(asic_id.hw_internal_rev) || in resource_parse_asic_id() 89 ASIC_REV_IS_GODAVARI(asic_id.hw_internal_rev)) in resource_parse_asic_id() 99 if (ASIC_REV_IS_TONGA_P(asic_id.hw_internal_rev) || in resource_parse_asic_id() [all …]
|
/Linux-v5.15/drivers/infiniband/hw/ocrdma/ |
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-v5.15/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_resource.h | 46 struct hw_asic_id asic_id);
|
D | dce110_resource.c | 567 hws->regs = ASIC_REV_IS_STONEY(ctx->asic_id.hw_internal_rev) ? in dce110_hwseq_create() 1338 struct hw_asic_id *asic_id) in dce110_resource_cap() argument 1340 if (ASIC_REV_IS_STONEY(asic_id->hw_internal_rev)) in dce110_resource_cap() 1350 struct hw_asic_id asic_id) in dce110_resource_construct() argument 1358 pool->base.res_cap = dce110_resource_cap(&ctx->asic_id); in dce110_resource_construct() 1520 bw_calcs_init(dc->bw_dceip, dc->bw_vbios, dc->ctx->asic_id); in dce110_resource_construct() 1534 struct hw_asic_id asic_id) in dce110_create_resource_pool() argument 1542 if (dce110_resource_construct(num_virtual_links, dc, pool, asic_id)) in dce110_create_resource_pool()
|
D | dce110_compressor.c | 460 compressor->base.memory_bus_width = ctx->asic_id.vram_width; in dce110_compressor_construct()
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/ |
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-v5.15/drivers/gpu/drm/amd/display/dc/dcn31/ |
D | dcn31_dio_link_encoder.c | 419 if (enc->ctx->asic_id.hw_internal_rev != YELLOW_CARP_B0) { in dcn31_link_encoder_is_in_alt_mode() 453 if (enc->ctx->asic_id.hw_internal_rev != YELLOW_CARP_B0) { in dcn31_link_encoder_get_max_link_cap()
|
/Linux-v5.15/drivers/tty/serial/ |
D | rp2.c | 482 static int rp2_asic_interrupt(struct rp2_card *card, unsigned int asic_id) in rp2_asic_interrupt() argument 484 void __iomem *base = card->bar1 + RP2_ASIC_OFFSET(asic_id); in rp2_asic_interrupt() 595 static void rp2_reset_asic(struct rp2_card *card, unsigned int asic_id) in rp2_reset_asic() argument 597 void __iomem *base = card->bar1 + RP2_ASIC_OFFSET(asic_id); in rp2_reset_asic()
|
/Linux-v5.15/drivers/media/radio/wl128x/ |
D | fmdrv_common.c | 1310 __be16 asic_id = 0, asic_ver = 0; in fm_power_up() local 1338 sizeof(asic_id), &asic_id, &resp_len)) in fm_power_up() 1346 be16_to_cpu(asic_id), be16_to_cpu(asic_ver)); in fm_power_up() 1349 be16_to_cpu(asic_id), be16_to_cpu(asic_ver)); in fm_power_up() 1358 be16_to_cpu(asic_id), be16_to_cpu(asic_ver)); in fm_power_up()
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/inc/ |
D | resource.h | 38 struct hw_asic_id asic_id);
|
D | dce_calcs.h | 472 struct hw_asic_id asic_id);
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce112/ |
D | dce112_resource.c | 1208 struct hw_asic_id *asic_id) in dce112_resource_cap() argument 1210 if (ASIC_REV_IS_POLARIS11_M(asic_id->hw_internal_rev) || in dce112_resource_cap() 1211 ASIC_REV_IS_POLARIS12_V(asic_id->hw_internal_rev)) in dce112_resource_cap() 1227 pool->base.res_cap = dce112_resource_cap(&ctx->asic_id); in dce112_resource_construct() 1398 bw_calcs_init(dc->bw_dceip, dc->bw_vbios, dc->ctx->asic_id); in dce112_resource_construct()
|
D | dce112_compressor.c | 813 compressor->base.memory_bus_width = ctx->asic_id.vram_width; in dce112_compressor_construct()
|
/Linux-v5.15/drivers/scsi/qla4xxx/ |
D | ql4_nvram.h | 107 u8 asic_id[4]; /* x00 */ member
|
/Linux-v5.15/drivers/media/usb/cpia2/ |
D | cpia2.h | 251 u8 asic_id; /* Video Compressor set (bank 1) */ member
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/calcs/ |
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-v5.15/drivers/gpu/drm/amd/display/dc/dce/ |
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-v5.15/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_resource.c | 1358 if (ASICREV_IS_RV1_F0(dc->ctx->asic_id.hw_internal_rev)) { in dcn10_resource_construct_fp() 1365 dc->dcn_soc->number_of_channels = dc->ctx->asic_id.vram_width / ddr4_dram_width; in dcn10_resource_construct_fp() 1375 if (ASICREV_IS_RV1_F0(dc->ctx->asic_id.hw_internal_rev)) { in dcn10_resource_construct_fp()
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_resource.c | 1378 if (ASICREV_IS_NAVI14_M(ctx->asic_id.hw_internal_rev)) { in dcn20_stream_encoder_create() 3524 if (ASICREV_IS_NAVI12_P(dc->ctx->asic_id.hw_internal_rev)) in dcn20_update_bounding_box() 3640 get_asic_rev_soc_bb(dc->ctx->asic_id.hw_internal_rev); in init_soc_bounding_box() 3642 get_asic_rev_ip_params(dc->ctx->asic_id.hw_internal_rev); in init_soc_bounding_box() 3694 get_asic_rev_soc_bb(ctx->asic_id.hw_internal_rev); in dcn20_resource_construct() 3696 get_asic_rev_ip_params(ctx->asic_id.hw_internal_rev); in dcn20_resource_construct() 3698 get_dml_project_version(ctx->asic_id.hw_internal_rev); in dcn20_resource_construct() 3705 if (ASICREV_IS_NAVI14_M(ctx->asic_id.hw_internal_rev)) { in dcn20_resource_construct() 4025 if (ASICREV_IS_NAVI12_P(dc->ctx->asic_id.hw_internal_rev)) { in dcn20_resource_construct()
|
/Linux-v5.15/drivers/gpu/drm/amd/pm/inc/ |
D | smu71_discrete.h | 560 uint32_t asic_id; member
|
D | smu73_discrete.h | 662 uint32_t asic_id; member
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/ |
D | dc_types.h | 818 struct hw_asic_id asic_id; member
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce120/ |
D | dce120_resource.c | 1061 bool is_vg20 = ASICREV_IS_VEGA20_P(ctx->asic_id.hw_internal_rev); in dce120_resource_construct() 1255 bw_calcs_init(dc->bw_dceip, dc->bw_vbios, dc->ctx->asic_id); in dce120_resource_construct()
|