/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/ |
H A D | clk_mgr.c | 117 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 in dc_clk_mgr_create() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/ |
H A D | clk_mgr.c | 153 struct hw_asic_id asic_id = ctx->asic_id; in dc_clk_mgr_create() local 155 switch (asic_id.chip_family) { in dc_clk_mgr_create() 197 if (ASIC_REV_IS_TONGA_P(asic_id.hw_internal_rev) || in dc_clk_mgr_create() 198 ASIC_REV_IS_FIJI_P(asic_id.hw_internal_rev)) { in dc_clk_mgr_create() 202 if (ASIC_REV_IS_POLARIS10_P(asic_id.hw_internal_rev) || in dc_clk_mgr_create() 203 ASIC_REV_IS_POLARIS11_M(asic_id.hw_internal_rev) || in dc_clk_mgr_create() 204 ASIC_REV_IS_POLARIS12_V(asic_id.hw_internal_rev)) { in dc_clk_mgr_create() 208 if (ASIC_REV_IS_VEGAM(asic_id.hw_internal_rev)) { in dc_clk_mgr_create() 221 if (ASICREV_IS_VEGA20_P(asic_id in dc_clk_mgr_create() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn10/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/ |
H 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() 177 if (!((clk_mgr->base.ctx->asic_id.chip_family == FAMILY_AI) && in dce112_set_dprefclk() 178 ASICREV_IS_VEGA20_P(clk_mgr->base.ctx->asic_id.hw_internal_rev))) in dce112_set_dprefclk()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_resource.c | 88 enum dce_version resource_parse_asic_id(struct hw_asic_id asic_id) in resource_parse_asic_id() argument 92 switch (asic_id.chip_family) { in resource_parse_asic_id() 96 if (ASIC_REV_IS_TAHITI_P(asic_id.hw_internal_rev) || in resource_parse_asic_id() 97 ASIC_REV_IS_PITCAIRN_PM(asic_id.hw_internal_rev) || in resource_parse_asic_id() 98 ASIC_REV_IS_CAPEVERDE_M(asic_id.hw_internal_rev)) in resource_parse_asic_id() 100 else if (ASIC_REV_IS_OLAND_M(asic_id.hw_internal_rev)) in resource_parse_asic_id() 110 if (ASIC_REV_IS_KALINDI(asic_id.hw_internal_rev) || in resource_parse_asic_id() 111 ASIC_REV_IS_BHAVANI(asic_id.hw_internal_rev) || in resource_parse_asic_id() 112 ASIC_REV_IS_GODAVARI(asic_id.hw_internal_rev)) in resource_parse_asic_id() 122 if (ASIC_REV_IS_TONGA_P(asic_id in resource_parse_asic_id() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_resource.c | 64 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 in resource_parse_asic_id() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_resource.h | 46 struct hw_asic_id asic_id);
|
H A D | dce110_resource.c | 574 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() 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() 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() 1546 if (dce110_resource_construct(num_virtual_links, dc, pool, asic_id)) in dce110_create_resource_pool() 1343 dce110_resource_cap( struct hw_asic_id *asic_id) dce110_resource_cap() argument 1352 dce110_resource_construct( uint8_t num_virtual_links, struct dc *dc, struct dce110_resource_pool *pool, struct hw_asic_id asic_id) dce110_resource_construct() argument 1535 dce110_create_resource_pool( uint8_t num_virtual_links, struct dc *dc, struct hw_asic_id asic_id) dce110_create_resource_pool() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_resource.h | 46 struct hw_asic_id asic_id);
|
H A D | dce110_resource.c | 566 hws->regs = ASIC_REV_IS_STONEY(ctx->asic_id.hw_internal_rev) ? in dce110_hwseq_create() 1340 struct hw_asic_id *asic_id) in dce110_resource_cap() 1342 if (ASIC_REV_IS_STONEY(asic_id->hw_internal_rev)) in dce110_resource_cap() 1352 struct hw_asic_id asic_id) in dce110_resource_construct() 1360 pool->base.res_cap = dce110_resource_cap(&ctx->asic_id); in dce110_resource_construct() 1523 bw_calcs_init(dc->bw_dceip, dc->bw_vbios, dc->ctx->asic_id); in dce110_resource_construct() 1537 struct hw_asic_id asic_id) in dce110_create_resource_pool() 1545 if (dce110_resource_construct(num_virtual_links, dc, pool, asic_id)) in dce110_create_resource_pool() 1339 dce110_resource_cap( struct hw_asic_id *asic_id) dce110_resource_cap() argument 1348 dce110_resource_construct( uint8_t num_virtual_links, struct dc *dc, struct dce110_resource_pool *pool, struct hw_asic_id asic_id) dce110_resource_construct() argument 1534 dce110_create_resource_pool( uint8_t num_virtual_links, struct dc *dc, struct hw_asic_id asic_id) dce110_create_resource_pool() argument
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/ocrdma/ |
H 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/ |
H A D | dce112_clk_mgr.c | 103 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/ |
H 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()
|
/kernel/linux/linux-5.10/drivers/media/radio/wl128x/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/media/radio/wl128x/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | resource.h | 38 struct hw_asic_id asic_id);
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | rp2.c | 484 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()
|
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce112/ |
H A D | dce112_resource.c | 1213 struct hw_asic_id *asic_id) in dce112_resource_cap() 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() 1212 dce112_resource_cap( struct hw_asic_id *asic_id) dce112_resource_cap() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_resource.c | 865 if ((ctx->asic_id.chip_family == FAMILY_RV) && in dcn10_hwseq_create() 866 ASICREV_IS_RAVEN2(ctx->asic_id.hw_internal_rev)) in dcn10_hwseq_create() 867 switch (ctx->asic_id.pci_revision_id) { in dcn10_hwseq_create() 1470 if (ASICREV_IS_RAVEN2(dc->ctx->asic_id.hw_internal_rev)) in dcn10_resource_construct() 1471 switch (dc->ctx->asic_id.pci_revision_id) { in dcn10_resource_construct()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce112/ |
H A D | dce112_resource.c | 1213 struct hw_asic_id *asic_id) in dce112_resource_cap() 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() 1404 bw_calcs_init(dc->bw_dceip, dc->bw_vbios, dc->ctx->asic_id); in dce112_resource_construct() 1212 dce112_resource_cap( struct hw_asic_id *asic_id) dce112_resource_cap() argument
|
/kernel/linux/linux-5.10/drivers/scsi/qla4xxx/ |
H A D | ql4_nvram.h | 107 u8 asic_id[4]; /* x00 */ member
|
/kernel/linux/linux-6.6/drivers/scsi/qla4xxx/ |
H A D | ql4_nvram.h | 107 u8 asic_id[4]; /* x00 */ member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn31/ |
H A D | dcn31_dccg.c | 87 if (dccg_dcn->base.ctx->asic_id.chip_family == FAMILY_YELLOW_CARP && in get_phy_mux_symclk() 88 dccg_dcn->base.ctx->asic_id.hw_internal_rev == YELLOW_CARP_B0) { in get_phy_mux_symclk()
|