summaryrefslogtreecommitdiff
path: root/rust/kernel/pci.rs
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2025-04-13 19:37:01 +0200
committerDanilo Krummrich <dakr@kernel.org>2025-04-17 15:21:48 +0200
commitf933b7489ffca25c9a33b65441679ee3d2943024 (patch)
tree85e2b0a605d80971649e1b2a7f51ceb7f9ddaac0 /rust/kernel/pci.rs
parent3edaefbf2b1beb9ae1cb2a842f455157b951e9f1 (diff)
rust: device: implement Bound device context
The Bound device context indicates that a device is bound to a driver. It must be used for APIs that require the device to be bound, such as Devres or dma::CoherentAllocation. Implement Bound and add the corresponding Deref hierarchy, as well as the corresponding ARef conversion for this device context. Reviewed-by: Benno Lossin <benno.lossin@proton.me> Link: https://lore.kernel.org/r/20250413173758.12068-7-dakr@kernel.org [ Add missing `::` prefix in macros. - Danilo ] Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'rust/kernel/pci.rs')
0 files changed, 0 insertions, 0 deletions