Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/clk_mgr/
H A Dclk_mgr.c117 struct hw_asic_id asic_id = ctx->asic_id; in dc_clk_mgr_create() local
126 switch (asic_id.chip_family) { in dc_clk_mgr_create()
140 if (ASIC_REV_IS_TONGA_P(asic_id.hw_internal_rev) || in dc_clk_mgr_create()
141 ASIC_REV_IS_FIJI_P(asic_id.hw_internal_rev)) { in dc_clk_mgr_create()
145 if (ASIC_REV_IS_POLARIS10_P(asic_id.hw_internal_rev) || in dc_clk_mgr_create()
146 ASIC_REV_IS_POLARIS11_M(asic_id.hw_internal_rev) || in dc_clk_mgr_create()
147 ASIC_REV_IS_POLARIS12_V(asic_id.hw_internal_rev)) { in dc_clk_mgr_create()
151 if (ASIC_REV_IS_VEGAM(asic_id.hw_internal_rev)) { in dc_clk_mgr_create()
157 if (ASICREV_IS_VEGA20_P(asic_id.hw_internal_rev)) in dc_clk_mgr_create()
165 if (ASICREV_IS_RENOIR(asic_id.hw_internal_rev)) { in dc_clk_mgr_create()
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/ocrdma/
H A Docrdma.h292 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c64 enum dce_version resource_parse_asic_id(struct hw_asic_id asic_id) in resource_parse_asic_id() argument
67 switch (asic_id.chip_family) { in resource_parse_asic_id()
71 if (ASIC_REV_IS_TAHITI_P(asic_id.hw_internal_rev) || in resource_parse_asic_id()
72 ASIC_REV_IS_PITCAIRN_PM(asic_id.hw_internal_rev) || in resource_parse_asic_id()
73 ASIC_REV_IS_CAPEVERDE_M(asic_id.hw_internal_rev)) in resource_parse_asic_id()
75 else if (ASIC_REV_IS_OLAND_M(asic_id.hw_internal_rev)) in resource_parse_asic_id()
85 if (ASIC_REV_IS_KALINDI(asic_id.hw_internal_rev) || in resource_parse_asic_id()
86 ASIC_REV_IS_BHAVANI(asic_id.hw_internal_rev) || in resource_parse_asic_id()
87 ASIC_REV_IS_GODAVARI(asic_id.hw_internal_rev)) in resource_parse_asic_id()
97 if (ASIC_REV_IS_TONGA_P(asic_id.hw_internal_rev) || in resource_parse_asic_id()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/
H A Ddce112_clk_mgr.c103 if (!ASICREV_IS_VEGA20_P(clk_mgr_base->ctx->asic_id.hw_internal_rev)) in dce112_set_clock()
179 if (!ASICREV_IS_VEGA20_P(clk_mgr->base.ctx->asic_id.hw_internal_rev)) in dce112_set_dprefclk()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_resource.c574 hws->regs = ASIC_REV_IS_STONEY(ctx->asic_id.hw_internal_rev) ? in dce110_hwseq_create()
1344 struct hw_asic_id *asic_id) in dce110_resource_cap() argument
1346 if (ASIC_REV_IS_STONEY(asic_id->hw_internal_rev)) in dce110_resource_cap()
1356 struct hw_asic_id asic_id) in dce110_resource_construct() argument
1364 pool->base.res_cap = dce110_resource_cap(&ctx->asic_id); in dce110_resource_construct()
1524 bw_calcs_init(dc->bw_dceip, dc->bw_vbios, dc->ctx->asic_id); in dce110_resource_construct()
1538 struct hw_asic_id asic_id) in dce110_create_resource_pool() argument
1546 if (dce110_resource_construct(num_virtual_links, dc, pool, asic_id)) in dce110_create_resource_pool()
H A Ddce110_resource.h46 struct hw_asic_id asic_id);
H A Ddce110_compressor.c515 compressor->base.memory_bus_width = ctx->asic_id.vram_width; in dce110_compressor_construct()
/OK3568_Linux_fs/kernel/drivers/tty/serial/
H A Drp2.c484 static int rp2_asic_interrupt(struct rp2_card *card, unsigned int asic_id) in rp2_asic_interrupt() argument
486 void __iomem *base = card->bar1 + RP2_ASIC_OFFSET(asic_id); in rp2_asic_interrupt()
597 static void rp2_reset_asic(struct rp2_card *card, unsigned int asic_id) in rp2_reset_asic() argument
599 void __iomem *base = card->bar1 + RP2_ASIC_OFFSET(asic_id); in rp2_reset_asic()
/OK3568_Linux_fs/kernel/drivers/media/radio/wl128x/
H A Dfmdrv_common.c1310 __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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dce112/
H A Ddce112_resource.c1213 struct hw_asic_id *asic_id) in dce112_resource_cap() argument
1215 if (ASIC_REV_IS_POLARIS11_M(asic_id->hw_internal_rev) || in dce112_resource_cap()
1216 ASIC_REV_IS_POLARIS12_V(asic_id->hw_internal_rev)) in dce112_resource_cap()
1232 pool->base.res_cap = dce112_resource_cap(&ctx->asic_id); in dce112_resource_construct()
1401 bw_calcs_init(dc->bw_dceip, dc->bw_vbios, dc->ctx->asic_id); in dce112_resource_construct()
H A Ddce112_compressor.c813 compressor->base.memory_bus_width = ctx->asic_id.vram_width; in dce112_compressor_construct()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/inc/
H A Dresource.h38 struct hw_asic_id asic_id);
H A Ddce_calcs.h472 struct hw_asic_id asic_id);
/OK3568_Linux_fs/kernel/drivers/scsi/qla4xxx/
H A Dql4_nvram.h107 u8 asic_id[4]; /* x00 */ member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/calcs/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_resource.c1376 if (ASICREV_IS_NAVI14_M(ctx->asic_id.hw_internal_rev)) { in dcn20_stream_encoder_create()
3502 if (ASICREV_IS_NAVI12_P(dc->ctx->asic_id.hw_internal_rev))
3618 get_asic_rev_soc_bb(dc->ctx->asic_id.hw_internal_rev);
3620 get_asic_rev_ip_params(dc->ctx->asic_id.hw_internal_rev);
3625 if (!bb && ASICREV_IS_NAVI12_P(dc->ctx->asic_id.hw_internal_rev)) {
3630 if (bb && ASICREV_IS_NAVI12_P(dc->ctx->asic_id.hw_internal_rev)) {
3788 get_asic_rev_soc_bb(ctx->asic_id.hw_internal_rev);
3790 get_asic_rev_ip_params(ctx->asic_id.hw_internal_rev);
3792 get_dml_project_version(ctx->asic_id.hw_internal_rev);
3797 if (ASICREV_IS_NAVI14_M(ctx->asic_id.hw_internal_rev)) {
[all …]
/OK3568_Linux_fs/kernel/drivers/media/usb/cpia2/
H A Dcpia2.h251 u8 asic_id; /* Video Compressor set (bank 1) */ member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_resource.c1503 if (ASICREV_IS_RV1_F0(dc->ctx->asic_id.hw_internal_rev)) { in dcn10_resource_construct()
1510 dc->dcn_soc->number_of_channels = dc->ctx->asic_id.vram_width / ddr4_dram_width; in dcn10_resource_construct()
1520 if (ASICREV_IS_RV1_F0(dc->ctx->asic_id.hw_internal_rev)) { in dcn10_resource_construct()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dce120/
H A Ddce120_resource.c1069 bool is_vg20 = ASICREV_IS_VEGA20_P(ctx->asic_id.hw_internal_rev); in dce120_resource_construct()
1261 bw_calcs_init(dc->bw_dceip, dc->bw_vbios, dc->ctx->asic_id); in dce120_resource_construct()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/
H A Ddc_types.h105 struct hw_asic_id asic_id; member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/pm/inc/
H A Dsmu71_discrete.h560 uint32_t asic_id; member
H A Dsmu73_discrete.h662 uint32_t asic_id; member
H A Dsmu74_discrete.h627 uint32_t asic_id; member
H A Dsmu72_discrete.h627 uint32_t asic_id; member

12