Home
last modified time | relevance | path

Searched refs:Driver (Results 1 – 10 of 10) sorted by relevance

/rust/kernel/drm/gem/
A Dmod.rs24 _obj: &<<T as IntoGEMObject>::Driver as drm::Driver>::Object, in open()
25 _file: &drm::File<<<T as IntoGEMObject>::Driver as drm::Driver>::File>, in open()
32 _obj: &<<T as IntoGEMObject>::Driver as drm::Driver>::Object, in close()
33 _file: &drm::File<<<T as IntoGEMObject>::Driver as drm::Driver>::File>, in close()
41 type Driver: drm::Driver; typedef
80 type Driver: drm::Driver; typedef
89 drm::File::<<<U as IntoGEMObject>::Driver as drm::Driver>::File>::from_raw(raw_file) in open_callback()
109 drm::File::<<<U as IntoGEMObject>::Driver as drm::Driver>::File>::from_raw(raw_file) in close_callback()
121 type Driver = T::Driver; typedef
146 file: &drm::File<<<Self as IntoGEMObject>::Driver as drm::Driver>::File>, in create_handle()
[all …]
/rust/kernel/drm/
A Ddriver.rs98 pub trait Driver { traits
118 pub struct Registration<T: Driver>(ARef<drm::Device<T>>);
120 impl<T: Driver> Registration<T> {
156 unsafe impl<T: Driver> Sync for Registration<T> {}
159 unsafe impl<T: Driver> Send for Registration<T> {}
161 impl<T: Driver> Drop for Registration<T> {
A Ddevice.rs57 pub struct Device<T: drm::Driver> {
63 impl<T: drm::Driver> Device<T> {
175 impl<T: drm::Driver> Deref for Device<T> {
185 unsafe impl<T: drm::Driver> AlwaysRefCounted for Device<T> {
197 impl<T: drm::Driver> AsRef<device::Device> for Device<T> {
206 unsafe impl<T: drm::Driver> Send for Device<T> {}
210 unsafe impl<T: drm::Driver> Sync for Device<T> {}
A Dfile.rs14 type Driver: drm::Driver; typedef
17 fn open(device: &drm::Device<Self::Driver>) -> Result<Pin<KBox<Self>>>; in open()
A Dmod.rs12 pub use self::driver::Driver;
/rust/kernel/
A Dplatform.rs25 pub struct Adapter<T: Driver>(T);
29 unsafe impl<T: Driver + 'static> driver::RegistrationOps for Adapter<T> {
66 impl<T: Driver + 'static> Adapter<T> {
99 impl<T: Driver + 'static> driver::Adapter for Adapter<T> {
173 pub trait Driver: Send { traits
A Dauxiliary.rs22 pub struct Adapter<T: Driver>(T);
26 unsafe impl<T: Driver + 'static> driver::RegistrationOps for Adapter<T> {
54 impl<T: Driver + 'static> Adapter<T> {
173 pub trait Driver { interface
A Dpci.rs27 pub struct Adapter<T: Driver>(T);
31 unsafe impl<T: Driver + 'static> driver::RegistrationOps for Adapter<T> {
59 impl<T: Driver + 'static> Adapter<T> {
229 pub trait Driver: Send { traits
A Dcpufreq.rs722 pub trait Driver { interface
904 pub struct Registration<T: Driver>(KBox<UnsafeCell<bindings::cpufreq_driver>>, PhantomData<T>);
908 unsafe impl<T: Driver> Sync for Registration<T> {}
913 unsafe impl<T: Driver> Send for Registration<T> {}
915 impl<T: Driver> Registration<T> {
1060 impl<T: Driver> Registration<T> {
1393 impl<T: Driver> Drop for Registration<T> {
/rust/kernel/net/
A Dphy.rs307 struct Adapter<T: Driver> {
311 impl<T: Driver> Adapter<T> {
497 pub const fn create_phy_driver<T: Driver>() -> DriverVTable { in create_phy_driver()
569 pub trait Driver { interface
724 pub const fn new_with_driver<T: Driver>() -> Self { in new_with_driver()

Completed in 18 milliseconds