File Index
Files and directories
Sign in
FILE

r570_144.rs

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/nova-core/gsp/fw/r570_144.rs RUST
 1// SPDX-License-Identifier: GPL-2.0
 2
 3//! Firmware bindings.
 4//!
 5//! Imports the generated bindings by `bindgen`.
 6//!
 7//! This module may not be directly used. Please abstract or re-export the needed symbols in the
 8//! parent module instead.
 9
10#![cfg_attr(test, allow(deref_nullptr))]
11#![cfg_attr(test, allow(unaligned_references))]
12#![cfg_attr(test, allow(unsafe_op_in_unsafe_fn))]
13#![allow(
14    dead_code,
15    clippy::all,
16    clippy::undocumented_unsafe_blocks,
17    clippy::ptr_as_ptr,
18    clippy::ref_as_ptr,
19    missing_docs,
20    non_camel_case_types,
21    non_upper_case_globals,
22    non_snake_case,
23    improper_ctypes,
24    unreachable_pub,
25    unsafe_op_in_unsafe_fn
26)]
27use kernel::ffi;
28use pin_init::MaybeZeroable;
29
30include!("r570_144/bindings.rs");
31
32// SAFETY: This type has a size of zero, so its inclusion into another type should not affect their
33// ability to implement `Zeroable`.
34unsafe impl<T> kernel::prelude::Zeroable for __IncompleteArrayField<T> {}
~/ Read-only file preview.