Lines Matching full:firmware
9 use kernel::firmware;
22 /// Structure encapsulating the firmware blobs required for the GPU to operate.
24 pub(crate) struct Firmware { struct
25 booter_load: firmware::Firmware, argument
26 booter_unload: firmware::Firmware, argument
27 bootloader: firmware::Firmware, argument
28 gsp: firmware::Firmware, argument
31 impl Firmware { implementation
32 pub(crate) fn new(dev: &device::Device, chipset: Chipset, ver: &str) -> Result<Firmware> { in new() argument
39 .and_then(|path| firmware::Firmware::request(&path, dev)) in new()
42 Ok(Firmware { in new()
73 /// Mask of the falcon engines on which this firmware can run.
77 /// Number of signatures in this firmware.
94 /// Trait implemented by types defining the signed state of a firmware.
97 /// Type indicating that the firmware must be signed before it can be used.
101 /// Type indicating that the firmware is signed and ready to be loaded.
109 /// After construction, a firmware is [`Unsigned`], and must generally be patched with a signature
112 /// firmware to its [`Signed`] state.
115 /// Trait for signatures to be patched directly into a given firmware.
121 /// Patches the firmware at offset `sig_base_img` with `signature`.
143 /// Mark the firmware as signed without patching it.
145 /// This method is used to explicitly confirm that we do not need to sign the firmware, while
153 pub(crate) struct ModInfoBuilder<const N: usize>(firmware::ModInfoBuilder<N>);
179 ) -> firmware::ModInfoBuilder<N> { in create()
180 let mut this = Self(firmware::ModInfoBuilder::new(module_name)); in create()