Home
last modified time | relevance | path

Searched refs:asic_id (Results 1 – 25 of 36) sorted by relevance

12

/Linux-v5.4/drivers/gpu/drm/amd/display/dc/clk_mgr/
Dclk_mgr.c71 struct hw_asic_id asic_id = ctx->asic_id; in dc_clk_mgr_create() local
80 switch (asic_id.chip_family) { in dc_clk_mgr_create()
89 if (ASIC_REV_IS_TONGA_P(asic_id.hw_internal_rev) || in dc_clk_mgr_create()
90 ASIC_REV_IS_FIJI_P(asic_id.hw_internal_rev)) { in dc_clk_mgr_create()
94 if (ASIC_REV_IS_POLARIS10_P(asic_id.hw_internal_rev) || in dc_clk_mgr_create()
95 ASIC_REV_IS_POLARIS11_M(asic_id.hw_internal_rev) || in dc_clk_mgr_create()
96 ASIC_REV_IS_POLARIS12_V(asic_id.hw_internal_rev)) { in dc_clk_mgr_create()
100 if (ASIC_REV_IS_VEGAM(asic_id.hw_internal_rev)) { in dc_clk_mgr_create()
106 if (ASICREV_IS_VEGA20_P(asic_id.hw_internal_rev)) in dc_clk_mgr_create()
115 if (ASICREV_IS_RENOIR(asic_id.hw_internal_rev)) { in dc_clk_mgr_create()
[all …]
/Linux-v5.4/drivers/infiniband/hw/ocrdma/
Docrdma.h294 u32 asic_id; member
570 if (dev->nic_info.dev_family == 0xF && !dev->asic_id) { in ocrdma_get_asic_type()
573 OCRDMA_SLI_ASIC_ID_OFFSET, &dev->asic_id); in ocrdma_get_asic_type()
576 return (dev->asic_id & OCRDMA_SLI_ASIC_GEN_NUM_MASK) >> in ocrdma_get_asic_type()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_resource.h46 struct hw_asic_id asic_id);
Ddce110_resource.c518 hws->regs = ASIC_REV_IS_STONEY(ctx->asic_id.hw_internal_rev) ? in dce110_hwseq_create()
1262 struct hw_asic_id *asic_id) in dce110_resource_cap() argument
1264 if (ASIC_REV_IS_STONEY(asic_id->hw_internal_rev)) in dce110_resource_cap()
1274 struct hw_asic_id asic_id) in construct() argument
1282 pool->base.res_cap = dce110_resource_cap(&ctx->asic_id); in construct()
1441 bw_calcs_init(dc->bw_dceip, dc->bw_vbios, dc->ctx->asic_id); in construct()
1455 struct hw_asic_id asic_id) in dce110_create_resource_pool() argument
1463 if (construct(num_virtual_links, dc, pool, asic_id)) in dce110_create_resource_pool()
Ddce110_compressor.c515 compressor->base.memory_bus_width = ctx->asic_id.vram_width; in dce110_compressor_construct()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/
Ddce112_clk_mgr.c104 if (!ASICREV_IS_VEGA20_P(clk_mgr_base->ctx->asic_id.hw_internal_rev)) in dce112_set_clock()
180 if (!ASICREV_IS_VEGA20_P(clk_mgr->base.ctx->asic_id.hw_internal_rev)) in dce112_set_dprefclk()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/
Drn_clk_mgr.c465 …params(struct clk_bw_params *bw_params, struct dpm_clocks *clock_table, struct hw_asic_id *asic_id) in clk_mgr_helper_populate_bw_params() argument
483 bw_params->vram_type = asic_id->vram_type; in clk_mgr_helper_populate_bw_params()
484 bw_params->num_channels = asic_id->vram_width / DDR4_DRAM_WIDTH; in clk_mgr_helper_populate_bw_params()
568 clk_mgr_helper_populate_bw_params(clk_mgr->base.bw_params, &clock_table, &ctx->asic_id); in rn_clk_mgr_construct()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c62 enum dce_version resource_parse_asic_id(struct hw_asic_id asic_id) in resource_parse_asic_id() argument
65 switch (asic_id.chip_family) { in resource_parse_asic_id()
71 if (ASIC_REV_IS_KALINDI(asic_id.hw_internal_rev) || in resource_parse_asic_id()
72 ASIC_REV_IS_BHAVANI(asic_id.hw_internal_rev) || in resource_parse_asic_id()
73 ASIC_REV_IS_GODAVARI(asic_id.hw_internal_rev)) in resource_parse_asic_id()
83 if (ASIC_REV_IS_TONGA_P(asic_id.hw_internal_rev) || in resource_parse_asic_id()
84 ASIC_REV_IS_FIJI_P(asic_id.hw_internal_rev)) { in resource_parse_asic_id()
88 if (ASIC_REV_IS_POLARIS10_P(asic_id.hw_internal_rev) || in resource_parse_asic_id()
89 ASIC_REV_IS_POLARIS11_M(asic_id.hw_internal_rev) || in resource_parse_asic_id()
90 ASIC_REV_IS_POLARIS12_V(asic_id.hw_internal_rev)) { in resource_parse_asic_id()
[all …]
Ddc_stream.c246 if (stream->ctx->asic_id.chip_family == FAMILY_RV && in delay_cursor_until_vupdate()
247 ASICREV_IS_RAVEN(stream->ctx->asic_id.hw_internal_rev)) { in delay_cursor_until_vupdate()
Ddc.c636 dc_ctx->asic_id = init_params->asic_id; in construct()
645 dc_version = resource_parse_asic_id(init_params->asic_id); in construct()
658 bp_init_data.bios = init_params->asic_id.atombios_base_address; in construct()
/Linux-v5.4/drivers/tty/serial/
Drp2.c485 static int rp2_asic_interrupt(struct rp2_card *card, unsigned int asic_id) in rp2_asic_interrupt() argument
487 void __iomem *base = card->bar1 + RP2_ASIC_OFFSET(asic_id); in rp2_asic_interrupt()
598 static void rp2_reset_asic(struct rp2_card *card, unsigned int asic_id) in rp2_reset_asic() argument
600 void __iomem *base = card->bar1 + RP2_ASIC_OFFSET(asic_id); in rp2_reset_asic()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/inc/
Dresource.h38 struct hw_asic_id asic_id);
Ddce_calcs.h472 struct hw_asic_id asic_id);
/Linux-v5.4/drivers/media/radio/wl128x/
Dfmdrv_common.c1306 __be16 asic_id = 0, asic_ver = 0; in fm_power_up() local
1334 sizeof(asic_id), &asic_id, &resp_len)) in fm_power_up()
1342 be16_to_cpu(asic_id), be16_to_cpu(asic_ver)); in fm_power_up()
1345 be16_to_cpu(asic_id), be16_to_cpu(asic_ver)); in fm_power_up()
1354 be16_to_cpu(asic_id), be16_to_cpu(asic_ver)); in fm_power_up()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_resource.c1134 struct hw_asic_id *asic_id) in dce112_resource_cap() argument
1136 if (ASIC_REV_IS_POLARIS11_M(asic_id->hw_internal_rev) || in dce112_resource_cap()
1137 ASIC_REV_IS_POLARIS12_V(asic_id->hw_internal_rev)) in dce112_resource_cap()
1153 pool->base.res_cap = dce112_resource_cap(&ctx->asic_id); in construct()
1322 bw_calcs_init(dc->bw_dceip, dc->bw_vbios, dc->ctx->asic_id); in construct()
Ddce112_compressor.c813 compressor->base.memory_bus_width = ctx->asic_id.vram_width; in dce112_compressor_construct()
/Linux-v5.4/drivers/scsi/qla4xxx/
Dql4_nvram.h108 u8 asic_id[4]; /* x00 */ member
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/
Ddce110_clk_mgr.c198 if (ASICREV_IS_VEGA20_P(dc->ctx->asic_id.hw_internal_rev) && (context->stream_count >= 2)) { in dce11_pplib_apply_display_requirements()
/Linux-v5.4/drivers/media/usb/cpia2/
Dcpia2.h251 u8 asic_id; /* Video Compressor set (bank 1) */ member
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_resource.c1396 if (ASICREV_IS_RV1_F0(dc->ctx->asic_id.hw_internal_rev)) { in construct()
1403 dc->dcn_soc->number_of_channels = dc->ctx->asic_id.vram_width / ddr4_dram_width; in construct()
1413 if (ASICREV_IS_RV1_F0(dc->ctx->asic_id.hw_internal_rev)) { in construct()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/calcs/
Ddce_calcs.c49 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()
2031 struct hw_asic_id asic_id) in bw_calcs_init() argument
2036 enum bw_calcs_version version = bw_calcs_version_from_asic_id(asic_id); in bw_calcs_init()
2044 vbios.number_of_dram_channels = asic_id.vram_width / vbios.dram_channel_width_in_bits; in bw_calcs_init()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/
Ddc_types.h91 struct hw_asic_id asic_id; member
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_resource.c991 bool is_vg20 = ASICREV_IS_VEGA20_P(ctx->asic_id.hw_internal_rev); in construct()
1183 bw_calcs_init(dc->bw_dceip, dc->bw_vbios, dc->ctx->asic_id); in construct()
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/inc/
Dsmu71_discrete.h560 uint32_t asic_id; member
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c1110 if (ASICREV_IS_NAVI14_M(ctx->asic_id.hw_internal_rev)) { in dcn20_stream_encoder_create()
3154 get_asic_rev_soc_bb(dc->ctx->asic_id.hw_internal_rev); in init_soc_bounding_box()
3156 get_asic_rev_ip_params(dc->ctx->asic_id.hw_internal_rev); in init_soc_bounding_box()
3316 get_asic_rev_soc_bb(ctx->asic_id.hw_internal_rev); in construct()
3318 get_asic_rev_ip_params(ctx->asic_id.hw_internal_rev); in construct()
3320 get_dml_project_version(ctx->asic_id.hw_internal_rev); in construct()
3325 if (ASICREV_IS_NAVI14_M(ctx->asic_id.hw_internal_rev)) { in construct()

12