Home
last modified time | relevance | path

Searched refs:if_version (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/
H A Dsmu_cmn.c821 uint32_t *if_version, in smu_cmn_get_smc_version() argument
826 if (!if_version && !smu_version) in smu_cmn_get_smc_version()
831 if (if_version) in smu_cmn_get_smc_version()
832 *if_version = smu->smc_fw_if_version; in smu_cmn_get_smc_version()
840 if (if_version) { in smu_cmn_get_smc_version()
841 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetDriverIfVersion, if_version); in smu_cmn_get_smc_version()
845 smu->smc_fw_if_version = *if_version; in smu_cmn_get_smc_version()
H A Dsmu_cmn.h99 uint32_t *if_version,
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu12/
H A Dsmu_v12_0.c76 uint32_t if_version = 0xff, smu_version = 0xff; in smu_v12_0_check_fw_version() local
80 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in smu_v12_0_check_fw_version()
99 if (if_version != smu->smc_driver_if_version) { in smu_v12_0_check_fw_version()
102 smu->smc_driver_if_version, if_version, in smu_v12_0_check_fw_version()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_ioctl.c385 int if_version, retcode = 0; in drm_setversion() local
394 if_version = DRM_IF_VERSION(sv->drm_di_major, in drm_setversion()
396 dev->if_version = max(if_version, dev->if_version); in drm_setversion()
H A Ddrm_legacy_misc.c96 dev->if_version = 0; in drm_legacy_dev_reinit()
H A Ddrm_irq.c187 if (dev->if_version < DRM_IF_VERSION(1, 2) && in drm_legacy_irq_control()
H A Ddrm_pci.c52 if (dev->if_version < 0x10004) in drm_get_pci_domain()
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dvangogh_ppt.c228 uint32_t if_version; in vangogh_tables_init() local
232 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in vangogh_tables_init()
246 if (if_version < 0x3) { in vangogh_tables_init()
433 uint32_t if_version; in vangogh_common_get_smu_metrics_data() local
436 ret = smu_cmn_get_smc_version(smu, &if_version, NULL); in vangogh_common_get_smu_metrics_data()
442 if (if_version < 0x3) in vangogh_common_get_smu_metrics_data()
816 uint32_t if_version; in vangogh_common_print_clk_levels() local
819 ret = smu_cmn_get_smc_version(smu, &if_version, NULL); in vangogh_common_print_clk_levels()
825 if (if_version < 0x3) in vangogh_common_print_clk_levels()
2025 uint32_t if_version; in vangogh_common_get_gpu_metrics() local
[all …]
H A Dsmu_v11_0.c201 uint32_t if_version = 0xff, smu_version = 0xff; in smu_v11_0_check_fw_version() local
205 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in smu_v11_0_check_fw_version()
262 if (if_version != smu->smc_driver_if_version) { in smu_v11_0_check_fw_version()
265 smu->smc_driver_if_version, if_version, in smu_v11_0_check_fw_version()
H A Dsienna_cichlid_ppt.c4056 uint32_t if_version = 0xff, smu_version = 0xff; in sienna_cichlid_check_ecc_table_support() local
4059 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in sienna_cichlid_check_ecc_table_support()
/openbmc/linux/fs/afs/
H A Dxdr_fs.h12 __be32 if_version; member
H A Dfsclient.c66 if (xdr->if_version != htonl(AFS_FSTATUS_VERSION)) { in xdr_decode_AFSFetchStatus()
67 if (xdr->if_version == htonl(0) && in xdr_decode_AFSFetchStatus()
79 pr_warn("Unknown AFSFetchStatus version %u\n", ntohl(xdr->if_version)); in xdr_decode_AFSFetchStatus()
/openbmc/linux/include/drm/
H A Ddrm_device.h52 int if_version; member
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Dta_ras_if.h165 uint32_t if_version; member
H A Damdgpu_psp.c1534 if (ras_cmd->if_version > RAS_TA_HOST_IF_VER) { in psp_ras_invoke()
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Daldebaran_ppt.c1810 uint32_t if_version = 0xff, smu_version = 0xff; in aldebaran_check_ecc_table_support() local
1813 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in aldebaran_check_ecc_table_support()
2037 uint32_t if_version = 0xff, smu_version = 0xff; in aldebaran_check_bad_channel_info_support() local
2040 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in aldebaran_check_bad_channel_info_support()
H A Dsmu_v13_0.c259 uint32_t if_version = 0xff, smu_version = 0xff; in smu_v13_0_check_fw_version() local
263 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in smu_v13_0_check_fw_version()
288 if (if_version != smu->smc_driver_if_version) { in smu_v13_0_check_fw_version()
291 smu->smc_driver_if_version, if_version, in smu_v13_0_check_fw_version()
H A Dsmu_v13_0_0_ppt.c2529 uint32_t if_version = 0xff, smu_version = 0xff; in smu_v13_0_0_check_ecc_table_support() local
2532 ret = smu_cmn_get_smc_version(smu, &if_version, &smu_version); in smu_v13_0_0_check_ecc_table_support()