1 // SPDX-License-Identifier: GPL-2.0 2 3 // Required to retain the original register names used by OpenRM, which are all capital snake case 4 // but are mapped to types. 5 #![allow(non_camel_case_types)] 6 7 #[macro_use] 8 mod macros; 9 10 use crate::gpu::Chipset; 11 12 /* PMC */ 13 14 register!(NV_PMC_BOOT_0 @ 0x00000000, "Basic revision information about the GPU" { 15 3:0 minor_revision as u8, "Minor revision of the chip"; 16 7:4 major_revision as u8, "Major revision of the chip"; 17 28:20 chipset as u32 ?=> Chipset, "Chipset model"; 18 }); 19