Searched refs:bottom32 (Results 1 – 4 of 4) sorted by relevance
/openbsd/sys/dev/pci/drm/amd/pm/swsmu/smu11/ |
H A D | arcturus_ppt.c | 2219 uint32_t top32 = 0, bottom32 = 0, smu_version; in arcturus_get_unique_id() local 2235 smu_cmn_send_smc_msg(smu, SMU_MSG_ReadSerialNumBottom32, &bottom32); in arcturus_get_unique_id() 2237 id = ((uint64_t)bottom32 << 32) | top32; in arcturus_get_unique_id()
|
/openbsd/sys/dev/pci/drm/amd/pm/powerplay/hwmgr/ |
H A D | vega10_hwmgr.c | 361 uint32_t top32, bottom32; in vega10_init_dpm_defaults() local 515 ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumBottom32, &bottom32); in vega10_init_dpm_defaults() 519 adev->unique_id = ((uint64_t)bottom32 << 32) | top32; in vega10_init_dpm_defaults() 2494 uint32_t top32, bottom32; in vega10_populate_and_upload_avfs_fuse_override() local 2502 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumBottom32, &bottom32); in vega10_populate_and_upload_avfs_fuse_override() 2504 serial_number = ((uint64_t)bottom32 << 32) | top32; in vega10_populate_and_upload_avfs_fuse_override()
|
H A D | vega12_hwmgr.c | 300 uint32_t top32, bottom32; in vega12_init_dpm_defaults() local 370 ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumBottom32, &bottom32); in vega12_init_dpm_defaults() 374 adev->unique_id = ((uint64_t)bottom32 << 32) | top32; in vega12_init_dpm_defaults()
|
H A D | vega20_hwmgr.c | 335 uint32_t top32, bottom32; in vega20_init_dpm_defaults() local 411 ret = smum_send_msg_to_smc(hwmgr, PPSMC_MSG_ReadSerialNumBottom32, &bottom32); in vega20_init_dpm_defaults() 415 adev->unique_id = ((uint64_t)bottom32 << 32) | top32; in vega20_init_dpm_defaults()
|